Class Library Cross Reference: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
| Zeile 1: | Zeile 1: | ||
== Class Library API SUmmary == |
== Class Library API SUmmary == |
||
This page lists some commonly used message names (aka. functions) and maps name differences. |
|||
=== String === |
=== String === |
||
| Zeile 56: | Zeile 58: | ||
|startsWith: |
|startsWith: |
||
|startsWith() |
|startsWith() |
||
|startswith |
|startswith() |
||
|- |
|- |
||
|endsWith: |
|endsWith: |
||
|endsWith() |
|endsWith() |
||
|endswith |
|endswith() |
||
|- |
|- |
||
|copyFrom:to: |
|copyFrom:to: |
||
| Zeile 72: | Zeile 74: | ||
|asUppercase |
|asUppercase |
||
|toUppercase |
|toUppercase |
||
|capitalize |
|capitalize() |
||
|- |
|- |
||
|withoutSeparators |
|withoutSeparators |
||
Version vom 22. Dezember 2020, 12:18 Uhr
Class Library API SUmmary[Bearbeiten]
This page lists some commonly used message names (aka. functions) and maps name differences.
String[Bearbeiten]
| Smalltalk | Java | Python |
| at: | charAt() | |
| , (comma) | concat() | |
| = | equals() | |
| sameAs: | equalsIgnoringCase() | |
| size | length() | |
| indexOf: | indexOf() | |
| isEmpty | isEmpty() | |
| lastIndexOf: | lastIndexOf() | |
| matchesRegex: | matches() | |
| copyReplace:with: | replace() | |
| splitBy: | split() | |
| startsWith: | startsWith() | startswith() |
| endsWith: | endsWith() | endswith() |
| copyFrom:to: | subString() | |
| asLowercase | toLowerCase | |
| asUppercase | toUppercase | capitalize() |
| withoutSeparators | trim() | |
| hash | hashCode() |