Interface MutableCharListFactory
-
- All Known Implementing Classes:
MutableCharListFactoryImpl
public interface MutableCharListFactory
A factory which creates instances of typeMutableCharList
. This file was automatically generated from template file mutablePrimitiveListFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableCharList
empty()
MutableCharList
of()
Same asempty()
.MutableCharList
of(char... items)
Same aswith(char[])
.MutableCharList
ofAll(java.lang.Iterable<java.lang.Character> iterable)
Same aswithAll(Iterable)
.MutableCharList
ofAll(CharIterable items)
Same aswithAll(CharIterable)
.MutableCharList
with()
Same asempty()
.MutableCharList
with(char... items)
Creates a new list using the passeditems
argument as the backing store.MutableCharList
withAll(java.lang.Iterable<java.lang.Character> iterable)
MutableCharList
withAll(CharIterable items)
default MutableCharList
withInitialCapacity(int capacity)
Same asempty()
.default MutableCharList
wrapCopy(char... array)
Creates a new list by first copying the array passed in.
-
-
-
Method Detail
-
empty
MutableCharList empty()
-
of
MutableCharList of()
Same asempty()
.
-
with
MutableCharList with()
Same asempty()
.
-
withInitialCapacity
default MutableCharList withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity- Since:
- 10.3
-
of
MutableCharList of(char... items)
Same aswith(char[])
.
-
with
MutableCharList with(char... items)
Creates a new list using the passeditems
argument as the backing store.!!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else. !!!
-
wrapCopy
default MutableCharList wrapCopy(char... array)
Creates a new list by first copying the array passed in.
-
ofAll
MutableCharList ofAll(CharIterable items)
Same aswithAll(CharIterable)
.
-
withAll
MutableCharList withAll(CharIterable items)
-
ofAll
MutableCharList ofAll(java.lang.Iterable<java.lang.Character> iterable)
Same aswithAll(Iterable)
.
-
withAll
MutableCharList withAll(java.lang.Iterable<java.lang.Character> iterable)
-
-