Class InternalBindingKey

java.lang.Object
com.sun.corba.ee.impl.naming.cosnaming.InternalBindingKey

public class InternalBindingKey extends Object
Class InternalBindingKey implements the necessary wrapper code around the org.omg.CosNaming::NameComponent class to implement the proper equals() method and the hashCode() method for use in a hash table. It computes the hashCode once and stores it, and also precomputes the lengths of the id and kind strings for faster comparison.
  • Field Details

    • name

      public NameComponent name
    • idLen

      private int idLen
    • kindLen

      private int kindLen
    • hashVal

      private int hashVal
  • Constructor Details

    • InternalBindingKey

      public InternalBindingKey()
    • InternalBindingKey

      public InternalBindingKey(NameComponent n)
  • Method Details