| Package | Description |
|---|---|
| org.osgl | |
| org.osgl.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
Osgl.Val<T> |
static class |
Osgl.Var<T> |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
C.List<T>
The osgl List interface is a mixture of
List and osgl C.Sequence |
static interface |
C.ListOrSet<T> |
| Modifier and Type | Class and Description |
|---|---|
static class |
C.Array<T> |
class |
CompositeList<T>
Created with IntelliJ IDEA.
|
class |
FastStr
FastStr implements the same contract of Str with the a char array.
|
class |
ListBase<T> |
class |
Str |
class |
StrBase<T extends StrBase<T>>
|
| Modifier and Type | Method and Description |
|---|---|
C.ReversibleSequence<T> |
C.ReversibleSequence.accept(Osgl.Function<? super T,?> visitor) |
C.ReversibleSequence<T> |
C.ReversibleSequence.acceptLeft(Osgl.Function<? super T,?> visitor) |
C.ReversibleSequence<T> |
C.ReversibleSequence.acceptRight(Osgl.Function<? super T,?> visitor)
Iterate through this sequence from tail to head with the visitor function
specified
|
C.ReversibleSequence<T> |
C.ReversibleSequence.append(C.ReversibleSequence<T> seq)
Returns an new reversible sequence contains all elements
in this sequence followed by all elements in the specified
reverse sequence
|
C.ReversibleSequence<T> |
ListBase.append(C.ReversibleSequence<T> seq) |
C.ReversibleSequence<T> |
C.ReversibleSequence.append(T t)
Returns a sequence consists of all elements of this sequence
followed by the element specified.
|
protected C.ReversibleSequence<T> |
ListBase.appendReversibleSeq(C.ReversibleSequence<T> seq) |
static <T> C.ReversibleSequence<T> |
C.concat(C.ReversibleSequence<T> s1,
C.ReversibleSequence<T> s2)
Concatenate two
C.ReversibleSequence into one |
C.ReversibleSequence<T> |
C.ReversibleSequence.drop(int n)
Returns a
Sequence consisting of the elements from this Sequence except the first n
if number n is positive and the Sequence contains more than n elements |
C.ReversibleSequence<T> |
C.ReversibleSequence.dropWhile(Osgl.Function<? super T,Boolean> predicate) |
C.ReversibleSequence<T> |
C.ReversibleSequence.each(Osgl.Function<? super T,?> visitor) |
C.ReversibleSequence<T> |
C.ReversibleSequence.eager()
Returns this traversable and make sure
C.Feature.LAZY is unset |
C.ReversibleSequence<T> |
C.ReversibleSequence.filter(Osgl.Function<? super T,Boolean> predicate) |
<R> C.ReversibleSequence<R> |
C.ReversibleSequence.flatMap(Osgl.Function<? super T,? extends Iterable<? extends R>> mapper)
Returns a traversable consisting of the results of replacing each element of this
stream with the contents of the iterable produced by applying the provided mapping
function to each element.
|
C.ReversibleSequence<T> |
C.ReversibleSequence.forEach(Osgl.Function<? super T,?> visitor) |
C.ReversibleSequence<T> |
C.ReversibleSequence.head(int n)
Alias of
C.Sequence.take(int) |
C.ReversibleSequence<T> |
C.ReversibleSequence.lazy()
Returns this traversable and make sure
C.Feature.LAZY is set |
static <T,R> C.ReversibleSequence<R> |
C.map(C.ReversibleSequence<T> seq,
Osgl.Function<? super T,? extends R> mapper) |
<R> C.ReversibleSequence<R> |
C.ReversibleSequence.map(Osgl.Function<? super T,? extends R> mapper) |
C.ReversibleSequence<T> |
C.ReversibleSequence.parallel()
Returns this traversable and make sure
C.Feature.PARALLEL is set |
C.ReversibleSequence<T> |
C.ReversibleSequence.prepend(C.ReversibleSequence<T> seq)
Returns an new reversible sequence contains all elements
in specified reversible sequence followed by all elements
in this sequence
|
C.ReversibleSequence<T> |
ListBase.prepend(C.ReversibleSequence<T> seq) |
C.ReversibleSequence<T> |
C.ReversibleSequence.prepend(T t)
Returns a sequence consists of the element specified followed by
all elements of this sequence.
|
protected C.ReversibleSequence<T> |
ListBase.prependReversibleSeq(C.ReversibleSequence<T> seq) |
C.ReversibleSequence<T> |
C.ReversibleSequence.reverse()
Returns an new
Sequence that reverse this Sequence. |
C.ReversibleSequence<T> |
C.Array.reverse() |
C.ReversibleSequence<T> |
C.ReversibleSequence.sequential()
Returns this traversable and make sure
C.Feature.PARALLEL is unset |
C.ReversibleSequence<T> |
C.ReversibleSequence.tail()
Returns the rest part of the
Sequence except the first element |
C.ReversibleSequence<T> |
C.ReversibleSequence.tail(int n)
Returns a
Sequence consisting the last n elements from this Sequence
if number n is positive and the Sequence contains more than n elements |
C.ReversibleSequence<T> |
C.ReversibleSequence.take(int n)
Returns a
Sequence consisting the first n elements from this Sequence if
number n is positive and the Sequence contains more than n elements |
C.ReversibleSequence<T> |
C.ReversibleSequence.takeWhile(Osgl.Function<? super T,Boolean> predicate)
Returns an new
Sequence that takes the head of this Sequence until the predicate
evaluate to false: |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
C.ReversibleSequence.zip(C.ReversibleSequence<T2> rseq) |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
ListBase.zip(C.ReversibleSequence<T2> rseq) |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
C.ReversibleSequence.zipAll(C.ReversibleSequence<T2> rseq,
T def1,
T2 def2) |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
ListBase.zipAll(C.ReversibleSequence<T2> rseq,
T def1,
T2 def2) |
| Modifier and Type | Method and Description |
|---|---|
C.ReversibleSequence<T> |
C.ReversibleSequence.append(C.ReversibleSequence<T> seq)
Returns an new reversible sequence contains all elements
in this sequence followed by all elements in the specified
reverse sequence
|
C.ReversibleSequence<T> |
ListBase.append(C.ReversibleSequence<T> seq) |
protected C.ReversibleSequence<T> |
ListBase.appendReversibleSeq(C.ReversibleSequence<T> seq) |
static <T> C.ReversibleSequence<T> |
C.concat(C.ReversibleSequence<T> s1,
C.ReversibleSequence<T> s2)
Concatenate two
C.ReversibleSequence into one |
static <T> C.ReversibleSequence<T> |
C.concat(C.ReversibleSequence<T> s1,
C.ReversibleSequence<T> s2)
Concatenate two
C.ReversibleSequence into one |
static <T,R> C.ReversibleSequence<R> |
C.map(C.ReversibleSequence<T> seq,
Osgl.Function<? super T,? extends R> mapper) |
C.ReversibleSequence<T> |
C.ReversibleSequence.prepend(C.ReversibleSequence<T> seq)
Returns an new reversible sequence contains all elements
in specified reversible sequence followed by all elements
in this sequence
|
C.ReversibleSequence<T> |
ListBase.prepend(C.ReversibleSequence<T> seq) |
protected C.ReversibleSequence<T> |
ListBase.prependReversibleSeq(C.ReversibleSequence<T> seq) |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
C.ReversibleSequence.zip(C.ReversibleSequence<T2> rseq) |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
ListBase.zip(C.ReversibleSequence<T2> rseq) |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
C.ReversibleSequence.zipAll(C.ReversibleSequence<T2> rseq,
T def1,
T2 def2) |
<T2> C.ReversibleSequence<Osgl.T2<T,T2>> |
ListBase.zipAll(C.ReversibleSequence<T2> rseq,
T def1,
T2 def2) |
Copyright © 2017. All Rights Reserved.