|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vgrs.xcode.util.RangeCreator
public class RangeCreator
This class contains utility methods to create a Collection of Range
objects from either a TIntSet or a TIntList.
| Constructor Summary | |
|---|---|
RangeCreator()
|
|
| Method Summary | |
|---|---|
static java.util.Collection<Range> |
createRanges(TIntList aList)
Create a Collection< Range> from code points in a TIntList. |
static java.util.Collection<Range> |
createRanges(TIntSet aSet)
Create a Collection< Range> from code points in a TIntSet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeCreator()
| Method Detail |
|---|
public static java.util.Collection<Range> createRanges(TIntSet aSet)
Range> from code points in a TIntSet.
The code points are added to a TIntList so that they can be sorted
prior to creating Collection
aSet -
Range> from code points in a TIntSetpublic static java.util.Collection<Range> createRanges(TIntList aList)
Range> from code points in a TIntList.
aList - a list containing int values that need to be converted into
Range objects.
Range> from code points in a TIntList
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||