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 void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set
entrySet()
boolean
equals(Object o)
Object
get(Object key)
int
hashCode()
boolean
isEmpty()
Collection
keys()
Set
keySet()
Object
put(Object key, Object value)
void
putAll(Map t)
Object
remove(Object key)
void
set(int index, Object value)
void
set(int index, Object key, Object value)
int
size()
Collection
values()
-
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:
containsKey
in interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in 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)
-
-