Java Class InstanceOf instanceOf(final Object a, final Class b)

Here you can find the source of instanceOf(final Object a, final Class b)

Description

instance Of

License

Apache License

Declaration

public static boolean instanceOf(final Object a, final Class<?> b) 

Method Source Code

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

public class Main {
    public static boolean instanceOf(final Object a, final Class<?> b) {
        return b.isInstance(a);
    }/*from w  w w .j a  va  2s .  c om*/
}

Related

  1. instanceOf(Class beanClass, Object element)
  2. instanceOf(Class objectClass, Class typeClass)
  3. instanceOf(Class parant, Class chield)
  4. instanceOf(Class test, Class clazz)
  5. instanceOf(final Class classVerifiable, final Class classAssignable)
  6. instanceOf(final Object object, final Class... classes)
  7. instanceOf(Object o, Class clazz)
  8. instanceOf(Object o, Class c)
  9. instanceOf(Object o, Class... classes)