source: tol/TolJava/WebTOLJavaDEMO/web/docs/javadoc/com/hcarralero/toljava/TOLPolyn.html @ 9887b93

1941-docker-image-to-testdevel
Last change on this file since 9887b93 was 9887b93, checked in by Humberto Carralero <hacarralero@…>, 15 years ago

Importing TolJava

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3900 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 21.4 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_24) on Mon Mar 21 15:05:59 CET 2011 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8TOLPolyn
9</TITLE>
10
11<META NAME="date" CONTENT="2011-03-21">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="TOLPolyn";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/hcarralero/toljava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/TOLPolyn.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../com/hcarralero/toljava/TOLObject.html" title="interface in com.hcarralero.toljava"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../index.html?com/hcarralero/toljava/TOLPolyn.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="TOLPolyn.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91com.hcarralero.toljava</FONT>
92<BR>
93Class TOLPolyn</H2>
94<PRE>
95java.lang.Object
96  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/hcarralero/toljava/TOLLObject.html" title="class in com.hcarralero.toljava">com.hcarralero.toljava.TOLLObject</A>
97      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.hcarralero.toljava.TOLPolyn</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/hcarralero/toljava/TOLObject.html" title="interface in com.hcarralero.toljava">TOLObject</A></DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public class <B>TOLPolyn</B><DT>extends <A HREF="../../../com/hcarralero/toljava/TOLLObject.html" title="class in com.hcarralero.toljava">TOLLObject</A></DL>
105</PRE>
106
107<P>
108Representa a un objeto TOL de tipo Polyn.
109<P>
110
111<P>
112<HR>
113
114<P>
115<!-- =========== FIELD SUMMARY =========== -->
116
117<A NAME="field_summary"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121<B>Field Summary</B></FONT></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125<CODE>static&nbsp;int</CODE></FONT></TD>
126<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#B">B</A></B></CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Variable B de un término.</TD>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE>static&nbsp;int</CODE></FONT></TD>
134<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#F">F</A></B></CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Variable F de un término.</TD>
138</TR>
139</TABLE>
140&nbsp;
141<!-- ======== CONSTRUCTOR SUMMARY ======== -->
142
143<A NAME="constructor_summary"><!-- --></A>
144<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
146<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
147<B>Constructor Summary</B></FONT></TH>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#TOLPolyn()">TOLPolyn</A></B>()</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construye un polinomio sin términos, para añadir términos debe usar el método
154 addTerm.</TD>
155</TR>
156</TABLE>
157&nbsp;
158<!-- ========== METHOD SUMMARY =========== -->
159
160<A NAME="method_summary"><!-- --></A>
161<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
163<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
164<B>Method Summary</B></FONT></TH>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168<CODE>&nbsp;void</CODE></FONT></TD>
169<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#addTerm(int, double, int)">addTerm</A></B>(int&nbsp;var,
170        double&nbsp;coef,
171        int&nbsp;grade)</CODE>
172
173<BR>
174&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Añade un nuevo término al polinomio.</TD>
175</TR>
176<TR BGCOLOR="white" CLASS="TableRowColor">
177<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178<CODE>&nbsp;boolean</CODE></FONT></TD>
179<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;obj)</CODE>
180
181<BR>
182&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compara a este objeto con otro.</TD>
183</TR>
184<TR BGCOLOR="white" CLASS="TableRowColor">
185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186<CODE>&nbsp;java.util.Iterator&lt;<A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A>&gt;</CODE></FONT></TD>
187<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#getIterator()">getIterator</A></B>()</CODE>
188
189<BR>
190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene un iterador que puede ser usado para moverse entre los términos del polinomio.</TD>
191</TR>
192<TR BGCOLOR="white" CLASS="TableRowColor">
193<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194<CODE>&nbsp;int</CODE></FONT></TD>
195<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#getNterms()">getNterms</A></B>()</CODE>
196
197<BR>
198&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el número de términos del polinomio.</TD>
199</TR>
200<TR BGCOLOR="white" CLASS="TableRowColor">
201<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
202<CODE>&nbsp;<A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A></CODE></FONT></TD>
203<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#getTerm(int)">getTerm</A></B>(int&nbsp;index)</CODE>
204
205<BR>
206&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el término ubicado en la posición <code>index</code> del polinomio.</TD>
207</TR>
208<TR BGCOLOR="white" CLASS="TableRowColor">
209<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
210<CODE>&nbsp;<A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A>[]</CODE></FONT></TD>
211<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#getTerms()">getTerms</A></B>()</CODE>
212
213<BR>
214&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene una copia exacta de todos los términos del polinomio.</TD>
215</TR>
216<TR BGCOLOR="white" CLASS="TableRowColor">
217<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218<CODE>&nbsp;int</CODE></FONT></TD>
219<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#hashCode()">hashCode</A></B>()</CODE>
220
221<BR>
222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calcula el código hash asignado al objeto.</TD>
223</TR>
224<TR BGCOLOR="white" CLASS="TableRowColor">
225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226<CODE>&nbsp;boolean</CODE></FONT></TD>
227<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#isPolyn()">isPolyn</A></B>()</CODE>
228
229<BR>
230&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determina si el objeto corresponde al tipo Polyn de TOL.</TD>
231</TR>
232<TR BGCOLOR="white" CLASS="TableRowColor">
233<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
234<CODE>&nbsp;<A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A></CODE></FONT></TD>
235<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#removeTerm(int)">removeTerm</A></B>(int&nbsp;index)</CODE>
236
237<BR>
238&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Elimina el término de la posición <code>index</code> del polinomio.</TD>
239</TR>
240<TR BGCOLOR="white" CLASS="TableRowColor">
241<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
243<TD><CODE><B><A HREF="../../../com/hcarralero/toljava/TOLPolyn.html#toString()">toString</A></B>()</CODE>
244
245<BR>
246&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene una representación como cadena de texto del polinomio usando la sintaxis de TOL.</TD>
247</TR>
248</TABLE>
249&nbsp;<A NAME="methods_inherited_from_class_com.hcarralero.toljava.TOLLObject"><!-- --></A>
250<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
251<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
252<TH ALIGN="left"><B>Methods inherited from class com.hcarralero.toljava.<A HREF="../../../com/hcarralero/toljava/TOLLObject.html" title="class in com.hcarralero.toljava">TOLLObject</A></B></TH>
253</TR>
254<TR BGCOLOR="white" CLASS="TableRowColor">
255<TD><CODE><A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isCode()">isCode</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isComplex()">isComplex</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isDate()">isDate</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isMatrix()">isMatrix</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isRatio()">isRatio</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isReal()">isReal</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isReference()">isReference</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isSerie()">isSerie</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isSet()">isSet</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isText()">isText</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isTimeSet()">isTimeSet</A>, <A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isVMatrix()">isVMatrix</A></CODE></TD>
256</TR>
257</TABLE>
258&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
259<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
260<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
261<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
265</TR>
266</TABLE>
267&nbsp;
268<P>
269
270<!-- ============ FIELD DETAIL =========== -->
271
272<A NAME="field_detail"><!-- --></A>
273<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
274<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
275<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
276<B>Field Detail</B></FONT></TH>
277</TR>
278</TABLE>
279
280<A NAME="B"><!-- --></A><H3>
281B</H3>
282<PRE>
283public static int <B>B</B></PRE>
284<DL>
285<DD>Variable B de un término.
286<P>
287<DL>
288</DL>
289</DL>
290<HR>
291
292<A NAME="F"><!-- --></A><H3>
293F</H3>
294<PRE>
295public static int <B>F</B></PRE>
296<DL>
297<DD>Variable F de un término.
298<P>
299<DL>
300</DL>
301</DL>
302
303<!-- ========= CONSTRUCTOR DETAIL ======== -->
304
305<A NAME="constructor_detail"><!-- --></A>
306<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
307<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
308<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
309<B>Constructor Detail</B></FONT></TH>
310</TR>
311</TABLE>
312
313<A NAME="TOLPolyn()"><!-- --></A><H3>
314TOLPolyn</H3>
315<PRE>
316public <B>TOLPolyn</B>()</PRE>
317<DL>
318<DD>Construye un polinomio sin términos, para añadir términos debe usar el método
319 addTerm.
320<P>
321</DL>
322
323<!-- ============ METHOD DETAIL ========== -->
324
325<A NAME="method_detail"><!-- --></A>
326<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
327<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
328<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
329<B>Method Detail</B></FONT></TH>
330</TR>
331</TABLE>
332
333<A NAME="getTerms()"><!-- --></A><H3>
334getTerms</H3>
335<PRE>
336public <A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A>[] <B>getTerms</B>()</PRE>
337<DL>
338<DD>Obtiene una copia exacta de todos los términos del polinomio.
339<P>
340<DD><DL>
341
342<DT><B>Returns:</B><DD>un arreglo con una copia de todos los términos del polinomio.</DL>
343</DD>
344</DL>
345<HR>
346
347<A NAME="addTerm(int, double, int)"><!-- --></A><H3>
348addTerm</H3>
349<PRE>
350public void <B>addTerm</B>(int&nbsp;var,
351                    double&nbsp;coef,
352                    int&nbsp;grade)</PRE>
353<DL>
354<DD>Añade un nuevo término al polinomio.
355<P>
356<DD><DL>
357<DT><B>Parameters:</B><DD><CODE>var</CODE> - variable del término (B o F).<DD><CODE>coef</CODE> - coeficiente del término.<DD><CODE>grade</CODE> - grado del término.</DL>
358</DD>
359</DL>
360<HR>
361
362<A NAME="removeTerm(int)"><!-- --></A><H3>
363removeTerm</H3>
364<PRE>
365public <A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A> <B>removeTerm</B>(int&nbsp;index)</PRE>
366<DL>
367<DD>Elimina el término de la posición <code>index</code> del polinomio.
368<P>
369<DD><DL>
370<DT><B>Parameters:</B><DD><CODE>index</CODE> - posición del téremino en el polinomio.
371<DT><B>Returns:</B><DD>una copia del término eliminado del polinomio.</DL>
372</DD>
373</DL>
374<HR>
375
376<A NAME="getNterms()"><!-- --></A><H3>
377getNterms</H3>
378<PRE>
379public int <B>getNterms</B>()</PRE>
380<DL>
381<DD>Obtiene el número de términos del polinomio.
382<P>
383<DD><DL>
384
385<DT><B>Returns:</B><DD>el número de términos del polinomio.</DL>
386</DD>
387</DL>
388<HR>
389
390<A NAME="getTerm(int)"><!-- --></A><H3>
391getTerm</H3>
392<PRE>
393public <A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A> <B>getTerm</B>(int&nbsp;index)</PRE>
394<DL>
395<DD>Obtiene el término ubicado en la posición <code>index</code> del polinomio.
396<P>
397<DD><DL>
398<DT><B>Parameters:</B><DD><CODE>index</CODE> - posición del término dentro del polinomio.
399<DT><B>Returns:</B><DD>el término ubicado en la posición <code>index</code> del polinomio.</DL>
400</DD>
401</DL>
402<HR>
403
404<A NAME="getIterator()"><!-- --></A><H3>
405getIterator</H3>
406<PRE>
407public java.util.Iterator&lt;<A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava">TOLPolynTerm</A>&gt; <B>getIterator</B>()</PRE>
408<DL>
409<DD>Obtiene un iterador que puede ser usado para moverse entre los términos del polinomio.
410<P>
411<DD><DL>
412
413<DT><B>Returns:</B><DD>el iterador sobre los términos.</DL>
414</DD>
415</DL>
416<HR>
417
418<A NAME="isPolyn()"><!-- --></A><H3>
419isPolyn</H3>
420<PRE>
421public boolean <B>isPolyn</B>()</PRE>
422<DL>
423<DD>Determina si el objeto corresponde al tipo Polyn de TOL.
424<P>
425<DD><DL>
426<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/hcarralero/toljava/TOLObject.html#isPolyn()">isPolyn</A></CODE> in interface <CODE><A HREF="../../../com/hcarralero/toljava/TOLObject.html" title="interface in com.hcarralero.toljava">TOLObject</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/hcarralero/toljava/TOLLObject.html#isPolyn()">isPolyn</A></CODE> in class <CODE><A HREF="../../../com/hcarralero/toljava/TOLLObject.html" title="class in com.hcarralero.toljava">TOLLObject</A></CODE></DL>
427</DD>
428<DD><DL>
429
430<DT><B>Returns:</B><DD><code>true</code> ya que el objeto corresponde al tipo Polyn de TOL.</DL>
431</DD>
432</DL>
433<HR>
434
435<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
436equals</H3>
437<PRE>
438public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE>
439<DL>
440<DD>Compara a este objeto con otro.
441<P>
442<DD><DL>
443<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
444</DD>
445<DD><DL>
446<DT><B>Parameters:</B><DD><CODE>obj</CODE> - el objeto con el que se comparará.
447<DT><B>Returns:</B><DD><code>true</code> si el objeto pasado como parámetro es de tipo <code>TOLPolyn</code>
448 y contiene los mismos términos.</DL>
449</DD>
450</DL>
451<HR>
452
453<A NAME="hashCode()"><!-- --></A><H3>
454hashCode</H3>
455<PRE>
456public int <B>hashCode</B>()</PRE>
457<DL>
458<DD>Calcula el código hash asignado al objeto.
459<P>
460<DD><DL>
461<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
462</DD>
463<DD><DL>
464
465<DT><B>Returns:</B><DD>el código hash asignado al objeto.</DL>
466</DD>
467</DL>
468<HR>
469
470<A NAME="toString()"><!-- --></A><H3>
471toString</H3>
472<PRE>
473public java.lang.String <B>toString</B>()</PRE>
474<DL>
475<DD>Obtiene una representación como cadena de texto del polinomio usando la sintaxis de TOL.
476<P>
477<DD><DL>
478<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
479</DD>
480<DD><DL>
481
482<DT><B>Returns:</B><DD>la representación como cadena de texto del polinomio.</DL>
483</DD>
484</DL>
485<!-- ========= END OF CLASS DATA ========= -->
486<HR>
487
488
489<!-- ======= START OF BOTTOM NAVBAR ====== -->
490<A NAME="navbar_bottom"><!-- --></A>
491<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
492<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
493<TR>
494<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
495<A NAME="navbar_bottom_firstrow"><!-- --></A>
496<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
497  <TR ALIGN="center" VALIGN="top">
498  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/hcarralero/toljava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
499  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
500  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/TOLPolyn.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
501  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
502  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
503  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
504  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
505  </TR>
506</TABLE>
507</TD>
508<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
509</EM>
510</TD>
511</TR>
512
513<TR>
514<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
515&nbsp;<A HREF="../../../com/hcarralero/toljava/TOLObject.html" title="interface in com.hcarralero.toljava"><B>PREV CLASS</B></A>&nbsp;
516&nbsp;<A HREF="../../../com/hcarralero/toljava/TOLPolynTerm.html" title="class in com.hcarralero.toljava"><B>NEXT CLASS</B></A></FONT></TD>
517<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
518  <A HREF="../../../index.html?com/hcarralero/toljava/TOLPolyn.html" target="_top"><B>FRAMES</B></A>  &nbsp;
519&nbsp;<A HREF="TOLPolyn.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
520&nbsp;<SCRIPT type="text/javascript">
521  <!--
522  if(window==top) {
523    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
524  }
525  //-->
526</SCRIPT>
527<NOSCRIPT>
528  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
529</NOSCRIPT>
530
531
532</FONT></TD>
533</TR>
534<TR>
535<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
536  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
537<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
538DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
539</TR>
540</TABLE>
541<A NAME="skip-navbar_bottom"></A>
542<!-- ======== END OF BOTTOM NAVBAR ======= -->
543
544<HR>
545
546</BODY>
547</HTML>
Note: See TracBrowser for help on using the repository browser.