Skip to content

Commit

Permalink
Link to source of FilterCriteria & CollectionFilter classes
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Oct 23, 2023
1 parent 05b5e83 commit 52f25eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
9 changes: 1 addition & 8 deletions src/games/stendhal/common/filter/CollectionFilter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* $Id$ */
/* found on javaworld.com */
package games.stendhal.common.filter;

import java.lang.reflect.Constructor;
Expand All @@ -10,18 +9,12 @@
import org.apache.log4j.Logger;

/**
* <p>
* Title: CollectionFilter.
* </p>
* <p>
* Description:
* </p>
* Source: https://www.infoworld.com/article/2072996/filter-collections.html (originally found on javaworld.com)
*
* @author David Rappoport
* @version 1.0
* @param <T> generic type of collection elements
*/

public class CollectionFilter<T> {
private static Logger logger = Logger.getLogger(CollectionFilter.class);

Expand Down
9 changes: 4 additions & 5 deletions src/games/stendhal/common/filter/FilterCriteria.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
/* $Id$ */
/* found on javaworld.com */
package games.stendhal.common.filter;

/**
* <p>Title: FilterCriteria</p>
* <p>Description: A FilterCriteria is added to the CollectionFilter to filter
* all the objects in the collection. </p>
* A `FilterCriteria` is added to the `CollectionFilter` to filter all the objects in the collection.
*
* Source: https://www.infoworld.com/article/2072996/filter-collections.html (originally found on javaworld.com)
*
* @author David Rappoport
* @version 1.0
* @param <T> type of the item to check.
*/

public interface FilterCriteria<T> {

/**
Expand Down

0 comments on commit 52f25eb

Please sign in to comment.