store

fun <ID : Comparable<ID>, T : Entity<ID>> store(f: EntityClass<ID, T>, o: T)

Stores the specified Entity in this EntityCache using its associated EntityClass as the key.


fun store(o: Entity<*>)

Stores the specified Entity in this EntityCache.

The EntityClass associated with this entity will be inferred based on its Entity.klass property.