edu.mit.jwi.data.compare
Interface ICommentDetector
- All Superinterfaces:
- java.util.Comparator<java.lang.String>
- All Known Implementing Classes:
- CommentComparator
public interface ICommentDetector
- extends java.util.Comparator<java.lang.String>
A detector for comment lines in data resources. Objects that implement this
interface also serve as comparators that say how comment lines are ordered,
if at all.
- Since:
- JWI 1.0
- Version:
- 2.4.0
- Author:
- Mark A. Finlayson
|
Method Summary |
boolean |
isCommentLine(java.lang.String line)
Returns true if the specified string is a comment line,
false otherwise. |
| Methods inherited from interface java.util.Comparator |
compare, equals |
isCommentLine
boolean isCommentLine(java.lang.String line)
- Returns
true if the specified string is a comment line,
false otherwise.
- Parameters:
line - the line to be analyzed
- Returns:
true if the specified string is a comment line,
false otherwise.
- Throws:
java.lang.NullPointerException - if the specified line is null- Since:
- JWI 1.0
Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.