org.hsqldb.lib
Interface Set
-
- All Superinterfaces:
- Collection
- All Known Implementing Classes:
- HashSet, OrderedHashSet
public interface Set extends Collection
- Since:
- 1.7.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleanadd(java.lang.Object o)voidclear()booleancontains(java.lang.Object o)booleanequals(java.lang.Object o)java.lang.Objectget(java.lang.Object o)This method returns the Object that is already in the set and is equal to the argument o.inthashCode()booleanisEmpty()Iteratoriterator()booleanremove(java.lang.Object o)intsize()-
Methods inherited from interface org.hsqldb.lib.Collection
addAll
-
-
-
-
Method Detail
-
size
int size()
- Specified by:
sizein interfaceCollection
-
isEmpty
boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection
-
contains
boolean contains(java.lang.Object o)
- Specified by:
containsin interfaceCollection
-
iterator
Iterator iterator()
- Specified by:
iteratorin interfaceCollection
-
add
boolean add(java.lang.Object o)
- Specified by:
addin interfaceCollection
-
get
java.lang.Object get(java.lang.Object o)
This method returns the Object that is already in the set and is equal to the argument o.
-
remove
boolean remove(java.lang.Object o)
- Specified by:
removein interfaceCollection
-
clear
void clear()
- Specified by:
clearin interfaceCollection
-
equals
boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
int hashCode()
- Specified by:
hashCodein interfaceCollection- Overrides:
hashCodein classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG