J
Jon Rasmussen
I have multiple arrays:
TransactionSet[]
FunctionSet[]
AssetSet[]
All these objects have methods:
getCode()
getName()
I want to create a generic method that can iterate the arrays and call the getters.
public void iterateArray(Object[] o)
{
[process]
}
Is this possible / how can I do this in Java?
Thanks,
Jon
TransactionSet[]
FunctionSet[]
AssetSet[]
All these objects have methods:
getCode()
getName()
I want to create a generic method that can iterate the arrays and call the getters.
public void iterateArray(Object[] o)
{
[process]
}
Is this possible / how can I do this in Java?
Thanks,
Jon