mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Logische Operatoren hinzugefügt
This commit is contained in:
parent
19c2ef6eec
commit
f9a5e819c1
7 changed files with 59 additions and 4 deletions
|
@ -77,6 +77,18 @@ Listen können erstellt und durchgegangen werden:
|
|||
|
||||
\inputminted[numbersep=5pt, tabsize=4]{scala}{scripts/scala/extended-for.scala}
|
||||
|
||||
\subsection{Logische Operatoren}
|
||||
\begin{table}[h]
|
||||
\centering
|
||||
\begin{tabular}{CCCC}
|
||||
UND & ODER & Wahr & Falsch \\ \hline\hline
|
||||
\&\& & || & true & false \\[4ex]
|
||||
GLEICH & UNGLEICH & NICHT & ~ \\ \hline\hline
|
||||
== & != & ! & ~ \\
|
||||
\end{tabular}
|
||||
\caption{Logische Operatoren in Scala}\xindex{Logische Operatoren!Scala}
|
||||
\end{table}
|
||||
|
||||
\section{Companion Object}\xindex{Companion Object}
|
||||
Ein Companion Object ist ein Objekt mit dem Namen einer Klasse oder eines Traits.
|
||||
Im Gegensatz zu anderen Objekten / Traits hat das Companion Object zugriff auf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue