/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.Arrays;
import java.util.List;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Integer[] array
= {105,
215,
3,
7946}; Arrays.
asList(array
).
replaceAll(x
-> x
/ 100);
List
<String
> list
= Arrays.
asList("hello world"); list.replaceAll(e -> e.replaceAll(" ", ""));
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgppbXBvcnQgamF2YS51dGlsLkFycmF5czsKaW1wb3J0IGphdmEudXRpbC5MaXN0OwoKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlJbnRlZ2VyW10gYXJyYXkgPSB7MTA1LCAyMTUsIDMsIDc5NDZ9OwoJCUFycmF5cy5hc0xpc3QoYXJyYXkpLnJlcGxhY2VBbGwoeCAtPiB4IC8gMTAwKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oQXJyYXlzLnRvU3RyaW5nKGFycmF5KSk7CgkJCgkJTGlzdDxTdHJpbmc+IGxpc3QgPSBBcnJheXMuYXNMaXN0KCJoZWxsbyB3b3JsZCIpOwoJCWxpc3QucmVwbGFjZUFsbChlIC0+IGUucmVwbGFjZUFsbCgiICIsICIiKSk7CgkJU3lzdGVtLm91dC5wcmludGxuKGxpc3QpOwoJfQp9