Package dev.cel.common.internal
Class SupplementalCodePointArray
- java.lang.Object
-
- dev.cel.common.internal.CelCodePointArray
-
- dev.cel.common.internal.SupplementalCodePointArray
-
@Immutable @Internal public final class SupplementalCodePointArray extends CelCodePointArray
Array of code points that contain code points from Latin-1 character set, basic multilingual plane or the supplemental multilingual plane.CEL Library Internals. Do Not Use.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
get(int index)
Get the code point at the given index.int
size()
Returns the number of code points.SupplementalCodePointArray
slice(int i, int j)
Returns a newCelCodePointArray
that is a subview of this between [i, j).java.lang.String
toString()
-
Methods inherited from class dev.cel.common.internal.CelCodePointArray
fromString, isEmpty, length
-
-
-
-
Method Detail
-
slice
public SupplementalCodePointArray slice(int i, int j)
Description copied from class:CelCodePointArray
Returns a newCelCodePointArray
that is a subview of this between [i, j).- Specified by:
slice
in classCelCodePointArray
-
get
public int get(int index)
Description copied from class:CelCodePointArray
Get the code point at the given index.- Specified by:
get
in classCelCodePointArray
-
size
public int size()
Description copied from class:CelCodePointArray
Returns the number of code points.- Specified by:
size
in classCelCodePointArray
-
toString
public java.lang.String toString()
- Specified by:
toString
in classCelCodePointArray
-
-