JAVA STREAM REFINERY
Java Stream Refinery: Data Pipelines
Configure collection operations using Java Stream API to clean, transform, and aggregate data streams.
PIPELINE DIRECTIVE
Filter the list of transactions to keep only those with an amount greater than 100, and convert their descriptions to uppercase. Return the result collected into a List of strings using collect.
Data Structure
class Transaction {
int amount;
String description;
int getAmount();
String getDescription();
}PIPELINE FLOW MONITOR
JAVA PIPELINE EDITOR
Write Java Stream API code.
Loading editor…