Enum ImmutableLongSetFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableLongSetFactoryImpl>
org.eclipse.collections.impl.set.immutable.primitive.ImmutableLongSetFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableLongSetFactoryImpl>,java.lang.constant.Constable,ImmutableLongSetFactory
public enum ImmutableLongSetFactoryImpl extends Enum<ImmutableLongSetFactoryImpl> implements ImmutableLongSetFactory
ImmutableLongSetFactoryImpl is a factory implementation which creates instances of type
ImmutableLongSet.
This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description ImmutableLongSetempty()ImmutableLongSetof()Same asImmutableLongSetFactory.empty().ImmutableLongSetof(long one)Same asImmutableLongSetFactory.with(long).ImmutableLongSetof(long... items)Same asImmutableLongSetFactory.with(long[]).ImmutableLongSetofAll(Iterable<Long> iterable)ImmutableLongSetofAll(LongStream items)ImmutableLongSetofAll(LongIterable items)static ImmutableLongSetFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableLongSetFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableLongSetwith()Same asImmutableLongSetFactory.empty().ImmutableLongSetwith(long one)ImmutableLongSetwith(long... items)ImmutableLongSetwithAll(Iterable<Long> iterable)ImmutableLongSetwithAll(LongStream items)ImmutableLongSetwithAll(LongIterable items)Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
empty
- Specified by:
emptyin interfaceImmutableLongSetFactory
-
of
Description copied from interface:ImmutableLongSetFactorySame asImmutableLongSetFactory.empty().- Specified by:
ofin interfaceImmutableLongSetFactory
-
with
Description copied from interface:ImmutableLongSetFactorySame asImmutableLongSetFactory.empty().- Specified by:
within interfaceImmutableLongSetFactory
-
of
Description copied from interface:ImmutableLongSetFactorySame asImmutableLongSetFactory.with(long).- Specified by:
ofin interfaceImmutableLongSetFactory
-
with
- Specified by:
within interfaceImmutableLongSetFactory
-
of
Description copied from interface:ImmutableLongSetFactorySame asImmutableLongSetFactory.with(long[]).- Specified by:
ofin interfaceImmutableLongSetFactory
-
with
- Specified by:
within interfaceImmutableLongSetFactory
-
ofAll
Description copied from interface:ImmutableLongSetFactory- Specified by:
ofAllin interfaceImmutableLongSetFactory
-
withAll
- Specified by:
withAllin interfaceImmutableLongSetFactory
-
ofAll
Description copied from interface:ImmutableLongSetFactory- Specified by:
ofAllin interfaceImmutableLongSetFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableLongSetFactory- Since:
- 10.0
-
ofAll
- Specified by:
ofAllin interfaceImmutableLongSetFactory- Since:
- 9.0
-
withAll
- Specified by:
withAllin interfaceImmutableLongSetFactory- Since:
- 9.0
-