toString
This commit is contained in:
parent
8d031b98b1
commit
9940193eb0
|
@ -135,4 +135,11 @@ public class PCanIoStream extends AbstractIoStream {
|
|||
public IncomingDataBuffer getDataBuffer() {
|
||||
return dataBuffer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "PCanIoStream{" + PCanHelper.CHANNEL + ", " +
|
||||
"totalCounter=" + totalCounter +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,6 +40,13 @@ public class RateCounter {
|
|||
timeStamps.add(new Pair(timestamp, 1));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "RateCounter{" +
|
||||
getSizeForUnitTest() +
|
||||
'}';
|
||||
}
|
||||
|
||||
private static class Pair {
|
||||
private final long timestamp;
|
||||
private final int value;
|
||||
|
|
Loading…
Reference in New Issue