org.picocontainer.defaults
Class InterfaceFinder

java.lang.Object
  extended byorg.picocontainer.defaults.InterfaceFinder
All Implemented Interfaces:
java.io.Serializable

public class InterfaceFinder
extends java.lang.Object
implements java.io.Serializable

Helper class for finding implemented interfaces of classes and objects.

Version:
$Revision: 1.8 $
Author:
Aslak Hellesøy
See Also:
Serialized Form

Field Summary
static java.lang.reflect.Method equals
           
static java.lang.reflect.Method hashCode
           
 
Constructor Summary
InterfaceFinder()
           
 
Method Summary
 java.lang.Class[] getInterfaces(java.lang.Class clazz)
           
 java.lang.Class[] getInterfaces(java.util.List objects)
          Get all the interfaces implemented by a list of objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

equals

public static java.lang.reflect.Method equals

hashCode

public static java.lang.reflect.Method hashCode
Constructor Detail

InterfaceFinder

public InterfaceFinder()
Method Detail

getInterfaces

public java.lang.Class[] getInterfaces(java.util.List objects)
Get all the interfaces implemented by a list of objects.

Returns:
an array of interfaces.

getInterfaces

public java.lang.Class[] getInterfaces(java.lang.Class clazz)


Copyright © 2003-2004 Codehaus. All Rights Reserved.