public class NodeUIImpl extends NodeUI
NodeUI that is used if no
other implementation is supplied.| Modifier | 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. |
| Modifier and Type | Method 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.
|
compareTo, createFromStringForm, equalsprotected NodeUIImpl()
NodeUIImpl
object.public NodeUIImpl(String s)
String that should be in the
format of that returned by the getImplStringForm() method.s - a String used to construct the NodeUIImpl object.public String getImplStringForm()
String object that can be used with the constructor
that takes a String parameter.getImplStringForm in class NodeUIString that holds this object in "string form".public final boolean checkEqual(NodeUI other)
NodeUI with this NodeUIImpl.checkEqual in class NodeUIother - another NodeUI to compare with this object.true iff the NodeUI supplied is a NodeUIImpl object that contains
the same internal unique identifier as this object.protected String getComparisonString()
String that can be used by the superclass to compare
two NodeUI objects.getComparisonString in class NodeUIString that follows the rules stated for this method in the
NodeUI class.Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.