-
Methods in de.scravy.bedrock that return Pair
| Modifier and Type |
Method |
Description |
Pair<Seq<E>,Seq<E>> |
Seq.breakBy(Predicate<? super E> predicate) |
|
Pair<Seq<E>,Seq<E>> |
Seq.breakByView(Predicate<? super E> predicate) |
|
static <A,
B,
L extends HList<L>> Pair<A,B> |
Pair.fromHList(C<A,C<B,L>> hlist) |
|
<C,
D> Pair<C,D> |
Pair.map(Function<A,C> f,
Function<B,D> g) |
|
<C> Pair<C,B> |
Pair.mapFirst(Function<A,C> f) |
|
<C> Pair<A,C> |
Pair.mapSecond(Function<B,C> f) |
|
static <A,
B> Pair<A,B> |
Pair.of(A a,
B b) |
|
static <A,
B> Pair<A,B> |
Pair.of(Map.Entry<A,B> entry) |
|
static <A,
B> Pair<A,B> |
Pair.pair(A a,
B b) |
|
Pair<Seq<E>,Seq<E>> |
Seq.partitionBy(Predicate<? super E> predicate) |
|
Pair<Seq<E>,Seq<E>> |
Seq.spanBy(Predicate<? super E> predicate) |
|
Pair<Seq<E>,Seq<E>> |
Seq.spanByView(Predicate<? super E> predicate) |
|
Pair<B,A> |
Pair.swapped() |
|
<C> Pair<C,B> |
Pair.withFirst(C v) |
|
<C> Pair<A,C> |
Pair.withSecond(C v) |
|
Methods in de.scravy.bedrock that return types with arguments of type Pair
| Modifier and Type |
Method |
Description |
static <K extends Comparable<? super K>,
V> Collector<Pair<K,V>,TreeMap<K,V>,ArrayMap<K,V>> |
ArrayMap.collector() |
|
static <A,
B,
C> Function<Pair<A,B>,C> |
Functions.curryPair(BiFunction<A,B,C> f) |
|
Seq<Pair<V,V>> |
DirectedGraph.edges() |
|
Iterator<Pair<K,V>> |
ArrayMap.iterator() |
|
Iterator<Pair<K,V>> |
ArrayMapBuilder.iterator() |
|
default Iterator<Pair<From,To>> |
Mapping.iterator() |
|
Iterator<Pair<K,V>> |
SpecificityTree.iterator() |
|
static <T,
U> CharParser<Pair<T,U>> |
CharParser.seq(CharParser<T> p1,
CharParser<U> p2) |
|
static <T,
U> Parser<Pair<T,U>> |
Parser.seq(Parser<T> p1,
Parser<U> p2) |
|
default Stream<Pair<From,To>> |
Mapping.stream() |
|
static <A,
B,
C> Function<Pair<A,B>,C> |
Functions.uncurryPair(Function<A,Function<B,C>> f) |
|
<A> Seq<Pair<E,A>> |
Seq.zip(Seq<A> a) |
|
static <A,
B,
C> Seq<Pair<A,B>> |
Seq.zip(Seq<A> as,
Seq<B> bs) |
|
Seq<Pair<Integer,E>> |
Seq.zipWithIndex() |
|
Methods in de.scravy.bedrock with parameters of type Pair
| Modifier and Type |
Method |
Description |
ArrayMapBuilder<K,V> |
ArrayMapBuilder.add(Pair<K,V> elem) |
|
ArrayMapBuilder<K,V> |
ArrayMapBuilder.addPair(Pair<K,V> elem) |
|
int |
Pair.compareTo(Pair<A,B> p) |
|
static <K extends Comparable<K>,
V> ArrayMap<K,V> |
ArrayMap.of(Pair<K,V>... pairs) |
|
static <C,
A extends C,
B extends C> Seq<C> |
Seq.ofPair(Pair<A,B> pair) |
|
static String |
Strings.replace(String string,
Pair<String,String>... values) |
|
String |
Strings.Template.substitute(Pair<String,String>... values) |
|
Method parameters in de.scravy.bedrock with type arguments of type Pair
| Modifier and Type |
Method |
Description |
static <A,
B,
C> Function<A,Function<B,C>> |
Functions.curry(Function<Pair<A,B>,C> f) |
|
static <V> DirectedGraph<V> |
DirectedGraph.fromEdges(Seq<Pair<V,V>> edges) |
|
static <K extends Comparable<K>,
V> ArrayMap<K,V> |
ArrayMap.ofSeq(Seq<Pair<K,V>> pairs) |
|
static <V> Seq<Seq<V>> |
Graphs.stronglyConnectedComponents(Seq<Pair<V,V>> edges) |
|
static <V> Optional<Seq<V>> |
Graphs.topologicalSort(Seq<Pair<V,V>> edges) |
|