picview/src/com/google/android/apps/picview/activities/PhotoListActivity.java
private static List<ThumbnailItem<Photo>> wrap(List<Photo> photos) {
    List<ThumbnailItem<Photo>> result = new ArrayList<ThumbnailItem<Photo>>();
    for (Photo photo : photos) {
      result.add(new ThumbnailItem<Photo>(photo.getName(), photo
          .getThumbnailUrl(), photo));
    }
    return result;
  }
/**
   * Wraps a list of {@link Photo}s into a list of {@link ThumbnailItem}s, so
   * they can be displayed in the list.
   */
Wraps a list of  Photos into a list of  ThumbnailItems, so
they can be displayed in the list.
Wraps a list of Photos into a list of ThumbnailItems so they can be displayed in the list .
private static List<ThumbnailItem<Photo>> wrap(List<Photo> photos) {
    List<ThumbnailItem<Photo>> result = new ArrayList<ThumbnailItem<Photo>>();
    for (Photo photo : photos) {
      result.add(new ThumbnailItem<Photo>(photo.getName(), photo
          .getThumbnailUrl(), photo));
    }
    return result;
  }
private static List < ThumbnailItem < Photo > > wrap ( List < Photo > photos ) { List < ThumbnailItem < Photo > > result = new ArrayList < ThumbnailItem < Photo > > ( ) ; for ( Photo photo : photos ) { result . add ( new ThumbnailItem < Photo > ( photo . getName ( ) , photo . getThumbnailUrl ( ) , photo ) ) ; } return result ; }
Wraps a list of {@link Photo}s into a list of {@link ThumbnailItem}s, so
 they can be displayed in the list.
Wraps a list of { @link Photo } s into a list of { @link ThumbnailItem } s so they can be displayed in the list .