treebolic.generator
Class PropertyView.NodeIdGetter

java.lang.Object
  extended by treebolic.generator.PropertyView.NodeIdGetter
All Implemented Interfaces:
PropertyView.IdGetter
Enclosing class:
PropertyView

private class PropertyView.NodeIdGetter
extends java.lang.Object
implements PropertyView.IdGetter

Node id getter


Field Summary
private  java.util.Map<java.lang.String,MutableNode> theIdToNodeMap
          Id to node map
 
Constructor Summary
PropertyView.NodeIdGetter(java.util.Map<java.lang.String,MutableNode> thisIdToNodeMap)
          Constructor
 
Method Summary
 java.lang.Object get(java.lang.String thisId)
          Get object referenced by id interface
 java.util.Set<java.lang.String> ids()
          Get set of ids
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theIdToNodeMap

private java.util.Map<java.lang.String,MutableNode> theIdToNodeMap
Id to node map

Constructor Detail

PropertyView.NodeIdGetter

public PropertyView.NodeIdGetter(java.util.Map<java.lang.String,MutableNode> thisIdToNodeMap)
Constructor

Parameters:
thisIdToNodeMap - id to node map
Method Detail

get

public java.lang.Object get(java.lang.String thisId)
Description copied from interface: PropertyView.IdGetter
Get object referenced by id interface

Specified by:
get in interface PropertyView.IdGetter
Parameters:
thisId - id
Returns:
object referenced by id

ids

public java.util.Set<java.lang.String> ids()
Description copied from interface: PropertyView.IdGetter
Get set of ids

Specified by:
ids in interface PropertyView.IdGetter
Returns:
set of ids