edu.princeton.cs.algs4.growingtree.framework
Class ActionElementType<P extends NodeProperties>
java.lang.Object
edu.princeton.cs.algs4.growingtree.framework.ActionElementType<P>
public class ActionElementType<P extends NodeProperties>
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BSTTREETYPE
public static int BSTTREETYPE
INTEGERTYPE
public static int INTEGERTYPE
KEYTYPETYPE
public static int KEYTYPETYPE
NODEKEYTYPE
public static int NODEKEYTYPE
DOUBLETYPE
public static int DOUBLETYPE
ActionElementType
public ActionElementType(GrowingTreeNode<P> value)
ActionElementType
public ActionElementType(java.lang.Integer value)
ActionElementType
public ActionElementType(KeyType value)
ActionElementType
public ActionElementType(NodeAndKey<P> value)
ActionElementType
public ActionElementType(java.lang.Double value)
isBSTTree
public boolean isBSTTree()
isInteger
public boolean isInteger()
isKeyType
public boolean isKeyType()
isNodeAndKeyType
public boolean isNodeAndKeyType()
getBSTTreeValue
public GrowingTreeNode<P> getBSTTreeValue()
getIntegerValue
public java.lang.Integer getIntegerValue()
getKeyTypeValue
public KeyType getKeyTypeValue()
getNodeAndKeyValue
public NodeAndKey<P> getNodeAndKeyValue()
getDoubleValue
public java.lang.Double getDoubleValue()