CompositeData
interface specifies
the behavior of a specific type of complex open data objects
which represent composite data structures.
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if thisCompositeData contains the key.the key to be tested. key)Returns |
public boolean | Returns: true if thisCompositeData contains the value.the value to be tested. value)Returns |
public boolean | |
public Object | |
public Object[] | |
public CompositeType | Returns: the type of this CompositeData.Returns the composite type of this composite data instance. |
public int | Returns: the hash code value for thisCompositeData instanceReturns the hash code value for this |
public String | Returns: a string representation of thisCompositeData instanceReturns a string representation of this |
public Collection | Returns: the values.Returns an unmodifiable Collection view of the item values
contained in this |
containsKey | back to summary |
---|---|
public boolean containsKey(String key) Returns
|
containsValue | back to summary |
---|---|
public boolean containsValue(Object value) Returns
|
equals | back to summary |
---|---|
public boolean equals(Object obj) Compares the specified obj parameter with this
Returns
This ensures that this
|
get | back to summary |
---|---|
public Object get(String key) Returns the value of the item whose name is
|
getAll | back to summary |
---|---|
public Object[] getAll(String[] keys) Returns an array of the values of the items whose names
are specified by
|
getCompositeType | back to summary |
---|---|
public CompositeType getCompositeType() Returns the composite type of this composite data instance.
|
hashCode | back to summary |
---|---|
public int hashCode() Returns the hash code value for this
The hash code of a
This ensures that
Each item value's hash code is added to the returned hash code.
If an item value is an array,
its hash code is obtained as if by calling the
|
toString | back to summary |
---|---|
public String toString() Returns a string representation of this The string representation consists of the name of the implementing class, the string representation of the composite type of this instance, and the string representation of the contents (ie list the itemName=itemValue mappings).
|
values | back to summary |
---|---|
public Collection Returns an unmodifiable Collection view of the item values
contained in this
|