edu.mit.jwi.data.compare
Interface ILineComparator

All Superinterfaces:
java.util.Comparator<java.lang.String>
All Known Implementing Classes:
DataLineComparator, ExceptionLineComparator, IndexLineComparator, SenseKeyLineComparator

public interface ILineComparator
extends java.util.Comparator<java.lang.String>

A string comparator that may have an associated comment detector. The compare method of this class will throw an IllegalArgumentException if the line data passed to that method is ill-formed.

Since:
JWI 2.0.0
Version:
2.4.0
Author:
Mark A. Finlayson

Method Summary
 ICommentDetector getCommentDetector()
          Returns the comment detector instance associated with this line comparator, or null if one does not exist.
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

getCommentDetector

ICommentDetector getCommentDetector()
Returns the comment detector instance associated with this line comparator, or null if one does not exist.

Returns:
the comment detector associated with this line comparator, or null if there is none
Since:
JWI 2.0.0


Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.