123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:42 CEST 2014 -->
- <title>DefaultKeyedValues2D (JFreeChart Class Library (version 1.0.19-fx))</title>
- <meta name="date" content="2014-07-31">
- <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
- <script type="text/javascript" src="../../../script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="DefaultKeyedValues2D (JFreeChart Class Library (version 1.0.19-fx))";
- }
- }
- catch(err) {
- }
- //-->
- var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/DefaultKeyedValues2D.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../org/jfree/data/DefaultKeyedValues.html" title="class in org.jfree.data"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../../org/jfree/data/DomainInfo.html" title="interface in org.jfree.data"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../index.html?org/jfree/data/DefaultKeyedValues2D.html" target="_top">Frames</a></li>
- <li><a href="DefaultKeyedValues2D.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">org.jfree.data</div>
- <h2 title="Class DefaultKeyedValues2D" class="title">Class DefaultKeyedValues2D</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>org.jfree.data.DefaultKeyedValues2D</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>All Implemented Interfaces:</dt>
- <dd>java.io.Serializable, java.lang.Cloneable, <a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a>, <a href="../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</a>, org.jfree.util.PublicCloneable</dd>
- </dl>
- <hr>
- <br>
- <pre>public class <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.75">DefaultKeyedValues2D</a>
- extends java.lang.Object
- implements <a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a>, org.jfree.util.PublicCloneable, java.lang.Cloneable, java.io.Serializable</pre>
- <div class="block">A data structure that stores zero, one or many values, where each value
- is associated with two keys (a 'row' key and a 'column' key). The keys
- should be (a) instances of <code>Comparable</code> and (b) immutable.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../serialized-form.html#org.jfree.data.DefaultKeyedValues2D">Serialized Form</a></dd>
- </dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#DefaultKeyedValues2D--">DefaultKeyedValues2D</a></span>()</code>
- <div class="block">Creates a new instance (initially empty).</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#DefaultKeyedValues2D-boolean-">DefaultKeyedValues2D</a></span>(boolean sortRowKeys)</code>
- <div class="block">Creates a new instance (initially empty).</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#addValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-">addValue</a></span>(java.lang.Number value,
- java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</code>
- <div class="block">Adds a value to the table.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#clear--">clear</a></span>()</code>
- <div class="block">Clears all the data and associated keys.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>java.lang.Object</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#clone--">clone</a></span>()</code>
- <div class="block">Returns a clone.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object o)</code>
- <div class="block">Tests if this object is equal to another.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnCount--">getColumnCount</a></span>()</code>
- <div class="block">Returns the column count.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnIndex-java.lang.Comparable-">getColumnIndex</a></span>(java.lang.Comparable key)</code>
- <div class="block">Returns the column index for a given key.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>java.lang.Comparable</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnKey-int-">getColumnKey</a></span>(int column)</code>
- <div class="block">Returns the key for a given column.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code>java.util.List</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnKeys--">getColumnKeys</a></span>()</code>
- <div class="block">Returns the column keys in an unmodifiable list.</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowCount--">getRowCount</a></span>()</code>
- <div class="block">Returns the row count.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowIndex-java.lang.Comparable-">getRowIndex</a></span>(java.lang.Comparable key)</code>
- <div class="block">Returns the row index for a given key.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>java.lang.Comparable</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowKey-int-">getRowKey</a></span>(int row)</code>
- <div class="block">Returns the key for a given row.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code>java.util.List</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowKeys--">getRowKeys</a></span>()</code>
- <div class="block">Returns the row keys in an unmodifiable list.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>java.lang.Number</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getValue-java.lang.Comparable-java.lang.Comparable-">getValue</a></span>(java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</code>
- <div class="block">Returns the value for the given row and column keys.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>java.lang.Number</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getValue-int-int-">getValue</a></span>(int row,
- int column)</code>
- <div class="block">Returns the value for a given row and column.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#hashCode--">hashCode</a></span>()</code>
- <div class="block">Returns a hash code.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeColumn-java.lang.Comparable-">removeColumn</a></span>(java.lang.Comparable columnKey)</code>
- <div class="block">Removes a column from the table.</div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeColumn-int-">removeColumn</a></span>(int columnIndex)</code>
- <div class="block">Removes a column.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeRow-java.lang.Comparable-">removeRow</a></span>(java.lang.Comparable rowKey)</code>
- <div class="block">Removes a row from the table.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeRow-int-">removeRow</a></span>(int rowIndex)</code>
- <div class="block">Removes a row.</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeValue-java.lang.Comparable-java.lang.Comparable-">removeValue</a></span>(java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</code>
- <div class="block">Removes a value from the table by setting it to <code>null</code>.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#setValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-">setValue</a></span>(java.lang.Number value,
- java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</code>
- <div class="block">Adds or updates a value.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="DefaultKeyedValues2D--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>DefaultKeyedValues2D</h4>
- <pre>public <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.96">DefaultKeyedValues2D</a>()</pre>
- <div class="block">Creates a new instance (initially empty).</div>
- </li>
- </ul>
- <a name="DefaultKeyedValues2D-boolean-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>DefaultKeyedValues2D</h4>
- <pre>public <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.105">DefaultKeyedValues2D</a>(boolean sortRowKeys)</pre>
- <div class="block">Creates a new instance (initially empty).</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>sortRowKeys</code> - if the row keys should be sorted.</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="getRowCount--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRowCount</h4>
- <pre>public int <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.120">getRowCount</a>()</pre>
- <div class="block">Returns the row count.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/Values2D.html#getRowCount--">getRowCount</a></code> in interface <code><a href="../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</a></code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The row count.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnCount--"><code>getColumnCount()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getColumnCount--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getColumnCount</h4>
- <pre>public int <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.132">getColumnCount</a>()</pre>
- <div class="block">Returns the column count.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/Values2D.html#getColumnCount--">getColumnCount</a></code> in interface <code><a href="../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</a></code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The column count.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowCount--"><code>getRowCount()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getValue-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getValue</h4>
- <pre>public java.lang.Number <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.147">getValue</a>(int row,
- int column)</pre>
- <div class="block">Returns the value for a given row and column.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/Values2D.html#getValue-int-int-">getValue</a></code> in interface <code><a href="../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</a></code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>row</code> - the row index.</dd>
- <dd><code>column</code> - the column index.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The value.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getValue-java.lang.Comparable-java.lang.Comparable-"><code>getValue(Comparable, Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getRowKey-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRowKey</h4>
- <pre>public java.lang.Comparable <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.173">getRowKey</a>(int row)</pre>
- <div class="block">Returns the key for a given row.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/KeyedValues2D.html#getRowKey-int-">getRowKey</a></code> in interface <code><a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a></code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>row</code> - the row index (in the range 0 to <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowCount--"><code>getRowCount()</code></a> - 1).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The row key.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowIndex-java.lang.Comparable-"><code>getRowIndex(Comparable)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnKey-int-"><code>getColumnKey(int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getRowIndex-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRowIndex</h4>
- <pre>public int <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.188">getRowIndex</a>(java.lang.Comparable key)</pre>
- <div class="block">Returns the row index for a given key.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/KeyedValues2D.html#getRowIndex-java.lang.Comparable-">getRowIndex</a></code> in interface <code><a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a></code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>key</code> - the key (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The row index.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowKey-int-"><code>getRowKey(int)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnIndex-java.lang.Comparable-"><code>getColumnIndex(Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getRowKeys--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRowKeys</h4>
- <pre>public java.util.List <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.206">getRowKeys</a>()</pre>
- <div class="block">Returns the row keys in an unmodifiable list.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/KeyedValues2D.html#getRowKeys--">getRowKeys</a></code> in interface <code><a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a></code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The row keys.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnKeys--"><code>getColumnKeys()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getColumnKey-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getColumnKey</h4>
- <pre>public java.lang.Comparable <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.222">getColumnKey</a>(int column)</pre>
- <div class="block">Returns the key for a given column.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/KeyedValues2D.html#getColumnKey-int-">getColumnKey</a></code> in interface <code><a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a></code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>column</code> - the column (in the range 0 to <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnCount--"><code>getColumnCount()</code></a>
- - 1).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The key.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnIndex-java.lang.Comparable-"><code>getColumnIndex(Comparable)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowKey-int-"><code>getRowKey(int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getColumnIndex-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getColumnIndex</h4>
- <pre>public int <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.237">getColumnIndex</a>(java.lang.Comparable key)</pre>
- <div class="block">Returns the column index for a given key.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/KeyedValues2D.html#getColumnIndex-java.lang.Comparable-">getColumnIndex</a></code> in interface <code><a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a></code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>key</code> - the key (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The column index.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getColumnKey-int-"><code>getColumnKey(int)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowIndex-java.lang.Comparable-"><code>getRowIndex(Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getColumnKeys--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getColumnKeys</h4>
- <pre>public java.util.List <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.250">getColumnKeys</a>()</pre>
- <div class="block">Returns the column keys in an unmodifiable list.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/KeyedValues2D.html#getColumnKeys--">getColumnKeys</a></code> in interface <code><a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a></code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The column keys.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#getRowKeys--"><code>getRowKeys()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getValue-java.lang.Comparable-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getValue</h4>
- <pre>public java.lang.Number <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.268">getValue</a>(java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</pre>
- <div class="block">Returns the value for the given row and column keys. This method will
- throw an <a href="../../../org/jfree/data/UnknownKeyException.html" title="class in org.jfree.data"><code>UnknownKeyException</code></a> if either key is not defined in the
- data structure.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code><a href="../../../org/jfree/data/KeyedValues2D.html#getValue-java.lang.Comparable-java.lang.Comparable-">getValue</a></code> in interface <code><a href="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</a></code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>rowKey</code> - the row key (<code>null</code> not permitted).</dd>
- <dd><code>columnKey</code> - the column key (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The value (possibly <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#addValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-"><code>addValue(Number, Comparable, Comparable)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeValue-java.lang.Comparable-java.lang.Comparable-"><code>removeValue(Comparable, Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="addValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addValue</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.304">addValue</a>(java.lang.Number value,
- java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</pre>
- <div class="block">Adds a value to the table. Performs the same function as
- #setValue(Number, Comparable, Comparable).</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>value</code> - the value (<code>null</code> permitted).</dd>
- <dd><code>rowKey</code> - the row key (<code>null</code> not permitted).</dd>
- <dd><code>columnKey</code> - the column key (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#setValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-"><code>setValue(Number, Comparable, Comparable)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeValue-java.lang.Comparable-java.lang.Comparable-"><code>removeValue(Comparable, Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setValue</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.320">setValue</a>(java.lang.Number value,
- java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</pre>
- <div class="block">Adds or updates a value.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>value</code> - the value (<code>null</code> permitted).</dd>
- <dd><code>rowKey</code> - the row key (<code>null</code> not permitted).</dd>
- <dd><code>columnKey</code> - the column key (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#addValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-"><code>addValue(Number, Comparable, Comparable)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeValue-java.lang.Comparable-java.lang.Comparable-"><code>removeValue(Comparable, Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="removeValue-java.lang.Comparable-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>removeValue</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.359">removeValue</a>(java.lang.Comparable rowKey,
- java.lang.Comparable columnKey)</pre>
- <div class="block">Removes a value from the table by setting it to <code>null</code>. If
- all the values in the specified row and/or column are now
- <code>null</code>, the row and/or column is removed from the table.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>rowKey</code> - the row key (<code>null</code> not permitted).</dd>
- <dd><code>columnKey</code> - the column key (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#addValue-java.lang.Number-java.lang.Comparable-java.lang.Comparable-"><code>addValue(Number, Comparable, Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="removeRow-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>removeRow</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.415">removeRow</a>(int rowIndex)</pre>
- <div class="block">Removes a row.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>rowIndex</code> - the row index.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeRow-java.lang.Comparable-"><code>removeRow(Comparable)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeColumn-int-"><code>removeColumn(int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="removeRow-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>removeRow</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.431">removeRow</a>(java.lang.Comparable rowKey)</pre>
- <div class="block">Removes a row from the table.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>rowKey</code> - the row key (<code>null</code> not permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../../org/jfree/data/UnknownKeyException.html" title="class in org.jfree.data">UnknownKeyException</a></code> - if <code>rowKey</code> is not defined in the
- table.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeRow-int-"><code>removeRow(int)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeColumn-java.lang.Comparable-"><code>removeColumn(Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="removeColumn-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>removeColumn</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.450">removeColumn</a>(int columnIndex)</pre>
- <div class="block">Removes a column.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>columnIndex</code> - the column index.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeColumn-java.lang.Comparable-"><code>removeColumn(Comparable)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeRow-int-"><code>removeRow(int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="removeColumn-java.lang.Comparable-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>removeColumn</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.468">removeColumn</a>(java.lang.Comparable columnKey)</pre>
- <div class="block">Removes a column from the table.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>columnKey</code> - the column key (<code>null</code> not permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../../org/jfree/data/UnknownKeyException.html" title="class in org.jfree.data">UnknownKeyException</a></code> - if the table does not contain a column with
- the specified key.</dd>
- <dd><code>java.lang.IllegalArgumentException</code> - if <code>columnKey</code> is
- <code>null</code>.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeColumn-int-"><code>removeColumn(int)</code></a>,
- <a href="../../../org/jfree/data/DefaultKeyedValues2D.html#removeRow-java.lang.Comparable-"><code>removeRow(Comparable)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="clear--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>clear</h4>
- <pre>public void <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.487">clear</a>()</pre>
- <div class="block">Clears all the data and associated keys.</div>
- </li>
- </ul>
- <a name="equals-java.lang.Object-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>equals</h4>
- <pre>public boolean <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.501">equals</a>(java.lang.Object o)</pre>
- <div class="block">Tests if this object is equal to another.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code>equals</code> in class <code>java.lang.Object</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>o</code> - the other object (<code>null</code> permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A boolean.</dd>
- </dl>
- </li>
- </ul>
- <a name="hashCode--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>hashCode</h4>
- <pre>public int <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.555">hashCode</a>()</pre>
- <div class="block">Returns a hash code.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A hash code.</dd>
- </dl>
- </li>
- </ul>
- <a name="clone--">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>clone</h4>
- <pre>public java.lang.Object <a href="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.572">clone</a>()
- throws java.lang.CloneNotSupportedException</pre>
- <div class="block">Returns a clone.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>clone</code> in interface <code>org.jfree.util.PublicCloneable</code></dd>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code>clone</code> in class <code>java.lang.Object</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A clone.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.lang.CloneNotSupportedException</code> - this class will not throw this
- exception, but subclasses (if any) might.</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/DefaultKeyedValues2D.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../org/jfree/data/DefaultKeyedValues.html" title="class in org.jfree.data"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../../org/jfree/data/DomainInfo.html" title="interface in org.jfree.data"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../index.html?org/jfree/data/DefaultKeyedValues2D.html" target="_top">Frames</a></li>
- <li><a href="DefaultKeyedValues2D.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- </body>
- </html>
|