Package | Description |
---|---|
org.cactoos |
Cactoos.
|
org.cactoos.func |
Functions and procedures.
|
org.cactoos.io |
Input/Output.
|
org.cactoos.list |
Lists, collections, sets, iterables, iterators.
|
org.cactoos.text |
Text.
|
Modifier and Type | Class and Description |
---|---|
static class |
Scalar.NoNulls<T>
Scalar check for no nulls.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ScalarHasValue.matchesSafely(Scalar<T> item) |
Constructor and Description |
---|
NoNulls(Scalar<T> sclr)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
And
Logical conjunction.
|
class |
Equals<T extends Comparable<T>>
Equals.
|
class |
False
Logical false.
|
class |
IoCheckedScalar<T>
Scalar that doesn't throw checked
Exception , but throws
IOException instead. |
class |
Not
Logical negative.
|
class |
Or
Logical disjunction.
|
class |
RetryScalar<T>
Func that will try a few times before throwing an exception.
|
class |
StickyScalar<T>
Cached version of a Scalar.
|
class |
SyncScalar<T>
Scalar that is thread-safe.
|
class |
Ternary<T>
Ternary operation.
|
class |
True
Logical truth.
|
class |
UncheckedScalar<T>
Scalar that doesn't throw checked
Exception . |
Constructor and Description |
---|
And(Scalar<Boolean>... src)
Ctor.
|
Equals(Scalar<T> frst,
Scalar<T> scnd)
Ctor.
|
Equals(Scalar<T> frst,
Scalar<T> scnd)
Ctor.
|
IoCheckedScalar(Scalar<T> scalar)
Ctor.
|
Not(Scalar<Boolean> origin)
Ctor.
|
Or(Scalar<Boolean>... src)
Ctor.
|
RetryScalar(Scalar<T> slr)
Ctor.
|
RetryScalar(Scalar<T> slr,
Func<Integer,Boolean> ext)
Ctor.
|
RetryScalar(Scalar<T> slr,
int attempts)
Ctor.
|
StickyScalar(Scalar<T> src)
Ctor.
|
SyncScalar(Scalar<T> src)
Ctor.
|
Ternary(Scalar<Boolean> cnd,
Scalar<T> cons,
Scalar<T> alter)
Ctor.
|
Ternary(Scalar<Boolean> cnd,
Scalar<T> cons,
Scalar<T> alter)
Ctor.
|
Ternary(Scalar<Boolean> cnd,
Scalar<T> cons,
Scalar<T> alter)
Ctor.
|
Ternary(Scalar<Boolean> cnd,
T cons,
T alter)
Ctor.
|
UncheckedScalar(Scalar<T> scr)
Ctor.
|
Constructor and Description |
---|
And(Iterable<Scalar<Boolean>> src)
Ctor.
|
Or(Iterable<Scalar<Boolean>> src)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
InputAsProperties
Input as
Properties . |
class |
LengthOfInput
Length of
Input . |
Constructor and Description |
---|
FileAsInput(Scalar<File> src)
Ctor.
|
FileAsOutput(Scalar<File> src)
Ctor.
|
UrlAsInput(Scalar<URL> src)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
ItemOfIterable<T>
Element from position in
Iterable
or fallback value if iterable hasn't this position. |
class |
ItemOfIterator<T>
Element from position in
Iterator
or fallback value if iterator hasn't this position. |
class |
LengthOfIterable
Length of iterable.
|
class |
LengthOfIterator
Length of iterator.
|
class |
MapAsProperties
Map as
Properties . |
class |
Max<T extends Comparable<T>>
Find the greater among items.
|
class |
Min<T extends Comparable<T>>
Find the smaller among items.
|
class |
ReducedIterable<X,T>
Iterable, which elements are "reduced" through the func.
|
class |
SumOfInts
Int total of numbers.
|
class |
SumOfReals
Real total of numbers.
|
Constructor and Description |
---|
EndlessIterator(Scalar<T> elm)
Ctor.
|
Max(Scalar<T>... items)
Ctor.
|
Min(Scalar<T>... items)
Ctor.
|
NaturalNumbers(Scalar<Long> last)
Ctor.
|
NaturalNumbers(Scalar<Long> first,
Scalar<Long> last)
Ctor.
|
NaturalNumbers(Scalar<Long> first,
Scalar<Long> last)
Ctor.
|
RepeatIterable(Scalar<T> elm,
int cnt)
Ctor.
|
RepeatIterator(Scalar<T> elm,
int max)
Ctor.
|
SumOfInts(Scalar<Number>... src)
Ctor.
|
SumOfReals(Scalar<Number>... src)
Ctor.
|
Constructor and Description |
---|
Max(Iterable<Scalar<T>> items)
Ctor.
|
Min(Iterable<Scalar<T>> items)
Ctor.
|
SumOfInts(Iterable<Scalar<Number>> src)
Ctor.
|
SumOfReals(Iterable<Scalar<Number>> src)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
IsBlank
Determines if text is blank (consists of spaces) or no.
|
class |
LengthOfText
The length of
Text . |
class |
StringAsUrl
String as URL.
|
class |
TextAsBool
Text as
Boolean . |
class |
TextAsDouble
Text as
Double . |
class |
TextAsFloat
Text as
Float . |
class |
TextAsInt
Text as
Integer . |
class |
TextAsLong
Text as
Long . |
class |
UrlAsString
URL as String.
|
Constructor and Description |
---|
SubText(Text text,
Scalar<Integer> strt,
Scalar<Integer> end)
Ctor.
|
SubText(Text text,
Scalar<Integer> strt,
Scalar<Integer> end)
Ctor.
|
Copyright © 2017 Cactoos. All rights reserved.