uk.co.mullsoft.jean
Class JEANPath

java.lang.Object
  extended by uk.co.mullsoft.jean.JEANPath

public class JEANPath
extends java.lang.Object


Field Summary
 long from
           
 long[] nodes
          nodes.length = path.length + 1
 java.lang.String[] path
           
 long to
           
 
Method Summary
 JEANPath append(long to)
           
static JEANPath[] getAllPaths(JEANAPI api, long from, long to)
           
 JEANPath prepend(long from)
           
 JEANPath subpath(int startIndex)
          indices are into the path array
 JEANPath subpath(int startIndex, int endIndex)
          indices are into the path array
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

from

public final long from

to

public final long to

path

public final java.lang.String[] path

nodes

public final long[] nodes
nodes.length = path.length + 1

Method Detail

getAllPaths

public static JEANPath[] getAllPaths(JEANAPI api,
                                     long from,
                                     long to)

append

public JEANPath append(long to)

prepend

public JEANPath prepend(long from)

subpath

public JEANPath subpath(int startIndex)
indices are into the path array


subpath

public JEANPath subpath(int startIndex,
                        int endIndex)
indices are into the path array


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object