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