Package | Description |
---|---|
org.esa.snap.core.util |
Provides several utility classes used throughout SNAP.
|
Modifier and Type | Method and Description |
---|---|
static void |
Debug.assertNotNull(Object object)
If the given object is null, and the debugging functionality is enabled, this method throws an
AssertionFailure in order to signal that an internal program post- or pre-condition failed. |
static void |
Debug.assertNotNullOrEmpty(String string)
If the given String is null or empty, and the debugging functionality is enabled, this method throws an
AssertionFailure in order to signal that an internal program post- or pre-condition failed. |
static void |
Debug.assertTrue(boolean condition)
If the
condition is NOT true, and the debugging functionality is enabled, this method throws an
AssertionFailure in order to signal that an internal program post- or pre-condition failed. |
static void |
Debug.assertTrue(boolean condition,
String message)
If the
condition is NOT true, and the debugging functionality is enabled, this method throws an
AssertionFailure in order to signal that an internal program post- or pre-condition failed. |
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.