Jacson

de.spieleck.app.cngram
Class NGramImpl

java.lang.Object
  extended by de.spieleck.app.cngram.LightCharSequence
      extended by 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)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 int getCount()
           
 void inc()
           
 void setCount(int count)
           
 java.lang.String toString()
           
 
Methods inherited from class de.spieleck.app.cngram.LightCharSequence
calcHashCode, charAt, equals, hashCode, length, subSequence
 
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
 

Constructor Detail

NGramImpl

public NGramImpl(java.lang.CharSequence seq)

NGramImpl

public NGramImpl(java.lang.CharSequence seq,
                 int count)
Method Detail

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

spieleck.de