org.apache.lucene.analysis.ja.tokenAttributes
Class CostAttributeImpl

java.lang.Object
  extended by org.apache.lucene.util.AttributeImpl
      extended by org.apache.lucene.analysis.ja.tokenAttributes.CostAttributeImpl
All Implemented Interfaces:
Serializable, Cloneable, CostAttribute, org.apache.lucene.util.Attribute

public class CostAttributeImpl
extends org.apache.lucene.util.AttributeImpl
implements CostAttribute, Cloneable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.lucene.util.AttributeImpl
enableBackwards
 
Constructor Summary
CostAttributeImpl()
           
 
Method Summary
 void clear()
           
 void copyTo(org.apache.lucene.util.AttributeImpl target)
           
 int getCost()
           
 void setCost(int cost)
           
 
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, reflectAsString, reflectWith, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CostAttributeImpl

public CostAttributeImpl()
Method Detail

getCost

public int getCost()
Specified by:
getCost in interface CostAttribute

setCost

public void setCost(int cost)
Specified by:
setCost in interface CostAttribute

clear

public void clear()
Specified by:
clear in class org.apache.lucene.util.AttributeImpl

copyTo

public void copyTo(org.apache.lucene.util.AttributeImpl target)
Specified by:
copyTo in class org.apache.lucene.util.AttributeImpl


Copyright © 2012. All Rights Reserved.