V - The type used for the values.public interface Range<V extends Number & Comparable<V>>
extends org.refcodes.mixin.MinValueAccessor<V>, org.refcodes.mixin.MaxValueAccessor<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Range.RangeBuilder<V extends Number & Comparable<V>>
Adds builder functionality to a
Range. |
org.refcodes.mixin.MinValueAccessor.MinValueBuilder<V,B extends org.refcodes.mixin.MinValueAccessor.MinValueBuilder<V,B>>, org.refcodes.mixin.MinValueAccessor.MinValueMutator<V>, org.refcodes.mixin.MinValueAccessor.MinValueProperty<V>org.refcodes.mixin.MaxValueAccessor.MaxValueBuilder<V,B extends org.refcodes.mixin.MaxValueAccessor.MaxValueBuilder<V,B>>, org.refcodes.mixin.MaxValueAccessor.MaxValueMutator<V>, org.refcodes.mixin.MaxValueAccessor.MaxValueProperty<V>| Modifier and Type | Method and Description |
|---|---|
default boolean |
isMember(V aValue)
Returns true if the given value is within the range of
MinValueAccessor.getMinValue() and MaxValueAccessor.getMaxValue() (including the minimum
and maximum values). |
default boolean isMember(V aValue)
MinValueAccessor.getMinValue() and MaxValueAccessor.getMaxValue() (including the minimum
and maximum values).aValue - The value to test whether it is in range.Copyright © 2017. All rights reserved.