Class IntTrie.Node<E>

  • Direct Known Subclasses:
    IntMap.MapNode, IntTrie.SimpleNode
    Enclosing class:
    IntTrie<N extends IntTrie.Node<N>>

    public abstract static class IntTrie.Node<E>
    extends java.lang.Object
    class of nodes of the Trie. One can subclass this class to add any payload he wants to the nodes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) boolean negMember  
      (package private) boolean posMember  
      (package private) E son0  
      (package private) E son1  
    • Constructor Summary

      Constructors 
      Constructor Description
      Node()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract E getNew()
      allocate a new value of type E
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • son0

        E son0
      • son1

        E son1
      • posMember

        boolean posMember
      • negMember

        boolean negMember
    • Constructor Detail

      • Node

        public Node()
    • Method Detail

      • getNew

        public abstract E getNew()
        allocate a new value of type E
        Returns:
        the value of type E