Package io.vavr.collection
Class StreamModule.ConsImpl<T>
java.lang.Object
io.vavr.collection.Stream.Cons<T>
io.vavr.collection.StreamModule.ConsImpl<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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vavr.collection.Stream
Stream.Cons<T>, Stream.Empty<T>
-
Field Summary
FieldsFields inherited from class io.vavr.collection.Stream.Cons
head, tail
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
readObject
(ObjectInputStream stream) tail()
Drops the first element of a non-empty Traversable.private Object
Methods inherited from class io.vavr.collection.Stream.Cons
equals, hashCode, head, isEmpty, iterator, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.vavr.collection.Foldable
fold, reduce, reduceOption
Methods inherited from interface io.vavr.Function1
andThen, arity, compose, curried, isMemoized, memoized, partial, reversed, tupled
Methods inherited from interface io.vavr.collection.LinearSeq
asPartialFunction, indexOfSlice, indexWhere, isDefinedAt, lastIndexOfSlice, lastIndexWhere, reverseIterator, search, search, segmentLength
Methods inherited from interface io.vavr.collection.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, withDefaultValue
Methods inherited from interface io.vavr.collection.Stream
append, appendAll, appendSelf, asJava, asJava, asJavaMutable, asJavaMutable, collect, combinations, combinations, crossProduct, cycle, cycle, distinct, distinctBy, distinctBy, 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, 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, zipWithIndex
Methods inherited from interface io.vavr.collection.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, sum
Methods inherited from interface io.vavr.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:
-
-
Constructor Details
-
ConsImpl
-
-
Method Details
-
tail
Description copied from interface:Traversable
Drops the first element of a non-empty Traversable. -
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
-