Uses of Class
fj.data.vector.V8

Packages that use V8
Package
Description
Types that set the premise for the existence of Functional Java.
Fixed-length vectors
  • Uses of V8 in fj

    Methods in fj that return types with arguments of type V8
    Modifier and Type
    Method
    Description
    static <A> Equal<V8<A>>
    Equal.v8Equal(Equal<A> ea)
    An equal instance for a vector-8.
    static <A> Hash<V8<A>>
    Hash.v8Hash(Hash<A> ea)
    A hash instance for a vector-8.
    static <A> Show<V8<A>>
    Show.v8Show(Show<A> ea)
    A show instance for a vector-8.
  • Uses of V8 in fj.data.vector

    Methods in fj.data.vector that return V8
    Modifier and Type
    Method
    Description
    <B> V8<B>
    V8.apply(V8<F<A,B>> vf)
    Performs function application within a vector (applicative functor pattern).
    static <A> V8<A>
    V8.cons(P1<A> head, V7<A> tail)
    Creates a vector-8 from a head and a tail.
    <B> V8<B>
    V8.map(F<A,B> f)
    Maps the given function across this vector.
    static <A> V8<A>
    V8.p(P8<A,A,A,A,A,A,A,A> p)
    Creates a vector-8 from a homogeneous product-8.
    V8<V2<A>>
    V8.vzip(V8<A> bs)
    Zips this vector with the given vector to produce a vector of vectors.
    <B> V8<P2<A,B>>
    V8.zip(V8<B> bs)
    Zips this vector with the given vector to produce a vector of pairs.
    <B, C> V8<C>
    V8.zipWith(F<A,F<B,C>> f, V8<B> bs)
    Zips this vector with the given vector using the given function to produce a new vector.
    Methods in fj.data.vector that return types with arguments of type V8
    Modifier and Type
    Method
    Description
    static <A> F<V8<A>,A>
    V8.__1()
    A first-class function to get the first element of a vector.
    static <A> F<V8<A>,A>
    V8.__2()
    A first-class function to get the second element of a vector.
    static <A> F<V8<A>,A>
    V8.__3()
    A first-class function to get the third element of a vector.
    static <A> F<V8<A>,A>
    V8.__4()
    A first-class function to get the fourth element of a vector.
    static <A> F<V8<A>,A>
    V8.__5()
    A first-class function to get the fifth element of a vector.
    static <A> F<V8<A>,A>
    V8.__6()
    A first-class function to get the sixth element of a vector.
    static <A> F<V8<A>,A>
    V8.__7()
    A first-class function to get the seventh element of a vector.
    static <A> F<V8<A>,A>
    V8.__8()
    A first-class function to get the eighth element of a vector.
    static <A> F<V8<A>,P8<A,A,A,A,A,A,A,A>>
    V8.p_()
    Returns a function that transforms a vector-8 to the equivalent product-8.
    static <A> F<V8<A>,Stream<A>>
    Returns a function that transforms a vector-8 to a stream of its elements.
    Methods in fj.data.vector with parameters of type V8
    Modifier and Type
    Method
    Description
    <B> V8<B>
    V8.apply(V8<F<A,B>> vf)
    Performs function application within a vector (applicative functor pattern).
    V8<V2<A>>
    V8.vzip(V8<A> bs)
    Zips this vector with the given vector to produce a vector of vectors.
    <B> V8<P2<A,B>>
    V8.zip(V8<B> bs)
    Zips this vector with the given vector to produce a vector of pairs.
    <B, C> V8<C>
    V8.zipWith(F<A,F<B,C>> f, V8<B> bs)
    Zips this vector with the given vector using the given function to produce a new vector.