Skip to content

Instantly share code, notes, and snippets.

Avatar
🎣
Gone fishing

Kelvin Jiang cloudkj

🎣
Gone fishing
View GitHub Profile
@stuart-marks
stuart-marks / DynamicFiltering.java
Created Apr 8, 2014
Dynamic filtering using Java 8 streams.
View DynamicFiltering.java
import java.util.*;
import java.util.function.*;
import java.util.stream.*;
import static java.util.stream.Collectors.*;
import static java.util.Comparator.*;
/**
* http://stackoverflow.com/questions/22845574/how-to-dynamically-do-filtering-in-java-8
*