public class StructLikeSet extends java.util.AbstractSet<StructLike> implements java.util.Set<StructLike>
Modifier and Type | Method and Description |
---|---|
boolean |
add(StructLike struct) |
boolean |
addAll(java.util.Collection<? extends StructLike> structs) |
void |
clear() |
boolean |
contains(java.lang.Object obj) |
boolean |
containsAll(java.util.Collection<?> objects) |
static StructLikeSet |
create(Types.StructType type) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<StructLike> |
iterator() |
boolean |
remove(java.lang.Object obj) |
boolean |
removeAll(java.util.Collection<?> objects) |
boolean |
retainAll(java.util.Collection<?> objects) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] destArray) |
public static StructLikeSet create(Types.StructType type)
public int size()
size
in interface java.util.Collection<StructLike>
size
in interface java.util.Set<StructLike>
size
in class java.util.AbstractCollection<StructLike>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<StructLike>
isEmpty
in interface java.util.Set<StructLike>
isEmpty
in class java.util.AbstractCollection<StructLike>
public boolean contains(java.lang.Object obj)
contains
in interface java.util.Collection<StructLike>
contains
in interface java.util.Set<StructLike>
contains
in class java.util.AbstractCollection<StructLike>
public java.util.Iterator<StructLike> iterator()
iterator
in interface java.lang.Iterable<StructLike>
iterator
in interface java.util.Collection<StructLike>
iterator
in interface java.util.Set<StructLike>
iterator
in class java.util.AbstractCollection<StructLike>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<StructLike>
toArray
in interface java.util.Set<StructLike>
toArray
in class java.util.AbstractCollection<StructLike>
public <T> T[] toArray(T[] destArray)
toArray
in interface java.util.Collection<StructLike>
toArray
in interface java.util.Set<StructLike>
toArray
in class java.util.AbstractCollection<StructLike>
public boolean add(StructLike struct)
add
in interface java.util.Collection<StructLike>
add
in interface java.util.Set<StructLike>
add
in class java.util.AbstractCollection<StructLike>
public boolean remove(java.lang.Object obj)
remove
in interface java.util.Collection<StructLike>
remove
in interface java.util.Set<StructLike>
remove
in class java.util.AbstractCollection<StructLike>
public boolean containsAll(java.util.Collection<?> objects)
containsAll
in interface java.util.Collection<StructLike>
containsAll
in interface java.util.Set<StructLike>
containsAll
in class java.util.AbstractCollection<StructLike>
public boolean addAll(java.util.Collection<? extends StructLike> structs)
addAll
in interface java.util.Collection<StructLike>
addAll
in interface java.util.Set<StructLike>
addAll
in class java.util.AbstractCollection<StructLike>
public boolean retainAll(java.util.Collection<?> objects)
retainAll
in interface java.util.Collection<StructLike>
retainAll
in interface java.util.Set<StructLike>
retainAll
in class java.util.AbstractCollection<StructLike>
public boolean removeAll(java.util.Collection<?> objects)
removeAll
in interface java.util.Collection<StructLike>
removeAll
in interface java.util.Set<StructLike>
removeAll
in class java.util.AbstractSet<StructLike>
public void clear()
clear
in interface java.util.Collection<StructLike>
clear
in interface java.util.Set<StructLike>
clear
in class java.util.AbstractCollection<StructLike>
public boolean equals(java.lang.Object o)
equals
in interface java.util.Collection<StructLike>
equals
in interface java.util.Set<StructLike>
equals
in class java.util.AbstractSet<StructLike>
public int hashCode()
hashCode
in interface java.util.Collection<StructLike>
hashCode
in interface java.util.Set<StructLike>
hashCode
in class java.util.AbstractSet<StructLike>