Namespace: OpenEdge.Core.Collections
Class 
Map
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object
Implements: OpenEdge.Core.Collections.IMap

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:Map
Purpose:Unique Key-Value mapping collection
Author(s):hdaniels
Created:Sun Apr 11 01:35:13 EDT 2010




Method Summary
Options Name Purpose
# Clear ()
# LOGICAL ContainsAllKeys (ICollection) /* Returns true if this map maps one or more keys to the specified value.*/
# LOGICAL ContainsAllValues (ICollection) /* Returns true if this map maps one or more keys to the specified value.*/
# LOGICAL ContainsKey (Object)
# LOGICAL ContainsValue (Object)
# LOGICAL Equals (Object) /* Returns true if the given object is also a map and the two Maps represent the same mappings. */
# Progress.Lang.Object Get (Object) /* This must be the buffer handle passed to the constructor of the 2 sets of this Map (they all call back here for find of BufferHandle) */
# LOGICAL IsEmpty ()
# Progress.Lang.Object Put (Object, Object) /* add entry to the map, return old value of any. Note that return of unknown could also mean that the old mapped value was unknown... (check Size before and after) */
# PutAll (IMap)
# Progress.Lang.Object Remove (Object) /* return old value of any. Note that return of unknown could also mean that the old mapped value was unknown. */
# RemoveAll (ICollection) /** Removes the mappings for all key from this map if it is present (optional operation). @param ICollection A collection of keys to remove */

Constructor Summary
Options Name Purpose
# Map ()
# Map (IMap)

Property Summary
Options Name Purpose
# OpenEdge.Core.Collections.ISet EntrySet
# OpenEdge.Core.Collections.ISet KeySet
# INTEGER Size
# OpenEdge.Core.Collections.ICollection Values


Method Detail
Top

PROTECTED Clear ()

Top

PROTECTED LOGICAL ContainsAllKeys (ICollection)

/* Returns true if this map maps one or more keys to the specified value.
Parameters:
poKeys OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PROTECTED LOGICAL ContainsAllValues (ICollection)

/* Returns true if this map maps one or more keys to the specified value.
Parameters:
poValues OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PROTECTED LOGICAL ContainsKey (Object)

Parameters:
poKey Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL ContainsValue (Object)

Parameters:
poValue Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL Equals (Object)

/* Returns true if the given object is also a map and the two Maps represent the same mappings.
Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED Progress.Lang.Object Get (Object)

/* This must be the buffer handle passed to the constructor of the 2 sets of this Map
(they all call back here for find of BufferHandle)
Parameters:
poKey Progress.Lang.Object
Returns Progress.Lang.Object
Top

PROTECTED LOGICAL IsEmpty ()

Returns LOGICAL
Top

PROTECTED Progress.Lang.Object Put (Object, Object)

/* add entry to the map, return old value of any. Note that return of unknown could
also mean that the old mapped value was unknown... (check Size before and after)
Parameters:
poKey Progress.Lang.Object
poValue Progress.Lang.Object
Returns Progress.Lang.Object
Top

PROTECTED PutAll (IMap)

Parameters:
poMap OpenEdge.Core.Collections.IMap
Top

PROTECTED Progress.Lang.Object Remove (Object)

/* return old value of any. Note that return of unknown could
also mean that the old mapped value was unknown.
Parameters:
poKey Progress.Lang.Object
Returns Progress.Lang.Object
Top

PROTECTED RemoveAll (ICollection)

Purpose: Removes the mappings for all key from this map if it is present (optional operation).
Parameters:
poKeys OpenEdge.Core.Collections.ICollection


Constructor Detail
Top

PROTECTED Map ()

Top

PROTECTED Map (IMap)

Parameters:
poMap OpenEdge.Core.Collections.IMap


Property Detail
Top

PROTECTED OpenEdge.Core.Collections.ISet EntrySet

Returns OpenEdge.Core.Collections.ISet
Top

PROTECTED OpenEdge.Core.Collections.ISet KeySet

Returns OpenEdge.Core.Collections.ISet
Top

PROTECTED INTEGER Size

Returns INTEGER
Top

PROTECTED OpenEdge.Core.Collections.ICollection Values

Returns OpenEdge.Core.Collections.ICollection


10.27.2015 12:36:24