Package mc.core.model.base
Class EntityToEntity.EntityToEntityComparator
java.lang.Object
mc.core.model.base.EntityToEntity.EntityToEntityComparator
- All Implemented Interfaces:
Comparator<EntityToEntity>
- Enclosing class:
- EntityToEntity
public static class EntityToEntity.EntityToEntityComparator
extends Object
implements Comparator<EntityToEntity>
comparator for EntityToAttribute, compare by prio.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(EntityToEntity e2e1, EntityToEntity e2e2) always compare by prio.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
EntityToEntityComparator
public EntityToEntityComparator()
-
-
Method Details
-
compare
always compare by prio.- Specified by:
comparein interfaceComparator<EntityToEntity>
-