Class Nullable<T>

java.lang.Object
com.langfuse.client.core.Nullable<T>

public final class Nullable<T> extends Object
  • Method Details

    • ofNull

      public static <T> Nullable<T> ofNull()
    • of

      public static <T> Nullable<T> of(T value)
    • empty

      public static <T> Nullable<T> empty()
    • ofOptional

      public static <T> Nullable<T> ofOptional(Optional<T> value)
    • isNull

      public boolean isNull()
    • isEmpty

      public boolean isEmpty()
    • get

      public T get()
    • map

      public <U> Nullable<U> map(Function<? super T,? extends U> mapper)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object