kactoos-jvm / nnl.rocks.kactoos.scalar

Package nnl.rocks.kactoos.scalar



Name Summary
And class And : Scalar<Boolean>
Logical conjunction.
AndFunc class AndFunc<X : Any> : Scalar<Boolean>
Logical conjunction.
AndInThreads class AndInThreads : Scalar<Boolean>
Logical conjunction, in multiple threads.
AndInThreadsFunc class AndInThreadsFunc<X : Any> : Scalar<Boolean>
Logical conjunction, in multiple threads.
AndWithIndex class AndWithIndex : Scalar<Boolean>
Logical conjunction, with index.
AndWithIndexFunc class AndWithIndexFunc<X : Any> : Scalar<Boolean>
Logical conjunction, with index.
AvgOf class AvgOf : NumberEnvelope
Average of numbers.
BoolOf class BoolOf : Scalar<Boolean>
Text as Boolean.
CheckedScalar class CheckedScalar<T : Any, E> : Scalar<T>
Scalar that wraps an original checked exception thrown by the origin using the given wrapping function.
Constant class Constant<out T : Any> : Scalar<T>
Constant value that never changes.
Equality class Equality<T : Bytes> : Scalar<Int>
Equals class Equals<in T : Comparable<T>> : Scalar<Boolean>
FallbackFrom class FallbackFrom<T : Any> : Func<Throwable, T>
Fallback from exception.
False class False : Scalar<Boolean>
Logical false.
FirstOf class FirstOf<T : Any> : Scalar<T>
Find first element in a list that satisfies specified condition.
Folded class Folded<out X : Any, T : Any> : Scalar<X>
Iterable, which elements are “folded” through the func.
HighestOf class HighestOf<T : Comparable<T>> : Scalar<T>
Find the highest item.
InheritanceLevel class InheritanceLevel : Scalar<Int>
Calculates number of superclasses between base and derived class.
IoCheckedScalar class IoCheckedScalar<out T : Any> : Scalar<T>
KScalar that doesn’t throw checked Exception, but throws IOException instead.
ItemAt class ItemAt<T : Any> : Scalar<T>
Element from position in Iterator or fallback value if iterator hasn’t this position.
LowestOf class LowestOf<T : Comparable<T>> : Scalar<T>
Find the lowest item.
MaxOf class MaxOf : NumberEnvelope
Find the greatest value among numbers.
MinOf class MinOf : NumberEnvelope
Find the smallest value among numbers.
Not class Not : Scalar<Boolean>
Logical negative.
NumberEnvelope abstract class NumberEnvelope : Scalar<Double>
Envelope for the Number.
NumberOf class NumberOf : NumberEnvelope, Scalar<Double>
Text as Double.
Or class Or : Scalar<Boolean>
Logical disjunction.
OrFunc class OrFunc<X : Any> : KScalar<Boolean>
Logical disjunction.
PropertiesOf class PropertiesOf : Scalar<Properties>
Map as java.util.Properties.
Reduced class Reduced<out T : Any> : Scalar<T>
Reduce iterable via BiFunc.
RetryScalar class RetryScalar<T : Any> : Scalar<T>
Func that will try a few times before throwing an exception.
ScalarWithFallback class ScalarWithFallback<T : Any> : Scalar<T>
Scalar with a fallback plan.
SolidScalar class SolidScalar<out T : Any> : Scalar<T>
Cached and synchronized version of a KScalar.
StickyScalar class StickyScalar<T : Any> : Scalar<T>
Cached version of a KScalar.
SumOf class SumOf : NumberEnvelope
Represents total sum of given numbers.
SumOfDoubleScalar class SumOfDoubleScalar : Scalar<Double>
Double Scalar which sums up the values of other Scalars of the same type.
SumOfFloatScalar class SumOfFloatScalar : Scalar<Float>
Float Scalar which sums up the values of other Scalars of the same type
SumOfIntScalar class SumOfIntScalar : Scalar<Int>
Integer Scalar which sums up the values of other Scalars of the same type
SumOfLongScalar class SumOfLongScalar : Scalar<Long>
Long Scalar which sums up the values of other Scalars of the same type
SyncScalar class SyncScalar<T : Any> : Scalar<T>
Scalar that is thread-safe.
Ternary class Ternary<T : Any> : Scalar<T>
Ternary operation.
True class True : Scalar<Boolean>
Logical truth.
UncheckedScalar class UncheckedScalar<out T : Any> : Scalar<T>
Scalar that throws unchecked UncheckedIOException instead of checked Exception.