de.spieleck.app.cngram
Class NGramImpl
java.lang.Object
de.spieleck.app.cngram.LightCharSequence
de.spieleck.app.cngram.NGramImpl
- All Implemented Interfaces:
- NGram, java.lang.CharSequence, java.lang.Comparable
public class NGramImpl
- extends LightCharSequence
- implements NGram
store NGram
- Version:
- $Revision: 2 $ $Date: 2006-03-27 23:00:21 +0200 (Mo, 27 Mrz 2006) $ $Author: nestefan $
- Author:
- frank nestel, $Author: nestefan $
Constructor Summary |
NGramImpl(java.lang.CharSequence seq)
|
NGramImpl(java.lang.CharSequence seq,
int count)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.CharSequence |
charAt, length, subSequence |
NGramImpl
public NGramImpl(java.lang.CharSequence seq)
NGramImpl
public NGramImpl(java.lang.CharSequence seq,
int count)
getCount
public int getCount()
- Specified by:
getCount
in interface NGram
setCount
public void setCount(int count)
- Specified by:
setCount
in interface NGram
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
inc
public void inc()
- Specified by:
inc
in interface NGram
toString
public java.lang.String toString()
- Specified by:
toString
in interface java.lang.CharSequence
- Overrides:
toString
in class LightCharSequence