<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="Roboter.html"title="class in Domäne">Domäne.Roboter</a>
<dd><code><ahref="../tpe/exceptions/roboter/Robot.html"title="interface in tpe.exceptions.roboter">Robot</a></code>, <code><ahref="../tpe/exceptions/roboter/RobotControl.html"title="interface in tpe.exceptions.roboter">RobotControl</a></code>, <code><ahref="../tpe/exceptions/roboter/RobotInstructions.html"title="interface in tpe.exceptions.roboter">RobotInstructions</a></code></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">Nexus6</span>
<spanclass="extends-implements">extends <ahref="Roboter.html"title="class in Domäne">Roboter</a></span></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="RobotType.html"title="enum class in Domäne">RobotType</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="block">Betätigen den An-/Ausschaltknopf.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-Domäne.Roboter">Methods inherited from class Domäne.<ahref="Roboter.html"title="class in Domäne">Roboter</a></h3>
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getInstance()">
<h3>getInstance</h3>
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="Nexus6.html"title="class in Domäne">Nexus6</a></span> <spanclass="element-name">getInstance</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../tpe/exceptions/roboter/RobotControl.html#triggerPowerSwitch()">RobotControl</a></code></span></div>
<divclass="block">Betätigen den An-/Ausschaltknopf.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../tpe/exceptions/roboter/RobotControl.html#triggerPowerSwitch()">triggerPowerSwitch</a></code> in interface <code><ahref="../tpe/exceptions/roboter/RobotControl.html"title="interface in tpe.exceptions.roboter">RobotControl</a></code></dd>
<dt>Overrides:</dt>
<dd><code><ahref="Roboter.html#triggerPowerSwitch()">triggerPowerSwitch</a></code> in class <code><ahref="Roboter.html"title="class in Domäne">Roboter</a></code></dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../tpe/exceptions/roboter/RobotControl.html#getId()">RobotControl</a></code></span></div>
<divclass="block">Gibt die ID (Seriennummer) des Roboters zurück.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../tpe/exceptions/roboter/RobotControl.html#getId()">getId</a></code> in interface <code><ahref="../tpe/exceptions/roboter/RobotControl.html"title="interface in tpe.exceptions.roboter">RobotControl</a></code></dd>
<dt>Specified by:</dt>
<dd><code><ahref="Roboter.html#getId()">getId</a></code> in class <code><ahref="Roboter.html"title="class in Domäne">Roboter</a></code></dd>
<dt>Returns:</dt>
<dd>Eine eindeutige Identifikation in Form einer Zahl.</dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../tpe/exceptions/roboter/RobotControl.html#isPowerOn()">RobotControl</a></code></span></div>
<divclass="block">Prüft ob der Roboter eingeschaltet ist.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../tpe/exceptions/roboter/RobotControl.html#isPowerOn()">isPowerOn</a></code> in interface <code><ahref="../tpe/exceptions/roboter/RobotControl.html"title="interface in tpe.exceptions.roboter">RobotControl</a></code></dd>
<dt>Overrides:</dt>
<dd><code><ahref="Roboter.html#isPowerOn()">isPowerOn</a></code> in class <code><ahref="Roboter.html"title="class in Domäne">Roboter</a></code></dd>
<dt>Returns:</dt>
<dd><code>true</code> bedeutet, dass der Roboter eingeschaltet ist,
<code>false</code>, dass er nicht eingeschaltet ist.</dd>
<dt>See Also:</dt>
<dd>
<ulclass="see-list-long">
<li><ahref="../tpe/exceptions/roboter/RobotControl.html#isPowerOn()"><code>Roboter bleibt immer abgeschaltet.</code></a></li>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">speak</span><wbr><spanclass="parameters">(int[] zahlen)</span>
throws <spanclass="exceptions"><ahref="../tpe/exceptions/roboter/exceptions/RobotException.html"title="class in tpe.exceptions.roboter.exceptions">RobotException</a></span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../tpe/exceptions/roboter/RobotInstructions.html#speak(int%5B%5D)">RobotInstructions</a></code></span></div>
<divclass="block">Gibt ein Array von Zahlen als String zurück. Die Zahlen werden
<b>nicht</b> sortiert.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../tpe/exceptions/roboter/RobotInstructions.html#speak(int%5B%5D)">speak</a></code> in interface <code><ahref="../tpe/exceptions/roboter/RobotInstructions.html"title="interface in tpe.exceptions.roboter">RobotInstructions</a></code></dd>
<dt>Overrides:</dt>
<dd><code><ahref="Roboter.html#speak(int%5B%5D)">speak</a></code> in class <code><ahref="Roboter.html"title="class in Domäne">Roboter</a></code></dd>
<dt>Parameters:</dt>
<dd><code>zahlen</code> - Zahlen, die ausgegeben werden sollen.</dd>
<dd><code><ahref="../tpe/exceptions/roboter/exceptions/RobotIllegalStateException.html"title="class in tpe.exceptions.roboter.exceptions">RobotIllegalStateException</a></code> - Methode soll Fehler ausgeben, da der
<dd><code><ahref="../tpe/exceptions/roboter/exceptions/RobotException.html"title="class in tpe.exceptions.roboter.exceptions">RobotException</a></code> - wenn der Roboter in einem ungültigen Zustand ist,
oder das Array nicht seinen Vorstellungen entspricht.</dd>
throws <spanclass="exceptions"><ahref="../tpe/exceptions/roboter/exceptions/RobotException.html"title="class in tpe.exceptions.roboter.exceptions">RobotException</a></span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../tpe/exceptions/roboter/RobotInstructions.html#think(int%5B%5D)">RobotInstructions</a></code></span></div>
<divclass="block">Sortiert ein Array von Zahlen. Die Reihenfolge hängt von dem Typ des
Roboters ab.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../tpe/exceptions/roboter/RobotInstructions.html#think(int%5B%5D)">think</a></code> in interface <code><ahref="../tpe/exceptions/roboter/RobotInstructions.html"title="interface in tpe.exceptions.roboter">RobotInstructions</a></code></dd>
<dt>Specified by:</dt>
<dd><code><ahref="Roboter.html#think(int%5B%5D)">think</a></code> in class <code><ahref="Roboter.html"title="class in Domäne">Roboter</a></code></dd>
<dt>Parameters:</dt>
<dd><code>zahlen</code> - Zahlen, die sortiert werden sollen.</dd>
<dd><code><ahref="../tpe/exceptions/roboter/exceptions/RobotIllegalStateException.html"title="class in tpe.exceptions.roboter.exceptions">RobotIllegalStateException</a></code> - Methode soll Fehler ausgeben, da der
<dd><code><ahref="../tpe/exceptions/roboter/exceptions/RobotException.html"title="class in tpe.exceptions.roboter.exceptions">RobotException</a></code> - wenn der Roboter in einem ungültigen Zustand ist,
oder das Array nicht seinen Vorstellungen entspricht.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="RobotType.html"title="enum class in Domäne">RobotType</a></span> <spanclass="element-name">getRobotType</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Roboter.html#getRobotType()">Roboter</a></code></span></div>
<divclass="block">gibt den Typ des Roboters zurück</div>
<dd><code><ahref="Roboter.html#getRobotType()">getRobotType</a></code> in class <code><ahref="Roboter.html"title="class in Domäne">Roboter</a></code></dd>