@Test public void hasExtraValue() { assertEquals(42, message.getExtras().get(key)); }
public Map<String, Object> getExtras() { return mExtras; }
VehicleMessage implements Parcelable, Comparable<VehicleMessage> { public Map<String, Object> getExtras() { return mExtras; } }
VehicleMessage implements Parcelable, Comparable<VehicleMessage> { public Map<String, Object> getExtras() { return mExtras; } VehicleMessage();  VehicleMessage(Long timestamp);  VehicleMessage(Long timestamp, Map<String, Object> extras);  VehicleMessage(Map<String, Object> extras); protected  VehicleMessage(Parcel in); }
VehicleMessage implements Parcelable, Comparable<VehicleMessage> { public Map<String, Object> getExtras() { return mExtras; } VehicleMessage();  VehicleMessage(Long timestamp);  VehicleMessage(Long timestamp, Map<String, Object> extras);  VehicleMessage(Map<String, Object> extras); protected  VehicleMessage(Parcel in); void setTimestamp(Long timestamp); boolean isTimestamped(); Long getTimestamp(); Date getDate(); void setExtras(Map<String, Object> extras); boolean hasExtras(); Map<String, Object> getExtras(); void untimestamp(); void timestamp(); NamedVehicleMessage asNamedMessage(); SimpleVehicleMessage asSimpleMessage(); EventedSimpleVehicleMessage asEventedMessage(); CanMessage asCanMessage(); CommandResponse asCommandResponse(); DiagnosticRequest asDiagnosticRequest(); DiagnosticResponse asDiagnosticResponse(); KeyedMessage asKeyedMessage(); @Override String toString(); @Override int describeContents(); int compareTo(VehicleMessage other); @Override boolean equals(Object obj); @Override void writeToParcel(Parcel out, int flags); }
VehicleMessage implements Parcelable, Comparable<VehicleMessage> { public Map<String, Object> getExtras() { return mExtras; } VehicleMessage();  VehicleMessage(Long timestamp);  VehicleMessage(Long timestamp, Map<String, Object> extras);  VehicleMessage(Map<String, Object> extras); protected  VehicleMessage(Parcel in); void setTimestamp(Long timestamp); boolean isTimestamped(); Long getTimestamp(); Date getDate(); void setExtras(Map<String, Object> extras); boolean hasExtras(); Map<String, Object> getExtras(); void untimestamp(); void timestamp(); NamedVehicleMessage asNamedMessage(); SimpleVehicleMessage asSimpleMessage(); EventedSimpleVehicleMessage asEventedMessage(); CanMessage asCanMessage(); CommandResponse asCommandResponse(); DiagnosticRequest asDiagnosticRequest(); DiagnosticResponse asDiagnosticResponse(); KeyedMessage asKeyedMessage(); @Override String toString(); @Override int describeContents(); int compareTo(VehicleMessage other); @Override boolean equals(Object obj); @Override void writeToParcel(Parcel out, int flags); static final String EXTRAS_KEY; static final Parcelable.Creator<VehicleMessage> CREATOR; }