org.apache.lucene.analysis.payloads
Class FloatEncoder
java.lang.Object
org.apache.lucene.analysis.payloads.AbstractEncoder
org.apache.lucene.analysis.payloads.FloatEncoder
- All Implemented Interfaces:
- PayloadEncoder
public class FloatEncoder
- extends AbstractEncoder
- implements PayloadEncoder
Encode a character array Float as a Payload
.
- See Also:
PayloadHelper.encodeFloat(float, byte[], int)
Method Summary |
Payload |
encode(char[] buffer,
int offset,
int length)
Convert a char array to a Payload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatEncoder
public FloatEncoder()
encode
public Payload encode(char[] buffer,
int offset,
int length)
- Description copied from interface:
PayloadEncoder
- Convert a char array to a
Payload
- Specified by:
encode
in interface PayloadEncoder
- Returns:
- encoded
Payload
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.