From a9b14ea2304645f928437f24c365aab8cb9ead30 Mon Sep 17 00:00:00 2001 From: JiangYouhan <3080587852@qq.com> Date: Sat, 9 May 2026 11:58:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20'w8'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- w8/w8.java.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 w8/w8.java.txt diff --git a/w8/w8.java.txt b/w8/w8.java.txt new file mode 100644 index 0000000..9015696 --- /dev/null +++ b/w8/w8.java.txt @@ -0,0 +1,7 @@ +import javafx.util.Pair; + +public class PairSwapper { + public static Pair swap(Pair pair) { + return new Pair<>(pair.getValue(), pair.getKey()); + } +} \ No newline at end of file