Package com._1c.g5.v8.dt.form.service
Interface DtObjectMap.IComparer<K>
-
- All Known Implementing Classes:
CommandComparer,CommandGroupComparer,DataPathComparator
- Enclosing class:
- DtObjectMap<TKey,TValue>
public static interface DtObjectMap.IComparer<K>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(K a, K b)Compares two object for equalityinthashCode(K element)Returns the hash code for the given objects.
-
-
-
Method Detail
-
equals
boolean equals(K a, K b)
Compares two object for equality- Parameters:
a- the first elementb- the second element- Returns:
- whether a is equal to b
-
hashCode
int hashCode(K element)
Returns the hash code for the given objects.- Parameters:
element- the element the hash code is calculated for- Returns:
- the hash code for the given object
-
-