Package | Description |
---|---|
org.cactoos.collection |
Collections, tests.
|
org.cactoos.experimental |
We are running experiments with the APIs provided in this package.
|
org.cactoos.func |
Functions and procedures.
|
org.cactoos.io |
Input/Output.
|
org.cactoos.iterable |
Iterables.
|
org.cactoos.iterator |
Iterators.
|
org.cactoos.list |
Lists, tests.
|
org.cactoos.map |
Maps.
|
org.cactoos.scalar |
Scalars.
|
org.cactoos.set |
Sets.
|
org.cactoos.text |
Text.
|
org.cactoos.time |
Time.
|
Constructor and Description |
---|
CollectionEnvelope(Scalar<Collection<X>> slr)
Ctor.
|
Constructor and Description |
---|
Threads(ExecutorService exc,
Scalar<T>... tasks)
Ctor.
|
Threads(int threads,
Scalar<T>... tasks)
Ctor.
|
Constructor and Description |
---|
Threads(ExecutorService exc,
Iterable<Scalar<T>> tasks)
Ctor.
|
Threads(int threads,
Iterable<Scalar<T>> tasks)
Ctor.
|
Constructor and Description |
---|
BiFuncOf(Scalar<Z> scalar)
Ctor.
|
FuncOf(Scalar<Y> scalar)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TempFile
A temporary file.
|
Constructor and Description |
---|
InputOf(Scalar<URL> scalar)
Ctor.
|
TempFile(Scalar<Path> dir,
String prefix,
String suffix)
Ctor.
|
TempFile(Scalar<Path> dir,
Text prefix,
Text suffix)
Ctor.
|
Constructor and Description |
---|
IterableEnvelope(Scalar<Iterable<X>> scalar)
Ctor.
|
IterableOf(Scalar<I> first,
Func<I,I> next)
Paged iterable.
|
Repeated(int total,
Scalar<T> elm)
Ctor.
|
Constructor and Description |
---|
Endless(Scalar<T> scalar)
Ctor.
|
Repeated(int max,
Scalar<T> scalar)
Ctor.
|
Constructor and Description |
---|
ListIterator(Scalar<ListIterator<T>> orig)
Ctor.
|
Constructor and Description |
---|
MapEnvelope(Scalar<Map<X,Y>> scalar)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
And
Logical conjunction.
|
class |
AndInThreads
Logical conjunction, in multiple threads.
|
class |
AndWithIndex
Logical conjunction, with index.
|
class |
AvgOf
Average of numbers.
|
class |
BoolOf
Text as
Boolean . |
class |
Checked<T,E extends Exception>
Scalar that wraps an original checked exception thrown by the origin using
the given wrapping function.
|
class |
Constant<T>
Constant value.
|
class |
DivisionOf
Division result of two numbers.
|
class |
Equality<T extends Bytes>
Equality.
|
class |
Equals<T extends Comparable<T>>
Equals.
|
class |
False
Logical false.
|
class |
FirstOf<T>
Find first element in a list that satisfies specified condition.
|
class |
Folded<X,T>
Iterable, which elements are "folded" through the func.
|
class |
HashCode
Object HashCode.
|
class |
HighestOf<T extends Comparable<T>>
Find the highest item.
|
class |
InheritanceLevel
The number of superclasses between base and derived class.
|
class |
IoCheckedScalar<T>
Scalar that doesn't throw
Exception , but throws
IOException instead. |
class |
ItemAt<T>
Element from position in
Iterator
or fallback value if iterator hasn't this position. |
class |
LengthOf
Length.
|
class |
LowestOf<T extends Comparable<T>>
Find the lowest item.
|
class |
MaxOf
Find the greater among items.
|
class |
MinOf
Find the smaller among items.
|
class |
MultiplicationOf
Multiplication result of numbers.
|
class |
NoNulls<T>
Scalar check for no nulls.
|
class |
Not
Logical negative.
|
class |
NumberEnvelope
Envelope for the
Number . |
class |
NumberOf
Text as
Number . |
class |
Or
Logical disjunction.
|
class |
PropertiesOf
Map as
Properties . |
class |
Reduced<T>
Reduces iterable via BiFunc.
|
class |
RetryScalar<T>
Func that will try a few times before throwing an exception.
|
class |
ScalarWithFallback<T>
Scalar with fallbacks that enable it to recover from errors.
|
class |
SolidScalar<T>
Cached and synchronized version of a Scalar.
|
class |
StickyScalar<T>
Cached version of a Scalar.
|
class |
SumOf
Int total of numbers.
|
class |
SumOfDoubleScalar
Double Scalar which sums up the values of other Scalars of the same type.
|
class |
SumOfFloatScalar
Float Scalar which sums up the values of other Scalars of the same type
|
class |
SumOfIntScalar
Integer Scalar which sums up the values of other Scalars of the same type
|
class |
SumOfLongScalar
Long Scalar which sums up the values of other Scalars of the same type
|
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(Iterable<Scalar<Boolean>> iterable)
Ctor.
|
And(Iterator<Scalar<Boolean>> iterator)
Ctor.
|
AndInThreads(ExecutorService svc,
Iterable<Scalar<Boolean>> src)
Ctor.
|
AndInThreads(Iterable<Scalar<Boolean>> src)
Ctor.
|
AvgOf(Iterable<Scalar<Number>> src)
Ctor.
|
HighestOf(Iterable<Scalar<T>> iterable)
Ctor.
|
LowestOf(Iterable<Scalar<T>> iterable)
Ctor.
|
Or(Iterable<Scalar<Boolean>> iterable)
Ctor.
|
Or(Iterator<Scalar<Boolean>> iterator)
Ctor.
|
Reduced(BiFunc<T,T,T> reduce,
Iterable<Scalar<T>> scalars)
Ctor.
|
Constructor and Description |
---|
SetEnvelope(Scalar<Set<T>> src)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
IsBlank
Determines if text is blank (consists of spaces) or no.
|
Constructor and Description |
---|
RandomText(List<Character> chrs,
Scalar<Integer> len)
Ctor.
|
RandomText(List<Character> chrs,
Scalar<Integer> len,
Random rnd)
Ctor.
|
RandomText(Scalar<Integer> len)
Ctor.
|
RandomText(Scalar<Integer> len,
Character... chrs)
Ctor.
|
ReplacedText(Text text,
Scalar<Pattern> regex,
Func<Matcher,String> func)
Ctor.
|
SubText(Text text,
Scalar<Integer> strt,
Scalar<Integer> finish)
Ctor.
|
SubText(Text text,
Scalar<Integer> strt,
Scalar<Integer> finish)
Ctor.
|
TextEnvelope(Scalar<String> scalar)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
DateOf
Parser for
Date instances. |
class |
Iso
The formatter.
|
class |
LocalDateTimeOf
Parser for
LocalDateTime instances. |
class |
OffsetDateTimeOf
Parser for
OffsetDateTime instances. |
class |
ZonedDateTimeOf
Parser for
ZonedDateTime instances. |
Copyright © 2017–2019 Cactoos. All rights reserved.