Uses of Class
fj.data.vector.V4

Packages that use V4
Package
Description
Types that set the premise for the existence of Functional Java.
Provides 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in amortized O(1) time.
Fixed-length vectors
  • Uses of V4 in fj

    Methods in fj that return types with arguments of type V4
    Modifier and Type
    Method
    Description
    static <A> Equal<V4<A>>
    Equal.v4Equal(Equal<A> ea)
    An equal instance for a vector-4.
    static <A> Hash<V4<A>>
    Hash.v4Hash(Hash<A> ea)
    A hash instance for a vector-4.
    static <A> Show<V4<A>>
    Show.v4Show(Show<A> ea)
    A show instance for a vector-4.
  • Uses of V4 in fj.data.fingertrees

    Fields in fj.data.fingertrees declared as V4
    Modifier and Type
    Field
    Description
    private final V4<A>
    Four.as
     
    Methods in fj.data.fingertrees that return V4
    Modifier and Type
    Method
    Description
    V4<A>
    Four.values()
    Returns the elements of this digit as a vector.
    Constructors in fj.data.fingertrees with parameters of type V4
    Modifier
    Constructor
    Description
    (package private)
    Four(Measured<V,A> m, V4<A> as)
     
  • Uses of V4 in fj.data.vector

    Fields in fj.data.vector declared as V4
    Modifier and Type
    Field
    Description
    private final V4<A>
    V5.tail
     
    Methods in fj.data.vector that return V4
    Modifier and Type
    Method
    Description
    <B> V4<B>
    V4.apply(V4<F<A,B>> vf)
    Performs function application within a vector (applicative functor pattern).
    static <A> V4<A>
    V4.cons(P1<A> head, V3<A> tail)
    Creates a vector-4 from a head and a tail.
    <B> V4<B>
    V4.map(F<A,B> f)
    Maps the given function across this vector.
    static <A> V4<A>
    V4.p(P4<A,A,A,A> p)
    Creates a vector-4 from a homogeneous product-4.
    V4<A>
    V5.tail()
    Returns all but the first element of this vector, as a vector-4.
    static <A> V4<A>
    V.v(A a1, A a2, A a3, A a4)
    Puts elements in a vector-4.
    static <A> V4<A>
    V.v(P1<A> a1, P1<A> a2, F0<A> a3, F0<A> a4)
    Puts elements in a vector-4.
    V4<V2<A>>
    V4.vzip(V4<A> bs)
    Zips this vector with the given vector to produce a vector of vectors.
    <B> V4<P2<A,B>>
    V4.zip(V4<B> bs)
    Zips this vector with the given vector to produce a vector of pairs.
    <B, C> V4<C>
    V4.zipWith(F<A,F<B,C>> f, V4<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 V4
    Modifier and Type
    Method
    Description
    static <A> F<V4<A>,A>
    V4.__1()
    A first-class function to get the first element of a vector.
    static <A> F<V4<A>,A>
    V4.__2()
    A first-class function to get the second element of a vector.
    static <A> F<V4<A>,A>
    V4.__3()
    A first-class function to get the third element of a vector.
    static <A> F<V4<A>,A>
    V4.__4()
    A first-class function to get the fourth element of a vector.
    static <A> F<V4<A>,P4<A,A,A,A>>
    V4.p_()
    Returns a function that transforms a vector-4 to the equivalent product-4.
    static <A> F<V4<A>,Stream<A>>
    Returns a function that transforms a vector-4 to a stream of its elements.
    static <A> F4<A,A,A,A,V4<A>>
    V.v4()
    Returns a function that puts elements in a vector-4.
    Methods in fj.data.vector with parameters of type V4
    Modifier and Type
    Method
    Description
    <B> V4<B>
    V4.apply(V4<F<A,B>> vf)
    Performs function application within a vector (applicative functor pattern).
    static <A> V5<A>
    V5.cons(P1<A> head, V4<A> tail)
    Creates a vector-5 from a head and a tail.
    V4<V2<A>>
    V4.vzip(V4<A> bs)
    Zips this vector with the given vector to produce a vector of vectors.
    <B> V4<P2<A,B>>
    V4.zip(V4<B> bs)
    Zips this vector with the given vector to produce a vector of pairs.
    <B, C> V4<C>
    V4.zipWith(F<A,F<B,C>> f, V4<B> bs)
    Zips this vector with the given vector using the given function to produce a new vector.
    Constructors in fj.data.vector with parameters of type V4
    Modifier
    Constructor
    Description
    private
    V5(P1<A> head, V4<A> tail)