Package dev.cel.common.internal
Class Latin1CodePointArray
- java.lang.Object
-
- dev.cel.common.internal.CelCodePointArray
-
- dev.cel.common.internal.Latin1CodePointArray
-
@Immutable @Internal public abstract class Latin1CodePointArray extends CelCodePointArray
Represents an in-memory contiguous source of ISO-LATIN-1 code points.CEL Library Internals. Do Not Use.
-
-
Constructor Summary
Constructors Constructor Description Latin1CodePointArray()
-
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.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, lineOffsets, size
-
-
-
-
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
-
toString
public final java.lang.String toString()
- Specified by:
toString
in classCelCodePointArray
-
-