Tabnine Logo
ConstructorUtils.isClassArray
Code IndexAdd Tabnine to your IDE (free)

How to use
isClassArray
method
in
org.azeckoski.reflectutils.ConstructorUtils

Best Java code snippets using org.azeckoski.reflectutils.ConstructorUtils.isClassArray (Showing top 20 results out of 315)

origin: azeckoski/reflectutils

public boolean canConvert(Object value, Class<?> toType) {
  if ( ConstructorUtils.isClassArray(toType)) {
    return true;
  }
  return false;
}
origin: org.azeckoski/reflectutils

public boolean canConvert(Object value, Class<?> toType) {
  if ( ConstructorUtils.isClassArray(toType)) {
    return true;
  }
  return false;
}
origin: org.azeckoski/reflectutils

/**
 * Get the wrapper class for this class if there is one
 * @param beanClass any class
 * @return the wrapper class if there is one OR just returns the given class
 */
public static Class<?> getWrapper(final Class<?> beanClass) {
  Class<?> wrapper = null;
  if (beanClass != null) {
    if ( isClassPrimitive(beanClass) ) {
      wrapper = getPrimitiveToWrapper().get(beanClass);
    } else if ( isClassArray(beanClass) && beanClass.getComponentType().isPrimitive()) {
      wrapper = getPrimitiveToWrapper().get(beanClass);
    } else {
      wrapper = beanClass;
    }
    if (wrapper == null) {
      wrapper = beanClass;
    }
  }
  return wrapper;
}
origin: azeckoski/reflectutils

/**
 * Get the wrapper class for this class if there is one
 * @param beanClass any class
 * @return the wrapper class if there is one OR just returns the given class
 */
public static Class<?> getWrapper(final Class<?> beanClass) {
  Class<?> wrapper = null;
  if (beanClass != null) {
    if ( isClassPrimitive(beanClass) ) {
      wrapper = getPrimitiveToWrapper().get(beanClass);
    } else if ( isClassArray(beanClass) && beanClass.getComponentType().isPrimitive()) {
      wrapper = getPrimitiveToWrapper().get(beanClass);
    } else {
      wrapper = beanClass;
    }
    if (wrapper == null) {
      wrapper = beanClass;
    }
  }
  return wrapper;
}
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fromType) ) {
origin: azeckoski/reflectutils

  throw new IllegalArgumentException("Invalid indexedObject, cannot be null");
if ( ConstructorUtils.isClassArray(indexedObject.getClass()) ) {
origin: org.azeckoski/reflectutils

  throw new IllegalArgumentException("Invalid indexedObject, cannot be null");
if ( ConstructorUtils.isClassArray(indexedObject.getClass()) ) {
origin: org.azeckoski/reflectutils

/**
 * @param type any class
 * @return true if this is a collection, map, or array, 
 * something that holds a bunch of objects (e.g. {@link Map}, {@link Set}, {@link List}, array)
 */
public static boolean isClassObjectHolder(Class<?> type) {
  checkNull(type);
  boolean holder = false;
  if ( isClassArray(type) || isClassCollection(type) || isClassMap(type) ) {
    holder = true;
  }
  return holder;
}
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fromType) ) {
origin: azeckoski/reflectutils

/**
 * @param type any class
 * @return true if this is a collection, map, or array, 
 * something that holds a bunch of objects (e.g. {@link Map}, {@link Set}, {@link List}, array)
 */
public static boolean isClassObjectHolder(Class<?> type) {
  checkNull(type);
  boolean holder = false;
  if ( isClassArray(type) || isClassCollection(type) || isClassMap(type) ) {
    holder = true;
  }
  return holder;
}
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fromType) ) {
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fromType) ) {
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fromType) ) {
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fromType) ) {
origin: org.azeckoski/reflectutils

Object toConvert = value;
if ( ConstructorUtils.isClassArray(fromType) ) {
origin: azeckoski/reflectutils

Object toConvert = value;
if ( ConstructorUtils.isClassArray(fromType) ) {
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fieldType) ) {
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fieldType) ) {
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fieldType) ) {
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassArray(fieldType) ) {
org.azeckoski.reflectutilsConstructorUtilsisClassArray

Popular methods of ConstructorUtils

  • isClassBean
  • isClassMap
  • isClassSimple
  • isClassCollection
  • <init>
    Empty constructor WARNING: use the #getInstance() method to get this rather than recreating it over
  • checkNull
  • classAssignable
    Checks if assignFrom is assignable to assignTo (i.e. this is OK: assignFrom b; assignTo a = (assignT
  • classEquals
    Will compare 2 classes for equality which will make a friendly comparison of types and will happily
  • constructClass
    Construct an object for the class of the given type with the given params (arguments), arguments mus
  • getClassDataCacher
  • getClassFromInterface
    Gets a valid class which can be constructed from an interface or special cases which cannot be const
  • getDefaultValue
    Get the default value for for a type if one is available OR null if there is no default (since null
  • getClassFromInterface,
  • getDefaultValue,
  • getExtendAndInterfacesForClass,
  • getImmutableDefaults,
  • getImmutableTypes,
  • getInstance,
  • getInterfacesForClass,
  • getPrimitiveDefaults,
  • getPrimitiveToWrapper

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Permission (java.security)
    Legacy security code; do not use.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now