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 Details

    • Frozen

      public Frozen(Optional<T> delegate)