public class OverrideCollectiveTypeStategy extends CollectiveTypeStrategy
overrideCollective(Class)
)
or not collective (overrideNotCollective(Class)
).CollectiveTypeStrategy.Default
DEFAULT
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)
CollectiveTypeStrategy
isCollective
in class CollectiveTypeStrategy
type
- is this Class
a loop type?CollectiveTypeStrategy.isCollective(Class)
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.