PersistentMap implements Initialisable { public Collection<V> values() throws DataAccessLayerException { final List<V> values = new LinkedList<V>(); for (final K key : keySet()) { final Object val = get(key); if (val != null) { values.add(get(key)); } } return values; } PersistentMap(final Class<K> k, final Class<V> v, final String name, final boolean bidirectional,
			final V defaultValue); void clear(); boolean containsKey(final K key); boolean containsValue(final V value); Set<Map.Entry<K, V>> entrySet(); V get(final K key); K getKeyQuick(final V value); V getQuick(final K key); @Override void initialise(final DataAccessLayerFactory factory); boolean isEmpty(); Iterator<K> keyIterator(); Set<K> keySet(); V put(final K key, final V value); void putAll(final Map<? extends K, ? extends V> m); void putQuick(final K key, final V value); @SuppressWarnings("unchecked") V remove(final K key); @SuppressWarnings("unchecked") void removeQuick(final K key); int size(); Iterator<V> valueIterator(); Collection<V> values();  }
@Test public void valuesTest() throws DataAccessLayerException { assertTrue(TESTDATA1.values().containsAll(map.values())); }