public class AnotherClass{
public static void main(){
List<String> list = new LinkedList<String>();
Stream.Builder<Function<String, String>> sb = Stream.builder();
sb.accept(SomeClass::method1);
sb.accept(SomeClass::method2);
Stream<String> values = sb.build().map(method -> method.apply(inputString));
values.forEachOrdered(list::add);
}
}