Skip to content

Commit

Permalink
added javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
sangupta committed Dec 18, 2017
1 parent b8a9878 commit 40f68ad
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/java/com/sangupta/gather/Gather.java
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,13 @@ public Gather lessThanOrEquals(Object value) {
}

/**
* Count the number of objects that match the given criteria
* in the given collection.
* Count the number of objects that match the given criteria in the given
* collection.
*
* @param collection
* @return
* the {@link Collection} to count items in
*
* @return the number of items that matched the criteria
*/
public <T> int count(Collection<T> collection) {
if(collection == null) {
Expand Down

0 comments on commit 40f68ad

Please sign in to comment.