Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package HashMap;
- /**
- * Created by unrealWombat on 22/05/2017.
- */
- public class KeyValuePair {
- private String key;
- private int value;
- private KeyValuePair next = null;
- public KeyValuePair(String key, int value) {
- this.key = key;
- this.value =value;
- }
- public String getKey() {
- return key;
- }
- public int getValue() {
- return value;
- }
- public void setValue(int value) {
- this.value = value;
- }
- public void setNext(KeyValuePair next) {
- this.next = next;
- }
- public KeyValuePair getNext() {
- return next;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement