public final class GreaterThanOrEqualTo<TARGET extends Comparable<TARGET>> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
greaterThanOrEqualTo(T minimum) |
String |
name() |
Precondition<TARGET> |
or(Precondition<TARGET> other) |
boolean |
test(TARGET target) |
void |
testThrowing(TARGET target) |
public static <T extends Comparable<T>> GreaterThanOrEqualTo<T> greaterThanOrEqualTo(T minimum)
public final boolean test(TARGET target)
public final void testThrowing(TARGET target)
throws ValidationException
testThrowing in interface Precondition<TARGET>ValidationExceptionpublic final String name()
name in interface Precondition<TARGET>public final Precondition<TARGET> or(Precondition<TARGET> other)
or in interface Precondition<TARGET>Copyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.