KnownTypeSet

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public class KnownTypeSet implements Iterable

Represents an unordered set (i.e. a collection of unique items) containing java.lang.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.

Methods

MethodDescription
add(Class type)Adds the specified java.lang.Class object to the set.
clear()Removes all items from the set.
getCount()Gets the count of items in the set.
iterator()Returns An java.util.Iterator object to iterate over items of the set.
remove(Class type)Removes the specified java.lang.Class object from the set.

add(Class type)

public void add(Class type)

Adds the specified java.lang.Class object to the set.

Parameters:

ParameterTypeDescription
typejava.lang.ClassA java.lang.Class object to add.

clear()

public void clear()

Removes all items from the set.

getCount()

public int getCount()

Gets the count of items in the set.

Returns: int - The count of items in the set.

iterator()

public Iterator iterator()

Returns An java.util.Iterator object to iterate over items of the set.

Returns: java.util.Iterator - An java.util.Iterator object to iterate over items of the set.

remove(Class type)

public void remove(Class type)

Removes the specified java.lang.Class object from the set.

Parameters:

ParameterTypeDescription
typejava.lang.ClassA java.lang.Class object to remove.