public class DestinationTable
extends java.lang.Object
| Constructor and Description |
|---|
DestinationTable()
Contructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(DestinationType type,
java.lang.String key,
GridNode newVal)
Add value with the given type and key
|
boolean |
equals(java.lang.Object o) |
java.util.Set<java.util.Map.Entry<java.lang.String,GridNode>> |
getAllNonGeneric(DestinationType type)
Get all values for the given non-generic type
|
java.util.Set<GridNode> |
getGeneric(DestinationType type)
Get all generic value of given type
|
java.lang.Object |
getImmediateValue(DestinationType type)
Get raw object for the given type
|
GridNode |
getNonGeneric(DestinationType type,
java.lang.String key)
Get a non generic value using the given type and key
|
int |
hashCode() |
boolean |
isEmpty()
Check whether the table is empty
|
public DestinationTable()
public GridNode getNonGeneric(DestinationType type, java.lang.String key)
type - Type of the valuekey - Key for the valuepublic java.util.Set<java.util.Map.Entry<java.lang.String,GridNode>> getAllNonGeneric(DestinationType type)
type - Type of the valuespublic java.util.Set<GridNode> getGeneric(DestinationType type)
type - Type of the valuespublic java.lang.Object getImmediateValue(DestinationType type)
type - Type of the valuepublic void addValue(DestinationType type, java.lang.String key, GridNode newVal)
type - Type of the value being addedkey - Key for the value being addednewVal - Value being addedpublic boolean isEmpty()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object