graph
Class ConditionGetter

java.lang.Object
  |
  +--graph.ConditionGetter

public class ConditionGetter
extends java.lang.Object

General util class: has nothing to do with graphs. Add objects to a repository. (Objects can't be removed, only retrieved.)


Inner Class Summary
static class ConditionGetter.Test
          Testing...
 
Constructor Summary
ConditionGetter()
           
 
Method Summary
 void add(java.lang.Object A)
           
 java.lang.Object get(Condition C)
          Retrieve the first object placed in the repository that satisfies condition C.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionGetter

public ConditionGetter()
Method Detail

add

public void add(java.lang.Object A)

get

public java.lang.Object get(Condition C)
Retrieve the first object placed in the repository that satisfies condition C.