Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.sigar.util
Class ReferenceMap

    java.lang.Object
      java.util.AbstractMap
          org.hyperic.sigar.util.ReferenceMap

All Implemented Interfaces:
  java.util.Map

Direct Known Subclasses:
  WeakReferenceMap

public class ReferenceMap
extends java.util.AbstractMap

Nested Class Summary
`protected static interface` | `ReferenceMap.MapReference`
`protected static class` | `ReferenceMap.SoftValue`
`protected static class` | `ReferenceMap.WeakValue`

Nested classes inherited from class java.util.Map
`java.util.Map.Entry`

Field Summary
`protected java.util.Map` | `map`
`protected java.lang.ref.ReferenceQueue` | `queue`

Constructor Summary
`ReferenceMap()`
`ReferenceMap(java.util.Map map)`

Method Summary
`void` | `clear()`
`java.util.Set` | `entrySet()`
`java.lang.Object` | `get(java.lang.Object key)`
`static java.util.Map` | `newInstance()`
`static java.util.Map` | `newInstance(java.util.Map map)`
`protected void` | `poll()`
`java.lang.Object` | `put(java.lang.Object key, java.lang.Object value)`
`java.lang.Object` | `remove(java.lang.Object key)`
`int` | `size()`
`static java.util.Map` | `synchronizedMap()`

Methods inherited from class java.util.AbstractMap
`clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### queue

    protected java.lang.ref.ReferenceQueue queue

### map

    protected java.util.Map map

Constructor Detail

### ReferenceMap

    public ReferenceMap()

### ReferenceMap

    public ReferenceMap(java.util.Map map)

Method Detail

### synchronizedMap

    public static java.util.Map synchronizedMap()

### newInstance

    public static java.util.Map newInstance()

### newInstance

    public static java.util.Map newInstance(java.util.Map map)

### get

    public java.lang.Object get(java.lang.Object key)

### put

    public java.lang.Object put(java.lang.Object key,
                                java.lang.Object value)

### remove

    public java.lang.Object remove(java.lang.Object key)

### clear

    public void clear()

### size

    public int size()

### entrySet

    public java.util.Set entrySet()

### poll

    protected void poll()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 Hyperic. All Rights Reserved.