Entity<T extends Object> constructor
Entity<T extends Object> (
- T value
Creates a new instance of Entity with the specified value
.
Implementation
Entity(this.value) {
// Initialize the key and hash code during construction for efficiencient
// lookups.
_key = _makeKey(value);
_hashCode = _key.hashCode;
}