View Javadoc
1   package com.github.davidmoten.guavamini;
2   
3   import java.util.Arrays;
4   
5   public final class Objects {
6   
7       private Objects() {
8           // prevent instantiation
9       }
10  
11      public static int hashCode(Object... objects) {
12          return Arrays.hashCode(objects);
13      }
14  
15      public static boolean equal(Object a, Object b) {
16          return a == b || (a != null && a.equals(b));
17      }
18  }