Class LangUtils


  • public class LangUtils
    extends Object
    A set of utility methods to help produce consistent Object#equals(Object) and Object#hashCode methods.
    Since:
    3.0
    Author:
    Oleg Kalnichevski
    • Method Detail

      • hashCode

        public static int hashCode​(int seed,
                                   int hashcode)
      • hashCode

        public static int hashCode​(int seed,
                                   Object obj)
      • hashCode

        public static int hashCode​(int seed,
                                   boolean b)
      • equals

        public static boolean equals​(Object obj1,
                                     Object obj2)