org.egothor.text
Class StringWithWeights
java.lang.Object
org.egothor.text.Stringer
org.egothor.text.StringWithWeights
public class StringWithWeights extends Stringer
This string class works this way: extra spaces are reduced,
maximum length of the string cannot be exceeded, string has
different weights for its substrings (w/o overlapping).
Author:
Leo Galambos
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
StringWithWeights
public StringWithWeights ()
Constructor for the Stringer object
StringWithWeights
public StringWithWeights (int maxlen)
Constructor for the Stringer object
Parameters: maxlen
- Description of the Parameter
open
public CharStream open ()
save
public void save (int priority)
Description of the Method
Parameters: priority
- Description of the Parameterposition
- Description of the Parameter
close
public void close ()