|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Range | |
|---|---|
| jlibs.core.util | |
| Uses of Range in jlibs.core.util |
|---|
| Methods in jlibs.core.util that return Range | |
|---|---|
Range |
Range.intersection(Range that)
return the portion of range that is common to this range and given range. If there is nothing common, then null is returned. |
Range[] |
Range.minus(Range that)
returns the portion(s) of this range that are not present in given range. |
Range[] |
Range.split(Range that)
this method splits this range into 3 regions with respect to given range |
Range[] |
Range.union(Range that)
returns union of this range with given range. if both ranges are adjacent/intersecting to each other, then the returned array will have only one range. |
| Methods in jlibs.core.util that return types with arguments of type Range | |
|---|---|
static List<Range> |
Range.intersection(List<Range> list1,
List<Range> list2)
|
static List<Range> |
Range.minus(List<Range> list1,
List<Range> list2)
|
static List<Range> |
Range.union(List<Range> ranges)
|
| Methods in jlibs.core.util with parameters of type Range | |
|---|---|
Range |
Range.intersection(Range that)
return the portion of range that is common to this range and given range. If there is nothing common, then null is returned. |
Range[] |
Range.minus(Range that)
returns the portion(s) of this range that are not present in given range. |
boolean[] |
Range.position(Range that)
tells the position this range with respect to given range. |
Range[] |
Range.split(Range that)
this method splits this range into 3 regions with respect to given range |
Range[] |
Range.union(Range that)
returns union of this range with given range. if both ranges are adjacent/intersecting to each other, then the returned array will have only one range. |
| Method parameters in jlibs.core.util with type arguments of type Range | |
|---|---|
static List<Range> |
Range.intersection(List<Range> list1,
List<Range> list2)
|
static List<Range> |
Range.intersection(List<Range> list1,
List<Range> list2)
|
static List<Range> |
Range.minus(List<Range> list1,
List<Range> list2)
|
static List<Range> |
Range.minus(List<Range> list1,
List<Range> list2)
|
static boolean |
Range.same(List<Range> list1,
List<Range> list2)
|
static boolean |
Range.same(List<Range> list1,
List<Range> list2)
|
static List<Range> |
Range.union(List<Range> ranges)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||