Index

A B C E F G I L M O R S T W Y 
All Classes and Interfaces|All Packages

A

add(RangeSet<T>) - Method in interface org.repozoo.commons.range.RangeSet
Returns a new RangeSet containing the sum of this and others ranges.
Example:

B

between(Integer, Integer) - Static method in class org.repozoo.commons.range.factories.IntRange
 
between(LocalDate, LocalDate) - Static method in class org.repozoo.commons.range.factories.LocalDateRange
 
between(YearMonth, YearMonth) - Static method in class org.repozoo.commons.range.factories.YearMonthRange
 
between(T, T) - Method in interface org.repozoo.commons.range.RangeFactory.CreateRange
 
build() - Method in class org.repozoo.commons.range.RangeFactory.CreateRangeBuilder
 

C

contains(Range<T>) - Method in class org.repozoo.commons.range.Range
Returns true if the other Range lies inside or is equal to this range.
contains(RangeSet<T>) - Method in interface org.repozoo.commons.range.RangeSet
Returns true if the following is true for each Range of others:
At least one Range of this set contains 'other'.
contains(T) - Method in class org.repozoo.commons.range.Range
Returns true if t lies inside this range.

E

empty() - Static method in interface org.repozoo.commons.range.RangeSet
Creates a new RangeSet containing no ranges.
endsAfter(Range<T>) - Method in class org.repozoo.commons.range.Range
Returns true if this.max > other.max.

F

forEachValue(Consumer<T>) - Method in interface org.repozoo.commons.range.RangeSet
 
forType(Class<Y>) - Static method in class org.repozoo.commons.range.RangeFactory
 

G

getRanges() - Method in interface org.repozoo.commons.range.RangeSet
Returns a list of all Ranges in this set, ordered by Range::min ascending.

I

intersection(RangeSet<T>) - Method in class org.repozoo.commons.range.Range
 
intersection(RangeSet<T>) - Method in interface org.repozoo.commons.range.RangeSet
Returns a new RangeSet containing all Range parts that exist in this and others.
intersects(RangeSet<T>) - Method in class org.repozoo.commons.range.Range
Returns true if any Range of others intersects with this Range.
intersects(RangeSet<T>) - Method in interface org.repozoo.commons.range.RangeSet
Returns true if any Range of this set intersects with at least one Range of others.
IntRange - Class in org.repozoo.commons.range.factories
 
isAfter(Range<T>) - Method in class org.repozoo.commons.range.Range
Returns true if this.min > other.max.
isBefore(Range<T>) - Method in class org.repozoo.commons.range.Range
Returns true if this.max < other.min.
isDistinct(Range<T>) - Method in interface org.repozoo.commons.range.RangeSet
Returns true if this Range and other do not intersect.
isEmpty() - Method in class org.repozoo.commons.range.Range
 
isEmpty() - Method in interface org.repozoo.commons.range.RangeSet
Returns true if this set has no range

L

LocalDateRange - Class in org.repozoo.commons.range.factories
 

M

max() - Method in class org.repozoo.commons.range.Range
Returns the inclusive maximum of this range.
min() - Method in class org.repozoo.commons.range.Range
Returns the inclusive minimum of this range.

O

of(Range<T>...) - Static method in interface org.repozoo.commons.range.RangeSet
Creates a new RangeSet containing all specified Ranges after being normalized.
org.repozoo.commons.range - package org.repozoo.commons.range
 
org.repozoo.commons.range.factories - package org.repozoo.commons.range.factories
 

R

Range<T> - Class in org.repozoo.commons.range
 
RangeFactory - Class in org.repozoo.commons.range
 
RangeFactory() - Constructor for class org.repozoo.commons.range.RangeFactory
 
RangeFactory.CreateRange<T> - Interface in org.repozoo.commons.range
 
RangeFactory.CreateRangeBuilder<Y> - Class in org.repozoo.commons.range
 
RangeSet<T> - Interface in org.repozoo.commons.range
 
remove(RangeSet<T>) - Method in interface org.repozoo.commons.range.RangeSet
Returns a new RangeSet subtracting others from this ranges.
Example:

S

singleton(int) - Static method in class org.repozoo.commons.range.factories.IntRange
 
startsBefore(Range<T>) - Method in class org.repozoo.commons.range.Range
Returns true if this.min < other.min.
streamRanges() - Method in class org.repozoo.commons.range.Range
Returns a single element stream containing this range.
streamRanges() - Method in interface org.repozoo.commons.range.RangeSet
Returns a Range stream containing all ranges of this set
or an empty stream if this RangeSet is empty.
streamValues() - Method in class org.repozoo.commons.range.Range
 
streamValues() - Method in interface org.repozoo.commons.range.RangeSet
 
sum(RangeSet<T>, RangeSet<T>) - Static method in interface org.repozoo.commons.range.RangeSet
TODO
surround(Range<T>...) - Static method in class org.repozoo.commons.range.Range
Returns a Range that surrounds all supplied ranges
example:

T

toString() - Method in class org.repozoo.commons.range.Range
Returns a String representation of this range in the form
toString(RangeSet<T>) - Static method in interface org.repozoo.commons.range.RangeSet
TODO

W

withComparator(Comparator<Y>) - Method in class org.repozoo.commons.range.RangeFactory.CreateRangeBuilder
 
withIterator(UnaryOperator<Y>, UnaryOperator<Y>) - Method in class org.repozoo.commons.range.RangeFactory.CreateRangeBuilder
 

Y

YearMonthRange - Class in org.repozoo.commons.range.factories
 
A B C E F G I L M O R S T W Y 
All Classes and Interfaces|All Packages