Class TraversedObjectsContext
java.lang.Object
jadex.common.transformation.traverser.TraversedObjectsContext
- Direct Known Subclasses:
SCloner.CloneContext
Standard context for Traverser, keeps track of
already traversed objects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets an output object of a traversed object.void
Adds an the input and output of a traversed object.static final void
Adds an the input and output of a traversed object if context is a TraversedObjectContext.
-
Field Details
-
traversed
Map of traversed objects
-
-
Constructor Details
-
TraversedObjectsContext
public TraversedObjectsContext()Creates the context.
-
-
Method Details
-
put
Adds an the input and output of a traversed object.- Parameters:
input
- The input object.output
- The output object.
-
get
Gets an output object of a traversed object.- Parameters:
input
- The input object.- Returns:
- The output object.
-
put
Adds an the input and output of a traversed object if context is a TraversedObjectContext.- Parameters:
context
- The context.input
- The input object.output
- The output object.
-