Class TreeMultiset.Reference<T>

  • Enclosing class:
    TreeMultiset<E>

    private static final class TreeMultiset.Reference<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Reference()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkAndSet​(T expected, T newValue)  
      T get()  
      • Methods inherited from class java.lang.Object

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

      • value

        @Nullable
        private T value
    • Constructor Detail

      • Reference

        private Reference()
    • Method Detail

      • get

        @Nullable
        public T get()
      • checkAndSet

        public void checkAndSet​(@Nullable
                                T expected,
                                T newValue)