|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TransformationStrategy<T>
A generic transformation from objects of a given type to bit vector. Most useful when adding strings, etc. to a trie.
| Method Summary | |
|---|---|
TransformationStrategy<T> |
copy()
Returns a copy of this transformation strategy. |
long |
numBits()
The (approximate) number of bits occupied by this transformation. |
BitVector |
toBitVector(T object)
Returns a bit vector representation of the given object. |
| Method Detail |
|---|
BitVector toBitVector(T object)
object - the object to be turned into bit representation.
object.long numBits()
TransformationStrategy<T> copy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||