Class RBTKeyValuePair


  • public class RBTKeyValuePair
    extends java.lang.Object
    Part of map<int, T> RedBlackTree Represents a key-value pair of a red-black tree.
    Version:
    $Id: RBTKeyValuePair.java,v 1.1 2001/12/12 18:01:07 goetz Exp $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int key  
      private java.lang.Object value  
    • Constructor Summary

      Constructors 
      Constructor Description
      RBTKeyValuePair​(int key, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getKey()  
      java.lang.Object getValue()  
      • Methods inherited from class java.lang.Object

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

      • key

        private int key
      • value

        private java.lang.Object value
    • Constructor Detail

      • RBTKeyValuePair

        RBTKeyValuePair​(int key,
                        java.lang.Object value)
    • Method Detail

      • getKey

        public int getKey()
      • getValue

        public java.lang.Object getValue()