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