Class ExtensionRegistryLite.ObjectIntPair

  • Enclosing class:
    ExtensionRegistryLite

    private static final class ExtensionRegistryLite.ObjectIntPair
    extends java.lang.Object
    A (Object, int) pair, used as a map key.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int number  
      private java.lang.Object object  
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectIntPair​(java.lang.Object object, int number)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • object

        private final java.lang.Object object
      • number

        private final int number
    • Constructor Detail

      • ObjectIntPair

        ObjectIntPair​(java.lang.Object object,
                      int number)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object