Skip to content

Commit

Permalink
remove 'javafx.util.Pair'
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfeng committed Aug 30, 2020
1 parent de8594b commit 98963ee
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import com.squareup.javapoet.*;

import channel.helper.UseOrdinal;
import javafx.util.Pair;

import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
Expand Down
19 changes: 19 additions & 0 deletions processor/src/main/java/channel/processor/Pair.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package channel.processor;

public class Pair<K, V> {
private K key;
private V value;

public Pair(K key, V value) {
this.key = key;
this.value = value;
}

public K getKey() {
return key;
}

public V getValue() {
return value;
}
}

0 comments on commit 98963ee

Please sign in to comment.