Interface Delegate<T>

Type Parameters:
T - The delegate type

public interface Delegate<T>
Represents a class which delegates calls to a different object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the delegate object.
    static Object
    Resolves for the provided object.
  • Method Details

    • resolve

      static Object resolve(Object obj)
      Resolves for the provided object.
      Parameters:
      obj - The object to resolve
      Returns:
      The delegated result
    • getDelegate

      T getDelegate()
      Gets the delegate object.
      Returns:
      The delegate object