jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.storage
Class SerializeTask<D extends com.chemaxon.descriptors.common.Descriptor>

Object
  extended by com.chemaxon.overlap.storage.SerializeTask<D>
Type Parameters:
D - Underlying descriptor type
All Implemented Interfaces:
Callable<List<String>>

public class SerializeTask<D extends com.chemaxon.descriptors.common.Descriptor>
extends Object
implements Callable<List<String>>

Task to serialize a bunch of descriptors into Strings.

Any error is a catastrophic error.

Author:
Gabor Imre

Constructor Summary
SerializeTask(com.chemaxon.descriptors.common.DescriptorGenerator<D> desc, List<D> page)
          Construct new task.
 
Method Summary
 List<String> call()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializeTask

public SerializeTask(com.chemaxon.descriptors.common.DescriptorGenerator<D> desc,
                     List<D> page)
Construct new task.

Parameters:
desc - Descriptor generator
page - Page to serialize
Method Detail

call

public List<String> call()
                  throws Exception
Specified by:
call in interface Callable<List<String>>
Throws:
Exception

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)