public abstract class Handle extends Object implements Comparable<Handle>
Constructor and Description |
---|
Handle() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Handle h)
Compares the unique name of the two handles.
|
boolean |
equals(Object o)
Two handles equal each other if their unique name is equal.
|
abstract String |
getUniqueName()
Function which returns a unique name of the handle.
|
int |
hashCode()
Returns the hash code of the unique name.
|
String |
toString()
Returns the unique name.
|
public abstract String getUniqueName()
public String toString()
public boolean equals(Object o)
public int hashCode()
public int compareTo(Handle h)
compareTo
in interface Comparable<Handle>
h
- the handle to which this one should be compared.Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie