001package com.box.sdkgen.internal.utils; 002 003public class Entry<K, V> { 004 private final K key; 005 private final V value; 006 007 public K getKey() { 008 return key; 009 } 010 011 public V getValue() { 012 return value; 013 } 014 015 private Entry(K key, V value) { 016 this.key = key; 017 this.value = value; 018 } 019 020 public static <K, V> Entry<K, V> of(K key, V value) { 021 return new Entry<>(key, value); 022 } 023}