public interface Union
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the current object in union.
|
int |
getPosition()
Returns the current position in union.
|
Object |
switchObject(int newPosition)
Switches position and get its object.
|
int getPosition()
Object switchObject(int newPosition)
newPosition
- the position to setObject getObject()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.