Class EmptyUnmodifiableCharList
java.lang.Object
com.github.curiousoddman.rgxgen.util.chars.CharList
com.github.curiousoddman.rgxgen.util.chars.EmptyUnmodifiableCharList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int c) voidaddAll(char[] characters) voidaddAll(char[] srcArr, int srcLength) voidvoidAdd elements of this list into the targetListbooleancontains(char i) copy()except(CharPredicate predicate) charget(int index) booleanisEmpty()intsize()voidsort()stream()toString()Methods inherited from class com.github.curiousoddman.rgxgen.util.chars.CharList
charList, charList, charList, empty, emptyUnmodifiable, equals, hashCode, ofCapacity, rangeClosed
-
Constructor Details
-
EmptyUnmodifiableCharList
public EmptyUnmodifiableCharList()
-
-
Method Details
-
copy
-
add
public void add(int c) -
stream
-
addAll
-
addAll
public void addAll(char[] characters) -
addAll
public void addAll(char[] srcArr, int srcLength) -
size
public int size() -
get
public char get(int index) -
isEmpty
public boolean isEmpty() -
sort
public void sort() -
except
-
contains
public boolean contains(char i) -
appendTo
Description copied from class:CharListAdd elements of this list into the targetList -
toString
-