Index
All Classes and Interfaces|All Packages
A
- Assert - Class in io.smallrye.common.constraint
-
A set of assertions and checks.
- assertFalse(boolean) - Static method in class io.smallrye.common.constraint.Assert
-
Assert that the given expression is always
false. - assertHoldsLock(T) - Static method in class io.smallrye.common.constraint.Assert
-
Assert that the given monitor is held by the current thread.
- assertNotHoldsLock(T) - Static method in class io.smallrye.common.constraint.Assert
-
Assert that the given monitor is not held by the current thread.
- assertNotNull(T) - Static method in class io.smallrye.common.constraint.Assert
-
Assert that the value is not
null. - assertTrue(boolean) - Static method in class io.smallrye.common.constraint.Assert
-
Assert that the given expression is always
true.
C
- checkArrayBounds(byte[], int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(char[], int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(int[], int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(int, int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the given offset and length fall completely within the bounds of the given array length.
- checkArrayBounds(long[], int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(Object[], int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkMaximumParameter(String, double, double) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is less than or equal to
max. - checkMaximumParameter(String, float, float) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is less than or equal to
max. - checkMaximumParameter(String, int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is less than or equal to
max. - checkMaximumParameter(String, long, long) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is less than or equal to
max. - checkMaximumParameter(String, T, T) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is less than or equal to
max. - checkMaximumParameterUnsigned(String, int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is less than or equal to
maxusing unsigned comparison. - checkMaximumParameterUnsigned(String, long, long) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is less than or equal to
maxusing unsigned comparison. - checkMinimumParameter(String, double, double) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is greater than or equal to
min. - checkMinimumParameter(String, float, float) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is greater than or equal to
min. - checkMinimumParameter(String, int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is greater than or equal to
min. - checkMinimumParameter(String, long, long) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is greater than or equal to
min. - checkMinimumParameter(String, T, T) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is greater than or equal to
min. - checkMinimumParameterUnsigned(String, int, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is greater than or equal to
minusing unsigned comparison. - checkMinimumParameterUnsigned(String, long, long) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is greater than or equal to
minusing unsigned comparison. - checkNotEmptyParam(String, boolean[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, byte[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, double[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, float[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, int[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, long[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, short[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, CharSequence) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, String) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, T) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotEmptyParam(String, T[]) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not empty.
- checkNotNullArrayParam(String, int, T) - Static method in class io.smallrye.common.constraint.Assert
-
Check that a value within the named array parameter is not
null. - checkNotNullParam(String, T) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is not
null. - checkPow2Parameter(String, int) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is zero or a power of two (unsigned).
- checkPow2Parameter(String, long) - Static method in class io.smallrye.common.constraint.Assert
-
Check that the named parameter is zero or a power of two (unsigned).
I
- impossibleSwitchCase(char) - Static method in class io.smallrye.common.constraint.Assert
-
Return an exception indicating that the current switch case was intended to be unreachable.
- impossibleSwitchCase(int) - Static method in class io.smallrye.common.constraint.Assert
-
Return an exception indicating that the current switch case was intended to be unreachable.
- impossibleSwitchCase(long) - Static method in class io.smallrye.common.constraint.Assert
-
Return an exception indicating that the current switch case was intended to be unreachable.
- impossibleSwitchCase(Object) - Static method in class io.smallrye.common.constraint.Assert
-
Return an exception indicating that the current switch case was intended to be unreachable.
- io.smallrye.common.constraint - module io.smallrye.common.constraint
-
Constraint checking methods and annotations for SmallRye projects and their consumers.
- io.smallrye.common.constraint - package io.smallrye.common.constraint
N
- NotNull - Annotation Interface in io.smallrye.common.constraint
-
An advisory annotation indicating that the given variable, method, or parameter is not nullable.
- Nullable - Annotation Interface in io.smallrye.common.constraint
-
An advisory annotation indicating that the given variable, method, or parameter is nullable.
U
- unreachableCode() - Static method in class io.smallrye.common.constraint.Assert
-
Return an exception indicating that the current code was intended to be unreachable.
- unsupported() - Static method in class io.smallrye.common.constraint.Assert
-
Return an exception explaining that the caller's method is not supported.
All Classes and Interfaces|All Packages