def sample = ['Groovy', 'Gradle', 'Grails', 'Spock'] as String[]
def result = sample.stream() // Use stream() on array objects
.filter { s -> s.startsWith('Gr') }
.map { s -> s.toUpperCase() }
.toList() // toList() added to Stream by Groovy
V. Levchenko, K. Konrad, P. Dietrich, M. Roelfsema, and R. Hedrich. Proceedings of the National Academy of Sciences of the United States of America, 102 (11):
4203-4208(2005)907pt
Times Cited:133
Cited References Count:54.
T. Hanika, and J. Hirth. Formal Concept Analysis - 16th International Conference, ICFCA 2021, Strasbourg, France, June 29 - July 2, 2021, Proceedings, volume 12733 of Lecture Notes in Computer Science, page 261--269. Springer, (2021)
S. Hampe, M. Joswig, and B. Schröter. Journal of Symbolic Computation, (2019)MEGA 2017, Effective Methods in Algebraic Geometry, Nice (France), June 12-16, 2017..
F. Dylla, T. Mossakowski, T. Schneider, and D. Wolter. Proceedings of Conference On Spatial Information Theory 2013, volume 8116 of Lecture Notes in Computer Science, page 516--536. Springer-Verlag Berlin Heidelberg, (2013)
J. Leskovec, L. Backstrom, R. Kumar, and A. Tomkins. KDD '08: Proceeding of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining, page 462--470. New York, NY, USA, ACM, (2008)