Serializable
, Comparable<ImmutableIntBagFactoryImpl>
, ImmutableIntBagFactory
public enum ImmutableIntBagFactoryImpl extends Enum<ImmutableIntBagFactoryImpl> implements ImmutableIntBagFactory
ImmutableIntBag
.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final ImmutableIntBagFactoryImpl INSTANCE
public static ImmutableIntBagFactoryImpl[] values()
for (ImmutableIntBagFactoryImpl c : ImmutableIntBagFactoryImpl.values()) System.out.println(c);
public static ImmutableIntBagFactoryImpl 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 ImmutableIntBag empty()
empty
in interface ImmutableIntBagFactory
public ImmutableIntBag of()
ImmutableIntBagFactory
ImmutableIntBagFactory.empty()
.of
in interface ImmutableIntBagFactory
public ImmutableIntBag with()
ImmutableIntBagFactory
ImmutableIntBagFactory.empty()
.with
in interface ImmutableIntBagFactory
public ImmutableIntBag of(int one)
ImmutableIntBagFactory
ImmutableIntBagFactory.with(int)
.of
in interface ImmutableIntBagFactory
public ImmutableIntBag with(int one)
with
in interface ImmutableIntBagFactory
public ImmutableIntBag of(int... items)
ImmutableIntBagFactory
ImmutableIntBagFactory.with(int[])
.of
in interface ImmutableIntBagFactory
public ImmutableIntBag with(int... items)
with
in interface ImmutableIntBagFactory
public ImmutableIntBag ofAll(IntIterable items)
ImmutableIntBagFactory
ofAll
in interface ImmutableIntBagFactory
public ImmutableIntBag withAll(IntIterable items)
withAll
in interface ImmutableIntBagFactory
public ImmutableIntBag ofAll(Iterable<Integer> iterable)
ImmutableIntBagFactory
#withAll(IterableInteger)
.ofAll
in interface ImmutableIntBagFactory
public ImmutableIntBag withAll(Iterable<Integer> iterable)
withAll
in interface ImmutableIntBagFactory
public ImmutableIntBag ofAll(IntStream items)
ofAll
in interface ImmutableIntBagFactory
public ImmutableIntBag withAll(IntStream items)
withAll
in interface ImmutableIntBagFactory
Copyright © 2004–2019. All rights reserved.