Class ConcurrentHashMapLong<T>

org.elasticsearch.common.util.concurrent.ConcurrentHashMapLong<T>
All Implemented Interfaces:
<,​T>, <,​T>, ConcurrentMapLong<T>

public class ConcurrentHashMapLong<T> extends implements ConcurrentMapLong<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.

    < extends ,​ extends >
  • Constructor Summary

    Constructors
    Constructor
    Description
    <,​T> map)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     key)
     
    boolean
     value)
     
    <<,​T>>
     
    boolean
     o)
     
    get​(long key)
     
     key)
     
    int
     
    boolean
     
    <>
     
    put​(long key, T value)
     
     key, T value)
     
    void
    <? extends ,​? extends T> m)
     
     key, T value)
     
    remove​(long key)
     
     key)
     
    boolean
     key,  value)
     
     key, T value)
     
    boolean
     key, T oldValue, T newValue)
     
    int
     
     
    <T>
     

    Methods inherited from class java.lang.

    , , , , , , ,

    Methods inherited from interface java.util.concurrent.

    , , , , , ,
  • Constructor Details

    • ConcurrentHashMapLong

      public ConcurrentHashMapLong(<,​T> map)
  • Method Details

    • get

      public T get(long key)
      Specified by:
      get in interface ConcurrentMapLong<T>
    • remove

      public T remove(long key)
      Specified by:
      remove in interface ConcurrentMapLong<T>
    • put

      public T put(long key, T value)
      Specified by:
      put in interface ConcurrentMapLong<T>
    • isEmpty

      public boolean isEmpty()
      Specified by:
       in interface <,​T>
    • size

      public int size()
      Specified by:
       in interface <,​T>
    • get

      public  key)
      Specified by:
       in interface <,​T>
    • containsKey

      public boolean containsKey( key)
      Specified by:
       in interface <,​T>
    • containsValue

      public boolean containsValue( value)
      Specified by:
       in interface <,​T>
    • put

      public  key, T value)
      Specified by:
       in interface <,​T>
    • putIfAbsent

      public  key, T value)
      Specified by:
       in interface <,​T>
      Specified by:
       in interface <,​T>
    • putAll

      public void putAll(<? extends ,​? extends T> m)
      Specified by:
       in interface <,​T>
    • remove

      public  key)
      Specified by:
       in interface <,​T>
    • remove

      public boolean remove( key,  value)
      Specified by:
       in interface <,​T>
      Specified by:
       in interface <,​T>
    • replace

      public boolean replace( key, T oldValue, T newValue)
      Specified by:
       in interface <,​T>
      Specified by:
       in interface <,​T>
    • replace

      public  key, T value)
      Specified by:
       in interface <,​T>
      Specified by:
       in interface <,​T>
    • clear

      public void clear()
      Specified by:
       in interface <,​T>
    • keySet

      public <> keySet()
      Specified by:
       in interface <,​T>
    • values

      public <T> values()
      Specified by:
       in interface <,​T>
    • entrySet

      public <<,​T>> entrySet()
      Specified by:
       in interface <,​T>
    • equals

      public boolean equals( o)
      Specified by:
       in interface <,​T>
      Overrides:
       in class 
    • hashCode

      public int hashCode()
      Specified by:
       in interface <,​T>
      Overrides:
       in class 
    • toString

      public  toString()
      Overrides:
       in class