Package org.eclipse.net4j.util
Klasse CheckUtil
java.lang.Object
org.eclipse.net4j.util.CheckUtil
Provides static methods that check object states and invocation arguments.
- Autor:
- Eike Stepper
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final booleanstatic final boolean -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidstatic voidstatic voidstatic voidcheckState(boolean expr, String msg) static voidcheckState(Object handle, String handleName) static voidstatic voidstatic longsanitizeTimeout(long timeout)
-
Felddetails
-
HAS_DEBUGGER_ATTACHED
public static final boolean HAS_DEBUGGER_ATTACHED- Seit:
- 3.7
-
SANITIZE_TIMEOUT
public static final boolean SANITIZE_TIMEOUT- Seit:
- 3.7
-
-
Methodendetails
-
checkNull
- Löst aus:
NullPointerException
-
checkArg
- Löst aus:
IllegalArgumentException
-
checkArg
- Löst aus:
IllegalArgumentException
-
checkState
- Löst aus:
IllegalStateException
-
checkState
- Löst aus:
IllegalStateException
-
countUp
- Seit:
- 3.6
-
countDown
- Seit:
- 3.6
-
sanitizeTimeout
public static long sanitizeTimeout(long timeout) - Seit:
- 3.7
-