public class StringStreams
extends java.lang.Object
String tuples.| Constructor and Description | 
|---|
| StringStreams() | 
| Modifier and Type | Method and Description | 
|---|---|
| static TStream<java.lang.String> | contains(TStream<java.lang.String> stream,
        java.lang.String term)Create a filtered stream that contains  Stringtuples containing a
 specific term. | 
| static TStream<java.lang.String> | startsWith(TStream<java.lang.String> stream,
          java.lang.String term)Create a filtered stream that contains  Stringtuples starting
 with a specific term. | 
| static <T> TStream<java.lang.String> | toString(TStream<T> stream)Create a stream that converts each input tuple to its  Stringrepresentation usingtoString(). | 
public static TStream<java.lang.String> contains(TStream<java.lang.String> stream, java.lang.String term)
String tuples containing a
 specific term. An input tuple t is present on the filtered stream
 if t.contains(term) returns true.stream - Input streamterm - Term toterm.public static TStream<java.lang.String> startsWith(TStream<java.lang.String> stream, java.lang.String term)
String tuples starting
 with a specific term. An input tuple t is present on the filtered
 stream if t.startsWith(term) returns true.stream - Input streamterm - Term toterm.public static <T> TStream<java.lang.String> toString(TStream<T> stream)
String
 representation using toString().stream - Stream to be converted to String valuesString representations of each tuple on
         stream.