Class TreeCloneGenerator<U>

java.lang.Object
es.uam.eps.ir.relison.graph.generator.TreeCloneGenerator<U>
Type Parameters:
U - Type of the users
All Implemented Interfaces:
GraphGenerator<U>

public class TreeCloneGenerator<U>
extends java.lang.Object
implements GraphGenerator<U>
Class for cloning trees.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private boolean configured
    Indicates if the tree has been configured
    private Tree<U> tree
    Tree to clone
  • Constructor Summary

    Constructors 
    Constructor Description
    TreeCloneGenerator()  
  • Method Summary

    Modifier and Type Method Description
    void configure​(Tree<U> tree)
    Configure the tree generator
    void configure​(java.lang.Object... configuration)
    Configures the generator.
    Graph<U> generate()
    Generates a graph.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait