public final class CodePointSet extends ImmutableSortedListOfIntRanges implements Comparable<CodePointSet>, JsonConvertible
ImmutableSortedListOfRanges.ImmutableSortedListOfRangesIterator, ImmutableSortedListOfRanges.IntersectAndSubtractResult<T extends ImmutableSortedListOfRanges>rangesappendRangesTo, createInverseArray, createTempBuffer, getBuffer1, getBuffer2, getBuffer3, getHi, getLo, inverseIsSameHighByte, rangesEqual, sizecreateIntersection, createIntersection, intersectAndSubtract, iterator, subtract, union, union, unionaddRangeTo, adjacent, adjacent, adjacent, binarySearch, binarySearchExactMatch, binarySearchExactMatch, binarySearchGetFirstIntersecting, binarySearchGetFirstIntersecting, binarySearchGetFirstIntersectingOrAdjacent, binarySearchGetFirstIntersectingOrAdjacent, binarySearchNoIntersectingFound, containedBy, contains, contains, contains, contains, contains, defaultToString, equal, equal, equalsListOfRanges, getMax, getMin, intersect, intersects, intersects, intersects, intersects, inverseGetMax, inverseGetMin, inverseRangesToString, inverseValueCount, invert, isEmpty, isSingle, leftOf, leftOf, leftOf, leftOf, matches2CharsWith1BitDifference, matchesEverything, matchesMinAndMax, matchesNothing, matchesSingleAscii, matchesSingleChar, matchesSomething, rangesAreSortedAndDisjoint, rangesAreSortedNonAdjacentAndDisjoint, rangesToString, rightOf, rightOf, rightOf, rightOf, size, sizeOfInverse, union, valueCount, valueCountEquals, valueCountMaxforEach, spliteratorpublic int[] getRanges()
public static CodePointSet getEmpty()
public static CodePointSet createNoDedup(int... ranges)
public static CodePointSet create(int single)
public static CodePointSet create(int... ranges)
public static CodePointSet create(IntRangesBuffer buf)
public static CodePointSet createNoDedup(SortedListOfRanges ranges)
ranges to be a list of sorted and disjoint ranges (can be adjacent though).public CodePointSet createEmpty()
ImmutableSortedListOfRangescreateEmpty in interface ImmutableSortedListOfRangespublic CodePointSet create(RangesBuffer buffer)
ImmutableSortedListOfRangesbuffer.create in interface ImmutableSortedListOfRangespublic boolean equalsBuffer(RangesBuffer buffer)
ImmutableSortedListOfRangestrue if this list equals buffer.equalsBuffer in interface ImmutableSortedListOfRangespublic CodePointSet createInverse(Encodings.Encoding encoding)
ImmutableSortedListOfRangesEncodings.Encoding.getMinValue()
Encodings.Encoding.getMaxValue()] not contained in this list.createInverse in interface ImmutableSortedListOfRangespublic CodePointSet createInverse(CodePointSet allCharacters, CompilationBuffer compilationBuffer)
public static CodePointSet createInverse(SortedListOfRanges src, Encodings.Encoding encoding)
public <T extends ImmutableSortedListOfRanges> T createIntersectionSingleRange(T o)
createIntersectionSingleRange in interface ImmutableSortedListOfRangespublic int compareTo(CodePointSet o)
compareTo in interface Comparable<CodePointSet>public JsonValue toJson()
toJson in interface JsonConvertiblepublic String toString()
toString in class ImmutableSortedListOfIntRangespublic String dumpRaw()
public int[] toArray()
toArray in class ImmutableSortedListOfIntRangespublic int[] valuesToArray()