changeset 997:c43894f26e50

Pair class
author Devel 2
date Mon, 30 Sep 2019 08:24:00 +0200
parents 14489dda952a
children 3f116e71c1cd
files stress-tester/src/main/java/com/passus/st/Pair.java
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stress-tester/src/main/java/com/passus/st/Pair.java	Mon Sep 30 08:24:00 2019 +0200
@@ -0,0 +1,20 @@
+package com.passus.st;
+
+public final class Pair<K, V> {
+
+    private final K value1;
+    private final V value2;
+
+    public Pair(K value1, V value2) {
+        this.value1 = value1;
+        this.value2 = value2;
+    }
+
+    public K getValue1() {
+        return value1;
+    }
+
+    public V getValue2() {
+        return value2;
+    }
+}