Jacson

de.spieleck.app.ngramj
Interface NGram

All Known Implementing Classes:
CountedNGram, NGramImpl

public interface NGram

Abstraction of NGram

Version:
$Revision: 2 $ $Date: 2006-03-27 23:00:21 +0200 (Mo, 27 Mrz 2006) $ $Author: nestefan $
Author:
Frank S. Nestel, $Author: nestefan $

Method Summary
 boolean equals(byte[] bytes, int start, int length)
          Compare a ngram to a bunch of bytes
 int getByte(int pos)
          Return a single byte of the NGram.
 NGramImpl getNGramImpl()
          Hand out a special representation of yourself
 int getSize()
          Returns the size of an ngram in bytes.
 

Method Detail

getSize

int getSize()
Returns the size of an ngram in bytes.


getByte

int getByte(int pos)
Return a single byte of the NGram.

Throws:
ArrayIndexOutOfBoundException - (implicitly)

equals

boolean equals(byte[] bytes,
               int start,
               int length)
Compare a ngram to a bunch of bytes


getNGramImpl

NGramImpl getNGramImpl()
Hand out a special representation of yourself


spieleck.de