|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.calc.objects.ForceList
public class ForceList
Class Description: This class acts as force list. It takes the node index from the node itself
Field Summary | |
---|---|
protected java.util.ArrayList<Force> |
forces
|
Constructor Summary | |
---|---|
ForceList()
Create a new force list |
Method Summary | |
---|---|
void |
clear()
Clear the list |
boolean |
contains(Force force)
Search for a specific force |
Force |
getForce(int forceIndex)
Retrieve a force with the given index from the list |
java.util.ArrayList<Force> |
getList()
|
void |
setForce(Force force)
Set a new force in the list. |
int |
size()
Retrieve the number of forces in the list |
java.lang.Object[] |
toArray()
Convert this list to an array of forces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.ArrayList<Force> forces
Constructor Detail |
---|
public ForceList()
Method Detail |
---|
public void clear()
public boolean contains(Force force)
force,
- the force to search
public Force getForce(int forceIndex)
forceIndex
-
public java.util.ArrayList<Force> getList()
public void setForce(Force force)
force,
- the force to setpublic int size()
public java.lang.Object[] toArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |