com.hazelcast.util
Class ValidationUtil
java.lang.Object
com.hazelcast.util.ValidationUtil
public final class ValidationUtil
- extends Object
A utility class for validating arguments and state.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkNotNull
public static void checkNotNull(Object argument,
String message)
hasText
public static String hasText(String argument,
String argName)
isNotNull
public static <E> E isNotNull(E argument,
String argName)
isNotNegative
public static void isNotNegative(long value,
String argumentName)
shouldBePositive
public static void shouldBePositive(long value,
String argumentName)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.