Serializable
, Comparable<ImmutableShortStackFactoryImpl>
, ImmutableShortStackFactory
public enum ImmutableShortStackFactoryImpl extends Enum<ImmutableShortStackFactoryImpl> implements ImmutableShortStackFactory
ImmutableShortStack
.
This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final ImmutableShortStackFactoryImpl INSTANCE
public static ImmutableShortStackFactoryImpl[] values()
for (ImmutableShortStackFactoryImpl c : ImmutableShortStackFactoryImpl.values()) System.out.println(c);
public static ImmutableShortStackFactoryImpl 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 ImmutableShortStack empty()
empty
in interface ImmutableShortStackFactory
public ImmutableShortStack of()
ImmutableShortStackFactory
ImmutableShortStackFactory.empty()
.of
in interface ImmutableShortStackFactory
public ImmutableShortStack with()
ImmutableShortStackFactory
ImmutableShortStackFactory.empty()
.with
in interface ImmutableShortStackFactory
public ImmutableShortStack of(short one)
ImmutableShortStackFactory
of
in interface ImmutableShortStackFactory
public ImmutableShortStack with(short one)
with
in interface ImmutableShortStackFactory
public ImmutableShortStack of(short... items)
ImmutableShortStackFactory
of
in interface ImmutableShortStackFactory
public ImmutableShortStack with(short... items)
with
in interface ImmutableShortStackFactory
public ImmutableShortStack ofAll(ShortIterable items)
ImmutableShortStackFactory
ofAll
in interface ImmutableShortStackFactory
public ImmutableShortStack withAll(ShortIterable items)
withAll
in interface ImmutableShortStackFactory
public ImmutableShortStack ofAll(Iterable<Short> iterable)
ImmutableShortStackFactory
#withAll(IterableShort)
.ofAll
in interface ImmutableShortStackFactory
public ImmutableShortStack withAll(Iterable<Short> iterable)
withAll
in interface ImmutableShortStackFactory
public ImmutableShortStack ofAllReversed(ShortIterable items)
ImmutableShortStackFactory
ofAllReversed
in interface ImmutableShortStackFactory
public ImmutableShortStack withAllReversed(ShortIterable items)
withAllReversed
in interface ImmutableShortStackFactory
Copyright © 2004–2019. All rights reserved.