com.openxc.units.Unit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openxc-it Show documentation
Show all versions of openxc-it Show documentation
Instrumentation test suite for OpenXC library
The newest version!
package com.openxc.units;
/**
* The base interface for all values returned by a
* {@link com.openxc.measurements.BaseMeasurement}.
*/
public abstract class Unit {
public abstract Object getSerializedValue();
@Override
public boolean equals(Object obj) {
if(this == obj) {
return true;
}
if(obj == null) {
return false;
}
if(getClass() != obj.getClass()) {
return false;
}
return true;
}
}