public final class CharPair extends Object
Modifier and Type | Method and Description |
---|---|
<E extends Exception> |
accept(Try.Consumer<CharPair,E> action) |
double |
average() |
boolean |
equals(Object obj) |
<E extends Exception> |
filter(Try.Predicate<CharPair,E> predicate) |
<E extends Exception> |
forEach(Try.CharConsumer<E> comsumer) |
int |
hashCode() |
<U,E extends Exception> |
map(Try.Function<CharPair,U,E> mapper) |
char |
max() |
char |
min() |
static CharPair |
of(char _1,
char _2) |
CharPair |
reversed() |
CharStream |
stream() |
int |
sum() |
char[] |
toArray() |
CharList |
toList() |
String |
toString() |
public static CharPair of(char _1, char _2)
_1
- the 1_2
- the 2public char min()
public char max()
public int sum()
public double average()
public CharPair reversed()
public char[] toArray()
public CharList toList()
public <E extends Exception> void forEach(Try.CharConsumer<E> comsumer) throws E extends Exception
E
- comsumer
- E
- the eE extends Exception
public <E extends Exception> void accept(Try.Consumer<CharPair,E> action) throws E extends Exception
E
- action
- E
- the eE extends Exception
public <U,E extends Exception> U map(Try.Function<CharPair,U,E> mapper) throws E extends Exception
U
- E
- mapper
- E
- the eE extends Exception
public <E extends Exception> u.Optional<CharPair> filter(Try.Predicate<CharPair,E> predicate) throws E extends Exception
E
- predicate
- E
- the eE extends Exception
public CharStream stream()
public boolean equals(Object obj)
Copyright © 2019. All rights reserved.