fiftyone.mobile.detection.factories
Class NodeFactory

java.lang.Object
  extended by fiftyone.mobile.detection.factories.BaseEntityFactory<Node>
      extended by fiftyone.mobile.detection.factories.NodeFactory

public class NodeFactory
extends BaseEntityFactory<Node>


Constructor Summary
NodeFactory()
           
 
Method Summary
 Node create(Dataset dataSet, int index, BinaryReader reader)
           
 int getLength(Node entity)
           
 
Methods inherited from class fiftyone.mobile.detection.factories.BaseEntityFactory
getLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFactory

public NodeFactory()
Method Detail

create

public Node create(Dataset dataSet,
                   int index,
                   BinaryReader reader)
Specified by:
create in class BaseEntityFactory<Node>

getLength

public int getLength(Node entity)
Overrides:
getLength in class BaseEntityFactory<Node>
Parameters:
entity - whose size is required.
Returns:
the size of the entity provided.