public final class Check extends Object
Example:
Check.argument(value > 0, "Value was not positive:", String.valueOf(value)); final Object object = null; Check.notNull(object, "Object is null !");
public static void argument(boolean condition, String... messages)
condition
- The condition to check.messages
- The messages to put in the exception.Copyright © 2014 Byron 3D Games Studio. All rights reserved.