Example usage for org.apache.commons.collections.functors InstantiateFactory InstantiateFactory

List of usage examples for org.apache.commons.collections.functors InstantiateFactory InstantiateFactory

Introduction

In this page you can find the example usage for org.apache.commons.collections.functors InstantiateFactory InstantiateFactory.

Prototype

public InstantiateFactory(Class classToInstantiate) 

Source Link

Document

Constructor that performs no validation.

Usage

From source file:gov.nih.nci.cabig.caaers.domain.TreatmentInformation.java

/**
 * Creates the lazy course agents.// w  ww.  ja v  a2 s  . co m
 */
@SuppressWarnings("unchecked")
private void createLazyCourseAgents() {
    this.courseAgents = LazyList.decorate(getCourseAgentsInternal(), new InstantiateFactory(CourseAgent.class));
}