Uses of Class
com.jnape.palatable.lambda.adt.hlist.Tuple3
-
Packages that use Tuple3 Package Description com.jnape.palatable.lambda.adt.choice com.jnape.palatable.lambda.adt.hlist com.jnape.palatable.lambda.adt.hmap com.jnape.palatable.lambda.internal.iteration -
-
Uses of Tuple3 in com.jnape.palatable.lambda.adt.choice
Methods in com.jnape.palatable.lambda.adt.choice that return Tuple3 Modifier and Type Method Description Tuple3<Maybe<A>,Maybe<B>,Maybe<C>>
Choice3. project()
Specialize this choice's projection to aTuple3
. -
Uses of Tuple3 in com.jnape.palatable.lambda.adt.hlist
Methods in com.jnape.palatable.lambda.adt.hlist with type parameters of type Tuple3 Modifier and Type Method Description <_3Prime,App extends Applicative<?,App>,TravB extends Traversable<_3Prime,Tuple3<_1,_2,?>>,AppTrav extends Applicative<TravB,App>>
AppTravTuple3. traverse(Fn1<? super _3,? extends Applicative<_3Prime,App>> fn, Fn1<? super TravB,? extends AppTrav> pure)
Applyfn
to each element of this traversable from left to right, and collapse the results into a single resulting applicative, potentially with the assistance of the applicative's pure function.Methods in com.jnape.palatable.lambda.adt.hlist that return Tuple3 Modifier and Type Method Description <_2Prime,_3Prime>
Tuple3<_1,_2Prime,_3Prime>Tuple3. biMap(Fn1<? super _2,? extends _2Prime> lFn, Fn1<? super _3,? extends _3Prime> rFn)
Dually map covariantly over both the left and right parameters.<_2Prime> Tuple3<_1,_2Prime,_3>
Tuple3. biMapL(Fn1<? super _2,? extends _2Prime> fn)
Covariantly map over the left parameter.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. biMapR(Fn1<? super _3,? extends _3Prime> fn)
Covariantly map over the right parameter.<_0> Tuple3<_0,_1,_2>
Tuple2. cons(_0 _0)
Cons an element onto the front of this HList.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. discardL(Applicative<_3Prime,Tuple3<_1,_2,?>> appB)
Sequence both thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.<_3Prime> Tuple3<_1,_2,_3>
Tuple3. discardR(Applicative<_3Prime,Tuple3<_1,_2,?>> appB)
Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.static <A> Tuple3<A,A,A>
Tuple3. fill(A a)
Given a value of typeA
, produced an instance of this tuple with each slot set to that value.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. flatMap(Fn1<? super _3,? extends Monad<_3Prime,Tuple3<_1,_2,?>>> f)
Chain dependent computations that may continue or short-circuit based on previous results.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. fmap(Fn1<? super _3,? extends _3Prime> fn)
Covariantly transmute this functor's parameter using the given mapping function.Tuple3<_1,_2,_3>
Tuple4. init()
Tuple3<_2,_1,_3>
Tuple3. invert()
Rotate the first two slots of this product.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. pure(_3Prime _3Prime)
Lift the valueb
into this applicative functor.Tuple3<_2,_3,_1>
Tuple3. rotateL3()
Rotate the first three values of this product one slot to the left.Tuple3<_3,_1,_2>
Tuple3. rotateR3()
Rotate the first three values of this product one slot to the right.<_3> Tuple3<_1,_2,_3>
Tuple2. snoc(_3 _3)
Snoc an element onto the back of thisTuple2
.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. trampolineM(Fn1<? super _3,? extends MonadRec<RecursiveResult<_3,_3Prime>,Tuple3<_1,_2,?>>> fn)
Given some operation yielding aRecursiveResult
inside thisMonadRec
, internally trampoline the operation until it yields atermination
instruction.static <_1,_2,_3>
Tuple3<_1,_2,_3>HList. tuple(_1 _1, _2 _2, _3 _3)
Static factory method for creating a 3-element HList.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. zip(Applicative<Fn1<? super _3,? extends _3Prime>,Tuple3<_1,_2,?>> appFn)
Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.Methods in com.jnape.palatable.lambda.adt.hlist that return types with arguments of type Tuple3 Modifier and Type Method Description static <A> Maybe<Tuple3<A,A,A>>
Tuple3. fromIterable(java.lang.Iterable<A> as)
<_3Prime> Lazy<Tuple3<_1,_2,_3Prime>>
Tuple3. lazyZip(Lazy<? extends Applicative<Fn1<? super _3,? extends _3Prime>,Tuple3<_1,_2,?>>> lazyAppFn)
Given alazy
instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.static <_1,_2>
Pure<Tuple3<_1,_2,?>>Tuple3. pureTuple(_1 _1, _2 _2)
Method parameters in com.jnape.palatable.lambda.adt.hlist with type arguments of type Tuple3 Modifier and Type Method Description <_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. discardL(Applicative<_3Prime,Tuple3<_1,_2,?>> appB)
Sequence both thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.<_3Prime> Tuple3<_1,_2,_3>
Tuple3. discardR(Applicative<_3Prime,Tuple3<_1,_2,?>> appB)
Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. flatMap(Fn1<? super _3,? extends Monad<_3Prime,Tuple3<_1,_2,?>>> f)
Chain dependent computations that may continue or short-circuit based on previous results.<_3Prime> Lazy<Tuple3<_1,_2,_3Prime>>
Tuple3. lazyZip(Lazy<? extends Applicative<Fn1<? super _3,? extends _3Prime>,Tuple3<_1,_2,?>>> lazyAppFn)
Given alazy
instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. trampolineM(Fn1<? super _3,? extends MonadRec<RecursiveResult<_3,_3Prime>,Tuple3<_1,_2,?>>> fn)
Given some operation yielding aRecursiveResult
inside thisMonadRec
, internally trampoline the operation until it yields atermination
instruction.<_3Prime> Tuple3<_1,_2,_3Prime>
Tuple3. zip(Applicative<Fn1<? super _3,? extends _3Prime>,Tuple3<_1,_2,?>> appFn)
Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.Constructors in com.jnape.palatable.lambda.adt.hlist with parameters of type Tuple3 Constructor Description Tuple4(_1 _1, Tuple3<_2,_3,_4> tail)
-
Uses of Tuple3 in com.jnape.palatable.lambda.adt.hmap
Methods in com.jnape.palatable.lambda.adt.hmap that return types with arguments of type Tuple3 Modifier and Type Method Description static <A,B,C>
Schema<Tuple3<A,B,C>>Schema. schema(TypeSafeKey<?,A> aKey, TypeSafeKey<?,B> bKey, TypeSafeKey<?,C> cKey)
Create aSchema
from threeTypeSafeKeys
. -
Uses of Tuple3 in com.jnape.palatable.lambda.internal.iteration
Fields in com.jnape.palatable.lambda.internal.iteration with type parameters of type Tuple3 Modifier and Type Field Description private java.util.Set<Tuple3<java.lang.Long,java.time.Duration,Fn0<java.time.Instant>>>
RateLimitingIterable. rateLimits
private java.util.Set<Tuple3<java.lang.Long,java.time.Duration,Fn0<java.time.Instant>>>
RateLimitingIterator. rateLimits
private java.util.Map<Tuple3<java.lang.Long,java.time.Duration,Fn0<java.time.Instant>>,java.util.List<java.time.Instant>>
RateLimitingIterator. timeSlicesByRateLimit
Methods in com.jnape.palatable.lambda.internal.iteration with parameters of type Tuple3 Modifier and Type Method Description private void
RateLimitingIterator. awaitNextTimeSliceForRateLimit(Tuple3<java.lang.Long,java.time.Duration,Fn0<java.time.Instant>> rateLimit)
private boolean
RateLimitingIterator. rateLimitExhaustedInTimeSlice(Tuple3<java.lang.Long,java.time.Duration,Fn0<java.time.Instant>> rateLimit)
Constructor parameters in com.jnape.palatable.lambda.internal.iteration with type arguments of type Tuple3 Constructor Description RateLimitingIterable(java.lang.Iterable<A> as, java.util.Set<Tuple3<java.lang.Long,java.time.Duration,Fn0<java.time.Instant>>> rateLimits)
RateLimitingIterator(java.util.Iterator<A> asIterator, java.util.Set<Tuple3<java.lang.Long,java.time.Duration,Fn0<java.time.Instant>>> rateLimits)
-