Class Frozen<T>

  • All Implemented Interfaces:
    Optional<T>

    public final class Frozen<T>
    extends LazyDelegatingOptional<T>
    An Optional decorator which avoids frequent (potentially expensive) evaluation of another Optional by retaining the result of the first evaluation.
    • Constructor Summary

      Constructors 
      Constructor Description
      Frozen​(Optional<T> delegate)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Frozen

        public Frozen​(Optional<T> delegate)