public class AspectAndDistanceToLeaf
extends java.lang.Object
Constructor and Description |
---|
AspectAndDistanceToLeaf(Aspect<?> aspect,
int distance)
Creates an instance of the AspectAndDistanceToLeaf class.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear.
|
Aspect<?> |
getAspect()
Gets the aspect.
|
int |
getDistance()
Gets the distance.
|
void |
setDistance(int distance)
Adjust distance to leaf.
|
java.lang.String |
toString()
To string.
|
public AspectAndDistanceToLeaf(Aspect<?> aspect, int distance)
aspect
- the aspectdistance
- the distancepublic Aspect<?> getAspect()
public int getDistance()
public void setDistance(int distance)
distance
- the new distancepublic java.lang.String toString()
toString
in class java.lang.Object
public void clear()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa