| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>ListedHashTree (Apache JMeter dist API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.jorphan.collections, class: ListedHashTree"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><b>Apache JMeter</b></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li><a href="#nested-class-summary">Nested</a> | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.jorphan.collections</a></div> |
| <h1 title="Class ListedHashTree" class="title">Class ListedHashTree</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="HashTree.html" title="class in org.apache.jorphan.collections">org.apache.jorphan.collections.HashTree</a> |
| <div class="inheritance">org.apache.jorphan.collections.ListedHashTree</div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>,<wbr><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a>></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">ListedHashTree</span> |
| <span class="extends-implements">extends <a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a></span></div> |
| <div class="block">ListedHashTree is a different implementation of the <a href="HashTree.html" title="class in org.apache.jorphan.collections"><code>HashTree</code></a> |
| collection class. In the ListedHashTree, the order in which values are added |
| is preserved . Any listing of nodes |
| or iteration through the list of nodes of a ListedHashTree will be given in |
| the order in which the nodes were added to the tree.</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="HashTree.html" title="class in org.apache.jorphan.collections"><code>HashTree</code></a></li> |
| <li><a href="../../../../serialized-form.html#org.apache.jorphan.collections.ListedHashTree">Serialized Form</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-java.util.Map">Nested classes/interfaces inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a></h2> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html" title="class or interface in java.util" class="external-link">Map.Entry</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html" title="class or interface in java.util" class="external-link">K</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>,<wbr><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html" title="class or interface in java.util" class="external-link">V</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>></code></div> |
| </section> |
| </li> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.apache.jorphan.collections.HashTree">Fields inherited from class org.apache.jorphan.collections.<a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></h3> |
| <code><a href="HashTree.html#data">data</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">ListedHashTree</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.lang.Object)" class="member-name-link">ListedHashTree</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.Object%5B%5D)" class="member-name-link">ListedHashTree</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>[] keys)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.util.Collection)" class="member-name-link">ListedHashTree</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><?> keys)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(java.lang.Object)" class="member-name-link">add</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Adds an key into the HashTree at the current level.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clear()" class="member-name-link">clear</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Clears the HashTree of all contents.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Create a clone of this HashTree.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createNewTree()" class="member-name-link">createNewTree</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a new tree.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createNewTree(java.lang.Object)" class="member-name-link">createNewTree</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a new tree.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createNewTree(java.util.Collection)" class="member-name-link">createNewTree</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><?> values)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a new tree.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#equals(java.lang.Object)" class="member-name-link">equals</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> o)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Compares all objects in the tree and verifies that the two trees contain |
| the same objects at the same tree levels.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>[]</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getArray()" class="member-name-link">getArray</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets an array of all keys in the current HashTree node.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hashCode()" class="member-name-link">hashCode</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns a hashcode for this HashTree.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#list()" class="member-name-link">list</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets a Collection of all keys in the current HashTree node.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#remove(java.lang.Object)" class="member-name-link">remove</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Removes the entire branch specified by the given key.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#replaceKey(java.lang.Object,java.lang.Object)" class="member-name-link">replaceKey</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> currentKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> newKey)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Finds the given current key, and replaces it with the given new key.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#set(java.lang.Object,java.lang.Object)" class="member-name-link">set</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets a key and it's value in the HashTree.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#set(java.lang.Object,java.lang.Object%5B%5D)" class="member-name-link">set</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>[] values)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets a key and its values in the HashTree.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#set(java.lang.Object,java.util.Collection)" class="member-name-link">set</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><?> values)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets a key and its values in the HashTree.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#set(java.lang.Object,org.apache.jorphan.collections.HashTree)" class="member-name-link">set</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a> t)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets a key into the current tree and assigns it a HashTree as its |
| subtree.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.jorphan.collections.HashTree">Methods inherited from class org.apache.jorphan.collections.<a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></h3> |
| <code><a href="HashTree.html#add(java.lang.Object%5B%5D)">add</a>, <a href="HashTree.html#add(java.lang.Object%5B%5D,java.lang.Object)">add</a>, <a href="HashTree.html#add(java.lang.Object%5B%5D,java.lang.Object%5B%5D)">add</a>, <a href="HashTree.html#add(java.lang.Object%5B%5D,java.util.Collection)">add</a>, <a href="HashTree.html#add(java.lang.Object,java.lang.Object)">add</a>, <a href="HashTree.html#add(java.lang.Object,java.lang.Object%5B%5D)">add</a>, <a href="HashTree.html#add(java.lang.Object,java.util.Collection)">add</a>, <a href="HashTree.html#add(java.lang.Object,org.apache.jorphan.collections.HashTree)">add</a>, <a href="HashTree.html#add(java.util.Collection)">add</a>, <a href="HashTree.html#add(java.util.Collection,java.lang.Object)">add</a>, <a href="HashTree.html#add(java.util.Collection,java.lang.Object%5B%5D)">add</a>, <a href="HashTree.html#add(java.util.Collection,java.util.Collection)">add</a>, <a href="HashTree.html#add(org.apache.jorphan.collections.HashTree)">add</a>, <a href="HashTree.html#addTreePath(java.util.Collection)">addTreePath</a>, <a href="HashTree.html#cloneTree(org.apache.jorphan.collections.HashTree)">cloneTree</a>, <a href="HashTree.html#containsKey(java.lang.Object)">containsKey</a>, <a href="HashTree.html#containsValue(java.lang.Object)">containsValue</a>, <a href="HashTree.html#entrySet()">entrySet</a>, <a href="HashTree.html#get(java.lang.Object)">get</a>, <a href="HashTree.html#getArray(java.lang.Object)">getArray</a>, <a href="HashTree.html#getArray(java.lang.Object%5B%5D)">getArray</a>, <a href="HashTree.html#getArray(java.util.Collection)">getArray</a>, <a href="HashTree.html#getTree(java.lang.Object)">getTree</a>, <a href="HashTree.html#getTree(java.lang.Object%5B%5D)">getTree</a>, <a href="HashTree.html#getTree(java.util.Collection)">getTree</a>, <a href="HashTree.html#getTreePath(java.util.Collection)">getTreePath</a>, <a href="HashTree.html#isEmpty()">isEmpty</a>, <a href="HashTree.html#keySet()">keySet</a>, <a href="HashTree.html#list(java.lang.Object)">list</a>, <a href="HashTree.html#list(java.lang.Object%5B%5D)">list</a>, <a href="HashTree.html#list(java.util.Collection)">list</a>, <a href="HashTree.html#put(java.lang.Object,org.apache.jorphan.collections.HashTree)">put</a>, <a href="HashTree.html#putAll(java.util.Map)">putAll</a>, <a href="HashTree.html#search(java.lang.Object)">search</a>, <a href="HashTree.html#set(java.lang.Object%5B%5D,java.lang.Object%5B%5D)">set</a>, <a href="HashTree.html#set(java.lang.Object%5B%5D,java.util.Collection)">set</a>, <a href="HashTree.html#set(java.util.Collection)">set</a>, <a href="HashTree.html#set(java.util.Collection,java.lang.Object%5B%5D)">set</a>, <a href="HashTree.html#set(java.util.Collection,java.util.Collection)">set</a>, <a href="HashTree.html#size()">size</a>, <a href="HashTree.html#toString()">toString</a>, <a href="HashTree.html#traverse(org.apache.jorphan.collections.HashTreeTraverser)">traverse</a>, <a href="HashTree.html#values()">values</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.util.Map">Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#compute-K-java.util.function.BiFunction-" title="class or interface in java.util" class="external-link">compute</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util" class="external-link">computeIfAbsent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util" class="external-link">computeIfPresent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#forEach-java.util.function.BiConsumer-" title="class or interface in java.util" class="external-link">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#getOrDefault-java.lang.Object-V-" title="class or interface in java.util" class="external-link">getOrDefault</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util" class="external-link">merge</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#putIfAbsent-K-V-" title="class or interface in java.util" class="external-link">putIfAbsent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util" class="external-link">remove</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#replace-K-V-" title="class or interface in java.util" class="external-link">replace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#replace-K-V-V-" title="class or interface in java.util" class="external-link">replace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#replaceAll-java.util.function.BiFunction-" title="class or interface in java.util" class="external-link">replaceAll</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>()"> |
| <h3>ListedHashTree</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ListedHashTree</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.lang.Object)"> |
| <h3>ListedHashTree</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ListedHashTree</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.util.Collection)"> |
| <h3>ListedHashTree</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ListedHashTree</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><?> keys)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.lang.Object[])"> |
| <h3>ListedHashTree</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ListedHashTree</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>[] keys)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="clone()"> |
| <h3>clone</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span> <span class="element-name">clone</span>()</div> |
| <div class="block">Create a clone of this HashTree. This is not a deep clone (i.e., the |
| contents of the tree are not cloned).</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#clone()">clone</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="set(java.lang.Object,java.lang.Object)"> |
| <h3>set</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">set</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> value)</span></div> |
| <div class="block">Sets a key and it's value in the HashTree. It actually sets up a key, and |
| then creates a node for the key and sets the value to the new node, as a |
| key. Any previous nodes that existed under the given key are lost.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#set(java.lang.Object,java.lang.Object)">set</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - key to be set up</dd> |
| <dd><code>value</code> - value to be set up as a key in the secondary node</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="set(java.lang.Object,org.apache.jorphan.collections.HashTree)"> |
| <h3>set</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">set</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a> t)</span></div> |
| <div class="block">Sets a key into the current tree and assigns it a HashTree as its |
| subtree. Any previous entries under the given key are removed.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#set(java.lang.Object,org.apache.jorphan.collections.HashTree)">set</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - key to be set up</dd> |
| <dd><code>t</code> - HashTree that the key maps to</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="set(java.lang.Object,java.lang.Object[])"> |
| <h3>set</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">set</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>[] values)</span></div> |
| <div class="block">Sets a key and its values in the HashTree. It sets up a key in the |
| current node, and then creates a node for that key, and sets all the |
| values in the array as keys in the new node. Any keys previously held |
| under the given key are lost.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#set(java.lang.Object,java.lang.Object%5B%5D)">set</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - Key to be set up</dd> |
| <dd><code>values</code> - Array of objects to be added as keys in the secondary node</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="set(java.lang.Object,java.util.Collection)"> |
| <h3>set</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">set</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><?> values)</span></div> |
| <div class="block">Sets a key and its values in the HashTree. It sets up a key in the |
| current node, and then creates a node for that key, and set all the |
| values in the array as keys in the new node. Any keys previously held |
| under the given key are removed.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#set(java.lang.Object,java.util.Collection)">set</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - key to be set up</dd> |
| <dd><code>values</code> - Collection of objects to be added as keys in the secondary |
| node</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="replaceKey(java.lang.Object,java.lang.Object)"> |
| <h3>replaceKey</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">replaceKey</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> currentKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> newKey)</span></div> |
| <div class="block">Finds the given current key, and replaces it with the given new key. Any |
| tree structure found under the original key is moved to the new key.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#replaceKey(java.lang.Object,java.lang.Object)">replaceKey</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>currentKey</code> - name of the key to be replaced</dd> |
| <dd><code>newKey</code> - name of the new key</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createNewTree()"> |
| <h3>createNewTree</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></span> <span class="element-name">createNewTree</span>()</div> |
| <div class="block">Creates a new tree. This method exists to allow inheriting classes to |
| generate the appropriate types of nodes. For instance, when a node is |
| added, it's value is a HashTree. Rather than directly calling the |
| HashTree() constructor, the createNewTree() method is called. Inheriting |
| classes should override these methods and create the appropriate subclass |
| of HashTree.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#createNewTree()">createNewTree</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>HashTree</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createNewTree(java.lang.Object)"> |
| <h3>createNewTree</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></span> <span class="element-name">createNewTree</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</span></div> |
| <div class="block">Creates a new tree. This method exists to allow inheriting classes to |
| generate the appropriate types of nodes. For instance, when a node is |
| added, it's value is a HashTree. Rather than directly calling the |
| HashTree() constructor, the createNewTree() method is called. Inheriting |
| classes should override these methods and create the appropriate subclass |
| of HashTree.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#createNewTree(java.lang.Object)">createNewTree</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - object to use as the key for the top level</dd> |
| <dt>Returns:</dt> |
| <dd>newly created <a href="HashTree.html" title="class in org.apache.jorphan.collections"><code>HashTree</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createNewTree(java.util.Collection)"> |
| <h3>createNewTree</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></span> <span class="element-name">createNewTree</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><?> values)</span></div> |
| <div class="block">Creates a new tree. This method exists to allow inheriting classes to |
| generate the appropriate types of nodes. For instance, when a node is |
| added, it's value is a HashTree. Rather than directly calling the |
| HashTree() constructor, the createNewTree() method is called. Inheriting |
| classes should override these methods and create the appropriate subclass |
| of HashTree.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#createNewTree(java.util.Collection)">createNewTree</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>values</code> - objects to be added to the new <a href="HashTree.html" title="class in org.apache.jorphan.collections"><code>HashTree</code></a></dd> |
| <dt>Returns:</dt> |
| <dd>newly created <a href="HashTree.html" title="class in org.apache.jorphan.collections"><code>HashTree</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="add(java.lang.Object)"> |
| <h3>add</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></span> <span class="element-name">add</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</span></div> |
| <div class="block">Adds an key into the HashTree at the current level. If a HashTree exists |
| for the key already, no new tree will be added</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#add(java.lang.Object)">add</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - key to be added to HashTree</dd> |
| <dt>Returns:</dt> |
| <dd>newly generated tree, if no tree was found for the given key; |
| existing key otherwise</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="list()"> |
| <h3>list</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>></span> <span class="element-name">list</span>()</div> |
| <div class="block">Gets a Collection of all keys in the current HashTree node. If the |
| HashTree represented a file system, this would be like getting a |
| collection of all the files in the current folder.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#list()">list</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>Set of all keys in this HashTree</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="remove(java.lang.Object)"> |
| <h3>remove</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></span> <span class="element-name">remove</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> key)</span></div> |
| <div class="block">Removes the entire branch specified by the given key.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#remove-java.lang.Object-" title="class or interface in java.util" class="external-link">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>,<wbr><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a>></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#remove(java.lang.Object)">remove</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#remove-java.lang.Object-" title="class or interface in java.util" class="external-link"><code>Map.remove(Object)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getArray()"> |
| <h3>getArray</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>[]</span> <span class="element-name">getArray</span>()</div> |
| <div class="block">Gets an array of all keys in the current HashTree node. If the HashTree |
| represented a file system, this would be like getting an array of all the |
| files in the current folder.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#getArray()">getArray</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>array of all keys in this HashTree.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="hashCode()"> |
| <h3>hashCode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">hashCode</span>()</div> |
| <div class="block">Returns a hashcode for this HashTree.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#hashCode--" title="class or interface in java.util" class="external-link">hashCode</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>,<wbr><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a>></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#hashCode()">hashCode</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" title="class or interface in java.lang" class="external-link"><code>Object.hashCode()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="equals(java.lang.Object)"> |
| <h3>equals</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">equals</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> o)</span></div> |
| <div class="block">Compares all objects in the tree and verifies that the two trees contain |
| the same objects at the same tree levels. Returns true if they do, false |
| otherwise.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#equals-java.lang.Object-" title="class or interface in java.util" class="external-link">equals</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>,<wbr><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a>></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#equals(java.lang.Object)">equals</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>o</code> - Object to be compared against</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" title="class or interface in java.lang" class="external-link"><code>Object.equals(Object)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="clear()"> |
| <h3>clear</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">clear</span>()</div> |
| <div class="block">Clears the HashTree of all contents.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#clear--" title="class or interface in java.util" class="external-link">clear</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>,<wbr><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a>></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="HashTree.html#clear()">clear</a></code> in class <code><a href="HashTree.html" title="class in org.apache.jorphan.collections">HashTree</a></code></dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#clear--" title="class or interface in java.util" class="external-link"><code>Map.clear()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 1998-2022 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |