public interface

FieldAccessor

sun.reflect.FieldAccessor

Class Overview

This interface provides the declarations for the accessor methods of java.lang.reflect.Field. Each Field object is configured with a (possibly dynamically-generated) class which implements this interface.

Summary

Public Methods
abstract Object get(Object obj)
Matches specification in Field
abstract boolean getBoolean(Object obj)
Matches specification in Field
abstract byte getByte(Object obj)
Matches specification in Field
abstract char getChar(Object obj)
Matches specification in Field
abstract double getDouble(Object obj)
Matches specification in Field
abstract float getFloat(Object obj)
Matches specification in Field
abstract int getInt(Object obj)
Matches specification in Field
abstract long getLong(Object obj)
Matches specification in Field
abstract short getShort(Object obj)
Matches specification in Field
abstract void set(Object obj, Object value)
Matches specification in Field
abstract void setBoolean(Object obj, boolean z)
Matches specification in Field
abstract void setByte(Object obj, byte b)
Matches specification in Field
abstract void setChar(Object obj, char c)
Matches specification in Field
abstract void setDouble(Object obj, double d)
Matches specification in Field
abstract void setFloat(Object obj, float f)
Matches specification in Field
abstract void setInt(Object obj, int i)
Matches specification in Field
abstract void setLong(Object obj, long l)
Matches specification in Field
abstract void setShort(Object obj, short s)
Matches specification in Field

Public Methods

public abstract Object get (Object obj)

Matches specification in Field

public abstract boolean getBoolean (Object obj)

Matches specification in Field

public abstract byte getByte (Object obj)

Matches specification in Field

public abstract char getChar (Object obj)

Matches specification in Field

public abstract double getDouble (Object obj)

Matches specification in Field

public abstract float getFloat (Object obj)

Matches specification in Field

public abstract int getInt (Object obj)

Matches specification in Field

public abstract long getLong (Object obj)

Matches specification in Field

public abstract short getShort (Object obj)

Matches specification in Field

public abstract void set (Object obj, Object value)

Matches specification in Field

public abstract void setBoolean (Object obj, boolean z)

Matches specification in Field

public abstract void setByte (Object obj, byte b)

Matches specification in Field

public abstract void setChar (Object obj, char c)

Matches specification in Field

public abstract void setDouble (Object obj, double d)

Matches specification in Field

public abstract void setFloat (Object obj, float f)

Matches specification in Field

public abstract void setInt (Object obj, int i)

Matches specification in Field

public abstract void setLong (Object obj, long l)

Matches specification in Field

public abstract void setShort (Object obj, short s)

Matches specification in Field