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 boolean
add(Object var0)
boolean
addAll(Collection var0)
void
clear()
boolean
contains(Object var0)
boolean
containsAll(Collection var0)
boolean
equals(Object var0)
int
hashCode()
boolean
isEmpty()
Iterator
iterator()
boolean
remove(Object var0)
boolean
removeAll(Collection var0)
boolean
retainAll(Collection var0)
int
size()
Object[]
toArray()
Object[]
toArray(Object[] var0)
-
-
-
Method Detail
-
add
boolean add(Object var0)
- Specified by:
add
in interfaceCollection
-
addAll
boolean addAll(Collection var0)
- Specified by:
addAll
in interfaceCollection
-
clear
void clear()
- Specified by:
clear
in interfaceCollection
-
contains
boolean contains(Object var0)
- Specified by:
contains
in interfaceCollection
-
containsAll
boolean containsAll(Collection var0)
- Specified by:
containsAll
in interfaceCollection
-
equals
boolean equals(Object var0)
- Specified by:
equals
in interfaceCollection
- Overrides:
equals
in classObject
-
hashCode
int hashCode()
- Specified by:
hashCode
in interfaceCollection
- Overrides:
hashCode
in classObject
-
isEmpty
boolean isEmpty()
- Specified by:
isEmpty
in interfaceCollection
-
iterator
Iterator iterator()
- Specified by:
iterator
in interfaceCollection
-
remove
boolean remove(Object var0)
- Specified by:
remove
in interfaceCollection
-
removeAll
boolean removeAll(Collection var0)
- Specified by:
removeAll
in interfaceCollection
-
retainAll
boolean retainAll(Collection var0)
- Specified by:
retainAll
in interfaceCollection
-
size
int size()
- Specified by:
size
in interfaceCollection
-
toArray
Object[] toArray()
- Specified by:
toArray
in interfaceCollection
-
toArray
Object[] toArray(Object[] var0)
- Specified by:
toArray
in interfaceCollection
-
-