mirror of
https://github.com/Xevion/contest.git
synced 2025-12-13 02:11:16 -06:00
mark which pieces of Study need work and to be finished
This commit is contained in:
@@ -28,18 +28,18 @@ If you find something incorrect, feel free to contribute and modify.
|
|||||||
- [Guidelines](#guidelines)
|
- [Guidelines](#guidelines)
|
||||||
- [Most Common Imports](#most-common-imports)
|
- [Most Common Imports](#most-common-imports)
|
||||||
- [Declare, Instantiate, Initialize](#declare-instantiate-initialize)
|
- [Declare, Instantiate, Initialize](#declare-instantiate-initialize)
|
||||||
- [Default Array Values](#default-array-values)
|
- [!!! Default Array Values](#-default-array-values)
|
||||||
- [Primitive Arrays](#primitive-arrays)
|
- [!!! Primitive Arrays](#-primitive-arrays)
|
||||||
- [ArrayList Arrays](#arraylist-arrays)
|
- [!!! ArrayList Arrays](#-arraylist-arrays)
|
||||||
- [When Primitive Array Casts Are Required](#when-primitive-array-casts-are-required)
|
- [When Primitive Array Casts Are Required](#when-primitive-array-casts-are-required)
|
||||||
- [Basic Boolean Circuitry](#basic-boolean-circuitry)
|
- [!!! Basic Boolean Circuitry](#-basic-boolean-circuitry)
|
||||||
- [How to Rotate Matrixes](#how-to-rotate-matrixes)
|
- [!!! How to Rotate Matrixes](#-how-to-rotate-matrixes)
|
||||||
- [Boolean Truth Tables & Symbols](#boolean-truth-tables--symbols)
|
- [!!! Boolean Truth Tables & Symbols](#-boolean-truth-tables--symbols)
|
||||||
- [Bitwise Meanings](#bitwise-meanings)
|
- [!!! Bitwise Meanings](#-bitwise-meanings)
|
||||||
- [How to Sort Different Types of Arrays](#how-to-sort-different-types-of-arrays)
|
- [!!! How to Sort Different Types of Arrays](#-how-to-sort-different-types-of-arrays)
|
||||||
- [Primitives](#primitives)
|
- [!!! Primitives](#-primitives)
|
||||||
- [List Implementers (ArrayList, ?, ?..)](#list-implementers-arraylist--)
|
- [!!! List Implementers (ArrayList, ?, ?..)](#-list-implementers-arraylist--)
|
||||||
- [char And int Are Interchangeable](#char-and-int-are-interchangeable)
|
- [!!! char And int Are Interchangeable](#-char-and-int-are-interchangeable)
|
||||||
- [Classes Call From Where They Originate](#classes-call-from-where-they-originate)
|
- [Classes Call From Where They Originate](#classes-call-from-where-they-originate)
|
||||||
- [`List.remove(int i)` Element Shifting](#listremoveint-i-element-shifting)
|
- [`List.remove(int i)` Element Shifting](#listremoveint-i-element-shifting)
|
||||||
- [`List.set(int i, Object obj)` requires a element to function](#listsetint-i-object-obj-requires-a-element-to-function)
|
- [`List.set(int i, Object obj)` requires a element to function](#listsetint-i-object-obj-requires-a-element-to-function)
|
||||||
@@ -52,7 +52,7 @@ If you find something incorrect, feel free to contribute and modify.
|
|||||||
- [`hasNext` and `hasNextInt`](#hasnext-and-hasnextint)
|
- [`hasNext` and `hasNextInt`](#hasnext-and-hasnextint)
|
||||||
- [`next` and `nextInt`](#next-and-nextint)
|
- [`next` and `nextInt`](#next-and-nextint)
|
||||||
- [Examples with Explanations](#examples-with-explanations)
|
- [Examples with Explanations](#examples-with-explanations)
|
||||||
- [Post-increment and Post-decrement Order is Important](#post-increment-and-post-decrement-order-is-important)
|
- [!!! Post-increment and Post-decrement Order is Important](#-post-increment-and-post-decrement-order-is-important)
|
||||||
|
|
||||||
<!-- /TOC -->
|
<!-- /TOC -->
|
||||||
|
|
||||||
@@ -385,13 +385,13 @@ import java.util.Arrays;
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Default Array Values
|
### !!! Default Array Values
|
||||||
|
|
||||||
#### Primitive Arrays
|
#### !!! Primitive Arrays
|
||||||
|
|
||||||
[Run on Repl.it](https://repl.it/@Xevion/PrimitiveArrayNullOrZero)
|
[Run on Repl.it](https://repl.it/@Xevion/PrimitiveArrayNullOrZero)
|
||||||
|
|
||||||
#### ArrayList Arrays
|
#### !!! ArrayList Arrays
|
||||||
|
|
||||||
### When Primitive Array Casts Are Required
|
### When Primitive Array Casts Are Required
|
||||||
|
|
||||||
@@ -420,25 +420,25 @@ static String[] method2() {
|
|||||||
|
|
||||||
It also expects a `new`, not just `String[]` before the *literal* part of a literal array definition.
|
It also expects a `new`, not just `String[]` before the *literal* part of a literal array definition.
|
||||||
|
|
||||||
### Basic Boolean Circuitry
|
### !!! Basic Boolean Circuitry
|
||||||
|
|
||||||
### How to Rotate Matrixes
|
### !!! How to Rotate Matrixes
|
||||||
|
|
||||||
### Boolean Truth Tables & Symbols
|
### !!! Boolean Truth Tables & Symbols
|
||||||
|
|
||||||
### Bitwise Meanings
|
### !!! Bitwise Meanings
|
||||||
|
|
||||||
### How to Sort Different Types of Arrays
|
### !!! How to Sort Different Types of Arrays
|
||||||
|
|
||||||
For arrays, they can be sorted using `Arrays.sort` from `java.util.Arrays`.
|
For arrays, they can be sorted using `Arrays.sort` from `java.util.Arrays`.
|
||||||
|
|
||||||
For lists, one can use `Collections.sort` to sort any class that implements the `List` interface.
|
For lists, one can use `Collections.sort` to sort any class that implements the `List` interface.
|
||||||
|
|
||||||
#### Primitives
|
#### !!! Primitives
|
||||||
|
|
||||||
#### List Implementers (ArrayList, ?, ?..)
|
#### !!! List Implementers (ArrayList, ?, ?..)
|
||||||
|
|
||||||
### char And int Are Interchangeable
|
### !!! char And int Are Interchangeable
|
||||||
|
|
||||||
```
|
```
|
||||||
void method(int a, char b)
|
void method(int a, char b)
|
||||||
@@ -634,7 +634,7 @@ for(int i = 0; i++ < 5;)
|
|||||||
The Scanner will throw an exception while trying to parse `h` for an Integer. This is why `hasNextInt` is used, besides ensuring the Scanner input is not exhausted.
|
The Scanner will throw an exception while trying to parse `h` for an Integer. This is why `hasNextInt` is used, besides ensuring the Scanner input is not exhausted.
|
||||||
|
|
||||||
|
|
||||||
### Post-increment and Post-decrement Order is Important
|
### !!! Post-increment and Post-decrement Order is Important
|
||||||
|
|
||||||
```java
|
```java
|
||||||
public static int m(int x, int y) {
|
public static int m(int x, int y) {
|
||||||
|
|||||||
Reference in New Issue
Block a user