Class TtlUnwrap


  • public class TtlUnwrap
    extends Object
    Util methods for TTL Wrapper: unwrap TTL Wrapper and check TTL Wrapper.

    Note: all methods is null-safe, when input parameter is null, return null.

    Implementation Note: The util methods in this class should have been inside TtlWrappers.
    But for Java 6 support, it's required splitting the util methods which involved Java 8 from TtlWrappers. In order to avoid loading Java 8 class (eg: Consumer, Supplier), when invoking any methods of TtlWrappers.

    Since:
    2.11.4
    Author:
    Jerry Lee (oldratlee at gmail dot com)
    See Also:
    TtlWrappers, TtlWrapper, TtlRunnable, TtlCallable