Interface FactStorage.Entry<Z>

Type Parameters:
Z - the type of fact this entry holds
Enclosing interface:
FactStorage<T>

public static interface FactStorage.Entry<Z>
Represents an entry in the storage, holding both a fact handle and the fact instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the FactHandle associated with this entry.
    Returns the fact instance associated with this entry.
  • Method Details

    • getHandle

      FactHandle getHandle()
      Returns the FactHandle associated with this entry.
      Returns:
      the FactHandle associated with this entry
    • getInstance

      Z getInstance()
      Returns the fact instance associated with this entry.
      Returns:
      an instance of type Z.