Class ClassTypeComparisonUtil


  • public class ClassTypeComparisonUtil
    extends java.lang.Object
    Utilities for comparing class types
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean matches​(java.lang.Class<?> class1, java.lang.Class<?> class2)
      Check if two classes represent the same data
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassTypeComparisonUtil

        public ClassTypeComparisonUtil()
    • Method Detail

      • matches

        public static boolean matches​(java.lang.Class<?> class1,
                                      java.lang.Class<?> class2)
        Check if two classes represent the same data
        Parameters:
        class1 - Class 1
        class2 - Class 2
        Returns:
        Are same type?