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.net.partition
Class PartitionSplittingBackingMap.MaskedPartitionMap

    java.lang.Object
      com.tangosol.util.Base
          com.tangosol.util.AbstractKeyBasedMap
              com.tangosol.net.partition.PartitionSplittingBackingMap.MaskedPartitionMap

All Implemented Interfaces:
  java.util.Map

Enclosing class:
  PartitionSplittingBackingMap

    public class PartitionSplittingBackingMap.MaskedPartitionMap

extends AbstractKeyBasedMap
implements java.util.Map

A read-only view into a subset of backing maps managed by the underlying PartitionSplittingBackingMap.

Nested Class Summary

Nested classes/interfaces inherited from class com.tangosol.util.AbstractKeyBasedMap
`AbstractKeyBasedMap.EntrySet, AbstractKeyBasedMap.KeySet, AbstractKeyBasedMap.ValuesCollection`

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

Constructor Summary
`protected` | `PartitionSplittingBackingMap.MaskedPartitionMap(PartitionSet partMask)` Construct MaskedPartitionMap based on the specified PartitionSet.

Method Summary
`boolean` | `containsKey(java.lang.Object oKey)` Returns `true` if this map contains a mapping for the specified key.
`java.lang.Object` | `get(java.lang.Object oKey)` Returns the value to which this map maps the specified key.
`boolean` | `isEmpty()` Returns `true` if this map contains no key-value mappings.
`protected java.util.Iterator` | `iterateKeys()` Create an iterator over the keys in this Map.
`int` | `size()` Returns the number of key-value mappings in this map.

Methods inherited from class com.tangosol.util.AbstractKeyBasedMap
`clear, clone, containsValue, entrySet, equals, getAll, hashCode, instantiateEntrySet, instantiateKeySet, instantiateValues, keySet, put, putAll, remove, removeBlind, toString, values`

Methods inherited from interface java.util.Map
`clear, containsValue, entrySet, equals, hashCode, keySet, put, putAll, remove, values`

Constructor Detail

### PartitionSplittingBackingMap.MaskedPartitionMap

    protected PartitionSplittingBackingMap.MaskedPartitionMap(PartitionSet partMask)

  Construct MaskedPartitionMap based on the specified PartitionSet.

  Parameters:
    `partMask` - the partition set that indicates which backing maps are represented by this MaskedPartitionMap

Method Detail

### get

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

  Returns the value to which this map maps the specified key.

  Specified by:
    `get` in interface `java.util.Map`
  Specified by:
    `get` in class `AbstractKeyBasedMap`
  Parameters:
    `oKey` - the key object
  Returns:
    the value to which this map maps the specified key, or null if the map contains no mapping for this key

### containsKey

    public boolean containsKey(java.lang.Object oKey)

  Returns `true` if this map contains a mapping for the specified key.

  Specified by:
    `containsKey` in interface `java.util.Map`
  Overrides:
    `containsKey` in class `AbstractKeyBasedMap`
  Returns:
    `true` if this map contains a mapping for the specified key, `false` otherwise.

### isEmpty

    public boolean isEmpty()

  Returns `true` if this map contains no key-value mappings.

  Specified by:
    `isEmpty` in interface `java.util.Map`
  Overrides:
    `isEmpty` in class `AbstractKeyBasedMap`
  Returns:
    `true` if this map contains no key-value mappings

### size

    public int size()

  Returns the number of key-value mappings in this map.

  Specified by:
    `size` in interface `java.util.Map`
  Overrides:
    `size` in class `AbstractKeyBasedMap`
  Returns:
    the number of key-value mappings in this map

### iterateKeys

    protected java.util.Iterator iterateKeys()

  Create an iterator over the keys in this Map. The Iterator must support remove() if the Map supports removal.

  Specified by:
    `iterateKeys` in class `AbstractKeyBasedMap`
  Returns:
    a new instance of an Iterator over the keys 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.