Merge "Add TimestampedValue.toString()"

This commit is contained in:
Neil Fuller
2018-06-14 08:21:27 +00:00
committed by Gerrit Code Review

View File

@@ -72,6 +72,14 @@ public final class TimestampedValue<T> {
return Objects.hash(mReferenceTimeMillis, mValue);
}
@Override
public String toString() {
return "TimestampedValue{"
+ "mReferenceTimeMillis=" + mReferenceTimeMillis
+ ", mValue=" + mValue
+ '}';
}
/**
* Read a {@link TimestampedValue} from a parcel that was stored using
* {@link #writeToParcel(Parcel, TimestampedValue)}.