[wpimath] Add Pair.toString() (#6463)

This commit is contained in:
Wispy
2024-03-25 01:51:08 -05:00
committed by GitHub
parent 85ea5f8497
commit 4a548935d3

View File

@@ -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);
}
}