public class CharArraySequence
extends java.lang.Object
implements java.lang.CharSequence
Modifier and Type | Field and Description |
---|---|
static java.lang.CharSequence |
EMPTY |
Constructor and Description |
---|
CharArraySequence(char[] value) |
CharArraySequence(char[] value,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
static CharArraySequence |
from(char[] value,
int offset,
int len)
Static constructor that creates a char sequence by making a copy of provided char array.
|
int |
length() |
static CharArraySequence |
of(char... value)
Static constructor that creates a char sequence using provided char array.
|
static CharArraySequence |
of(char[] value,
int offset,
int len) |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
public CharArraySequence(char[] value)
public CharArraySequence(char[] value, int offset, int length)
public static CharArraySequence of(char... value)
public static CharArraySequence of(char[] value, int offset, int len)
public static CharArraySequence from(char[] value, int offset, int len)
public int length()
length
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
Copyright © 2003-present Jodd Team