net.sourceforge.jane.lang.reflection
Class ReflectionFields

java.lang.Object
  |
  +--net.sourceforge.jane.lang.Fields
        |
        +--net.sourceforge.jane.lang.reflection.ReflectionFields

public class ReflectionFields
extends Fields

A collection of field objects.

Author:
Calvin Yu

Constructor Summary
ReflectionFields(java.lang.reflect.Field[] theFields)
          Create a new ReflectionFields.
 
Method Summary
 FieldInfo getField(int index)
          Returns the field at the given index.
 int getFieldCount()
          Returns the number of fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionFields

public ReflectionFields(java.lang.reflect.Field[] theFields)
Create a new ReflectionFields.
Method Detail

getFieldCount

public int getFieldCount()
Returns the number of fields.
Overrides:
getFieldCount in class Fields

getField

public FieldInfo getField(int index)
Returns the field at the given index.
Overrides:
getField in class Fields


Copyright © 2002-2002 SourceForge. All Rights Reserved.