| Constructor and Description |
|---|
TypeSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Type type) |
boolean |
addAll(Collection<? extends Type> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
contains(Type.Kind kind) |
boolean |
containsAll(Collection<?> c) |
boolean |
containsOnly(Type.Kind kind) |
boolean |
containsOnlyAndUnique(Type.Kind kind) |
Type |
element() |
static TypeSet |
emptyTypeSet() |
boolean |
equals(Object o) |
Type |
getUniqueKnownType()
Returns Type, which is the only not UNKNOWN element of TypeSet.
|
Type |
getUniqueType(Type.Kind kind) |
int |
hashCode() |
TypeSet |
immutableCopy() |
boolean |
isEmpty() |
Iterator<Type> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(Type type)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Type>containsAll in interface Set<Type>public boolean addAll(Collection<? extends Type> c)
public boolean retainAll(Collection<?> c)
public boolean removeAll(Collection<?> c)
public void clear()
public boolean containsOnlyAndUnique(Type.Kind kind)
public boolean contains(Type.Kind kind)
public boolean containsOnly(Type.Kind kind)
public static TypeSet emptyTypeSet()
@Nullable public Type getUniqueKnownType()
public boolean equals(Object o)
public int hashCode()
public TypeSet immutableCopy()
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.