- java.lang.Object
-
- com.powsybl.openloadflow.equations.Variable<V>
-
- All Implemented Interfaces:
Comparable<Variable<V>>
public class Variable<V extends Enum<V> & Quantity> extends Object implements Comparable<Variable<V>>
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Variable<V> o)
<E extends Enum<E> & Quantity>
EquationTerm<V,E>createTerm()
boolean
equals(Object obj)
int
getElementNum()
int
getRow()
V
getType()
int
hashCode()
void
setRow(int row)
String
toString()
void
write(Writer writer)
-
-
-
Method Detail
-
getElementNum
public int getElementNum()
-
getType
public V getType()
-
getRow
public int getRow()
-
setRow
public void setRow(int row)
-
write
public void write(Writer writer) throws IOException
- Throws:
IOException
-
createTerm
public <E extends Enum<E> & Quantity> EquationTerm<V,E> createTerm()
-
-