Tag.Builder, Tag.Entry, Tag.Identified<T>, Tag.ObjectEntry, Tag.OptionalObjectEntry, Tag.OptionalTagEntry, Tag.TagEntry, Tag.TrackedEntry
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
type |
private ImmutableList<T> |
valueList |
private Set<T> |
valueSet |
Modifier | Constructor and Description |
---|---|
protected |
SetTag(Set<T> values,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(T entry) |
static <T> SetTag<T> |
empty() |
private static Class<?> |
getCommonType(Class<?> first,
Class<?> second) |
private static <T> Class<?> |
getCommonType(Set<T> values) |
static <T> SetTag<T> |
of(Set<T> values) |
List<T> |
values() |
private final ImmutableList<T> valueList
protected final Class<?> type
public static <T> SetTag<T> empty()