Package panda.std

Class Mono<A>

java.lang.Object
panda.std.Mono<A>

public class Mono<A> extends Object
  • Field Details

    • first

      protected final A first
  • Constructor Details

    • Mono

      public Mono(A first)
  • Method Details

    • of

      public static <A> Mono<A> of(A first)
    • add

      public <B> Pair<A,B> add(B second)
    • getFirst

      public A getFirst()
    • equals

      public boolean equals(Object to)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object