public class KnownTypeSet
extends java.lang.Object
implements java.lang.Iterable
Class objects which fully or partially qualified names can be used within report templates to invoke the corresponding types' static members, perform type casts, etc.
To learn more, visit the LINQ Reporting Engine documentation article.
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Class type)
Adds the specified
Class object to the set. |
void |
clear()
Removes all items from the set.
|
int |
getCount()
Gets the count of items in the set.
|
java.util.Iterator |
iterator()
Returns An
Iterator object to iterate over items of the set. |
void |
remove(java.lang.Class type)
Removes the specified
Class object from the set. |
public void add(java.lang.Class type)
Adds the specified Class object to the set.
type - A Class object to add.java.lang.IllegalArgumentException - Throws in the following cases:
- type is null.
- type represents a void type.
- type represents an invisible type, i.e. a non-public type or a public nested type which has a non-public outer type.
- type represents an array type.
- type has been added to the set already.
public void remove(java.lang.Class type)
Class object from the set.type - A Class object to remove.java.lang.IllegalArgumentException - Throws if type is null.public void clear()
public java.util.Iterator iterator()
Iterator object to iterate over items of the set.iterator in interface java.lang.IterableIterator object to iterate over items of the set.public int getCount()