}
// ------------------------------------------------------------------------
- // Accessors
+ // ITmfCheckpoint
// ------------------------------------------------------------------------
- /**
- * @return the checkpoint timestamp
+ /* (non-Javadoc)
+ * @see org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint#getTimestamp()
*/
@Override
public ITmfTimestamp getTimestamp() {
return fTimestamp;
}
- /**
- * @return the checkpoint stream location
+ /* (non-Javadoc)
+ * @see org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint#getLocation()
*/
@Override
public ITmfLocation<?> getLocation() {
// Comparable
// ------------------------------------------------------------------------
+ /* (non-Javadoc)
+ * @see org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint#compareTo(org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint)
+ *
+ * Compares the checkpoints timestamp. If either is null, compares the
+ * trace checkpoints locations.
+ */
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
public int compareTo(final ITmfCheckpoint other) {
// Object
// ------------------------------------------------------------------------
+ /* (non-Javadoc)
+ * @see java.lang.Object#hashCode()
+ */
@Override
public int hashCode() {
final int prime = 31;
return result;
}
+ /* (non-Javadoc)
+ * @see java.lang.Object#equals(java.lang.Object)
+ */
@Override
public boolean equals(final Object obj) {
if (this == obj)
return true;
}
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
@Override
@SuppressWarnings("nls")
public String toString() {