Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/util/FilteredIterable.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 9c8c0937da41 |
children |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.truffle.dsl.processor.util; | 23 package com.oracle.truffle.dsl.processor.util; |
24 | 24 |
25 import java.util.*; | 25 import java.util.Iterator; |
26 | 26 |
27 public class FilteredIterable<E> implements Iterable<E> { | 27 public class FilteredIterable<E> implements Iterable<E> { |
28 | 28 |
29 private final Iterable<E> delegate; | 29 private final Iterable<E> delegate; |
30 private final Predicate<E> containedPredicate; | 30 private final Predicate<E> containedPredicate; |