Example #1
0
 public void InitMembers(TestCachingTokenFilter outerInstance)
 {
     this.OuterInstance = outerInstance;
     index     = 0;
     termAtt   = AddAttribute <ICharTermAttribute>();
     offsetAtt = AddAttribute <IOffsetAttribute>();
 }
			private void  InitBlock(TestCachingTokenFilter enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
				termAtt = (TermAttribute) AddAttribute(typeof(TermAttribute));
				offsetAtt = (OffsetAttribute) AddAttribute(typeof(OffsetAttribute));
			}
			public AnonymousClassTokenStream(TestCachingTokenFilter enclosingInstance)
			{
				InitBlock(enclosingInstance);
			}
 private void  InitBlock(TestCachingTokenFilter enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
     termAtt   = (TermAttribute)AddAttribute(typeof(TermAttribute));
     offsetAtt = (OffsetAttribute)AddAttribute(typeof(OffsetAttribute));
 }
 public AnonymousClassTokenStream(TestCachingTokenFilter enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }
 public void InitMembers(TestCachingTokenFilter outerInstance)
 {
     this.OuterInstance = outerInstance;
     index = 0;
     termAtt = AddAttribute<ICharTermAttribute>();
     offsetAtt = AddAttribute<IOffsetAttribute>();
 }
 public TokenStreamAnonymousInnerClassHelper(TestCachingTokenFilter outerInstance)
 {
     InitMembers(outerInstance);
 }
 private void  InitBlock(TestCachingTokenFilter enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
     termAtt = AddAttribute<ITermAttribute>();
     offsetAtt = AddAttribute<IOffsetAttribute>();
 }
Example #9
0
 public TokenStreamAnonymousInnerClassHelper(TestCachingTokenFilter outerInstance)
 {
     InitMembers(outerInstance);
 }
Example #10
0
 public TokenStreamAnonymousClass(TestCachingTokenFilter outerInstance)
 {
     InitMembers(outerInstance);
 }
			private void  InitBlock(TestCachingTokenFilter enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Example #12
0
 private void  InitBlock(TestCachingTokenFilter enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
     termAtt   = AddAttribute <ITermAttribute>();
     offsetAtt = AddAttribute <IOffsetAttribute>();
 }