Package io.hawt.util

Class Objects

java.lang.Object
io.hawt.util.Objects

public class Objects extends Object
Some helper methods - though could be replaced by JDK 1.7 code now in java.util.Objects whenever we are happy to ignore JDK 1.6
  • Constructor Details

    • Objects

      public Objects()
  • Method Details

    • equals

      public static boolean equals(Object a, Object b)
    • compare

      public static int compare(Comparable a, Comparable b)
    • getVersion

      public static String getVersion(Class<?> aClass, String groupId, String artifactId)
      Returns the version of the given class's package or the group and artifact of the jar