org.squashtest.csp.tm.domain.library.structures
Class NodeData<KEY_TYPE>
java.lang.Object
org.squashtest.csp.tm.domain.library.structures.NodeData<KEY_TYPE>
- Type Parameters:
KEY_TYPE - the type of the key used for comparison.
- Direct Known Subclasses:
- DeletableNodeData
public abstract class NodeData<KEY_TYPE>
- extends Object
classes extending that one should preferably be comparable only on a subset of their attributes. More formally,
a.equals(b) regardless of the result of (a.hashCode() == b.hashCode())
- Author:
- bsiri
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeData
public NodeData(KEY_TYPE key)
getKey
public final KEY_TYPE getKey()
equals
public final boolean equals(NodeData<KEY_TYPE> otherData)
updateWith
public abstract void updateWith(NodeData<KEY_TYPE> newData)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.