public Collection<Cube> all(){
  return Collections.unmodifiableCollection(cubes);
}

public Collection < Cube > all ( ) { return Collections . unmodifiableCollection ( cubes ) ; }
retrieve a collection of all cubes within this storage . the collection is non - modifiable
