Java Collection Check isCollectionType(Object value)

Here you can find the source of isCollectionType(Object value)

Description

is Collection Type

License

Apache License

Declaration

public static boolean isCollectionType(Object value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.*;

public class Main {
    public static boolean isCollectionType(Object value) {
        return value instanceof Collection;
    }/*from   ww  w  .ja  v a  2s .  c  om*/
}

Related

  1. isCollectionType(Class type)
  2. isCollectionType(final Class cls)
  3. isCollectionType(Object obj)
  4. isCollectionType(Object obj)
  5. isCollectionType(Object propertyValue)
  6. isCollectionTypeHomogenous(final Collection collection, final Class expectedType)
  7. isCompatibleTypes(Collection a, Collection b)