com.wcohen.ss.api
Interface StringWrapper

All Known Implementing Classes:
BasicStringWrapper, MatchData.Instance, MultiStringWrapper, TagLink.UnitVector, TFIDF.UnitVector

public interface StringWrapper

Something that implements some of the functionality of Java's string class, but which is a non-final class, and hence can also cache additional information to facilitate later processing.


Method Summary
 char charAt(int i)
          Return the i-th char of the wrapped string
 int length()
          Return the length of the wrapped string
 java.lang.String unwrap()
          Return the string that is wrapped.
 

Method Detail

unwrap

java.lang.String unwrap()
Return the string that is wrapped.


charAt

char charAt(int i)
Return the i-th char of the wrapped string


length

int length()
Return the length of the wrapped string