public class OverrideCollectiveTypeStategy extends CollectiveTypeStrategy
overrideCollective(Class))
or not collective (overrideNotCollective(Class)).CollectiveTypeStrategy.DefaultDEFAULT| Constructor and Description |
|---|
OverrideCollectiveTypeStategy()
Constructs a strategy which delegates to CollectiveTypeStrategy#DEFAULT
|
OverrideCollectiveTypeStategy(CollectiveTypeStrategy delegate)
Constructs a strategy which delegates all those that it does not override.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCollective(Class type)
Is this a loop type class?
|
void |
overrideCollective(Class type)
Marks the given type to be treated as collective.
|
void |
overrideNotCollective(Class type)
Marks the given type to be treated as not collective
|
public OverrideCollectiveTypeStategy()
public OverrideCollectiveTypeStategy(CollectiveTypeStrategy delegate)
delegate - public void overrideCollective(Class type)
type - Class, not nullpublic void overrideNotCollective(Class type)
type - public boolean isCollective(Class type)
CollectiveTypeStrategyisCollective in class CollectiveTypeStrategytype - is this Class a loop type?CollectiveTypeStrategy.isCollective(Class)Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.