fiftyone.mobile.detection.factories
Class BaseEntityFactory<T>
java.lang.Object
fiftyone.mobile.detection.factories.BaseEntityFactory<T>
- Direct Known Subclasses:
- AsciiStringFactory, ComponentFactory, MapFactory, NodeFactory, ProfileFactory, ProfileOffsetFactory, PropertyFactory, RankedSignatureIndexFactory, RootNodeFactory, SignatureFactory, ValueFactory
public abstract class BaseEntityFactory<T>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseEntityFactory
public BaseEntityFactory()
create
public abstract T create(Dataset dataSet,
int index,
BinaryReader reader)
throws IOException
- Throws:
IOException
getLength
public int getLength(T entity)
- Parameters:
entity - whose size is required.
- Returns:
- the size of the entity provided.
getLength
public int getLength()
- Returns:
- returns the size of a fixed length entity type.