ch.elca.el4j.tests.util.collections
Class FilteredListTest.DiscardMultiples

java.lang.Object
  extended by 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
           
 
Constructor Summary
FilteredListTest.DiscardMultiples(int n)
           
 
Method Summary
 boolean accepts(Integer t)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_n

private int m_n
Constructor Detail

FilteredListTest.DiscardMultiples

FilteredListTest.DiscardMultiples(int n)
Method Detail

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.