Package fj.data

Class Either3.MiddleProjection<A,​B,​C>

  • Enclosing class:
    Either3<A,​B,​C>

    public static final class Either3.MiddleProjection<A,​B,​C>
    extends java.lang.Object
    • Constructor Detail

      • MiddleProjection

        private MiddleProjection​(Either3<A,​B,​C> e)
    • Method Detail

      • exists

        public boolean exists​(F<B,​java.lang.Boolean> f)
      • filter

        public <X,​Y> Option<Either3<X,​B,​Y>> filter​(F<B,​java.lang.Boolean> f)
      • forall

        public boolean forall​(F<B,​java.lang.Boolean> f)
      • foreach

        public Unit foreach​(F<B,​Unit> f)
      • foreachDoEffect

        public void foreachDoEffect​(Effect1<B> f)
      • iterator

        public java.util.Iterator<B> iterator()
      • map

        public <X> Either3<A,​X,​C> map​(F<B,​X> f)
      • orValue

        public B orValue​(B value)
      • orValue

        public B orValue​(F0<B> f)
      • toArray

        public Array<B> toArray()
      • toCollection

        public java.util.Collection<B> toCollection()
      • toList

        public List<B> toList()
      • toOption

        public Option<B> toOption()
      • toStream

        public Stream<B> toStream()
      • traverseIO

        public <X> IO<Either3<A,​X,​C>> traverseIO​(F<B,​IO<X>> f)
      • traverseP1

        public <X> P1<Either3<A,​X,​C>> traverseP1​(F<B,​P1<X>> f)