mirror of https://github.com/apache/lucene.git
Added some convenience constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600986 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a8c399cc52
commit
72bb91f4ee
|
@ -21,6 +21,14 @@ public class SinkTokenizer extends Tokenizer {
|
|||
if (this.lst == null) this.lst = new ArrayList/*<Token>*/();
|
||||
}
|
||||
|
||||
public SinkTokenizer() {
|
||||
this.lst = new ArrayList();
|
||||
}
|
||||
|
||||
public SinkTokenizer(int initCap){
|
||||
this.lst = new ArrayList(initCap);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the tokens in the internal List.
|
||||
* <p/>
|
||||
|
|
Loading…
Reference in New Issue