Uses of Class
fj.data.vector.V2
Packages that use V2
Package
Description
Types that set the premise for the existence of Functional Java.
Common algebraic data types.
Provides 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in
amortized O(1) time.
Optic data types adapted from the Scala Monocle library
and inspired by the
Haskell Lens library.
Fixed-length vectors
-
Uses of V2 in fj
-
Uses of V2 in fj.data
Modifier and TypeFieldDescriptionNatural.divmod
A function that divides its second argument by its first, yielding both the quotient and the remainder.Modifier and TypeMethodDescriptionDivide a natural number by another yielding both the quotient and the remainder.List.traverseV2
(F<A, V2<B>> f) -
Uses of V2 in fj.data.fingertrees
Fields in fj.data.fingertrees declared as V2Methods in fj.data.fingertrees that return V2Modifier and TypeMethodDescriptionNode2.toVector()
Two.values()
Returns the elements of this digit as a vector.Methods in fj.data.fingertrees with parameters of type V2Constructors in fj.data.fingertrees with parameters of type V2 -
Uses of V2 in fj.data.optic
Methods in fj.data.optic that return types with arguments of type V2Modifier and TypeMethodDescriptionmodify polymorphically the target of aPIso
with an Applicative functionmodify polymorphically the target of aPLens
with an Applicative functionmodify polymorphically the target of aPOptional
with an Applicative functionmodify polymorphically the target of aPPrism
with an Applicative functionmodify polymorphically the target of aPTraversal
with an Applicative functionMethod parameters in fj.data.optic with type arguments of type V2Modifier and TypeMethodDescriptionmodify polymorphically the target of aPIso
with an Applicative functionmodify polymorphically the target of aPLens
with an Applicative functionmodify polymorphically the target of aPOptional
with an Applicative functionmodify polymorphically the target of aPPrism
with an Applicative functionmodify polymorphically the target of aPTraversal
with an Applicative function -
Uses of V2 in fj.data.vector
Fields in fj.data.vector declared as V2Methods in fj.data.vector that return V2Modifier and TypeMethodDescription<B> V2
<B> Performs function application within a vector (applicative functor pattern).<B> V2
<B> Maps the given function across this vector.static <A> V2
<A> Creates a vector-2 from a homogeneous product-2.V3.tail()
Returns all but the first element of this vector, as a vector-2.static <A> V2
<A> V.v
(A a1, A a2) Puts elements in a vector-2.static <A> V2
<A> Puts elements in a vector-2.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of pairs.<B,
C> V2 <C> 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 V2Modifier and TypeMethodDescriptionV2.__1()
A first-class function to get the first element of a vector.V2.__2()
A first-class function to get the second element of a vector.V2.p_()
Returns a function that transforms a vector-2 to the equivalent product-2.V2.toStream_()
Returns a function that transforms a vector-2 to a stream of its elements.V.v2()
Returns a function that puts elements in a vector-2.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of vectors.Methods in fj.data.vector with parameters of type V2Modifier and TypeMethodDescription<B> V2
<B> Performs function application within a vector (applicative functor pattern).static <A> V3
<A> Creates a vector-3 from a head and a tail.Zips this vector with the given vector to produce a vector of vectors.Zips this vector with the given vector to produce a vector of pairs.<B,
C> V2 <C> 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 V2