org.shapelogic.calculation
Class SimpleRecursiveContext<K>
java.lang.Object
org.shapelogic.calculation.SimpleRecursiveContext<K>
- All Implemented Interfaces:
- RecursiveContext<K>
public class SimpleRecursiveContext<K>
- extends java.lang.Object
- implements RecursiveContext<K>
Simple implementation of a RecursiveContext.
This could be a mix in class or just a test class.
- Author:
- Sami Badawi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRecursiveContext
public SimpleRecursiveContext(RecursiveContext<K> parentContext)
SimpleRecursiveContext
public SimpleRecursiveContext(java.util.Map<K,?> context,
RecursiveContext<K> parentContext)
setContext
public void setContext(java.util.Map<K,?> context)
setParentContext
public void setParentContext(RecursiveContext<K> parentContext)
getContext
public java.util.Map<K,?> getContext()
- Specified by:
getContext
in interface RecursiveContext<K>
getParentContext
public RecursiveContext<K> getParentContext()
- Specified by:
getParentContext
in interface RecursiveContext<K>
Copyright © 2009. All Rights Reserved.