This is a default implementation for NodeUI
that is used if no
other implementation is supplied.
Constructor and description |
---|
protected NodeUIImpl
() Constructor which is used as standard to create a new NodeUIImpl
object. |
NodeUIImpl
(String s) A constructor which takes a String that should be in the
format of that returned by the getImplStringForm() method. |
Type | Name and description |
---|---|
boolean |
checkEqual(NodeUI other) Compares another NodeUI with this NodeUIImpl . |
protected String |
getComparisonString() Returns a String that can be used by the superclass to compare
two NodeUI objects. |
String |
getImplStringForm() Returns a String object that can be used with the constructor
that takes a String parameter. |
int |
hashCode() Returns a hash code for this object. |
Methods inherited from class | Name |
---|---|
class NodeUI |
checkEqual, compareTo, createFromStringForm, equals, getComparisonString, getImplStringForm, hashCode |
Constructor which is used as standard to create a new NodeUIImpl
object.
A constructor which takes a String
that should be in the
format of that returned by the getImplStringForm()
method.
s
- a String
used to construct the NodeUIImpl
object. Compares another NodeUI
with this NodeUIImpl
.
true
iff the NodeUI
supplied is a NodeUIImpl
object that contains
the same internal unique identifier as this object.other
- another NodeUI
to compare with this object. Returns a String
that can be used by the superclass to compare
two NodeUI
objects.
String
that follows the rules stated for this method in the
NodeUI
class. Returns a String
object that can be used with the constructor
that takes a String
parameter.
String
that holds this object in "string form".Returns a hash code for this object.
int
hash code for this object.JCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk