import java.util.stream.Stream;
import com.trickle.framework.Trickle;
public class TrickleExample {
public static void main(String[] args) {
Stream<Integer> dataStream = Stream.of(1, 2, 3, 4, 5);
Trickle<Integer> trickle = Trickle.from(dataStream)
.filter(num -> num > 2)
.map(num -> num * 2);
trickle.forEach(System.out::println);
}
}