ImmutableLongSetFactory
public enum ImmutableLongSetFactoryImpl extends java.lang.Enum<ImmutableLongSetFactoryImpl> implements ImmutableLongSetFactory
ImmutableLongSet
.
This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableLongSet |
empty() |
|
ImmutableLongSet |
of() |
Same as
ImmutableLongSetFactory.empty() . |
ImmutableLongSet |
of(long one) |
Same as
ImmutableLongSetFactory.with(long) . |
ImmutableLongSet |
of(long... items) |
Same as
ImmutableLongSetFactory.with(long[]) . |
ImmutableLongSet |
ofAll(java.util.stream.LongStream items) |
|
ImmutableLongSet |
ofAll(LongIterable items) |
|
static ImmutableLongSetFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableLongSetFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableLongSet |
with() |
Same as
ImmutableLongSetFactory.empty() . |
ImmutableLongSet |
with(long one) |
|
ImmutableLongSet |
with(long... items) |
|
ImmutableLongSet |
withAll(java.util.stream.LongStream items) |
|
ImmutableLongSet |
withAll(LongIterable items) |
public static final ImmutableLongSetFactoryImpl INSTANCE
public static ImmutableLongSetFactoryImpl[] values()
for (ImmutableLongSetFactoryImpl c : ImmutableLongSetFactoryImpl.values()) System.out.println(c);
public static ImmutableLongSetFactoryImpl 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 ImmutableLongSet empty()
empty
in interface ImmutableLongSetFactory
public ImmutableLongSet of()
ImmutableLongSetFactory
ImmutableLongSetFactory.empty()
.of
in interface ImmutableLongSetFactory
public ImmutableLongSet with()
ImmutableLongSetFactory
ImmutableLongSetFactory.empty()
.with
in interface ImmutableLongSetFactory
public ImmutableLongSet of(long one)
ImmutableLongSetFactory
ImmutableLongSetFactory.with(long)
.of
in interface ImmutableLongSetFactory
public ImmutableLongSet with(long one)
with
in interface ImmutableLongSetFactory
public ImmutableLongSet of(long... items)
ImmutableLongSetFactory
ImmutableLongSetFactory.with(long[])
.of
in interface ImmutableLongSetFactory
public ImmutableLongSet with(long... items)
with
in interface ImmutableLongSetFactory
public ImmutableLongSet ofAll(LongIterable items)
ImmutableLongSetFactory
ofAll
in interface ImmutableLongSetFactory
public ImmutableLongSet withAll(LongIterable items)
withAll
in interface ImmutableLongSetFactory
public ImmutableLongSet ofAll(java.util.stream.LongStream items)
ofAll
in interface ImmutableLongSetFactory
public ImmutableLongSet withAll(java.util.stream.LongStream items)
withAll
in interface ImmutableLongSetFactory
Copyright © 2004–2018. All rights reserved.