Class Callback


  • @Deprecated(since="4.6",
                forRemoval=true)
    public final class Callback
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use FunctionalInterfaces instead. Main reason is utilizing improved naming conventions matching those of the new functional interfaces introduced in Java 1.8.
    Collection of callback interfaces. Useful in (mini) visitor and strategy patterns.
    Author:
    Bauke Scholtz
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  Callback.Output
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use this if you need an output stream callback.
      static interface  Callback.Returning<R>
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 4.0.
      static interface  Callback.ReturningWithArgument<R,​A>
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 4.0.
      static interface  Callback.SerializableBiConsumer<T,​U>
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use this if you need a serializable bi-consumer.
      static interface  Callback.SerializableReturning<R>
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use this if you need a serializable callback which returns a value.
      static interface  Callback.SerializableReturningWithArgument<R,​A>
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use this if you need a serializable callback which takes an argument and returns a value.
      static interface  Callback.SerializableVoid
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use this if you need a serializable void callback.
      static interface  Callback.SerializableWithArgument<A>
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use this if you need a serializable callback which takes an argument.
      static interface  Callback.Void
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 4.0.
      static interface  Callback.WithArgument<A>
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 4.0.
    • Constructor Summary

      Constructors 
      Constructor Description
      Callback()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Detail

      • Callback

        public Callback()
        Deprecated, for removal: This API element is subject to removal in a future version.