Class StreamModule.AppendElements<T>
java.lang.Object
io.vavr.collection.Stream.Cons<T>
io.vavr.collection.StreamModule.AppendElements<T>
- All Implemented Interfaces:
Foldable<T>, LinearSeq<T>, Seq<T>, Stream<T>, Traversable<T>, Function1<Integer,T>, PartialFunction<Integer, T>, Value<T>, Serializable, Iterable<T>, Function<Integer, T>
- Enclosing interface:
StreamModule
public static final class StreamModule.AppendElements<T>
extends Stream.Cons<T>
implements Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Stream
Stream.Cons<T>, Stream.Empty<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longFields inherited from class Stream.Cons
head, tail -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a new sequence with the given element appended at the end.Returns a new sequence with all elements from the givenIterableappended at the end of this sequence.private voidreadObject(ObjectInputStream stream) tail()Returns a newTraversablewithout its first element.private ObjectMethods inherited from interface Foldable
fold, reduce, reduceOptionMethods inherited from interface Function1
andThen, arity, compose, compose1, curried, isMemoized, memoized, partial, reversed, tupledMethods inherited from interface LinearSeq
asPartialFunction, indexOfSlice, indexWhere, isDefinedAt, lastIndexOfSlice, lastIndexWhere, reverseIterator, search, search, segmentLengthMethods inherited from interface Seq
apply, containsSlice, crossProduct, crossProduct, endsWith, foldRight, indexOf, indexOfOption, indexOfOption, indexOfSlice, indexOfSliceOption, indexOfSliceOption, indexWhere, indexWhereOption, indexWhereOption, isSequential, iterator, lastIndexOf, lastIndexOfOption, lastIndexOfOption, lastIndexOfSlice, lastIndexOfSliceOption, lastIndexOfSliceOption, lastIndexWhere, lastIndexWhereOption, lastIndexWhereOption, lift, prefixLength, startsWith, startsWith, withDefault, withDefaultValueMethods inherited from interface Stream
appendSelf, asJava, asJava, asJavaMutable, asJavaMutable, collect, combinations, combinations, crossProduct, cycle, cycle, distinct, distinctBy, distinctBy, distinctByKeepLast, distinctByKeepLast, drop, dropRight, dropRightUntil, dropRightWhile, dropUntil, dropWhile, extend, extend, extend, filter, flatMap, get, groupBy, grouped, hasDefiniteSize, indexOf, init, initOption, insert, insertAll, intersperse, isAsync, isLazy, isTraversableAgain, last, lastIndexOf, leftPadTo, length, map, mapTo, mapToVoid, orElse, orElse, padTo, partition, patch, peek, permutations, prepend, prependAll, reject, remove, removeAll, removeAll, removeAll, removeAt, removeFirst, removeLast, replace, replaceAll, retainAll, reverse, rotateLeft, rotateRight, scan, scanLeft, scanRight, shuffle, slice, slideBy, sliding, sliding, sortBy, sortBy, sorted, sorted, span, splitAt, splitAt, splitAtInclusive, stringPrefix, subSequence, subSequence, tailOption, take, takeRight, takeRightUntil, takeRightWhile, takeUntil, takeWhile, transform, unzip, unzip3, update, update, zip, zipAll, zipWith, zipWithIndex, zipWithIndexMethods inherited from interface Traversable
arrangeBy, average, containsAll, count, existsUnique, find, findLast, foldLeft, forEachWithIndex, get, headOption, isDistinct, isOrdered, isSingleValued, lastOption, max, maxBy, maxBy, min, minBy, minBy, mkCharSeq, mkCharSeq, mkCharSeq, mkString, mkString, mkString, nonEmpty, product, reduceLeft, reduceLeftOption, reduceRight, reduceRightOption, single, singleOption, size, spliterator, sumMethods inherited from interface Value
collect, collect, contains, corresponds, eq, exists, forAll, forEach, getOrElse, getOrElse, getOrElseThrow, getOrElseTry, getOrNull, out, out, stderr, stdout, toArray, toCharSeq, toCompletableFuture, toEither, toEither, toInvalid, toInvalid, toJavaArray, toJavaArray, toJavaArray, toJavaCollection, toJavaList, toJavaList, toJavaMap, toJavaMap, toJavaMap, toJavaOptional, toJavaParallelStream, toJavaSet, toJavaSet, toJavaStream, toLeft, toLeft, toLinkedMap, toLinkedMap, toLinkedSet, toList, toMap, toMap, toOption, toPriorityQueue, toPriorityQueue, toQueue, toRight, toRight, toSet, toSortedMap, toSortedMap, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toStream, toTree, toTree, toTry, toTry, toValid, toValid, toValidation, toValidation, toVector
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
queue
-
-
Constructor Details
-
AppendElements
-
-
Method Details
-
append
Description copied from interface:SeqReturns a new sequence with the given element appended at the end. -
appendAll
Description copied from interface:SeqReturns a new sequence with all elements from the givenIterableappended at the end of this sequence. -
tail
Description copied from interface:TraversableReturns a newTraversablewithout its first element. -
writeReplace
@GwtIncompatible("The Java serialization protocol is explicitly not supported") private Object writeReplace() -
readObject
@GwtIncompatible("The Java serialization protocol is explicitly not supported") private void readObject(ObjectInputStream stream) throws InvalidObjectException - Throws:
InvalidObjectException
-