Class ConcurrentBag.BagEntry<T>

  • Enclosing class:
    ConcurrentBag<T>

    public static class ConcurrentBag.BagEntry<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BagEntry​(T value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean compareAndSet​(int expect, int update)  
      int getState()  
      void setState​(int update)  
      T value()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BagEntry

        public BagEntry​(T value)
    • Method Detail

      • value

        public T value()
      • getState

        public int getState()
      • compareAndSet

        public boolean compareAndSet​(int expect,
                                     int update)
      • setState

        public void setState​(int update)