org.pf.tools.cda.base.global
Class Functions

java.lang.Object
  extended by org.pf.tools.cda.base.global.Functions

public class Functions
extends java.lang.Object

Provides general service functions to avoid code duplication.

Version:
1.0
Author:
M.Duchrow

Method Summary
 ClassInformation[] applyFilterOnClasses(ClassInformation[] classes, StringFilterCollection filter)
          Returns a list of classes that don't match the given filter.
static Functions instance()
          Returns the only instance this class supports (design pattern "Singleton")
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static Functions instance()
Returns the only instance this class supports (design pattern "Singleton")


applyFilterOnClasses

public ClassInformation[] applyFilterOnClasses(ClassInformation[] classes,
                                               StringFilterCollection filter)
Returns a list of classes that don't match the given filter.

Parameters:
classes - The classes to check against the filter
filter - The filter that defines which classes to not return