Serializable
, Comparable<ImmutableLongBagFactoryImpl>
, ImmutableLongBagFactory
public enum ImmutableLongBagFactoryImpl extends Enum<ImmutableLongBagFactoryImpl> implements ImmutableLongBagFactory
ImmutableLongBag
.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final ImmutableLongBagFactoryImpl INSTANCE
public static ImmutableLongBagFactoryImpl[] values()
for (ImmutableLongBagFactoryImpl c : ImmutableLongBagFactoryImpl.values()) System.out.println(c);
public static ImmutableLongBagFactoryImpl 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 ImmutableLongBag empty()
empty
in interface ImmutableLongBagFactory
public ImmutableLongBag of()
ImmutableLongBagFactory
ImmutableLongBagFactory.empty()
.of
in interface ImmutableLongBagFactory
public ImmutableLongBag with()
ImmutableLongBagFactory
ImmutableLongBagFactory.empty()
.with
in interface ImmutableLongBagFactory
public ImmutableLongBag of(long one)
ImmutableLongBagFactory
ImmutableLongBagFactory.with(long)
.of
in interface ImmutableLongBagFactory
public ImmutableLongBag with(long one)
with
in interface ImmutableLongBagFactory
public ImmutableLongBag of(long... items)
ImmutableLongBagFactory
ImmutableLongBagFactory.with(long[])
.of
in interface ImmutableLongBagFactory
public ImmutableLongBag with(long... items)
with
in interface ImmutableLongBagFactory
public ImmutableLongBag ofAll(LongIterable items)
ImmutableLongBagFactory
ofAll
in interface ImmutableLongBagFactory
public ImmutableLongBag withAll(LongIterable items)
withAll
in interface ImmutableLongBagFactory
public ImmutableLongBag ofAll(Iterable<Long> iterable)
ImmutableLongBagFactory
#withAll(IterableLong)
.ofAll
in interface ImmutableLongBagFactory
public ImmutableLongBag withAll(Iterable<Long> iterable)
withAll
in interface ImmutableLongBagFactory
public ImmutableLongBag ofAll(LongStream items)
ofAll
in interface ImmutableLongBagFactory
public ImmutableLongBag withAll(LongStream items)
withAll
in interface ImmutableLongBagFactory
Copyright © 2004–2019. All rights reserved.