Package dev.cel.common.internal
Class BasicCodePointArray
- java.lang.Object
-
- dev.cel.common.internal.CelCodePointArray
-
- dev.cel.common.internal.BasicCodePointArray
-
@Immutable @Internal public abstract 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.
-
-
Constructor Summary
Constructors Constructor Description BasicCodePointArray()
-
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.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, lineOffsets, size
-
-
-
-
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
-
toString
public final java.lang.String toString()
- Specified by:
toString
in classCelCodePointArray
-
-