Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,2 @@
String[] strings;
int[] values;

View file

@ -0,0 +1 @@
[100, 100, 100, 100, 100, 100, 100, 100, 100, 100]

View file

@ -0,0 +1,2 @@
List<String> strings;
List<Integer> values;

View file

@ -0,0 +1,2 @@
List<String> strings = new ArrayList<>();
List<Integer> values = new ArrayList<>();

View file

@ -0,0 +1,5 @@
strings.add("rosetta");
strings.add("code");
values.add(1);
values.add(2);
values.add(3);

View file

@ -0,0 +1,2 @@
strings.add("code");
strings.add(0, "rosetta");

View file

@ -0,0 +1,2 @@
strings.set(0, "ROSETTA");
strings.set(1, "CODE");

View file

@ -0,0 +1 @@
Deque<String> strings = new ArrayDeque<>();

View file

@ -0,0 +1,2 @@
strings.push("code");
strings.push("rosetta");

View file

@ -0,0 +1 @@
strings.pop();

View file

@ -0,0 +1,2 @@
String strings[];
int values[];

View file

@ -0,0 +1,2 @@
String[] strings = new String[] { "rosetta", "code" };
int[] values = new int[] { 1, 2, 3 };

View file

@ -0,0 +1,4 @@
String[] strings;
strings = new String[] { "rosetta", "code" };
int[] values;
values = new int[] { 1, 2, 3 };

View file

@ -0,0 +1,2 @@
String[] strings = new String[2];
int[] values = new int[3];

View file

@ -0,0 +1,2 @@
String string = strings[0];
int value = values[2];

View file

@ -0,0 +1,4 @@
String[] strings = new String[2];
strings[0] = "rosetta";
strings[1] = "code";
String string = strings[0] + " " + strings[1];

View file

@ -0,0 +1,2 @@
int[] values = new int[10];
Arrays.fill(values, 100);

View file

@ -0,0 +1 @@
Arrays.toString(values);