|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.calc.objects.ElementList
public class ElementList
Class Description: This class acts as element list. It takes the element index from the element itself
Field Summary | |
---|---|
protected java.util.ArrayList<Element> |
elements
|
protected static Logger |
localLogger
|
Constructor Summary | |
---|---|
ElementList()
Create a new element list |
Method Summary | |
---|---|
void |
clear()
Clear the list |
java.lang.Object |
clone()
Clone Implementation |
Node |
doesNodeExistBetween(Node a,
Node b)
Checks if somewhere in this elementlist does a node already exist between the given nodes (in any element) |
Element |
getElement(int elementIndex)
Retrieve a element with the given index from the list |
void |
setElement(Element element)
Set a new element in the list. |
int |
size()
Retrieve the number of elements in the list |
java.lang.Object[] |
toArray()
Convert this list to an array of elements |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.ArrayList<Element> elements
protected static Logger localLogger
Constructor Detail |
---|
public ElementList()
Method Detail |
---|
public void clear()
public java.lang.Object clone()
clone
in class java.lang.Object
public Node doesNodeExistBetween(Node a, Node b)
a,
- the first nodeb,
- the second node
public Element getElement(int elementIndex)
elementIndex
-
public void setElement(Element element)
element,
- the element 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 |