public abstract class Set extends DataStructure
| Constructor and Description |
|---|
Set() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAll(DataStructure data)
Checks whether all items within
data are present within this data structure
instance and returns true only if this is the case. |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassShortName()
Returns the short name of the class of this
DataStructure instance. |
int |
hashCode() |
public java.lang.String getClassShortName()
DataStructureDataStructure instance.getClassShortName in class DataStructuredata structure instance's classpublic boolean containsAll(DataStructure data)
DataStructuredata are present within this data structure
instance and returns true only if this is the case.containsAll in class DataStructuredata - the items to check the presence oftrue if all objects within data are contained by this instance,
false if at least one of them is notpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class DataStructure