Namespace: OpenEdge.Core.Collections
Interface
IMap
Parent classes:
Inherits: Progress.Lang.Object

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:IMap
Author(s):hdaniels
Created:Sun Apr 11 01:17:48 EDT 2010
Notes:All methods (and comments) except ToTable matches
Java Map interface.
Collection views are properties
Size is property
/* Returns the number of key-value mappings in this map.




Method Summary
Options Name Purpose
Clear () /* Removes all mappings from this map (optional operation). */
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) /* Returns true if this map contains a mapping for the specified key. */
LOGICAL ContainsValue (Object) /* Returns true if this map maps one or more keys to the specified value.*/
Progress.Lang.Object Get (Object) /* Returns the value to which this map maps the specified key.*/
LOGICAL IsEmpty () /* Returns true if this map contains no key-value mappings.*/
Progress.Lang.Object Put (Object, Object) /* Associates the specified value with the specified key in this map (optional operation).*/
PutAll (IMap) /* Copies all of the mappings from the specified map to this map (optional operation).*/
Progress.Lang.Object Remove (Object) /* Removes the mapping for this key from this map if it is present (optional operation).*/
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 */

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

Clear ()

/* Removes all mappings from this map (optional operation).
Top

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

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

LOGICAL ContainsKey (Object)

/* Returns true if this map contains a mapping for the specified key.
Parameters:
poKey Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL ContainsValue (Object)

/* Returns true if this map maps one or more keys to the specified value.
Parameters:
poValue Progress.Lang.Object
Returns LOGICAL
Top

Progress.Lang.Object Get (Object)

/* Returns the value to which this map maps the specified key.
Parameters:
poKey Progress.Lang.Object
Returns Progress.Lang.Object
Top

LOGICAL IsEmpty ()

/* Returns true if this map contains no key-value mappings.
Returns LOGICAL
Top

Progress.Lang.Object Put (Object, Object)

/* Associates the specified value with the specified key in this map (optional operation).
Parameters:
poKey Progress.Lang.Object
poValue Progress.Lang.Object
Returns Progress.Lang.Object
Top

PutAll (IMap)

/* Copies all of the mappings from the specified map to this map (optional operation).
Parameters:
poMap OpenEdge.Core.Collections.IMap
Top

Progress.Lang.Object Remove (Object)

/* Removes the mapping for this key from this map if it is present (optional operation).
Parameters:
poKey Progress.Lang.Object
Returns Progress.Lang.Object
Top

RemoveAll (ICollection)

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


Property Detail
Top

OpenEdge.Core.Collections.ISet EntrySet

Returns OpenEdge.Core.Collections.ISet
Top

OpenEdge.Core.Collections.ISet KeySet

Returns OpenEdge.Core.Collections.ISet
Top

INTEGER Size

Returns INTEGER
Top

OpenEdge.Core.Collections.ICollection Values

Returns OpenEdge.Core.Collections.ICollection


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15