hw3: add javadoc everywhere
This commit is contained in:
@@ -5,6 +5,9 @@ import model.Photo;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A sorting strategy that sorts photos by date.
|
||||
*/
|
||||
public class SortByDate implements SortingStrategy<Photo> {
|
||||
@Override
|
||||
public List<Photo> sort(List<Photo> photos) {
|
||||
|
||||
Reference in New Issue
Block a user