Java Utililty Methods SortedSet Type Check

List of utility methods to do SortedSet Type Check

Description

The list of methods to do SortedSet Type Check are organized into topic(s).

Method

booleanisSortedSet(final Object value)
Returns true if the given object is a non-null instance of SortedSet .
return isSortedSet(value, false);
booleanisSortedSet(Object object)
Returns true if the given Object is not null and a SortedSet derived type
return isAssignableFromInstance(SortedSet.class, object);
booleanisSortedSetType(Class type)
Returns true if the given type is assignable to the SortedSet interface
boolean retval = false;
if (type != null) {
    retval = SortedSet.class.isAssignableFrom(type);
return retval;