Package dev.cel.common.internal
Class BasicCodePointArray
- java.lang.Object
-
- dev.cel.common.internal.CelCodePointArray
-
- dev.cel.common.internal.BasicCodePointArray
-
@Immutable @Internal public final class BasicCodePointArray extends CelCodePointArray
An array of code points that contain code points from both the Latin-1 character set and Basic 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.BasicCodePointArray
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 BasicCodePointArray 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
-
-