Package xapi.fu

Class Immutable<O>

java.lang.Object
xapi.fu.Immutable<O>
All Implemented Interfaces:
Supplier<O>

public class Immutable<O> extends Object implements Supplier<O>
  • Field Details

  • Constructor Details

    • Immutable

      public Immutable(O value)
  • Method Details

    • immutable1

      public static <O> Immutable<O> immutable1(O of)
    • get

      public O get()
      Specified by:
      get in interface Supplier<O>