public class DefaultTypeInstanceCache<Item extends IItem> extends java.lang.Object implements ITypeInstanceCache<Item>
| Constructor and Description |
|---|
DefaultTypeInstanceCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Item |
get(int type) |
boolean |
register(Item item) |
public boolean register(Item item)
register in interface ITypeInstanceCache<Item extends IItem>public Item get(int type)
get in interface ITypeInstanceCache<Item extends IItem>public void clear()
clear in interface ITypeInstanceCache<Item extends IItem>