Class OrderedProxy


  • @Validated
    public abstract class OrderedProxy
    extends Object
    The ordered proxy.
    Author:
    Christian Bremer
    • Method Detail

      • create

        public static <T> T create​(@NotNull
                                   @NotNull Object target,
                                   int orderedValue)
        Create a proxy of the target object that implements Ordered.
        Type Parameters:
        T - the type of the proxy
        Parameters:
        target - the target
        orderedValue - the ordered value
        Returns:
        the type of the proxy; if the target implements one or more interfaces, it must be one of these interfaces, otherwise it must be Ordered