org.vraptor.reflection
Class ArrayDealer
java.lang.Object
org.vraptor.reflection.ArrayDealer
- All Implemented Interfaces:
- SetDealer
public class ArrayDealer
- extends Object
- implements SetDealer
An array implementation.
- Author:
- Guilherme Silveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayDealer
public ArrayDealer()
resizeAndSet
public Object resizeAndSet(Object object,
int position,
boolean mayCreate,
Type type)
throws SettingException
- Description copied from interface:
SetDealer
- Resizes if needed (per one) and sets the object
- Specified by:
resizeAndSet in interface SetDealer
- Throws:
SettingException
getPosition
public Object getPosition(Object object,
int arrayPosition,
boolean mayCreate)
- Specified by:
getPosition in interface SetDealer
resizeAndSet
public Object resizeAndSet(Object array,
int position,
Object value)
throws SettingException
- Specified by:
resizeAndSet in interface SetDealer
- Throws:
SettingException
getType
public Class getType(Type type)
- Specified by:
getType in interface SetDealer
Copyright © 2004-2008 VRaptor. All Rights Reserved.