1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.kernel.util;
16  
17  /**
18   * <a href="HashCode.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface HashCode {
23  
24      public HashCode append(boolean value);
25  
26      public HashCode append(boolean[] value);
27  
28      public HashCode append(byte value);
29  
30      public HashCode append(byte[] value);
31  
32      public HashCode append(char value);
33  
34      public HashCode append(char[] value);
35  
36      public HashCode append(double value);
37  
38      public HashCode append(double[] value);
39  
40      public HashCode append(float value);
41  
42      public HashCode append(float[] value);
43  
44      public HashCode append(int value);
45  
46      public HashCode append(int[] value);
47  
48      public HashCode append(long value);
49  
50      public HashCode append(long[] value);
51  
52      public HashCode append(Object value);
53  
54      public HashCode append(Object[] value);
55  
56      public HashCode append(short value);
57  
58      public HashCode append(short[] value);
59  
60      public HashCode appendSuper(int superHashCode);
61  
62      public int toHashCode();
63  
64  }