Package com.mchange.v2.util
Class CollectionUtils
java.lang.Object
com.mchange.v2.util.CollectionUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(Collection c, Object o) static CollectionAttempts to find a public clone() method or a copy constructor, in that order, and calls what it finds.static MapattemptClone(Map m) Attempts to find a public clone() method or a copy constructor, in that order, and calls what it finds.static booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic Collectionstatic Mapstatic Collectionstatic Mapstatic voidremove(Collection c, Object o) static int
-
Field Details
-
EMPTY_SORTED_SET
-
-
Method Details
-
isCollectionsWrapper
-
isCollectionsWrapper
-
isCollectionsWrapper
-
isSynchronizedWrapper
-
isSynchronizedWrapper
-
isSynchronizedWrapper
-
isUnmodifiableWrapper
-
isUnmodifiableWrapper
-
isUnmodifiableWrapper
-
narrowUnmodifiableCollection
-
narrowSynchronizedCollection
-
narrowUnmodifiableMap
-
narrowSynchronizedMap
-
attemptClone
Attempts to find a public clone() method or a copy constructor, in that order, and calls what it finds. If neither is available, throws a NoSuchMethodException.- Throws:
NoSuchMethodException
-
attemptClone
Attempts to find a public clone() method or a copy constructor, in that order, and calls what it finds. If neither is available, throws a NoSuchMethodException.- Throws:
NoSuchMethodException
-
add
-
remove
-
size
-