Class FeatureLogCollectionIndex

java.lang.Object
de.qytera.qtaf.core.log.model.index.FeatureLogCollectionIndex

public class FeatureLogCollectionIndex extends Object
Index that holds all FeatureLogCollection objects.
  • Method Details

    • getInstance

      public static FeatureLogCollectionIndex getInstance()
      Factory method.
      Returns:
      singleton instance
    • get

      Get an object by its ID.
      Parameters:
      id - object ID
      Returns:
      feature log collection
    • put

      Add a new object to the index.
      Parameters:
      id - object's ID
      obj - object itself
      Returns:
      the inserted object
    • size

      public int size()
      Get size of index (number of elements in the index).
      Returns:
      size of index
    • clear

      public void clear()
      Clear the index.