cz.cuni.amis.pogamut.sposh.elements
Class LapPath.Link

Package class diagram package LapPath.Link
java.lang.Object
  extended by cz.cuni.amis.pogamut.sposh.elements.LapPath.Link
Enclosing class:
LapPath

public static class LapPath.Link
extends Object

One link of the path, immutable.


Constructor Summary
LapPath.Link(LapType type, int id)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getId()
           
 LapType getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LapPath.Link

public LapPath.Link(LapType type,
                    int id)
Method Detail

getType

public LapType getType()
Returns:
Type of path link

getId

public int getId()
Returns:
Id of link. Id is index into list of all children of parent with same getType().

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.