Package org.mpi_sws.jmc.util
Interface PartialOrder<T>
- All Known Implementing Classes:
LamportVectorClock
public interface PartialOrder<T>
Represents a generic partial order relation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents the relation between two objects. -
Method Summary
Modifier and TypeMethodDescriptionCompares two objects of type T - the current instance and the other object.
-
Method Details
-
compare
Compares two objects of type T - the current instance and the other object.- Parameters:
other- the other object to compare to.- Returns:
- The relation between the two objects.
-