@ Pure public static < K , V > Pair < K , V > of ( K k , V v ) { return new Pair < K , V > ( k , v ) ; }
Creates a new instance with the given key and value . May be used instead of the constructor for convenience reasons .