mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 23:23:55 +00:00
Compare commits
4 Commits
fce89b103f
...
af4d6b8618
Author | SHA1 | Date | |
---|---|---|---|
![]() |
af4d6b8618 | ||
![]() |
57d988a1df | ||
![]() |
7f0f27d84d | ||
![]() |
92c0809c65 |
@ -129,8 +129,9 @@ public class LearnJavaDe {
|
||||
// Maps - Eine Sammlung von Objekten, welche eine Verknüpfung von Schlüsseln zu Werten (key => value) vornimmt.
|
||||
// Eine Map kann keine Duplikate enthalten; Jeder Schlüssel kann genau einen Wert beinhalten.
|
||||
// HashMaps - Diese Klasse nutzt eine Hashtabelle zur Implementierung eines Map Interfaces.
|
||||
// Dies erlaubt es zur Laufzeit Standardoperationen wie gib (get) und einfügen (insert)
|
||||
// selbst für große Mengen in einer konstanten Zeit auszuführen (Laufzeitverhalten O(n)).
|
||||
// Dies erlaubt es zur Laufzeit Standardoperationen wie gib (get) und einfügen (insert).
|
||||
// Dies dauert im Mittel nur "konstante" Zeit, auch genannt O(1). Für Details siehe
|
||||
// https://de.wikipedia.org/wiki/Landau-Symbole und https://de.wikipedia.org/wiki/Hashtabelle
|
||||
|
||||
///////////////////////////////////////
|
||||
// Operatoren
|
||||
|
@ -171,7 +171,7 @@ $ git add HelloWorld.java
|
||||
# add a file in a nested dir
|
||||
$ git add /path/to/file/HelloWorld.c
|
||||
|
||||
# Regular Expression support!
|
||||
# Shell glob patterns make it easy to specify multiple files:
|
||||
$ git add ./*.java
|
||||
|
||||
# You can also add everything in your working directory to the staging area.
|
||||
|
@ -8,16 +8,20 @@ contributors:
|
||||
---
|
||||
|
||||
Vim9Script is a modern scripting language introduced in Vim 9.0.
|
||||
It improves performance, readability, and structure over legacy Vimscript.
|
||||
It is designed to replace legacy Vimscript (also called VimL), which is a sequence of ex-commands enhanced with scripting constructs like variables, functions, and control flow.
|
||||
|
||||
Unlike legacy Vimscript, Vim9Script enforces stricter syntax, improves performance, and supports modern programming features such as strong typing, classes, lambdas, and modules.
|
||||
|
||||
Try [vim9-conversion-aid](https://github.com/ubaldot/vim9-conversion-aid) as a starting point to convert legacy Vimscript to Vim9Script.
|
||||
|
||||
```vim
|
||||
vim9script
|
||||
|
||||
# The vim9script namespace, above, is required to distinguish a Vim9 script
|
||||
# *.vim file from a legacy vimscript file. In Vim's command-line mode,
|
||||
# or in a legacy script, using the command `:vim9cmd` (or just `:vim9`) before
|
||||
# a command also evaluates and executes code as Vim9 script.
|
||||
#
|
||||
|
||||
# There is no distinction between single and multi-line comments.
|
||||
# Use # inside a line at any position to comment out all following characters.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user