Serializable
, Comparable<MutableShortSetFactoryImpl>
, MutableShortSetFactory
public enum MutableShortSetFactoryImpl extends Enum<MutableShortSetFactoryImpl> implements MutableShortSetFactory
MutableShortSet
.
This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
MutableShortSet |
empty() |
|
MutableShortSet |
of() |
Same as
MutableShortSetFactory.empty() . |
MutableShortSet |
of(short... items) |
Same as
MutableShortSetFactory.with(short[]) . |
MutableShortSet |
ofAll(Iterable<Short> iterable) |
Same as
#withAll(IterableShort) . |
MutableShortSet |
ofAll(ShortIterable items) |
|
static MutableShortSetFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableShortSetFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableShortSet |
with() |
Same as
MutableShortSetFactory.empty() . |
MutableShortSet |
with(short... items) |
|
MutableShortSet |
withAll(Iterable<Short> iterable) |
|
MutableShortSet |
withAll(ShortIterable items) |
public static final MutableShortSetFactoryImpl INSTANCE
public static MutableShortSetFactoryImpl[] values()
for (MutableShortSetFactoryImpl c : MutableShortSetFactoryImpl.values()) System.out.println(c);
public static MutableShortSetFactoryImpl 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 MutableShortSet empty()
empty
in interface MutableShortSetFactory
public MutableShortSet of()
MutableShortSetFactory
MutableShortSetFactory.empty()
.of
in interface MutableShortSetFactory
public MutableShortSet with()
MutableShortSetFactory
MutableShortSetFactory.empty()
.with
in interface MutableShortSetFactory
public MutableShortSet of(short... items)
MutableShortSetFactory
MutableShortSetFactory.with(short[])
.of
in interface MutableShortSetFactory
public MutableShortSet with(short... items)
with
in interface MutableShortSetFactory
public MutableShortSet ofAll(ShortIterable items)
MutableShortSetFactory
ofAll
in interface MutableShortSetFactory
public MutableShortSet withAll(ShortIterable items)
withAll
in interface MutableShortSetFactory
public MutableShortSet ofAll(Iterable<Short> iterable)
MutableShortSetFactory
#withAll(IterableShort)
.ofAll
in interface MutableShortSetFactory
public MutableShortSet withAll(Iterable<Short> iterable)
withAll
in interface MutableShortSetFactory
Copyright © 2004–2019. All rights reserved.