A C D E F G H I L M N O P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractTuple - Class in com.jongsoft.lang.collection.tuple.impl
- accept(T) - Method in interface com.jongsoft.lang.control.CheckedConsumer
- all(Predicate<? super T>) - Method in interface com.jongsoft.lang.Value
-
Validate that all elements match the predicate provided.
- API - Class in com.jongsoft.lang
-
The API class allows access to the libraries interfaces and control structures.
- append(T) - Method in interface com.jongsoft.lang.collection.List
-
Create a new list containing all elements in this instance and appending the provided
value
to the end of the new list. - append(T) - Method in interface com.jongsoft.lang.collection.Sequence
- append(T) - Method in interface com.jongsoft.lang.collection.Set
- append(T, R) - Method in interface com.jongsoft.lang.control.Equal
-
Compare left with right for equality.
- appendChild(String, T) - Method in interface com.jongsoft.lang.collection.Tree
- apply(T) - Method in interface com.jongsoft.lang.control.CheckedFunction
- average() - Method in interface com.jongsoft.lang.collection.Traversable
-
Calculates the average of this elements, assuming that the element type is
Number
.
C
- CheckedConsumer<T> - Interface in com.jongsoft.lang.control
- CheckedFunction<U,T> - Interface in com.jongsoft.lang.control
- CheckedRunner - Interface in com.jongsoft.lang.control
- CheckedSupplier<T> - Interface in com.jongsoft.lang.control
- children() - Method in interface com.jongsoft.lang.collection.Tree
-
Fetch the collection of child tree elements contained within this tree.
- Collection<T> - Interface in com.jongsoft.lang.collection
-
The collection interface enables basic operations that allow access to the elements.
- Collections - Class in com.jongsoft.lang
- Collections() - Constructor for class com.jongsoft.lang.Collections
- Collectors - Class in com.jongsoft.lang.collection
- com.jongsoft.lang - module com.jongsoft.lang
- com.jongsoft.lang - package com.jongsoft.lang
-
This package contains all interfaces used through out the functional library.
- com.jongsoft.lang.collection - package com.jongsoft.lang.collection
-
A purely functional based set of collection implementations based upon the Collection.
- com.jongsoft.lang.collection.tuple - package com.jongsoft.lang.collection.tuple
- com.jongsoft.lang.collection.tuple.impl - package com.jongsoft.lang.collection.tuple.impl
- com.jongsoft.lang.control - package com.jongsoft.lang.control
-
The control package contains flow control interfaces.
- com.jongsoft.lang.exception - package com.jongsoft.lang.exception
- com.jongsoft.lang.time - package com.jongsoft.lang.time
- com.jongsoft.lang.time.impl - package com.jongsoft.lang.time.impl
- complement(Iterable<T>) - Method in interface com.jongsoft.lang.collection.Set
-
Creates a new set that contains elements that are only in
this
, but not contained withiniterable
. - complement(Iterable<T>...) - Method in interface com.jongsoft.lang.collection.Set
-
Creates a new set that contains elements that are only in
this
, but not contained within any of theiterables
. - concat(Iterator<T>...) - Static method in interface com.jongsoft.lang.collection.Iterator
-
Combine multiple iterator instances into one big iterator.
- consume(CheckedConsumer<? super T>) - Method in interface com.jongsoft.lang.control.Try
-
Passes then entity contained within the
Try.get()
if the try has a success. - consume(Consumer<T>) - Method in interface com.jongsoft.lang.collection.Pipeline
-
Consumes each element in the pipeline using the provided consume operation.
- contains(T) - Method in interface com.jongsoft.lang.Value
-
Validate if the value contains the provided item.
- containsAll(Iterable<? extends T>) - Method in interface com.jongsoft.lang.collection.Collection
-
Checks if all elements in the provided iterable are contained in this collection.
- containsKey(K) - Method in interface com.jongsoft.lang.collection.Map
-
Returns true if this
Map
contains the key provided. - containsValue(T) - Method in interface com.jongsoft.lang.collection.Map
-
Verify if the presented value is contained within the
Map
value set. - Control - Class in com.jongsoft.lang
- Control() - Constructor for class com.jongsoft.lang.Control
- count(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Collection
-
Count all elements that match the provided predicate.
D
- Dates - Class in com.jongsoft.lang
- distinct() - Method in interface com.jongsoft.lang.collection.Sequence
-
Generate a new set containing only unique elements from this collection.
- distinctBy(Comparator<T>) - Method in interface com.jongsoft.lang.collection.List
-
Creates a distinct list based upon the provided comparator.
- distinctBy(Comparator<T>) - Method in interface com.jongsoft.lang.collection.Sequence
- distinctBy(Comparator<T>) - Method in interface com.jongsoft.lang.collection.Set
E
- elseRun(Runnable) - Method in interface com.jongsoft.lang.control.Optional.OrElse
-
This operation will run when the precondition of this OrElse is not met.
- elseThrow(Supplier<X>) - Method in interface com.jongsoft.lang.control.Optional.OrElse
-
This operation will create an exception using the provided
Supplier
and throw it. - Equal - Interface in com.jongsoft.lang.control
-
A control class to build an equality comparison.
- Equal(T, X) - Static method in class com.jongsoft.lang.Control
-
This operation will compare the
left
with the providedright
and return the corresponding equality. - equals(Object) - Method in class com.jongsoft.lang.time.impl.RangeImpl
- exists(Predicate<? super T>) - Method in interface com.jongsoft.lang.Value
-
Validate if an element is contained that matches the provided predicate.
F
- FatalException - Exception in com.jongsoft.lang.exception
- filter(Predicate<Pair<K, T>>) - Method in interface com.jongsoft.lang.collection.Map
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Collection
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Iterator
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.collection.List
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Pipeline
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Sequence
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Set
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Traversable
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.control.Optional
- filter(Predicate<T>) - Method in interface com.jongsoft.lang.Streamable
-
Filter out an element if it does not match the supplied
predicate
. - filter(Predicate<T>) - Method in class com.jongsoft.lang.ValueType
- first(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Collection
- first(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Iterator
- first(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Traversable
-
Find the first match in the elements using the provided
Predicate
. - firstIndexWhere(Predicate<T>) - Method in interface com.jongsoft.lang.collection.List
-
Search the collections for the first element matching the provided
Predicate
and return the index position of that element. - fold(T, BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.jongsoft.lang.collection.Foldable
-
Folds the elements using the given binary operation
combiner
, starting with thestart
and successively calling thecombiner
. - Foldable<T> - Interface in com.jongsoft.lang.collection
-
In functional programming, fold (also termed reduce, accumulate, aggregate, compress, or inject) refers to a family of higher-order functions that analyze a recursive data structure and through use of a given combining operation, recombine the results of recursively processing its constituent parts, building up a return value.
- foldLeft(U, BiFunction<? super U, ? super T, ? extends U>) - Method in interface com.jongsoft.lang.collection.Collection
- foldLeft(U, BiFunction<? super U, ? super T, ? extends U>) - Method in interface com.jongsoft.lang.collection.Foldable
-
Folds the elements from the left, starting with the
start
value and combining the result by successively calling thecombiner
operation. - foldLeft(U, BiFunction<? super U, ? super T, ? extends U>) - Method in interface com.jongsoft.lang.collection.Iterator
- foldRight(U, BiFunction<? super T, ? super U, ? extends U>) - Method in interface com.jongsoft.lang.collection.Collection
- foldRight(U, BiFunction<? super T, ? super U, ? extends U>) - Method in interface com.jongsoft.lang.collection.Foldable
-
Folds the elements from the right, starting with the
start
value and combining the result by successively calling thecombiner
. - foldRight(U, BiFunction<? super T, ? super U, ? extends U>) - Method in interface com.jongsoft.lang.collection.Iterator
- from() - Method in class com.jongsoft.lang.time.impl.RangeImpl
- from() - Method in interface com.jongsoft.lang.time.Range
-
The from part for this temporal range.
- fromPart(TemporalField) - Method in interface com.jongsoft.lang.time.Range
-
Get a part of the from temporal of this range.
G
- get() - Method in interface com.jongsoft.lang.collection.Collection
-
Fetch the head of the collection and return it.
- get() - Method in interface com.jongsoft.lang.collection.Iterator
-
This operation is a convenience method for the
Iterator.next()
. - get() - Method in interface com.jongsoft.lang.control.CheckedSupplier
- get() - Method in interface com.jongsoft.lang.control.Try
-
Get the value contained in the try.
- get() - Method in interface com.jongsoft.lang.Value
-
Return the contents
T
of the wrapped value. - get() - Method in class com.jongsoft.lang.ValueType
- get(int) - Method in interface com.jongsoft.lang.collection.List
-
Get the element at the location of
index
- get(int) - Method in interface com.jongsoft.lang.collection.Tree.NodeCollection
- get(K) - Method in interface com.jongsoft.lang.collection.Map
-
Get the value from the
Map
with the corresponding key. - getCause() - Method in interface com.jongsoft.lang.control.Try
-
Return the cause of the failure.
- getChild(String) - Method in interface com.jongsoft.lang.collection.Tree
- getFirst() - Method in class com.jongsoft.lang.collection.tuple.impl.PairImpl
- getFirst() - Method in interface com.jongsoft.lang.collection.tuple.Pair
-
Get the first element from the tuple.
- getFourth() - Method in class com.jongsoft.lang.collection.tuple.impl.QuadrupletImpl
- getFourth() - Method in interface com.jongsoft.lang.collection.tuple.Quadruplet
-
Get the fourth element from the tuple.
- getOrSupply(Supplier<T>) - Method in interface com.jongsoft.lang.control.Optional
-
This method will provide the entity contained within the
Optional
, in case no entity is present theSupplier
is called to create the else situation. - getOrThrow(Supplier<X>) - Method in interface com.jongsoft.lang.control.Optional
-
This method will return the contained entity within the
Optional
, in case no entity is present an exception will be thrown using the providedexceptionSupplier
. - getSecond() - Method in class com.jongsoft.lang.collection.tuple.impl.PairImpl
- getSecond() - Method in interface com.jongsoft.lang.collection.tuple.Pair
-
Get the second element from the tuple.
- getThird() - Method in class com.jongsoft.lang.collection.tuple.impl.TripletImpl
- getThird() - Method in interface com.jongsoft.lang.collection.tuple.Triplet
-
Get the third element from the tuple.
- groupBy(Function<? super T, ? extends K>) - Method in interface com.jongsoft.lang.collection.List
-
Generate a new sequence using the
keyGenerator
. - groupBy(Function<? super T, ? extends K>) - Method in interface com.jongsoft.lang.collection.Sequence
H
- hashCode() - Method in class com.jongsoft.lang.time.impl.RangeImpl
- head() - Method in interface com.jongsoft.lang.collection.Collection
-
Fetch the head of the collection and return it.
- head() - Method in interface com.jongsoft.lang.collection.Sequence
- head() - Method in interface com.jongsoft.lang.collection.Set
I
- ifNotPresent(Runnable) - Method in interface com.jongsoft.lang.control.Optional
-
Execute the runner method if no entity is present in this wrapped object
- ifNotPresent(Supplier<X>) - Method in interface com.jongsoft.lang.control.Optional
-
Throws an exception when no value is present in this value
- ifPresent(Consumer<T>) - Method in interface com.jongsoft.lang.control.Optional
-
Process the present element wrapped within using the provided
Consumer
. - ifPresent(Supplier<X>) - Method in interface com.jongsoft.lang.control.Optional
-
Throw an exception if an element is present within.
- indexOf(Object) - Method in interface com.jongsoft.lang.collection.List
-
Find the index for the provided element, will return
-1
if the element is not present in the list. - insert(int, T) - Method in interface com.jongsoft.lang.collection.Sequence
-
Add an element to the list at the provided index, shifting all elements after the index one.
- intersect(Iterable<T>) - Method in interface com.jongsoft.lang.collection.Set
-
Creates a set that contains only the elements that are in both
this
and the providediterable
. - intersect(Iterable<T>...) - Method in interface com.jongsoft.lang.collection.Set
-
Creates a set that contains only the elements that are in all collections and
this
. - isEmpty() - Method in interface com.jongsoft.lang.collection.Collection
-
Convenience method to see if the current list is empty or not.
- isEqual() - Method in interface com.jongsoft.lang.control.Equal
-
Indicates if the result of the entire equality pipeline was the same.
- isFailure() - Method in interface com.jongsoft.lang.control.Try
-
Indicates if the try operation resulted in an exception
- isLeaf() - Method in interface com.jongsoft.lang.collection.Tree
-
Indicates if the tree is a leaf node.
- isNotEqual() - Method in interface com.jongsoft.lang.control.Equal
-
Indicates if the result of at least one equality in the pipeline was not the same.
- isPresent() - Method in interface com.jongsoft.lang.control.Optional
-
Indicates if a value is present within the wrapper
- isRoot() - Method in interface com.jongsoft.lang.collection.Tree
-
Indicates if the current tree node is the root of the tree.
- isSingleValued() - Method in interface com.jongsoft.lang.collection.Collection
- isSingleValued() - Method in interface com.jongsoft.lang.collection.Iterator
- isSingleValued() - Method in interface com.jongsoft.lang.control.Optional
- isSingleValued() - Method in interface com.jongsoft.lang.Value
-
Is this instance single-valued or not.
- isSingleValued() - Method in class com.jongsoft.lang.ValueType
- isSuccess() - Method in interface com.jongsoft.lang.control.Try
-
Indicates if the try operation was successful
- iterator() - Method in interface com.jongsoft.lang.collection.Iterator
- iterator() - Method in interface com.jongsoft.lang.collection.Pipeline
-
This will return the iterator for this pipelines elements.
- iterator() - Method in interface com.jongsoft.lang.collection.Traversable
- iterator() - Method in class com.jongsoft.lang.ValueType
- Iterator<T> - Interface in com.jongsoft.lang.collection
-
An extension on the default
Iterator
that adds utility operations to easily manipulate the iterator or locate elements inside it. - Iterator(Iterable<T>) - Static method in class com.jongsoft.lang.Collections
-
Create a new Iterator wrapping the provided iterable.
- Iterator(T...) - Static method in class com.jongsoft.lang.Collections
-
Creates a Iterator that contains all the provided elements.
L
- label() - Method in interface com.jongsoft.lang.collection.Tree
-
Fetch the label that belongs to the current tree.
- last(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Collection
- last(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Iterator
- last(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Traversable
-
Find the last match in the Iterator using the provided
Predicate
. - List<T> - Interface in com.jongsoft.lang.collection
- List(Iterator<T>) - Static method in class com.jongsoft.lang.Collections
-
Create a new
Sequence
containing all the elements in theiterator
. - List(Iterable<? extends T>) - Static method in class com.jongsoft.lang.Collections
-
Creates a new
Sequence
with all the elements contained in theIterable
. - List(T) - Static method in class com.jongsoft.lang.Collections
-
Creates an
Sequence
containing exactly one element, being the one passed to this call. - List(T...) - Static method in class com.jongsoft.lang.Collections
-
Creates a new
Sequence
with the provided elements as the contents.
M
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.Collection
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.Iterator
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.List
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.Pipeline
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.Sequence
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.Set
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.Traversable
- map(Function<T, U>) - Method in interface com.jongsoft.lang.collection.Tree
- map(Function<T, U>) - Method in interface com.jongsoft.lang.control.Optional
- map(Function<T, U>) - Method in interface com.jongsoft.lang.control.Try
- map(Function<T, U>) - Method in interface com.jongsoft.lang.Streamable
-
Perform a mapping operation on the elements in the stream.
- map(Function<T, U>) - Method in class com.jongsoft.lang.ValueType
- Map<K,T> - Interface in com.jongsoft.lang.collection
-
This class represents a map implementation that is immutable.
- Map() - Static method in class com.jongsoft.lang.Collections
-
Create a new empty
Map
. - Map(K, T) - Static method in class com.jongsoft.lang.Collections
-
Create a new map with one pair in it being the provided
key
,value
. - median() - Method in interface com.jongsoft.lang.collection.List
-
Computes the median value of the set.
N
- next() - Method in class com.jongsoft.lang.time.impl.RangeImpl
- next() - Method in interface com.jongsoft.lang.time.Range
-
Returns the range exactly after this range.
- none(Predicate<? super T>) - Method in interface com.jongsoft.lang.Value
-
Validate that none of the elements match the
predicate
provided. - NonFatalException - Exception in com.jongsoft.lang.exception
O
- of(Throwable) - Static method in exception com.jongsoft.lang.exception.NonFatalException
- Option() - Static method in class com.jongsoft.lang.Control
-
Will always return an empty optional.
- Option(T) - Static method in class com.jongsoft.lang.Control
-
Creates a new
Optional
representing the provided value. - Optional<T> - Interface in com.jongsoft.lang.control
-
The Optional provides a functional way to detect
null
values without null reference checks or complicated logic throughout the code base. - Optional.OrElse - Interface in com.jongsoft.lang.control
-
The OrElse interface is an extension to the
Optional
interface. - orElse(Iterable<? extends Pair<K, T>>) - Method in interface com.jongsoft.lang.collection.Map
- orElse(Iterable<? extends T>) - Method in interface com.jongsoft.lang.collection.Collection
- orElse(Iterable<? extends T>) - Method in interface com.jongsoft.lang.collection.List
- orElse(Iterable<? extends T>) - Method in interface com.jongsoft.lang.collection.Sequence
- orElse(Iterable<? extends T>) - Method in interface com.jongsoft.lang.collection.Set
- orElse(Iterable<? extends T>) - Method in interface com.jongsoft.lang.collection.Traversable
-
Returns either
this
if it is non empty, otherwise will return the providedother
. - orElse(Iterable<? extends T>) - Method in interface com.jongsoft.lang.collection.Tree
- orElse(Supplier<? extends Iterable<? extends Pair<K, T>>>) - Method in interface com.jongsoft.lang.collection.Map
- orElse(Supplier<? extends Iterable<? extends T>>) - Method in interface com.jongsoft.lang.collection.Collection
- orElse(Supplier<? extends Iterable<? extends T>>) - Method in interface com.jongsoft.lang.collection.List
- orElse(Supplier<? extends Iterable<? extends T>>) - Method in interface com.jongsoft.lang.collection.Sequence
- orElse(Supplier<? extends Iterable<? extends T>>) - Method in interface com.jongsoft.lang.collection.Set
- orElse(Supplier<? extends Iterable<? extends T>>) - Method in interface com.jongsoft.lang.collection.Traversable
-
Returns either
this
if it is non empty, otherwise the provided supplier is evaluated and returned. - orElse(Supplier<? extends Iterable<? extends T>>) - Method in interface com.jongsoft.lang.collection.Tree
P
- Pair<X,Y> - Interface in com.jongsoft.lang.collection.tuple
- PairImpl<X,Y> - Class in com.jongsoft.lang.collection.tuple.impl
- PairImpl(Object...) - Constructor for class com.jongsoft.lang.collection.tuple.impl.PairImpl
- parent() - Method in interface com.jongsoft.lang.collection.Tree
-
Get the parent tree node for this tree node.
- pipeline() - Method in interface com.jongsoft.lang.collection.List
-
Create a pipeline for the current list.
- Pipeline<T> - Interface in com.jongsoft.lang.collection
-
A pipeline is a set of commands that will be applied on top any
Collection
. - prepend(T) - Method in interface com.jongsoft.lang.collection.Sequence
-
Create a new sequence with the provided
value
at position 0 and the remainder of this sequence from position 1 to Collection.size() + 1. - previous() - Method in class com.jongsoft.lang.time.impl.RangeImpl
- previous() - Method in interface com.jongsoft.lang.time.Range
-
Returns the range exactly before this range.
- put(K, T) - Method in interface com.jongsoft.lang.collection.Map
-
Add a new entry to the
Map
.
Q
- Quadruplet<X,Y,Z,D> - Interface in com.jongsoft.lang.collection.tuple
- QuadrupletImpl<X,Y,Z,D> - Class in com.jongsoft.lang.collection.tuple.impl
- QuadrupletImpl(Object...) - Constructor for class com.jongsoft.lang.collection.tuple.impl.QuadrupletImpl
R
- range(T, ChronoUnit) - Static method in class com.jongsoft.lang.Dates
-
Create a temporal range, starting from the provided
from
and with a size containing exactly one of the provided chrono unit. - range(T, T) - Static method in class com.jongsoft.lang.Dates
-
Creates a temporal range, where the range is valid from (inclusive) until (exclusive) a preset temporal instance.
- Range<T extends java.time.temporal.Temporal> - Interface in com.jongsoft.lang.time
-
A temporal range to contain a from until temporal entities.
- RangeImpl<T extends java.time.temporal.Temporal> - Class in com.jongsoft.lang.time.impl
- RangeImpl(T, ChronoUnit) - Constructor for class com.jongsoft.lang.time.impl.RangeImpl
- RangeImpl(T, T) - Constructor for class com.jongsoft.lang.time.impl.RangeImpl
- recover(Function<X, T>) - Method in interface com.jongsoft.lang.control.Try
-
Set a fallback operation to be executed when the primary operation fails.
- reduce(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.jongsoft.lang.collection.Foldable
-
Convenience method for
reduceLeft
. - reduceLeft(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.jongsoft.lang.collection.Collection
- reduceLeft(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.jongsoft.lang.collection.Foldable
-
Reduce the collection from the left, starting with the first element in the collection and successively calling the
reducer
until there are no more elements. - reduceLeft(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.jongsoft.lang.collection.Iterator
- reject(Predicate<Pair<K, T>>) - Method in interface com.jongsoft.lang.collection.Map
- reject(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Collection
- reject(Predicate<T>) - Method in interface com.jongsoft.lang.collection.List
- reject(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Pipeline
-
Reject all values that match the provided predicate.
- reject(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Sequence
- reject(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Set
- reject(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Traversable
-
Return a list that removes all elements that match the
predicate
provided. - remove(int) - Method in interface com.jongsoft.lang.collection.List
-
Removes an element from the list and returns a new instance of the list.
- remove(int) - Method in interface com.jongsoft.lang.collection.Sequence
- remove(int) - Method in interface com.jongsoft.lang.collection.Set
- remove(K) - Method in interface com.jongsoft.lang.collection.Map
-
Removes any element with the corresponding key from the map.
- remove(T) - Method in interface com.jongsoft.lang.collection.Sequence
-
Removes the first element found matching the provided value.
- reset() - Method in interface com.jongsoft.lang.collection.Iterator
-
Move the iterator back to the first element in the sequence.
- reverse() - Method in interface com.jongsoft.lang.collection.Sequence
-
Reverse the order of the elements in the sequence.
- run() - Method in interface com.jongsoft.lang.control.CheckedRunner
- run(CheckedRunner) - Method in interface com.jongsoft.lang.control.Try
-
Allows for secondary runners to be executed within a try..catch.
S
- Sequence<T> - Interface in com.jongsoft.lang.collection
-
Sequences are ordered collections of elements.
- Set<T> - Interface in com.jongsoft.lang.collection
-
The set is an extension of the
Collection
interface that guarantees only unique elements are contained within the set. - Set(Iterable<? extends T>) - Static method in class com.jongsoft.lang.Collections
-
Create a new set containing all the elements of the
iterable
. - Set(Comparator<T>, Iterable<? extends T>) - Static method in class com.jongsoft.lang.Collections
-
Creates a new Sorted Set with the provided
comparator
and all elements that are in the providediterable
. - Set(Comparator<T>, T...) - Static method in class com.jongsoft.lang.Collections
-
Create a new sorted set with all the
elements
in it sorted by the providedcomparator
. - Set(T...) - Static method in class com.jongsoft.lang.Collections
-
Create a new set containing all unique elements.
- size() - Method in interface com.jongsoft.lang.collection.Collection
-
Get the amount of elements contained in the collection.
- slice(ChronoUnit) - Method in class com.jongsoft.lang.time.impl.RangeImpl
- slice(ChronoUnit) - Method in interface com.jongsoft.lang.time.Range
-
Slice the temporal range into smaller sections, where each slice is at least the indicated ChronoUnit in size.
- sorted() - Method in interface com.jongsoft.lang.collection.List
-
Sorts the specified array of objects into ascending order, according to the natural ordering of its elements.
- sorted() - Method in interface com.jongsoft.lang.collection.Sequence
- SortedSet() - Static method in class com.jongsoft.lang.Collections
- split(Predicate<Pair<K, T>>) - Method in interface com.jongsoft.lang.collection.Map
- split(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Collection
-
The split operation is an execution that combines the
Collection.reject(Predicate)
and theCollection.filter(Predicate)
methods into one. - split(Predicate<T>) - Method in interface com.jongsoft.lang.collection.Sequence
- stream() - Method in interface com.jongsoft.lang.Streamable
-
Creates a
Stream
to access the entities of type T contained within thisStreamable
class. - stream() - Method in interface com.jongsoft.lang.Value
-
Create a stream of the value.
- Streamable<T> - Interface in com.jongsoft.lang
-
This interface indicates that the class implements the
Streamable.stream()
method. - sum() - Method in interface com.jongsoft.lang.collection.Traversable
-
Calculates the sum of this elements.
- summing(BiFunction<Long, T, Long>) - Method in interface com.jongsoft.lang.collection.Collection
-
Sum all elements using the provided accumulator.
T
- tail() - Method in interface com.jongsoft.lang.collection.Collection
-
Build a new collection with all elements except for the head.
- tail() - Method in interface com.jongsoft.lang.collection.List
- tail() - Method in interface com.jongsoft.lang.collection.Map
- tail() - Method in interface com.jongsoft.lang.collection.Sequence
- tail() - Method in interface com.jongsoft.lang.collection.Set
- toJava() - Method in interface com.jongsoft.lang.collection.Map
-
Convert the map to a regular Java map type.
- toJava() - Method in interface com.jongsoft.lang.collection.Sequence
-
Transform this collection into one supported natively in Java.
- toJava() - Method in interface com.jongsoft.lang.collection.Set
-
Transform this collection into one supported natively in Java.
- toLinkedList() - Static method in class com.jongsoft.lang.collection.Collectors
- toList() - Static method in class com.jongsoft.lang.collection.Collectors
- toList() - Method in class com.jongsoft.lang.collection.tuple.impl.AbstractTuple
- toList() - Method in interface com.jongsoft.lang.collection.tuple.Tuple
- toNativeArray() - Method in interface com.jongsoft.lang.collection.Iterator
-
Create a primitive array of the elements contained within the iterator.
- toSet() - Static method in class com.jongsoft.lang.collection.Collectors
- toSorted(Comparator<T>) - Static method in class com.jongsoft.lang.collection.Collectors
- toString() - Method in class com.jongsoft.lang.collection.tuple.impl.PairImpl
- toString() - Method in class com.jongsoft.lang.collection.tuple.impl.QuadrupletImpl
- toString() - Method in class com.jongsoft.lang.collection.tuple.impl.TripletImpl
- toString() - Method in exception com.jongsoft.lang.exception.NonFatalException
- toString() - Method in class com.jongsoft.lang.time.impl.RangeImpl
- Traversable<T> - Interface in com.jongsoft.lang.collection
- Tree<T> - Interface in com.jongsoft.lang.collection
- Tree(String, T) - Static method in class com.jongsoft.lang.Collections
- Tree(String, T, Iterable<Tree<T>>) - Static method in class com.jongsoft.lang.Collections
- Tree.NodeCollection<T> - Interface in com.jongsoft.lang.collection
-
The node collection is a set of tree elements each containing exactly one value.
- Triplet<X,Y,Z> - Interface in com.jongsoft.lang.collection.tuple
- TripletImpl<X,Y,Z> - Class in com.jongsoft.lang.collection.tuple.impl
- TripletImpl(Object...) - Constructor for class com.jongsoft.lang.collection.tuple.impl.TripletImpl
- Try<T> - Interface in com.jongsoft.lang.control
-
The try interface allows for easier and more functional coding around exception handling.
- Try(CheckedRunner) - Static method in class com.jongsoft.lang.Control
-
Attempt to execute the code in the
CheckedRunner
. - Try(CheckedSupplier<T>) - Static method in class com.jongsoft.lang.Control
-
Attempt to execute code that will return an entity, but may also result into an exception.
- Tuple - Interface in com.jongsoft.lang.collection.tuple
- Tuple(X...) - Static method in class com.jongsoft.lang.API
- Tuple(X, Y) - Static method in class com.jongsoft.lang.API
-
Create a new tuple containing 2 elements.
- Tuple(X, Y, Z) - Static method in class com.jongsoft.lang.API
-
Create a new tuple containing 3 elements.
- Tuple(X, Y, Z, D) - Static method in class com.jongsoft.lang.API
-
Create a new tuple containing 4 elements.
U
- union(Iterable<T>) - Method in interface com.jongsoft.lang.collection.List
-
Create a new sequence with all elements of this sequence combined with the elements of the provided iterable.
- union(Iterable<T>) - Method in interface com.jongsoft.lang.collection.Sequence
- union(Iterable<T>) - Method in interface com.jongsoft.lang.collection.Set
- until() - Method in class com.jongsoft.lang.time.impl.RangeImpl
- until() - Method in interface com.jongsoft.lang.time.Range
-
The until part for this temporal range.
- untilPart(TemporalField) - Method in interface com.jongsoft.lang.time.Range
-
Get a part of the until temporal of this range.
V
- Value<T> - Interface in com.jongsoft.lang
-
The Value interface represents a simple wrapped value.
- valueStream() - Method in interface com.jongsoft.lang.collection.Map
-
Build a stream of the values contained within this
Map
. - ValueType<T> - Class in com.jongsoft.lang
-
The ValueType class represents an immutable wrapper around a data entity.
- ValueType(T) - Constructor for class com.jongsoft.lang.ValueType
All Classes All Packages