Java Collection Check isCollection(Class fieldClass)

Here you can find the source of isCollection(Class fieldClass)

Description

is Collection

License

Open Source License

Declaration

public static <U> boolean isCollection(Class<U> fieldClass) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Collection;

public class Main {
    public static <U> boolean isCollection(Class<U> fieldClass) {
        return Collection.class.isAssignableFrom(fieldClass);
    }//from   w w w . j  a  v a  2 s .  c  om
}

Related

  1. isCollection(Class clazz)
  2. isCollection(Class clazz)
  3. isCollection(Class klass)
  4. isCollection(Class type)
  5. isCollection(Class clazz)
  6. isCollection(final Object collection)
  7. isCollection(final Object obj)
  8. isCollection(final Object value)
  9. isCollection(Object ob)