Class ConcurrentSkipListIntObjMultimap.IntEntry<V>

java.lang.Object
io.netty.util.concurrent.ConcurrentSkipListIntObjMultimap.IntEntry<V>
All Implemented Interfaces:
java.lang.Comparable<ConcurrentSkipListIntObjMultimap.IntEntry<V>>
Enclosing class:
ConcurrentSkipListIntObjMultimap<V>

public static final class ConcurrentSkipListIntObjMultimap.IntEntry<V> extends java.lang.Object implements java.lang.Comparable<ConcurrentSkipListIntObjMultimap.IntEntry<V>>
The multimap entry type with primitive int keys.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
    private final V
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    IntEntry(int key, V value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    boolean
    equals(java.lang.Object o)
     
    int
    Get the corresponding key.
    Get the corresponding value.
    int
     
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • key

      private final int key
    • value

      private final V value
  • Constructor Details

    • IntEntry

      public IntEntry(int key, V value)
  • Method Details

    • getKey

      public int getKey()
      Get the corresponding key.
    • getValue

      public V getValue()
      Get the corresponding value.
    • equals

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

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • compareTo

      public int compareTo(ConcurrentSkipListIntObjMultimap.IntEntry<V> o)
      Specified by:
      compareTo in interface java.lang.Comparable<V>