Uses of Class
fj.data.vector.V3

Packages that use V3
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 V3 in fj

    Methods in fj that return types with arguments of type V3
    Modifier and Type
    Method
    Description
    static <A> Equal<V3<A>>
    Equal.v3Equal(Equal<A> ea)
    An equal instance for a vector-3.
    static <A> Hash<V3<A>>
    Hash.v3Hash(Hash<A> ea)
    A hash instance for a vector-3.
    static <A> Show<V3<A>>
    Show.v3Show(Show<A> ea)
    A show instance for a vector-3.
  • Uses of V3 in fj.data.fingertrees

    Fields in fj.data.fingertrees declared as V3
    Modifier and Type
    Field
    Description
    private final V3<A>
    Node3.as
     
    private final V3<A>
    Three.as
     
    Methods in fj.data.fingertrees that return V3
    Modifier and Type
    Method
    Description
    V3<A>
    Node3.toVector()
     
    V3<A>
    Three.values()
    Returns the elements of this digit as a vector.
    Methods in fj.data.fingertrees with parameters of type V3
    Modifier and Type
    Method
    Description
    MakeTree.node3(V3<A> v)
    A trinary tree node
    Constructors in fj.data.fingertrees with parameters of type V3
    Modifier
    Constructor
    Description
    (package private)
    Node3(Measured<V,A> m, V3<A> as)
     
    (package private)
    Three(Measured<V,A> m, V3<A> as)
     
  • Uses of V3 in fj.data.vector

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