@SuppressWarnings("unchecked")
  public List<V> list() {
    List<String> keys = cache.getKeys();
    List<V> values = new ArrayList<V>();
    for (String k : keys) {
      Element e = cache.get(k);
      if ( e != null ) {
        values.add((V) e.getObjectValue());
      }
    }
    return values;
  }
@SuppressWarnings("unchecked")
  public List<V> list() {
    List<String> keys = cache.getKeys();
    List<V> values = new ArrayList<V>();
    for (String k : keys) {
      Element e = cache.get(k);
      if ( e != null ) {
        values.add((V) e.getObjectValue());
      }
    }
    return values;
  }
@ SuppressWarnings ( "unchecked" ) public List < V > list ( ) { List < String > keys = cache . getKeys ( ) ; List < V > values = new ArrayList < V > ( ) ; for ( String k : keys ) { Element e = cache . get ( k ) ; if ( e != null ) { values . add ( ( V ) e . getObjectValue ( ) ) ; } } return values ; }
{@inheritDoc}

@see org.sakaiproject.nakamura.api.memory.Cache#list()
{ @inheritDoc }