Interface MutableCharListFactory
- All Known Implementing Classes:
MutableCharListFactoryImpl
public interface MutableCharListFactory
A factory which creates instances of type
MutableCharList
.
This file was automatically generated from template file mutablePrimitiveListFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asempty()
.of
(char... items) Same aswith(char[])
.Same aswithAll(Iterable)
.ofAll
(CharIterable items) Same aswithAll(CharIterable)
.with()
Same asempty()
.with
(char... items) Creates a new list using the passeditems
argument as the backing store.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 Details
-
empty
MutableCharList empty() -
of
MutableCharList of()Same asempty()
. -
with
MutableCharList with()Same asempty()
. -
withInitialCapacity
Same asempty()
. but takes in an initial capacity- Since:
- 10.3
-
of
Same aswith(char[])
. -
with
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
Creates a new list by first copying the array passed in. -
ofAll
Same aswithAll(CharIterable)
. -
withAll
-
ofAll
Same aswithAll(Iterable)
. -
withAll
-