    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class collections.CheckedMap

    java.lang.Object
       |
       +----collections.CheckedCollection
               |
               +----collections.CheckedMap

public class CheckedMap
extends CheckedCollection
implements UpdatableMap

CheckedMap supports standard update operations on maps.

##

CheckedMap(UpdatableMap)
  Wrap Map m inside a checker

##

aKeyOf(Object)
  Checks collections.Map.aKeyOf according to its specification
at(Object)
  Checks collections.Map.at according to its specification
canIncludeKey(Object)
  Checks collections.Map.canIncludeKey according to its specification
checkPut(Map, Map, Object, Object, boolean)
  Helper for checking put*
checkRemoveAt(Map, Map, Object, boolean)
  Helper for checking remov*
clone()
  Make a Checked clone of underlying collection
includesAt(Object, Object)
  Checks collections.Map.includesAt according to its specification
includesKey(Object)
  Checks collections.Map.includesKey according to its specification
keys()
  Checks collections.Map.keys according to its specification
prev()
  return casted version of CheckedCollection.prev.
putAt(Object, Object)
  Checks collections.UpdatableMap.putAt according to its specification
puttingAt(Object, Object)
  Checks collections.Map.puttingAt.
removeAt(Object)
  Checks collections.UpdatableMap.removeAt according to its specification
removingAt(Object)
  Checks collections.Map.removingAt
replaceElement(Object, Object, Object)
  Checks collections.UpdatableMap.replaceElement according to its specification
thys()
  return casted version of CheckedCollection.thys.

##

CheckedMap

     public CheckedMap(UpdatableMap m)

  Wrap Map m inside a checker

##

clone

     protected Object clone() throws CloneNotSupportedException

  Make a Checked clone of underlying collection

  Overrides:
    clone in class CheckedCollection

thys

     public UpdatableMap thys()

  return casted version of CheckedCollection.thys.

prev

     public UpdatableMap prev()

  return casted version of CheckedCollection.prev.

canIncludeKey

     public boolean canIncludeKey(Object key)

  Checks collections.Map.canIncludeKey according to its specification

  See Also:
    canIncludeKey

includesKey

     public synchronized boolean includesKey(Object key)

  Checks collections.Map.includesKey according to its specification

  See Also:
    includesKey

includesAt

     public synchronized boolean includesAt(Object key,
                                            Object value)

  Checks collections.Map.includesAt according to its specification

  See Also:
    includesAt

keys

     public synchronized CollectionEnumeration keys()

  Checks collections.Map.keys according to its specification

  See Also:
    keys

at

     public synchronized Object at(Object key) throws NoSuchElementException

  Checks collections.Map.at according to its specification

  See Also:
    at

aKeyOf

     public synchronized Object aKeyOf(Object element)

  Checks collections.Map.aKeyOf according to its specification

  See Also:
    aKeyOf

putAt

     public synchronized void putAt(Object key,
                                    Object element) throws IllegalElementException

  Checks collections.UpdatableMap.putAt according to its specification

  See Also:
    putAt

puttingAt

     public synchronized Map puttingAt(Object key,
                                       Object element) throws IllegalElementException

  Checks collections.Map.puttingAt.

  See Also:
    puttingAt

removeAt

     public synchronized void removeAt(Object key)

  Checks collections.UpdatableMap.removeAt according to its specification

  See Also:
    removeAt

removingAt

     public synchronized Map removingAt(Object key)

  Checks collections.Map.removingAt

  See Also:
    removingAt

replaceElement

     public synchronized void replaceElement(Object key,
                                             Object oldElement,
                                             Object newElement) throws IllegalElementException

  Checks collections.UpdatableMap.replaceElement according to its specification

  See Also:
    replaceElement

checkPut

     protected void checkPut(Map nc,
                             Map oc,
                             Object key,
                             Object element,
                             boolean verchk)

  Helper for checking put*

checkRemoveAt

     protected void checkRemoveAt(Map nc,
                                  Map oc,
                                  Object key,
                                  boolean verchk)

  Helper for checking remov*

    All Packages  Class Hierarchy  This Package  Previous  Next  Index