Namespace: OpenEdge.Core.Collections
Type: Class ObjectEqualityComparer
Parent Classes:
Inherits: Progress.Lang.Object


Copyright (c) 2023 by Progress Software Corporation. All rights reserved.
File:ObjectEqualityComparer
Purpose:Default <Object> implementation for HashMap instances
Author(s):egarcia, dugrau
Created:Mon May 15 00:18:04 EDT 2023
Notes:Basic implementation for use with HashMap<K,V> in lieu
of using Key objects with the IHashable interface.
This will work for custom classes which have not yet
implemented the expected methods for HashCode() and
a custom Equals() operation.



Method Summary
  Options Name Purpose
  LOGICAL Equals (Object, Object)
  INTEGER HashCode (Object)

Method Detail
Top

LOGICAL Equals (Object, Object)

Parameters:
objectRef Progress.Lang.Object
 
otherObj Progress.Lang.Object
 
Returns LOGICAL
 
Top

INTEGER HashCode (Object)

Parameters:
objectValue Progress.Lang.Object
 
Returns INTEGER