| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private volatile int | |
| private final String | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static int | Returns: updated hash code valuecurrent hash code value code, Object object that updates hash code value object)Adds hash code value if specified object. |
| public boolean | Returns: true if this object is the same as the
object argument, false otherwisethe reference object with which to compare object)Overrides java. Indicates whether some other object is "equal to" this one. |
| pack-priv Class | |
| pack-priv String | |
| pack-priv Class | |
| public int | Returns: a hash code value for this objectOverrides java. Returns a hash code value for the object. |
| private static boolean | |
| private static boolean |
| args | back to summary |
|---|---|
| private final Class<?>[] args | |
| code | back to summary |
|---|---|
| private volatile int code | |
| name | back to summary |
|---|---|
| private final String name | |
| type | back to summary |
|---|---|
| private final Class<?> type | |
| Signature | back to summary |
|---|---|
| pack-priv Signature(Class<?> type, Class<?>[] args) Constructs signature for constructor. | |
| Signature | back to summary |
|---|---|
| pack-priv Signature(Class<?> type, String name, Class<?>[] args) Constructs signature for method. | |
| addHashCode | back to summary |
|---|---|
| private static int addHashCode(int code, Object object) Adds hash code value if specified object. This is a part of the algorithm suggested in Effective Java, Item 8.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. Indicates whether some other object is "equal to" this one.
| |
| getArgs | back to summary |
|---|---|
| pack-priv Class | |
| getName | back to summary |
|---|---|
| pack-priv String getName() | |
| getType | back to summary |
|---|---|
| pack-priv Class | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value for the object.
This method is supported for the benefit of hashtables
such as
| |
| isEqual | back to summary |
|---|---|
| private static boolean isEqual(Object obj1, Object obj2) Indicates whether some object is "equal to" another one.
This method supports | |
| isEqual | back to summary |
|---|---|
| private static boolean isEqual(Class<?>[] args1, Class<?>[] args2) Indicates whether some array is "equal to" another one.
This method supports | |