Package com._1c.g5.v8.dt.form.service
Class CommandComparer
java.lang.Object
com._1c.g5.v8.dt.form.service.CommandComparer
- All Implemented Interfaces:
DtObjectMap.IComparer<Command>
Comparator for compare a Command.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Instance of Command comparer
-
-
Constructor Details
-
CommandComparer
public CommandComparer()
-
-
Method Details
-
equals
Description copied from interface:DtObjectMap.IComparer
Compares two object for equality- Specified by:
equals
in interfaceDtObjectMap.IComparer<Command>
- Parameters:
a
- the first elementb
- the second element- Returns:
- whether a is equal to b
-
hashCode
Description copied from interface:DtObjectMap.IComparer
Returns the hash code for the given objects.- Specified by:
hashCode
in interfaceDtObjectMap.IComparer<Command>
- Parameters:
element
- the element the hash code is calculated for- Returns:
- the hash code for the given object
-