|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hcarralero.toljava.TOLRObject
com.hcarralero.toljava.TOLRSet
public class TOLRSet
Representa a un objeto TOL de tipo Set
| Field Summary |
|---|
| Fields inherited from class com.hcarralero.toljava.TOLRObject |
|---|
tm, varname |
| Constructor Summary | |
|---|---|
TOLRSet(TOLMachine tm,
java.lang.String varname)
Construye un objeto de tipo TOLRSet |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compara a este objeto con otro |
TOLObject |
getElement(int index)
Obtiene el elemento ubicado en la posición dada |
TOLObject[] |
getElements()
Obtiene un arreglo con todos los elementos del Set |
int |
getSize()
Obtiene el tamaño del Set |
int |
hashCode()
Calcula el código hash asignado al objeto |
boolean |
isSet()
Determina si el objeto corresponde al tipo Set de TOL |
java.lang.String |
toString()
Obtiene una representación como cadena de texto del Set en la que incluye el nombre |
| Methods inherited from class com.hcarralero.toljava.TOLRObject |
|---|
getTm, getVarname, isCode, isComplex, isDate, isMatrix, isPolyn, isRatio, isReal, isReference, isSerie, isText, isTimeSet, isVMatrix, setTm, setVarname |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TOLRSet(TOLMachine tm,
java.lang.String varname)
TOLRSet
tm - el objeto TOLMachine al que está ligadovarname - nombre de la variable en TOL| Method Detail |
|---|
public boolean isSet()
isSet in interface TOLObjectisSet in class TOLRObjecttrue ya que el objeto corresponde al tipo Set de TOL
public int getSize()
throws TOLMachineException
TOLMachineException - cuando hay algún error en el acceso a TOL
public TOLObject getElement(int index)
throws TOLMachineException
index - Posición del elemento
TOLMachineException - cuando hay algún error en el acceso a TOL
public TOLObject[] getElements()
throws TOLMachineException
TOLMachineException - cuando hay algún error en el acceso a TOLpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - el objeto con el que se comparará
true si el objeto pasado como parámetro es de tipo TOLRSet y contiene un conjunto idénticapublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||