javapns/src/main/java/javapns/notification/PushedNotification.java
/**
	 * Filters a list of pushed notifications and returns only the ones that were successful.
	 * 
	 * @param notifications a list of pushed notifications
	 * @return a filtered list containing only notifications that were succcessful
	 */
Filters a list of pushed notifications and returns only the ones that were successful.

@param notifications a list of pushed notifications
@return a filtered list containing only notifications that were succcessful
Filters a list of pushed notifications and returns only the ones that were successful . @param notifications a list of pushed notifications @return a filtered list containing only notifications that were succcessful
public static List<PushedNotification> findSuccessfulNotifications(List<PushedNotification> notifications) {
		List<PushedNotification> filteredList = new Vector<PushedNotification>();
		for (PushedNotification notification : notifications) {
			if (notification.isSuccessful()) filteredList.add(notification);
		}
		return filteredList;
	}
public static List < PushedNotification > findSuccessfulNotifications ( List < PushedNotification > notifications ) { List < PushedNotification > filteredList = new Vector < PushedNotification > ( ) ; for ( PushedNotification notification : notifications ) { if ( notification . isSuccessful ( ) ) filteredList . add ( notification ) ; } return filteredList ; }
Filters a list of pushed notifications and returns only the ones that were successful.
Filters a list of pushed notifications and returns only the ones that were successful .