| Package | Description |
|---|---|
| org.atlanmod.commons.collect |
Provides utility classes and methods related to
Collections and arrays. |
| Modifier and Type | Method and Description |
|---|---|
static <C extends Comparable<C>> |
Range.all()
Creates a range that contains every value of type
C. |
static <C extends Comparable<C>> |
Range.and(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by both ranges.
|
static <C extends Comparable<C>> |
Range.atLeast(C lower)
Creates a range that contains all values greater than or equal to
lower. |
static <C extends Comparable<C>> |
Range.atMost(C upper)
Creates a range that contains all values less than or equal to
upper. |
static <C extends Comparable<C>> |
Range.closed(C lower,
C upper)
Creates a range that contains all values greater than or equal to
lower and less than or equal to upper. |
static <C extends Comparable<C>> |
Range.closedOpen(C lower,
C upper)
Creates a range that contains all values greater than or equal to
lower and strictly less than upper. |
static <C extends Comparable<C>> |
Range.empty()
Creates a range that does not contain any value.
|
static <C extends Comparable<C>> |
Range.greaterThan(C lower)
Creates a range that contains all values strictly greater than
lower. |
static <C extends Comparable<C>> |
Range.lessThan(C upper)
Creates a range that contains all values strictly less than
upper. |
static <C extends Comparable<C>> |
Range.open(C lower,
C upper)
Creates a range that contains all values strictly greater than
lower and strictly less than upper. |
static <C extends Comparable<C>> |
Range.openClosed(C lower,
C upper)
Creates a range that contains all values strictly greater than
lower and less than or equal to upper. |
static <C extends Comparable<C>> |
Range.or(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by at least one range.
|
static <C extends Comparable<C>> |
Range.singleton(C value)
Creates a range that contains only the given
value. |
static <C extends Comparable<C>> |
Range.xor(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by one range, but not another.
|
| Modifier and Type | Method and Description |
|---|---|
static <C extends Comparable<C>> |
Range.and(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by both ranges.
|
static <C extends Comparable<C>> |
Range.and(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by both ranges.
|
static <C extends Comparable<C>> |
Range.or(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by at least one range.
|
static <C extends Comparable<C>> |
Range.or(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by at least one range.
|
static <C extends Comparable<C>> |
Range.xor(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by one range, but not another.
|
static <C extends Comparable<C>> |
Range.xor(Range<C> r1,
Range<C> r2)
Creates a range that contains all values enclosed by one range, but not another.
|
Copyright © 2017–2019 Atlanmod. All rights reserved.