edu.mit.jwi.data.compare
Interface ILineComparator
- All Superinterfaces:
- Comparator<String>
- All Known Implementing Classes:
- DataLineComparator, ExceptionLineComparator, IndexLineComparator, SenseKeyLineComparator
public interface ILineComparator
- extends Comparator<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.2.2
- Author:
- Mark A. Finlayson
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 © 2011. All Rights Reserved.