Package net.hydromatic.morel.type
Class RangeExtent
java.lang.Object
net.hydromatic.morel.type.RangeExtent
A type and a range set.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRangeExtent(com.google.common.collect.RangeSet rangeSet, Type type) Creates a RangeExtent. -
Method Summary
Modifier and TypeMethodDescriptionprivate static <E> Iterable<? extends E> CallsIterables.concat(Iterable), optimizing for the case with 0 or 1 entries.private com.google.common.collect.DiscreteDomain<? extends Comparable> discreteDomain(Type type) Returns the collection of values in the range.private IterabletoIterable(Type type, com.google.common.collect.Range range) Returns the collection of values in the range.private IterabletoIterable(Type type, com.google.common.collect.RangeSet<?> rangeSet) Returns the collection of values in the range.toString()
-
Field Details
-
rangeSet
public final com.google.common.collect.RangeSet rangeSet -
type
-
iterable
-
BOOLEANS
-
-
Constructor Details
-
RangeExtent
Creates a RangeExtent.
-
-
Method Details
-
toString
-
toIterable
Returns the collection of values in the range. -
toIterable
Returns the collection of values in the range. -
toIterable
Returns the collection of values in the range. -
discreteDomain
-
concat
CallsIterables.concat(Iterable), optimizing for the case with 0 or 1 entries.
-