Skip navigation links
C D E F H I L R S T 

C

ch.epfl.cs108 - package ch.epfl.cs108
 
concat(Sq<T>) - Method in interface ch.epfl.cs108.Sq
Return a sequence consisting of all the elements of this sequence, followed by all the elements of the given sequence that.
constant(T) - Static method in interface ch.epfl.cs108.Sq
Return an infinite sequence consisting of a single element repeated infintely.

D

dropWhile(Predicate<T>) - Method in interface ch.epfl.cs108.Sq
Return a sequence consisting of the elements of this sequence except all the leading ones satisfying predicate p.

E

empty() - Static method in interface ch.epfl.cs108.Sq
Return an empty sequence.

F

findFirst(Predicate<T>) - Method in interface ch.epfl.cs108.Sq
Return the first element of this sequence satisfying predicate p.

H

head() - Method in interface ch.epfl.cs108.Sq
Return the head (first element) of this sequence.

I

isEmpty() - Method in interface ch.epfl.cs108.Sq
Return true if this sequence contains no elements.
iterate(T, UnaryOperator<T>) - Static method in interface ch.epfl.cs108.Sq
Returns an infinite sequence produced by iterative application of a function next to an initial element start, producing a sequence consisting of start, next(start), next(next(start)), etc.

L

limit(int) - Method in interface ch.epfl.cs108.Sq
Return a sequence consisting of the elements of this sequence, truncated to be no longer than n in length.

R

repeat(int, T) - Static method in interface ch.epfl.cs108.Sq
Return a finite sequence consisting of n copies of the given element v.

S

Sq<T> - Interface in ch.epfl.cs108
A lazy, immutable and possibly infinite sequence of elements.

T

tail() - Method in interface ch.epfl.cs108.Sq
Return the tail of this sequence.
takeWhile(Predicate<T>) - Method in interface ch.epfl.cs108.Sq
Return a sequence consisting of the longest prefix of this sequence composed of elements satisfying the predicate p.
C D E F H I L R S T 
Skip navigation links