Package dev.cel.common.internal
Class Latin1CodePointArray
- java.lang.Object
-
- dev.cel.common.internal.CelCodePointArray
-
- dev.cel.common.internal.Latin1CodePointArray
-
@Immutable @Internal public final class Latin1CodePointArray extends CelCodePointArray
Represents an in-memory contiguous source of ISO-LATIN-1 code points.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.Latin1CodePointArray
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 Latin1CodePointArray 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
-
-