< prev index next >

src/java.management/share/classes/javax/management/openmbean/TabularDataSupport.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn


  28 
  29 
  30 // java import
  31 //
  32 import com.sun.jmx.mbeanserver.GetPropertyAction;
  33 import com.sun.jmx.mbeanserver.Util;
  34 import java.io.IOException;
  35 import java.io.ObjectInputStream;
  36 import java.io.Serializable;
  37 import java.security.AccessController;
  38 import java.util.ArrayList;
  39 import java.util.Arrays;
  40 import java.util.Collection;
  41 import java.util.Collections;
  42 import java.util.HashMap;
  43 import java.util.Iterator;
  44 import java.util.LinkedHashMap;
  45 import java.util.List;
  46 import java.util.Map;
  47 import java.util.Set;
  48 import jdk.internal.misc.SharedSecrets;
  49 
  50 // jmx import
  51 //
  52 
  53 
  54 /**
  55  * The {@code TabularDataSupport} class is the <i>open data</i>
  56  * class which implements the {@code TabularData}
  57  * and the {@code Map} interfaces, and which is internally based on a hash map data structure.
  58  *
  59  * @since 1.5
  60  */
  61 /* It would make much more sense to implement
  62    Map<List<?>,CompositeData> here, but unfortunately we cannot for
  63    compatibility reasons.  If we did that, then we would have to
  64    define e.g.
  65    CompositeData remove(Object)
  66    instead of
  67    Object remove(Object).
  68 




  28 
  29 
  30 // java import
  31 //
  32 import com.sun.jmx.mbeanserver.GetPropertyAction;
  33 import com.sun.jmx.mbeanserver.Util;
  34 import java.io.IOException;
  35 import java.io.ObjectInputStream;
  36 import java.io.Serializable;
  37 import java.security.AccessController;
  38 import java.util.ArrayList;
  39 import java.util.Arrays;
  40 import java.util.Collection;
  41 import java.util.Collections;
  42 import java.util.HashMap;
  43 import java.util.Iterator;
  44 import java.util.LinkedHashMap;
  45 import java.util.List;
  46 import java.util.Map;
  47 import java.util.Set;
  48 import jdk.internal.access.SharedSecrets;
  49 
  50 // jmx import
  51 //
  52 
  53 
  54 /**
  55  * The {@code TabularDataSupport} class is the <i>open data</i>
  56  * class which implements the {@code TabularData}
  57  * and the {@code Map} interfaces, and which is internally based on a hash map data structure.
  58  *
  59  * @since 1.5
  60  */
  61 /* It would make much more sense to implement
  62    Map<List<?>,CompositeData> here, but unfortunately we cannot for
  63    compatibility reasons.  If we did that, then we would have to
  64    define e.g.
  65    CompositeData remove(Object)
  66    instead of
  67    Object remove(Object).
  68 


< prev index next >