jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.unguarded
Class ExtractLongFp

Object
  extended by com.chemaxon.overlap.unguarded.ExtractLongFp
All Implemented Interfaces:
Function<com.chemaxon.descriptors.common.BinaryVectorDescriptor,long[]>, Serializable

public class ExtractLongFp
extends Object
implements Function<com.chemaxon.descriptors.common.BinaryVectorDescriptor,long[]>, Serializable

Extract long [] fp from a BinaryVectorDescriptor.

Note that this implementation might return the internal representation of the descriptor!

Mapping between int and long representations: First 32 bit int is mapped to the upper 32 bits of the 64 bit long; while second 32 bit int to the lower part of the 64 bit long.

Author:
Gabor Imre
See Also:
Serialized Form

Constructor Summary
ExtractLongFp()
           
 
Method Summary
 long[] apply(com.chemaxon.descriptors.common.BinaryVectorDescriptor input)
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ExtractLongFp

public ExtractLongFp()
Method Detail

apply

public long[] apply(com.chemaxon.descriptors.common.BinaryVectorDescriptor input)
Specified by:
apply in interface Function<com.chemaxon.descriptors.common.BinaryVectorDescriptor,long[]>

toString

public String toString()
Overrides:
toString in class Object

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)