Package eu.bandm.tools.umod.runtime
Class CheckedPair_LR<L,R>
java.lang.Object
eu.bandm.tools.umod.runtime.UncheckedPair<L,R>
eu.bandm.tools.umod.runtime.CheckedPair_LR<L,R>
- All Implemented Interfaces:
Pair<L,
,R> Pair_checkedLeft<L,
,R> Pair_checkedRight<L,
,R> Serializable
public class CheckedPair_LR<L,R>
extends UncheckedPair<L,R>
implements Pair_checkedRight<L,R>, Pair_checkedLeft<L,R>
Implements "Pair" operations and guarantees stricness of both components.
ATTENTION "
ATTENTION "
extends CheckedPair_L<L,R>
" not possible because
"fromInterables()" would have incompatible return type.- See Also:
-
Field Summary
Fields inherited from interface eu.bandm.tools.umod.runtime.Pair
serialVersionUID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static <A,
B> List<CheckedPair_LR<A, B>> fromIterables
(Iterable<A> left, Iterable<B> right, Class<A> lclass, Class<B> rclass) void
ALL constructors and setters reach this (or the complementing) method!void
ALL constructors and setters reach this (or the complementing) method!Methods inherited from class eu.bandm.tools.umod.runtime.UncheckedPair
fromIterables_unchecked, get_left, get_right, hashCode, toString, with_left, with_right
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface eu.bandm.tools.umod.runtime.Pair
get_left, get_right, with_left, with_right
-
Constructor Details
-
CheckedPair_LR
-
-
Method Details
-
set_left
Description copied from class:UncheckedPair
ALL constructors and setters reach this (or the complementing) method! -
set_right
Description copied from class:UncheckedPair
ALL constructors and setters reach this (or the complementing) method! -
fromIterables
-
equals
- Overrides:
equals
in classUncheckedPair<L,
R>
-