public final class Collections
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmpty(java.util.Collection collection)
Return
true if the supplied Collection is null
or empty. |
static boolean |
isEmpty(java.util.Map map)
Return
true if the supplied Map is null
or empty. |
public static boolean isEmpty(java.util.Collection collection)
true if the supplied Collection is null
or empty. Otherwise, return false.collection - the Collection to checkpublic static boolean isEmpty(java.util.Map map)
true if the supplied Map is null
or empty. Otherwise, return false.map - the Map to checkCopyright © 2019-2020 paseto.dev. All Rights Reserved.