java.lang
Interface Comparable<T>

All Known Implementing Classes:
AbstractServerBasedJob, AbstractStringWrapper, AddAnnotationAction.AddHow, Alignment, AlignmentType, AnalysisFailed.Type, AnchorPoint, AnnotationType, AttractionFormula, AutomationJob, Boolean, BoolIntType, BoolTFType, CancelManager.CancelStatus, Character, CheckAvailabilityJob, Colors.Color, CombineOperator, Command, Costs, CrossingMinimizationStrategy, CycleBreakingStrategy, DataType, DecorationType, Direction, EdgeConstraint, EdgeLabelPlacement, EdgeRouting, EdgeType, EdgeType, EdgeType, EditorDefinition, EditorIdWrapper, EditorJob, ElementType, ElementType, EndpointStylesType, EndpointTypeType, Enum, ExampleElement, ExampleResource.Type, Execution, ExporterOption, FontStretchType, FontStyleType, FontVariantType, FontWeightType, ForceModelStrategy, GraphEdgedefaultType, GraphEdgeidsType, GraphNodeidsType, GraphOrderType, GraphProperties, GraphTransformer.Mode, GraphvizTool.Cleanup, IDebugCanvas.Color, ImporterOption, InLayerConstraint, Integer, InteractionLevel, IntermediateLayoutProcessor, org.eclipse.core.internal.jobs.InternalJob, IRenderingProvider.CollapseStatus, JavaClass, Job, KeyForType, KeyTypeType, KiemPropertyKeyWrapper, KiviMenuContributionService.LocationScheme, KlotsJob, KSBasEMenuContributionService.LocationScheme, KSlimEdge, KSlimEdge.Bend.Type, KSlimFace, KSlimGraphElement, KSlimNode, KSlimNode.IncEntry.Type, KSlimNode.Side, Layer, LayerConstraint, LayeredGraph, LayeringStrategy, LayoutAlgorithm, LayoutOptionData, LayoutOptionData.Target, LayoutOptionData.Type, LEdge, LGraphElement, LinearSegment, LineStyleTypeType, LLabel, LNode, Long, LPort, LShape, ModelSynchronizerJob, Movement.MovementType, NeatoModel, NodeGroup, NodeType, NXTConnectionState, OperatorType, Orientation, OverlapMode, PartTrigger.EventType, PatternType, PortConstraints, PortSide, PortType, Property, QualityVsSpeed, RandomGraphGenerator.EdgeDetermination, RandomGraphGenerator.GraphType, RefactoringListener.OP, ResultStatus, RetentionPolicy, RunTimeOptions, ServerConfigs.ServerConfigError, ServerDetailsJob, Shape, ShapeType, SJLogger.LogMsgTyp, SourceType, Speed, SplineGenerator.Curvature, StateType, SyncChartSynchronizerJob, TransformationUtil.TransformationType, TransformType, TransitionType, TypeType, UpdateResourceFactoryImpl.Synccharts_MM_Version, ValueType, XtextBasedEditorActivationChangeTrigger.XtextModelChangeState.EventType

public interface Comparable<T>

Rating red

Method Summary
 int compareTo(T o)
          Compares this with another Object.
 

Method Detail

compareTo

int compareTo(T o)
Compares this with another Object. Returns -1 if this object is smaller, 0 if both objects are equal and 1 if this object is bigger.

Parameters:
o - the object to compare with
Returns:
one of the values -1, 0, 1