public class BooleanPair extends Object
Modifier and Type | Method and Description |
---|---|
<E extends Exception> |
accept(Try.Consumer<BooleanPair,E> action) |
boolean |
equals(Object obj) |
<E extends Exception> |
filter(Try.Predicate<BooleanPair,E> predicate) |
<E extends Exception> |
forEach(Try.BooleanConsumer<E> comsumer) |
int |
hashCode() |
<U,E extends Exception> |
map(Try.Function<BooleanPair,U,E> mapper) |
static BooleanPair |
of(boolean _1,
boolean _2) |
BooleanPair |
reversed() |
Stream<Boolean> |
stream() |
boolean[] |
toArray() |
BooleanList |
toList() |
String |
toString() |
public static BooleanPair of(boolean _1, boolean _2)
_1
- the 1_2
- the 2public BooleanPair reversed()
public boolean[] toArray()
public BooleanList toList()
public <E extends Exception> void forEach(Try.BooleanConsumer<E> comsumer) throws E extends Exception
E
- comsumer
- E
- the eE extends Exception
public <E extends Exception> void accept(Try.Consumer<BooleanPair,E> action) throws E extends Exception
E
- action
- E
- the eE extends Exception
public <U,E extends Exception> U map(Try.Function<BooleanPair,U,E> mapper) throws E extends Exception
U
- E
- mapper
- E
- the eE extends Exception
public <E extends Exception> u.Optional<BooleanPair> filter(Try.Predicate<BooleanPair,E> predicate) throws E extends Exception
E
- predicate
- E
- the eE extends Exception
public boolean equals(Object obj)
Copyright © 2019. All rights reserved.