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>
public class CommandGroupComparer extends Object implements DtObjectMap.IComparer<CommandGroup>
Comparator for compare a Command Group
-
-
Field Summary
Fields Modifier and Type Field Description static CommandGroupComparerINSTANCEInstance of Command comparer
-
Constructor Summary
Constructors Constructor Description CommandGroupComparer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(CommandGroup a, CommandGroup b)Compares two object for equalityinthashCode(CommandGroup element)Returns the hash code for the given objects.
-
-
-
Field Detail
-
INSTANCE
public static final CommandGroupComparer INSTANCE
Instance of Command comparer
-
-
Method Detail
-
equals
public boolean equals(CommandGroup a, CommandGroup b)
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
public int hashCode(CommandGroup element)
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
-
-