All Packages Class Hierarchy This Package Previous Next Index
Class edu.vt.marian.common.LinedString
java.lang.Object
|
+----edu.vt.marian.common.LinedString
- public class LinedString
- extends Object
Class name: LinedString
Class description: used to count the number of "\n" in s string
Author: Jianxin Zhao
Finished time: ????, 1998
Known bugs: none
Platform: jdk1.1.5 under UNIX
-
LinedString(Debug)
- this constructor will create a LinedString object
-
count_lines(String)
- this method will return number of "\n"s contained in the string
LinedString
public LinedString(Debug debug)
- this constructor will create a LinedString object
count_lines
public static int count_lines(String s)
- this method will return number of "\n"s contained in the string
All Packages Class Hierarchy This Package Previous Next Index