Deprecated, a replacement class now exists in the JDK.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2659 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -23,12 +23,9 @@ package com.samskivert.util;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A useful building block for implementing one's own {@link Map} classes. Sun
|
* @deprecated As of JDK version 1.6 a replacement is available: java.util.AbstractMap.SimpleEntry.
|
||||||
* has this same damned code in AbstractMap and have idiotically declared it
|
|
||||||
* package protected, with a genius comment saying "This should be made public
|
|
||||||
* as soon as possible. It greatly simplifies the task of implementing Map." No
|
|
||||||
* doubt that comment was added half a decade ago. Thanks guys!
|
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MapEntry<K,V> implements Map.Entry<K,V>
|
public class MapEntry<K,V> implements Map.Entry<K,V>
|
||||||
{
|
{
|
||||||
public MapEntry (K key, V value)
|
public MapEntry (K key, V value)
|
||||||
|
|||||||
Reference in New Issue
Block a user