public synchronized List < E > getAll ( ) { ArrayList < E > list = new ArrayList < E > ( ) ; for ( E element : listElements ) { if ( element != null ) { list . add ( element ) ; } } return list ; }
Provides a shallow copy of the list