Package com.sun.xml.rpc.util
Class StructMap
- java.lang.Object
-
- com.sun.xml.rpc.util.StructMap
-
- All Implemented Interfaces:
Map
public class StructMap extends Object implements Map
A Map that keeps track of the order in which entries are made. The
values()method returns an unmodifiable List of the values in the order in which they were added. A new method,keys()has been added. It returns an unmodifiable List of the keys in the order in which they were added.- Author:
- JAX-RPC Development Team
-
-
Constructor Summary
Constructors Constructor Description StructMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)SetentrySet()booleanequals(Object o)Objectget(Object key)inthashCode()booleanisEmpty()Collectionkeys()SetkeySet()Objectput(Object key, Object value)voidputAll(Map t)Objectremove(Object key)voidset(int index, Object value)voidset(int index, Object key, Object value)intsize()Collectionvalues()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap
-
values
public Collection values()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
keys
public Collection keys()
-
set
public void set(int index, Object value)
-
-