diff options
author | Harvey Harrison <[email protected]> | 2012-06-27 00:32:11 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-06-27 00:32:11 -0700 |
commit | 9fdc8148fa820fc9166a9820e63181efeb30a649 (patch) | |
tree | 7f056364844322f83ded4036b94a4145b71aea47 | |
parent | dad1666bd5da4254541adb0cd4362be332227d3f (diff) |
j3dcore: annotate switch list in LOD
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/classes/share/javax/media/j3d/LOD.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/classes/share/javax/media/j3d/LOD.java b/src/classes/share/javax/media/j3d/LOD.java index e4dc2c1..c0c00d4 100644 --- a/src/classes/share/javax/media/j3d/LOD.java +++ b/src/classes/share/javax/media/j3d/LOD.java @@ -44,10 +44,10 @@ public abstract class LOD extends Behavior { WakeupOnElapsedFrames wakeupFrame = new WakeupOnElapsedFrames(0, true); - /** - * The LOD Node's vector of switch nodes. - */ - Vector switches = new Vector(5); +/** + * The LOD Node's vector of switch nodes. + */ +Vector<Switch> switches = new Vector<Switch>(5); /** * Constructs and initializes an LOD node. @@ -91,14 +91,14 @@ public abstract class LOD extends Behavior { switches.removeElementAt(index); } - /** - * Returns the switch node specified by the index. - * @param index which switch node to return - * @return the switch node at location index - */ - public Switch getSwitch(int index) { - return (Switch) switches.elementAt(index); - } +/** + * Returns the switch node specified by the index. + * @param index which switch node to return + * @return the switch node at location index + */ +public Switch getSwitch(int index) { + return switches.elementAt(index); +} /** * Returns the enumeration object of all switches. |