public class GeometryContainer extends HashMap<String,Map<String,SuperGeometry>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GeometryContainer() |
| Modifier and Type | Method and Description |
|---|---|
List<SuperGeometry> |
getGeometriesByClass(Class c)
Adds every object that can be casted to initial class to the output list.
|
List<SuperGeometry> |
getGeometriesByGeometryType(GeometryType type)
Iterates through local hashmap values and seeks match.
|
List<SuperGeometry> |
getGeometriesByType(String type)
Gets geometry message representatives from local hashmap.
|
SuperGeometry |
getGeometryByTypeName(String type,
String name)
Gets geometry message representatives from local hashmap specified by
type and by name.
|
List<MessageDescriptor> |
getNonEmptyDescription()
For each type of Geometry it adds all individuals to the returnee List as
a couple (Type, Name)
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic List<SuperGeometry> getGeometriesByType(String type)
type - String representing the type of Geometry to returnpublic List<SuperGeometry> getGeometriesByGeometryType(GeometryType type)
type - GeometryType representing the type of Geometry to returnpublic List<SuperGeometry> getGeometriesByClass(Class c)
c - Class representing the type of which the return list should bepublic SuperGeometry getGeometryByTypeName(String type, String name)
type - String representing the type of geometry to return.name - String representing the name of geometry to return.public List<MessageDescriptor> getNonEmptyDescription()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.