Class StreamUtils
java.lang.Object
me.desht.pneumaticcraft.common.util.StreamUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamUtils
public StreamUtils()
-
-
Method Details
-
ofType
Filter by the requested type and cast the remaining items.- Parameters:
type- the class to filterstream- the incoming stream- Returns:
- a new filtered stream
-