ch.elca.el4j.tests.util.collections
Class FilteredListTest.DiscardMultiples
java.lang.Object
ch.elca.el4j.tests.util.collections.FilteredListTest.DiscardMultiples
- All Implemented Interfaces:
- ch.elca.el4j.util.collections.helpers.Filter<Integer>
- Enclosing class:
- FilteredListTest
private static class FilteredListTest.DiscardMultiples
- extends Object
- implements ch.elca.el4j.util.collections.helpers.Filter<Integer>
for given n, this filter accepts n and any number that
is not a multiple of n.
|
Field Summary |
private int |
m_n
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_n
private int m_n
FilteredListTest.DiscardMultiples
FilteredListTest.DiscardMultiples(int n)
accepts
public boolean accepts(Integer t)
-
- Specified by:
accepts in interface ch.elca.el4j.util.collections.helpers.Filter<Integer>
Copyright © 2005-2008 ELCA. All Rights Reserved.