Class AbstractCatalog<K,​V>

java.lang.Object
be.gaudry.bibliobrol.model.catalog.AbstractCatalog<K,​V>
Type Parameters:
K -
V -
Direct Known Subclasses:
ActorRoleCatalog, BrolTypeCatalog

public abstract class AbstractCatalog<K,​V> extends Object
Since:
1.0 Oct 4, 2008, 1.0
Version:
%I%, %G%
Author:
Steph GAUDRY
  • Field Details

    • catalog

      protected Map<K,​V> catalog
  • Constructor Details

    • AbstractCatalog

      public AbstractCatalog()
  • Method Details

    • loadCatalog

      protected abstract void loadCatalog()
    • getItemClass

      protected abstract Class<V> getItemClass()
    • toString

      public abstract String toString()
      Overrides:
      toString in class Object
    • containsKey

      public boolean containsKey(Object key)
    • containsValue

      public boolean containsValue(Object value)
    • get

      public V get(Object key)
    • keySet

      public Set<K> keySet()
    • size

      public int size()
    • values

      public Collection<V> values()