Class ListenerToken

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public abstract class ListenerToken
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Base class for a removable subscription to an observable.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void remove()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • remove

        public void remove()