<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">C3PO</span>
<spanclass="extends-implements">extends <ahref="Roboter.html"title="class in Domäne">Roboter</a></span></div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.lang.String,int)"class="member-name-link">C3PO</a><wbr>(<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> name,
<divclass="block">Gibt die ID (Seriennummer) des Roboters zurück.</div>
</div>
<divclass="col-first odd-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="block">Sortiert ein Array von Zahlen.</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>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">C3PO</span><wbr><spanclass="parameters">(<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> name,
<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>
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> - wenn der Roboter ausgeschaltet ist.</dd>
<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>