List of utility methods to do SortedSet Type Check
boolean | isSortedSet(final Object value) Returns true if the given object is a non-null instance of SortedSet . return isSortedSet(value, false);
|
boolean | isSortedSet(Object object) Returns true if the given Object is not null and a SortedSet derived type return isAssignableFromInstance(SortedSet.class, object); |
boolean | isSortedSetType(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; |