/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import java.util.*; class ManyLoops { /** Test for performance. */ void fOk() { Set xs = new HashSet(); go(xs); go(xs); go(xs); go(xs); go(xs); go(xs); go(xs); go(xs); go(xs); go(xs); } void go(Set xs) { for (String x : xs) { System.out.println(x); } } }