public final class GraphTypeMap<H> extends Object implements TypeMap<H>
| Constructor and Description |
|---|
GraphTypeMap() |
GraphTypeMap(int expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
Set<H> |
getAll(Type t)
Get all Objects associated to all unrelated compatible types.
|
H |
getExact(Type t)
Get the the Object associated to type.
|
boolean |
putIfNotPresent(Type type,
H appender)
Associate object to type if no existing association present.
|
boolean |
remove(Type type)
remove type association.
|
String |
toString() |
public GraphTypeMap()
public GraphTypeMap(int expectedSize)
public Set<H> getAll(Type t)
TypeMappublic boolean putIfNotPresent(Type type, H appender)
TypeMapputIfNotPresent in interface TypeMap<H>public boolean remove(Type type)
TypeMapCopyright © 2018 SPF4J. All rights reserved.