Uses of Class
fj.data.Seq
-
Packages that use Seq Package Description fj Types that set the premise for the existence of Functional Java.fj.data Common algebraic data types.fj.data.hamt -
-
Uses of Seq in fj
Methods in fj that return types with arguments of type Seq Modifier and Type Method Description static <A> Equal<Seq<A>>
Equal. seqEqual(Equal<A> e)
static <A> Hash<Seq<A>>
Hash. seqHash(Hash<A> h)
static <A> Ord<Seq<A>>
Ord. seqOrd(Ord<A> ord)
Return a seq ord using the given value ord.static <A> Show<Seq<A>>
Show. seqShow(Show<A> sa)
-
Uses of Seq in fj.data
Fields in fj.data declared as Seq Modifier and Type Field Description private static Seq<java.lang.Object>
Seq. EMPTY
Methods in fj.data that return Seq Modifier and Type Method Description Seq<A>
Seq. append(Seq<A> as)
Appends the given sequence to this sequence.static <A> Seq<A>
Seq. arraySeq(A... as)
Constructs a sequence from the array.<B> Seq<B>
Seq. bind(F<A,Seq<B>> f)
Bind the given function across this seq.Seq<A>
Seq. cons(A a)
Inserts the given element at the front of this sequence.Seq<A>
Seq. delete(int i)
Delete the element at the given index.Seq<A>
Seq. drop(int n)
Drops the given number of elements from the head of this sequence if they are available.static <A> Seq<A>
Seq. empty()
The empty sequence.Seq<A>
Seq. filter(F<A,java.lang.Boolean> f)
static <A> Seq<A>
Seq. fromJavaList(java.util.List<A> list)
Constructs a sequence from the given list.Seq<A>
Seq. init()
The sequence without the last element.Seq<A>
Seq. insert(int index, A a)
Inserts the element at the given index.static <A> Seq<A>
Seq. iterableSeq(java.lang.Iterable<A> i)
Constructs a sequence from the iterable.static <A> Seq<A>
Seq. iteratorSeq(java.util.Iterator<A> i)
Constructs a sequence from the iterator.static <A> Seq<A>
Seq. listSeq(List<A> list)
Constructs a sequence from the given list.<B> Seq<B>
Seq. map(F<A,B> f)
static <A> Seq<A>
Seq. seq(A... as)
Constructs a sequence from the given elements.static <B> Seq<List<B>>
List. sequenceSeq(List<Seq<B>> list)
Sequence the given list and collect the output as a seq.static <B> Seq<Option<B>>
Option. sequenceSeq(Option<Seq<B>> option)
Sequence the given option and collect the output as a seq.static <B> Seq<Seq<B>>
Seq. sequenceSeq(Seq<Seq<B>> seq)
Sequence the given seq and collect the output as a seq.static <B> Seq<Stream<B>>
Stream. sequenceSeq(Stream<Seq<B>> stream)
Sequence the given stream and collect the output as a seq.static <E,C>
Seq<Validation<E,C>>Validation. sequenceSeq(Validation<E,Seq<C>> validation)
Sequence the given validation and collect the output as a seq.static <A> Seq<A>
Seq. single(A a)
A singleton sequence.Seq<A>
Seq. snoc(A a)
Inserts the given element at the end of this sequence.Seq<A>
Seq. tail()
The sequence without the first element.Seq<A>
Seq. take(int n)
Takes the given number of elements from the head of this sequence if they are available.<B> Seq<List<B>>
List. traverseSeq(F<A,Seq<B>> f)
Traverse this list with the given function and collect the output as a seq.<B> Seq<Option<B>>
Option. traverseSeq(F<A,Seq<B>> f)
Traverse this option with the given function and collect the output a seq.<B> Seq<Seq<B>>
Seq. traverseSeq(F<A,Seq<B>> f)
Traverse this seq with the given function and collect the output as a seq.<B> Seq<Stream<B>>
Stream. traverseSeq(F<A,Seq<B>> f)
Traverse this stream with the given function and collect the output as a seq.<C> Seq<Validation<E,C>>
Validation. traverseSeq(F<T,Seq<C>> f)
Traverse this validation with the given function and collect the output as a seq.Seq<A>
Seq. update(int i, A a)
Replace the element at the given index with the supplied value.Methods in fj.data that return types with arguments of type Seq Modifier and Type Method Description static <L,B>
Either<L,Seq<B>>Seq. sequenceEither(Seq<Either<L,B>> seq)
Sequence the given seq and collect the output on the right side of an either.static <R,B>
Either<Seq<B>,R>Seq. sequenceEitherLeft(Seq<Either<B,R>> seq)
Sequence the given seq and collect the output on the left side of an either.static <L,B>
Either<L,Seq<B>>Seq. sequenceEitherRight(Seq<Either<L,B>> seq)
Sequence the given seq and collect the output on the right side of an either.static <C,B>
F<C,Seq<B>>Seq. sequenceF(Seq<F<C,B>> seq)
Sequence the given seq and collect the output as a function.static <B> IO<Seq<B>>
Seq. sequenceIO(Seq<IO<B>> seq)
Sequence the given seq and collect the output as an IO.static <B> List<Seq<B>>
Seq. sequenceList(Seq<List<B>> seq)
Sequence the given seq and collect the output as a list.static <B> Option<Seq<B>>
Seq. sequenceOption(Seq<Option<B>> seq)
Sequence the given seq and collect the output as an seq.static <B> P1<Seq<B>>
Seq. sequenceP1(Seq<P1<B>> seq)
Sequence the given seq and collect the output as a P1.static <B> Seq<Seq<B>>
Seq. sequenceSeq(Seq<Seq<B>> seq)
Sequence the given seq and collect the output as a seq.static <B> Set<Seq<B>>
Seq. sequenceSet(Ord<B> ord, Seq<Set<B>> seq)
Sequence the given seq and collect the output as a set; use the given ord to order the set.static <B> Stream<Seq<B>>
Seq. sequenceStream(Seq<Stream<B>> seq)
Sequence the given seq and collect the output as a stream.static <B> Trampoline<Seq<B>>
Seq. sequenceTrampoline(Seq<Trampoline<B>> seq)
Sequence the given seq and collect the output as a trampoline.static <E,B>
Validation<E,Seq<B>>Seq. sequenceValidation(Seq<Validation<E,B>> seq)
Sequence the given seq and collect the output as a validation.static <E,B>
Validation<E,Seq<B>>Seq. sequenceValidation(Semigroup<E> semigroup, Seq<Validation<E,B>> seq)
Sequence the given seq and collect the output as a validation; use the given semigroup to reduce the errors.P2<Seq<A>,Seq<A>>
Seq. split(int i)
Splits this sequence into a pair of sequences at the given position.P2<Seq<A>,Seq<A>>
Seq. split(int i)
Splits this sequence into a pair of sequences at the given position.<B,L>
Either<L,Seq<B>>Seq. traverseEither(F<A,Either<L,B>> f)
Traverse this seq with the given function and collect the output on the right side of an either.<R,B>
Either<Seq<B>,R>Seq. traverseEitherLeft(F<A,Either<B,R>> f)
Traverse this seq with the given function and collect the output on the left side of an either.<L,B>
Either<L,Seq<B>>Seq. traverseEitherRight(F<A,Either<L,B>> f)
Traverse this seq with the given function and collect the output on the right side of an either.<C,B>
F<C,Seq<B>>Seq. traverseF(F<A,F<C,B>> f)
Traverse this seq with the given function and collect the output as a function.<B> IO<Seq<B>>
Seq. traverseIO(F<A,IO<B>> f)
Traverse this seq with the given function and collect the output as an IO.<B> List<Seq<B>>
Seq. traverseList(F<A,List<B>> f)
Traverse this seq with the given function and collect the output as a list.<B> Option<Seq<B>>
Seq. traverseOption(F<A,Option<B>> f)
Traverses through the Seq with the given function<B> P1<Seq<B>>
Seq. traverseP1(F<A,P1<B>> f)
Traverse this seq with the given function and collect the output as a p1.<B> Seq<Seq<B>>
Seq. traverseSeq(F<A,Seq<B>> f)
Traverse this seq with the given function and collect the output as a seq.<B> Set<Seq<B>>
Seq. traverseSet(Ord<B> ord, F<A,Set<B>> f)
Traverse this seq with the given function and collect the output as a set; use the given ord to order the set.<B> Stream<Seq<B>>
Seq. traverseStream(F<A,Stream<B>> f)
Traverse this seq with the given function and collect the output as a stream.<B> Trampoline<Seq<B>>
Seq. traverseTrampoline(F<A,Trampoline<B>> f)
Traverse this seq with the given function and collect the output as a trampoline.<E,B>
Validation<E,Seq<B>>Seq. traverseValidation(F<A,Validation<E,B>> f)
Traverse this seq with the given function and collect the output as a validation.<E,B>
Validation<E,Seq<B>>Seq. traverseValidation(Semigroup<E> semigroup, F<A,Validation<E,B>> f)
Traverse this seq with the given function and collect the output as a validation; use the given semigroup to reduce the errors.Methods in fj.data with parameters of type Seq Modifier and Type Method Description Seq<A>
Seq. append(Seq<A> as)
Appends the given sequence to this sequence.static <L,B>
Either<L,Seq<B>>Seq. sequenceEither(Seq<Either<L,B>> seq)
Sequence the given seq and collect the output on the right side of an either.static <R,B>
Either<Seq<B>,R>Seq. sequenceEitherLeft(Seq<Either<B,R>> seq)
Sequence the given seq and collect the output on the left side of an either.static <L,B>
Either<L,Seq<B>>Seq. sequenceEitherRight(Seq<Either<L,B>> seq)
Sequence the given seq and collect the output on the right side of an either.static <C,B>
F<C,Seq<B>>Seq. sequenceF(Seq<F<C,B>> seq)
Sequence the given seq and collect the output as a function.static <B> IO<Seq<B>>
Seq. sequenceIO(Seq<IO<B>> seq)
Sequence the given seq and collect the output as an IO.static <B> List<Seq<B>>
Seq. sequenceList(Seq<List<B>> seq)
Sequence the given seq and collect the output as a list.static <B> Option<Seq<B>>
Seq. sequenceOption(Seq<Option<B>> seq)
Sequence the given seq and collect the output as an seq.static <B> P1<Seq<B>>
Seq. sequenceP1(Seq<P1<B>> seq)
Sequence the given seq and collect the output as a P1.static <B> Seq<Seq<B>>
Seq. sequenceSeq(Seq<Seq<B>> seq)
Sequence the given seq and collect the output as a seq.static <B> Set<Seq<B>>
Seq. sequenceSet(Ord<B> ord, Seq<Set<B>> seq)
Sequence the given seq and collect the output as a set; use the given ord to order the set.static <B> Stream<Seq<B>>
Seq. sequenceStream(Seq<Stream<B>> seq)
Sequence the given seq and collect the output as a stream.static <B> Trampoline<Seq<B>>
Seq. sequenceTrampoline(Seq<Trampoline<B>> seq)
Sequence the given seq and collect the output as a trampoline.static <E,B>
Validation<E,Seq<B>>Seq. sequenceValidation(Seq<Validation<E,B>> seq)
Sequence the given seq and collect the output as a validation.static <E,B>
Validation<E,Seq<B>>Seq. sequenceValidation(Semigroup<E> semigroup, Seq<Validation<E,B>> seq)
Sequence the given seq and collect the output as a validation; use the given semigroup to reduce the errors.Method parameters in fj.data with type arguments of type Seq Modifier and Type Method Description <B> Seq<B>
Seq. bind(F<A,Seq<B>> f)
Bind the given function across this seq.static <B> Seq<List<B>>
List. sequenceSeq(List<Seq<B>> list)
Sequence the given list and collect the output as a seq.static <B> Seq<Option<B>>
Option. sequenceSeq(Option<Seq<B>> option)
Sequence the given option and collect the output as a seq.static <B> Seq<Seq<B>>
Seq. sequenceSeq(Seq<Seq<B>> seq)
Sequence the given seq and collect the output as a seq.static <B> Seq<Stream<B>>
Stream. sequenceSeq(Stream<Seq<B>> stream)
Sequence the given stream and collect the output as a seq.static <E,C>
Seq<Validation<E,C>>Validation. sequenceSeq(Validation<E,Seq<C>> validation)
Sequence the given validation and collect the output as a seq.<B> Seq<List<B>>
List. traverseSeq(F<A,Seq<B>> f)
Traverse this list with the given function and collect the output as a seq.<B> Seq<Option<B>>
Option. traverseSeq(F<A,Seq<B>> f)
Traverse this option with the given function and collect the output a seq.<B> Seq<Seq<B>>
Seq. traverseSeq(F<A,Seq<B>> f)
Traverse this seq with the given function and collect the output as a seq.<B> Seq<Stream<B>>
Stream. traverseSeq(F<A,Seq<B>> f)
Traverse this stream with the given function and collect the output as a seq.<C> Seq<Validation<E,C>>
Validation. traverseSeq(F<T,Seq<C>> f)
Traverse this validation with the given function and collect the output as a seq. -
Uses of Seq in fj.data.hamt
Fields in fj.data.hamt declared as Seq Modifier and Type Field Description private Seq<Node<K,V>>
HashArrayMappedTrie. seq
Methods in fj.data.hamt that return Seq Modifier and Type Method Description Seq<Node<K,V>>
HashArrayMappedTrie. getSeq()
Methods in fj.data.hamt with parameters of type Seq Modifier and Type Method Description private static <K,V>
HashArrayMappedTrie<K,V>HashArrayMappedTrie. hamt(BitSet bs, Seq<Node<K,V>> s, Equal<K> e, Hash<K> h)
Static constructor for a HAMT instance.Constructors in fj.data.hamt with parameters of type Seq Constructor Description HashArrayMappedTrie(BitSet bs, Seq<Node<K,V>> s, Equal<K> e, Hash<K> h)
Creates an empty trie for the bitset, sequence of nodes, equal and hash.
-