public enum MutableLongListFactoryImpl extends Enum<MutableLongListFactoryImpl> implements MutableLongListFactory
MutableLongList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
empty() |
MutableLongList |
of() |
MutableLongList |
of(long... items) |
MutableLongList |
ofAll(Iterable<Long> iterable) |
MutableLongList |
ofAll(LongIterable items) |
MutableLongList |
ofAll(LongStream items) |
static MutableLongListFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MutableLongListFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableLongList |
with() |
MutableLongList |
with(long... items)
Creates a new list using the passed
items argument as the backing store. |
MutableLongList |
withAll(Iterable<Long> iterable) |
MutableLongList |
withAll(LongIterable items) |
MutableLongList |
withAll(LongStream items) |
MutableLongList |
withInitialCapacity(int capacity) |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfwrapCopypublic static final MutableLongListFactoryImpl INSTANCE
public static MutableLongListFactoryImpl[] values()
for (MutableLongListFactoryImpl c : MutableLongListFactoryImpl.values()) System.out.println(c);
public static MutableLongListFactoryImpl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MutableLongList empty()
empty in interface MutableLongListFactorypublic MutableLongList of()
of in interface MutableLongListFactorypublic MutableLongList with()
with in interface MutableLongListFactorypublic MutableLongList withInitialCapacity(int capacity)
withInitialCapacity in interface MutableLongListFactorypublic MutableLongList of(long... items)
of in interface MutableLongListFactorypublic MutableLongList with(long... items)
items 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. !!!
with in interface MutableLongListFactorypublic MutableLongList ofAll(LongIterable items)
ofAll in interface MutableLongListFactorypublic MutableLongList withAll(LongIterable items)
withAll in interface MutableLongListFactorypublic MutableLongList ofAll(Iterable<Long> iterable)
ofAll in interface MutableLongListFactorypublic MutableLongList withAll(Iterable<Long> iterable)
withAll in interface MutableLongListFactorypublic MutableLongList ofAll(LongStream items)
ofAll in interface MutableLongListFactorypublic MutableLongList withAll(LongStream items)
withAll in interface MutableLongListFactoryCopyright © 2004–2021. All rights reserved.