public static class

CollectiveTypeStrategy.Default

extends CollectiveTypeStrategy
java.lang.Object
   ↳ org.apache.commons.betwixt.strategy.CollectiveTypeStrategy
     ↳ org.apache.commons.betwixt.strategy.CollectiveTypeStrategy.Default

Class Overview

Default collective type strategy

Summary

[Expand]
Inherited Fields
From class org.apache.commons.betwixt.strategy.CollectiveTypeStrategy
Public Constructors
CollectiveTypeStrategy.Default()
Public Methods
boolean isCollective(Class type)
Basic implementation returns true for all the standard java collective types and their subclasses.
[Expand]
Inherited Methods
From class org.apache.commons.betwixt.strategy.CollectiveTypeStrategy
From class java.lang.Object

Public Constructors

public CollectiveTypeStrategy.Default ()

Public Methods

public boolean isCollective (Class type)

Basic implementation returns true for all the standard java collective types and their subclasses.

Parameters
type is this Class a loop type?
Returns
  • true if the type is a loop type, or if type is null