Uses of Interface
com.jongsoft.lang.collection.tuple.Pair
-
Packages that use Pair Package Description com.jongsoft.lang This package contains all interfaces used through out the functional library.com.jongsoft.lang.collection A purely functional based set of collection implementations based upon the Collection.com.jongsoft.lang.collection.tuple com.jongsoft.lang.collection.tuple.impl -
-
Uses of Pair in com.jongsoft.lang
Methods in com.jongsoft.lang with type parameters of type Pair Modifier and Type Method Description static <X,Y extends Pair<X,X>>
YAPI. Tuple(X... elements)
Methods in com.jongsoft.lang that return Pair Modifier and Type Method Description static <X,Y>
Pair<X,Y>API. Tuple(X first, Y second)
Create a new tuple containing 2 elements. -
Uses of Pair in com.jongsoft.lang.collection
Methods in com.jongsoft.lang.collection that return Pair Modifier and Type Method Description Pair<? extends Collection<T>,? extends Collection<T>>
Collection. split(java.util.function.Predicate<T> predicate)
The split operation is an execution that combines theCollection.reject(Predicate)
and theCollection.filter(Predicate)
methods into one.Pair<? extends Map<K,T>,? extends Map<K,T>>
Map. split(java.util.function.Predicate<Pair<K,T>> predicate)
default Pair<? extends Sequence<T>,? extends Sequence<T>>
Sequence. split(java.util.function.Predicate<T> predicate)
Method parameters in com.jongsoft.lang.collection with type arguments of type Pair Modifier and Type Method Description Map<K,T>
Map. filter(java.util.function.Predicate<Pair<K,T>> predicate)
Map<K,T>
Map. orElse(java.lang.Iterable<? extends Pair<K,T>> other)
Map<K,T>
Map. orElse(java.util.function.Supplier<? extends java.lang.Iterable<? extends Pair<K,T>>> supplier)
default Map<K,T>
Map. reject(java.util.function.Predicate<Pair<K,T>> predicate)
Pair<? extends Map<K,T>,? extends Map<K,T>>
Map. split(java.util.function.Predicate<Pair<K,T>> predicate)
-
Uses of Pair in com.jongsoft.lang.collection.tuple
Subinterfaces of Pair in com.jongsoft.lang.collection.tuple Modifier and Type Interface Description interface
Quadruplet<X,Y,Z,D>
interface
Triplet<X,Y,Z>
-
Uses of Pair in com.jongsoft.lang.collection.tuple.impl
Classes in com.jongsoft.lang.collection.tuple.impl that implement Pair Modifier and Type Class Description class
PairImpl<X,Y>
class
QuadrupletImpl<X,Y,Z,D>
class
TripletImpl<X,Y,Z>
-