org.apache.commons.betwixt.strategy
Class CollectiveTypeStrategy.Default
java.lang.Object
org.apache.commons.betwixt.strategy.CollectiveTypeStrategy
org.apache.commons.betwixt.strategy.CollectiveTypeStrategy.Default
- Enclosing class:
- CollectiveTypeStrategy
public static class CollectiveTypeStrategy.Default
- extends CollectiveTypeStrategy
Default collective type strategy
Method Summary |
boolean |
isCollective(Class type)
Basic implementation returns true for all the standard java
collective types and their subclasses. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectiveTypeStrategy.Default
public CollectiveTypeStrategy.Default()
isCollective
public boolean isCollective(Class type)
- Basic implementation returns true for all the standard java
collective types and their subclasses.
- Specified by:
isCollective
in class CollectiveTypeStrategy
- Parameters:
type
- is this Class
a loop type?
- Returns:
- true if the type is a loop type, or if type is null
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.