public abstract class ValueType extends Object
Object.hashCode() and
Object.equals(Object) using a sequence of fields. If two instances have the same runtime
class and the same sequence of fields, then they are considered equal.
This class implements the two Object methods mentioned above as well as
Object.toString().
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValueType.FieldReceiver
An object that receives fields (names and current values) for processing.
|
| Constructor and Description |
|---|
ValueType() |
protected abstract void addFields(ValueType.FieldReceiver fields)
Copyright © 2015 Google, Inc.. All rights reserved.