com.hazelcast.util

## Class SampleableConcurrentHashMap.SamplingEntry<K,V>

- java.lang.Object
- - com.hazelcast.util.SampleableConcurrentHashMap.SamplingEntry<K,V>

- Enclosing class:
    SampleableConcurrentHashMap<K,V>

      public static class SampleableConcurrentHashMap.SamplingEntry<K,V>
      extends Object

  Entry to define keys and values for sampling.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected K` | `key`
    `protected V` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SamplingEntry(K key, V value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `K` | `getEntryKey()`
    `V` | `getEntryValue()`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### key

          protected final K key

    - #### value

          protected final V value

  - ### Constructor Detail

    - #### SamplingEntry

          public SamplingEntry(K key,
                               V value)

  - ### Method Detail

    - #### getEntryKey

          public K getEntryKey()

    - #### getEntryValue

          public V getEntryValue()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All rights reserved.