Package java.util
Interface Set
- All Superinterfaces:
Collection
- All Known Subinterfaces:
SortedSet
- All Known Implementing Classes:
AbstractSet
,HashSet
,TreeSet
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection var0) void
clear()
boolean
boolean
containsAll
(Collection var0) boolean
int
hashCode()
boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(Collection var0) boolean
retainAll
(Collection var0) int
size()
Object[]
toArray()
Object[]
-
Method Details
-
add
- Specified by:
add
in interfaceCollection
-
addAll
- Specified by:
addAll
in interfaceCollection
-
clear
void clear()- Specified by:
clear
in interfaceCollection
-
contains
- Specified by:
contains
in interfaceCollection
-
containsAll
- Specified by:
containsAll
in interfaceCollection
-
equals
- 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
- Specified by:
remove
in interfaceCollection
-
removeAll
- Specified by:
removeAll
in interfaceCollection
-
retainAll
- Specified by:
retainAll
in interfaceCollection
-
size
int size()- Specified by:
size
in interfaceCollection
-
toArray
Object[] toArray()- Specified by:
toArray
in interfaceCollection
-
toArray
- Specified by:
toArray
in interfaceCollection
-