Extension SDK 10.1.3.36.73

oracle.javatools.editor.gutter
Class LineGutterPlugin.MarkComparator

java.lang.Object
  extended byoracle.javatools.editor.gutter.LineGutterPlugin.MarkComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
LineGutterPlugin

protected static final class LineGutterPlugin.MarkComparator
extends java.lang.Object
implements java.util.Comparator

Comparator for our marks, ordering them by line, then by mark order.


Constructor Summary
protected LineGutterPlugin.MarkComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares its two arguments for order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

LineGutterPlugin.MarkComparator

protected LineGutterPlugin.MarkComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

Specified by:
compare in interface java.util.Comparator

Extension SDK 10.1.3.36.73

 

Copyright © 1997, 2005, Oracle.All rights reserved.