public class ElkEntityRecycler extends Object implements ElkObjectRecycler
ElkObjectRecycler that reuses ElkEntitys. If
ElkObjectRecycler.recycle(ElkObject) is called on two structurally
equivalent ElkEntitys (i.e., with the same ElkIris), the same
object will be obtained in the output, unless one of the output
ElkEntitys has been garbage collected (i.e., is not used anymore). It
does not recycle other types of ElkObjects, and simply returns them
as the output.| Constructor and Description |
|---|
ElkEntityRecycler() |
public ElkObject recycle(ElkObject object)
ElkObjectRecyclerElkObject and either return itself, or another
(previously processed) ElkObject that is structurally equivalent
to the given one.recycle in interface ElkObjectRecyclerobject - the input ElkObject which should be processedElkObject that is structurally equivalent to the given
objectCopyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.