jlibs.core.graph
Class Path

java.lang.Object
  extended by jlibs.core.graph.Path

public final class Path
extends Object

Author:
Santhosh Kumar T

Field Summary
 boolean lastElem
           
 
Constructor Summary
Path(Object elem)
           
 
Method Summary
 Path append(Object elem)
           
 Path append(Object elem, int index)
           
 Object getElement()
           
 Object getElement(int i)
           
 int getIndex()
           
 int getLength()
           
 Path getParentPath()
           
 Path getParentPath(Class clazz)
           
 int getRecursionDepth()
           
 Object[] toArray()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lastElem

public boolean lastElem
Constructor Detail

Path

public Path(Object elem)
Method Detail

append

public Path append(Object elem)

append

public Path append(Object elem,
                   int index)

getParentPath

public Path getParentPath()

getParentPath

public Path getParentPath(Class clazz)

getElement

public Object getElement()

getIndex

public int getIndex()

getElement

public Object getElement(int i)

getLength

public int getLength()

toArray

public Object[] toArray()

getRecursionDepth

public int getRecursionDepth()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.