org.onebusaway.api.impl
Class MaxCountSupport

java.lang.Object
  extended by org.onebusaway.api.impl.MaxCountSupport

public class MaxCountSupport
extends Object


Constructor Summary
MaxCountSupport()
           
MaxCountSupport(int defaultMaxCount, int absoluteMaxCount)
           
 
Method Summary
<T> List<T>
filter(List<T> values, boolean shuffle)
           
 int getMaxCount()
           
 void setMaxCount(int maxCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxCountSupport

public MaxCountSupport()

MaxCountSupport

public MaxCountSupport(int defaultMaxCount,
                       int absoluteMaxCount)
Method Detail

setMaxCount

public void setMaxCount(int maxCount)

getMaxCount

public int getMaxCount()

filter

public <T> List<T> filter(List<T> values,
                          boolean shuffle)


Copyright © 2011 OneBusAway. All Rights Reserved.