io.github.mmm.base.range.WritableRange Maven / Gradle / Ivy
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.base.range;
/**
* A mutable {@link Range} allowing to {@link #setMin(Comparable) set minimum} and {@link #setMax(Comparable) maximum}.
*
* @param type of the contained values.
* @since 1.0.0
*/
public interface WritableRange> extends Range {
/**
* @param min the new value of {@link #getMin()}.
*/
void setMin(V min);
/**
* @param max the new value of {@link #getMax()}.
*/
void setMax(V max);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy