Package java.util
Interface Set
-
- All Superinterfaces:
Collection
- All Known Subinterfaces:
SortedSet
- All Known Implementing Classes:
AbstractSet,HashSet,TreeSet
public interface Set extends Collection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanadd(Object var0)booleanaddAll(Collection var0)voidclear()booleancontains(Object var0)booleancontainsAll(Collection var0)booleanequals(Object var0)inthashCode()booleanisEmpty()Iteratoriterator()booleanremove(Object var0)booleanremoveAll(Collection var0)booleanretainAll(Collection var0)intsize()Object[]toArray()Object[]toArray(Object[] var0)
-
-
-
Method Detail
-
add
boolean add(Object var0)
- Specified by:
addin interfaceCollection
-
addAll
boolean addAll(Collection var0)
- Specified by:
addAllin interfaceCollection
-
clear
void clear()
- Specified by:
clearin interfaceCollection
-
contains
boolean contains(Object var0)
- Specified by:
containsin interfaceCollection
-
containsAll
boolean containsAll(Collection var0)
- Specified by:
containsAllin interfaceCollection
-
equals
boolean equals(Object var0)
- Specified by:
equalsin interfaceCollection- Overrides:
equalsin classObject
-
hashCode
int hashCode()
- Specified by:
hashCodein interfaceCollection- Overrides:
hashCodein classObject
-
isEmpty
boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection
-
iterator
Iterator iterator()
- Specified by:
iteratorin interfaceCollection
-
remove
boolean remove(Object var0)
- Specified by:
removein interfaceCollection
-
removeAll
boolean removeAll(Collection var0)
- Specified by:
removeAllin interfaceCollection
-
retainAll
boolean retainAll(Collection var0)
- Specified by:
retainAllin interfaceCollection
-
size
int size()
- Specified by:
sizein interfaceCollection
-
toArray
Object[] toArray()
- Specified by:
toArrayin interfaceCollection
-
toArray
Object[] toArray(Object[] var0)
- Specified by:
toArrayin interfaceCollection
-
-