Package fj.data
Class List.Cons<A>
- java.lang.Object
-
- fj.data.List<A>
-
- fj.data.List.Cons<A>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fj.data.List
List.Buffer<A>, List.Optic, List.Unsafe
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A
head()
The first element of the linked list or fails for the empty list.List<A>
tail()
The list without the first element or fails for the empty list.private void
tail(List<A> tail)
-
Methods inherited from class fj.data.List
allEqual, append, apply, array, arrayList, asString, asString, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind_, breakk, cons, cons, cons, cons, cons_, cons_, conss, delete, drop, dropWhile, elementIndex, equals, exists, filter, find, foldLeft, foldLeft, foldLeft, foldLeft1, foldLeft1, foldRight, foldRight, foldRightC, forall, foreach, foreachDoEffect, fromIterator, fromString, fromString, group, groupBy, groupBy, groupBy, groupBy, hashCode, head_, headOption, index, init, inits, insertBy, intercalate, intersperse, isEmpty, isEmpty_, isNotEmpty, isNotEmpty_, isPrefixOf, isSingle, isSuffixOf, iterableList, iterateWhile, iterator, iteratorList, join, join, last, length, length_, liftM2, list, lookup, lookup, map, map_, mapM, mapMOption, mapMTrampoline, maximum, maximumOption, minimum, minimumOption, minus, mode, nil, nub, nub, nub, orHead, orTail, partition, partition, range, removeAll, replicate, reverse, sequence, sequence_, sequenceEither, sequenceEitherLeft, sequenceEitherRight, sequenceF, sequenceIO, sequenceList, sequenceOption, sequenceP1, sequenceSeq, sequenceSet, sequenceStream, sequenceTrampoline, sequenceValidation, single, snoc, sort, span, splitAt, tail_, tailOption, tails, take, take, takeWhile, toArray, toArray, toArrayObject, toCollection, toEither, toJavaList, toStream, toString, traverseEither, traverseEitherLeft, traverseEitherRight, traverseF, traverseIO, traverseList, traverseOption, traverseP1, traversePromise, traverseSeq, traverseSet, traverseStream, traverseTrampoline, traverseV2, traverseValidation, uncons, unfold, unzip, zip, zip, zipIndex, zipWith, zipWith, zipWith
-
-