mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpimath] Add Pair.toString() (#6463)
This commit is contained in:
@@ -55,4 +55,9 @@ public class Pair<A, B> {
|
||||
public static <A, B> Pair<A, B> of(A a, B b) {
|
||||
return new Pair<>(a, b);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("Pair(%s, %s)", m_first, m_second);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user