L - the type of the location of the node this attribute belongs topublic final class AttributeLocation<L> extends Object implements Comparable<AttributeLocation<L>>
| Constructor and Description |
|---|
AttributeLocation(L location,
String attribute) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AttributeLocation<L> other) |
boolean |
equals(Object obj) |
String |
getAttribute() |
L |
getLocation() |
int |
hashCode() |
AttributeLocation<L> |
rebase(L newLocation) |
String |
toString() |
public String getAttribute()
public L getLocation()
public AttributeLocation<L> rebase(L newLocation)
newLocation - the location to use when creating a new AttributeLocation returned by this methodAttributeLocation created with the given newLocation and attribute taken
from thispublic int compareTo(AttributeLocation<L> other)
compareTo in interface Comparable<AttributeLocation<L>>Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.