Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.io.pof
Class PofHelper.WriteableEntrySetMap

    java.lang.Object
      java.util.AbstractMap
          com.tangosol.io.pof.PofHelper.WriteableEntrySetMap

All Implemented Interfaces:
  java.util.Map

Enclosing class:
  PofHelper

    public static class PofHelper.WriteableEntrySetMap

extends java.util.AbstractMap

Immutable Map implementation backed by a Set of Map.Entry objects.

Nested Class Summary

Nested classes/interfaces inherited from interface java.util.Map
`java.util.Map.Entry`

Constructor Summary
`PofHelper.WriteableEntrySetMap(java.util.Map.Entry entry)` Construct a new WriteableEntrySetMap that is backed by a single Map.Entry object.
`PofHelper.WriteableEntrySetMap(java.util.Set setEntries)` Construct a new WriteableEntrySetMap that is backed by the given Set of Map.Entry objects.

Method Summary
`java.util.Set` | `entrySet()` Returns a set view of the mappings contained in this map.

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

Constructor Detail

### PofHelper.WriteableEntrySetMap

    public PofHelper.WriteableEntrySetMap(java.util.Map.Entry entry)

  Construct a new WriteableEntrySetMap that is backed by a single Map.Entry object.

  Parameters:
    `entry` - the single Map.Entry in the new WriteableEntrySetMap

### PofHelper.WriteableEntrySetMap

    public PofHelper.WriteableEntrySetMap(java.util.Set setEntries)

  Construct a new WriteableEntrySetMap that is backed by the given Set of Map.Entry objects.

  Parameters:
    `setEntries` - a Set of Map.Entry objects in the new WriteableEntrySetMap

Method Detail

### entrySet

    public java.util.Set entrySet()

  Returns a set view of the mappings contained in this map. Each element in the returned set is a `Map.Entry`. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress, the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the `Iterator.remove`, `Set.remove`, `removeAll`, `retainAll` and `clear` operations. It does not support the `add` or `addAll` operations.

  Specified by:
    `entrySet` in interface `java.util.Map`
  Specified by:
    `entrySet` in class `java.util.AbstractMap`
  Returns:
    a set view of the mappings contained in this map.

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.