ImmutableIntBagFactory
public enum ImmutableIntBagFactoryImpl extends java.lang.Enum<ImmutableIntBagFactoryImpl> implements ImmutableIntBagFactory
ImmutableIntBag
.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableIntBag |
empty() |
|
ImmutableIntBag |
of() |
Same as
ImmutableIntBagFactory.empty() . |
ImmutableIntBag |
of(int one) |
Same as
ImmutableIntBagFactory.with(int) . |
ImmutableIntBag |
of(int... items) |
Same as
ImmutableIntBagFactory.with(int[]) . |
ImmutableIntBag |
ofAll(java.util.stream.IntStream items) |
|
ImmutableIntBag |
ofAll(IntIterable items) |
|
static ImmutableIntBagFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntBagFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntBag |
with() |
Same as
ImmutableIntBagFactory.empty() . |
ImmutableIntBag |
with(int one) |
|
ImmutableIntBag |
with(int... items) |
|
ImmutableIntBag |
withAll(java.util.stream.IntStream items) |
|
ImmutableIntBag |
withAll(IntIterable items) |
public static final ImmutableIntBagFactoryImpl INSTANCE
public static ImmutableIntBagFactoryImpl[] values()
for (ImmutableIntBagFactoryImpl c : ImmutableIntBagFactoryImpl.values()) System.out.println(c);
public static ImmutableIntBagFactoryImpl valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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(java.util.stream.IntStream items)
ofAll
in interface ImmutableIntBagFactory
public ImmutableIntBag withAll(java.util.stream.IntStream items)
withAll
in interface ImmutableIntBagFactory
Copyright © 2004–2018. All rights reserved.