Package i5.las2peer.persistency.helper
Class ArtifactPartComparator
java.lang.Object
i5.las2peer.persistency.helper.ArtifactPartComparator
- All Implemented Interfaces:
Comparator<NetworkArtifact>
This class can be used to sort a collection of
NetworkArtifact according to their part index.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArtifactPartComparatorThis is a singleton instance that should be used in general. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
This is a singleton instance that should be used in general.
-
-
Constructor Details
-
ArtifactPartComparator
public ArtifactPartComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<NetworkArtifact>
-