Home
last modified time | relevance | path

Searched refs:mapView (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/test/java/util/SequencedCollection/
DBasicMap.java317 public <T> void checkView1(Collection<T> mapView, List<T> expElements) { in checkView1() argument
319 for (var k : mapView) in checkView1()
324 mapView.forEach(list2::add); in checkView1()
327 var list3 = Arrays.asList(mapView.toArray()); in checkView1()
330 var list4 = Arrays.asList(mapView.toArray(new Object[0])); in checkView1()
333 var list5 = Arrays.asList(mapView.toArray(Object[]::new)); in checkView1()
336 var list6 = mapView.stream().toList(); in checkView1()
339 var list7 = mapView.parallelStream().toList(); in checkView1()
342 assertEquals(mapView.size(), expElements.size()); in checkView1()
343 assertEquals(mapView.isEmpty(), expElements.isEmpty()); in checkView1()
[all …]