Module com.pi4j
Package com.pi4j.util

Class ReflectionUtil

    • Constructor Detail

      • ReflectionUtil

        public ReflectionUtil()
    • Method Detail

      • getAllInterfacesSorted

        public static Collection<Class> getAllInterfacesSorted​(Object target)

        getAllInterfacesSorted. Interfaces are sorted by full qualified class name.

        Parameters:
        target - a Object object.
        Returns:
        a sorted Collection object.
      • getAllInterfaces

        public static Collection<Class> getAllInterfaces​(Class targetClass)

        getAllInterfaces.

        Parameters:
        targetClass - a Class object.
        Returns:
        a Collection object.