public class Assertions extends Object
| Constructor and Description |
|---|
Assertions() |
| Modifier and Type | Method and Description |
|---|---|
static double |
notNegative(String name,
double value)
Asserts that the passed in value is not a negative number.
|
static <T> T |
notNull(String name,
T obj) |
public static <T> T notNull(String name, T obj)
public static double notNegative(String name, double value)
name - the name of the parametervalue - the value in questionCopyright © 2016 Atlassian. All rights reserved.