| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: the expression valuethe expression value expr)Assert that the given expression is likely, which is to say, it will be |
| public static boolean | Returns: the expression valuethe probability where prob, boolean 0.0f ≤ prob ≤ 1.0fthe expression value expr)Assert that the given expression has the given probability of being |
| public static boolean | Returns: the expression valuethe expression value expr)Assert that the given expression is unlikely, which is to say, it will be |
| public static boolean | Returns: the expression valuethe expression value expr)Assert that the given expression is on the "fast path", which is to say, it will be |
| public static boolean | Returns: the expression valuethe expression value expr)Assert that the given expression is on the "slow path", which is to say, it will be |
| Branch | back to summary |
|---|---|
| private Branch() | |
| likely | back to summary |
|---|---|
| public static boolean likely(boolean expr) Assert that the given expression is likely, which is to say, it will be
| |
| probability | back to summary |
|---|---|
| public static boolean probability(float prob, boolean expr) Assert that the given expression has the given probability of being
| |
| unlikely | back to summary |
|---|---|
| public static boolean unlikely(boolean expr) Assert that the given expression is unlikely, which is to say, it will be
| |
| veryLikely | back to summary |
|---|---|
| public static boolean veryLikely(boolean expr) Assert that the given expression is on the "fast path", which is to say, it will be
| |
| veryUnlikely | back to summary |
|---|---|
| public static boolean veryUnlikely(boolean expr) Assert that the given expression is on the "slow path", which is to say, it will be
| |