Skip to content

Commit f6a1b4b

Browse files
committed
IO println
1 parent 4ebd82e commit f6a1b4b

File tree

334 files changed

+1329
-1025
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

334 files changed

+1329
-1025
lines changed

src/SUMMARY.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ Make them do one. -->
552552
- [Reference Based Identity](./hash_maps/reference_based_identity.md)
553553
- [Value Based Identity](./hash_maps/value_based_identity.md)
554554
- [Appropriate Keys](./hash_maps/appropriate_keys.md)
555+
- [Ubiquity](./hash_maps/ubiquity.md)
555556

556557
<!-- - [Function Range](./hash_maps/function_range.md)
557558
- [Buckets](./hash_maps/buckets.md) -->
@@ -593,10 +594,11 @@ Make them do one. -->
593594

594595
- [Encapsulation](./encapsulation.md)
595596
- [Implementation Details](./encapsulation/implementation_details.md)
597+
- [Implicit Interfaces](./encapsulation/implicit_interfaces.md)
596598
- [Methods](./encapsulation/methods.md)
597599
- [Classes](./encapsulation/classes.md)
598-
- [Implicit Interfaces](./encapsulation/implicit_interfaces.md)
599-
- [Abstractions](./encapsulation/abstractions.md)
600+
- [Abstraction](./encapsulation/abstractions.md)
601+
- [Coupling](./encapsulation/coupling.md)
600602
- [Leaky Abstractions](./encapsulation/leaky_abstractions.md)
601603
- [Information Hiding](./encapsulation/information_hiding.md)
602604

@@ -648,6 +650,7 @@ Make them do one. -->
648650
<!-- - [@Deprecated](./annotations/deprecated)
649651
- [@Repeatable]()Note: When doing javadoc, write about @Documented -->
650652

653+
<!--
651654
# Concepts III
652655
653656
- [Abbreviations](./abbreviations.md)
@@ -656,10 +659,11 @@ Make them do one. -->
656659
- [Ambiguity](./abbreviations/ambiguity.md)
657660
- [Familiarity](./abbreviations/familiarity.md)
658661
- [Elaboration](./abbreviations/elaboration.md)
662+
-->
659663

660664
# Code Structure VII
661665
- [Interfaces II](./interfaces_ii.md)
662-
- [Default Methods]()
666+
- [Default Methods](./interfaces_ii/default_methods.md)
663667
- [Interface Extension]()
664668
- [Static Methods]()
665669
- [Private Static Methods]()
@@ -686,8 +690,29 @@ Make them do one. -->
686690
# Code Structure VIII
687691

688692
- [Modules](./modules.md)
693+
- [Declaration](./modules/declaration.md)
694+
- [Restrictions](./modules/restrictions.md)
695+
- [Exports]()
696+
- [Integrity]()
697+
- [java.base](./modules/java.base.md)
698+
- [The Unnamed Module](./modules/the_unnamed_module.md)
699+
- [Module Imports](./modules/module_imports.md)
700+
- [Multi-Module Directory Layout]()
701+
702+
<!---
703+
PROJECT IDEAS:
704+
- Alan Turing Themed one (He was killed by the british government)
705+
- Caesar Cipher
706+
- Enigma Machine?
707+
- Boston Molasses Disaster
708+
- Triangle Shirtwaist Fire
709+
- Distance from tainted drinking water (K means stats one)
710+
- Oregon Trail one. (Find a way to mention the buffalo murders), also manifest destiny
689711
690-
<!--- [HashMap](./hash_map.md)
712+
713+
714+
715+
[HashMap](./hash_map.md)
691716
692717
693718
@@ -925,11 +950,8 @@ jshell
925950
```
926951
927952
- Getting Started
928-
- [Hello, World]()
929953
- Data Types
930954
931-
- Arrays
932-
multi dimensional arrays
933955
- Expressions
934956
- Conditionals
935957
- Loops
@@ -963,7 +985,8 @@ multi dimensional arrays
963985
- Maven before hikaricp
964986
- HikariCP for connection pool
965987
966-
System.console() over Scanner?
988+
The You of today is not the you of tommorow
989+
967990
-->
968991

969992

src/abbreviations.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Abbreviations
22

3-
In the 1940s Franklin Delano Rosevelt (FDR) founded "[The Alphabet Agencies](https://en.wikipedia.org/wiki/Alphabet_agencies)" as part of an effort to lift the United States out of the [Great Depression](https://en.wikipedia.org/wiki/Great_Depression).
3+
In the 1940s Franklin Delano Rosevelt (FDR) founded the AAA, CCC, FDIC, NRA, and many more "[Alphabet Agencies](https://en.wikipedia.org/wiki/Alphabet_agencies)."
4+
5+
People called them the alphabet agencies because there were so many and their
6+
7+
as part of an effort to lift the United States out of the [Great Depression](https://en.wikipedia.org/wiki/Great_Depression).
48

59
NASA is an acronym
610

src/abbreviations/niches.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Niches
2+

src/annotations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class Main {
2222
}
2323

2424
int main() {
25-
System.out.println(addOne(5));
26-
System.out.println(absoluteValue(-25));
25+
IO.println(addOne(5));
26+
IO.println(absoluteValue(-25));
2727
}
2828
}
2929
```
@@ -50,8 +50,8 @@ class Main {
5050
}
5151

5252
int main() {
53-
System.out.println(addOne(5));
54-
System.out.println(absoluteValue(-25));
53+
IO.println(addOne(5));
54+
IO.println(absoluteValue(-25));
5555
}
5656
}
5757
```

src/annotations/reflective_access.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ class Main {
2323

2424
Special annotationValue = field.getAnnotation(Special.class);
2525
if (annotationValue == null) {
26-
System.out.println("is not special.");
26+
IO.println("is not special.");
2727
}
2828
else if (annotationValue.isSuperDuperSpecial()) {
29-
System.out.println("is super-duper special.");
29+
IO.println("is super-duper special.");
3030
}
3131
else {
32-
System.out.println("is special.");
32+
IO.println("is special.");
3333
}
3434
}
3535
}

src/arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The way to customize what happens when a method is called is to have them take "
66

77
```java
88
void sayHello(String name) {
9-
System.out.println("Hello " + name + "!");
9+
IO.println("Hello " + name + "!");
1010
}
1111

1212
void main() {

src/arguments/aliasing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ void main() {
1212
int[] nums = new int[] { 8 };
1313

1414
// The first number is 8
15-
System.out.println(
15+
IO.println(
1616
"The first number is " + nums[0]
1717
);
1818

1919
incrementFirst(nums);
2020

2121
// Now it is 9
22-
System.out.println(
22+
IO.println(
2323
"Now it is " + nums[0]
2424
);
2525
}

src/arguments/challenges.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ The `size` argument should control how big of a square is output.
1616
1717
void main() {
1818
printSquare(4);
19-
System.out.println();
19+
IO.println();
2020
2121
printSquare(3);
22-
System.out.println();
22+
IO.println();
2323
2424
printSquare(2);
25-
System.out.println();
25+
IO.println();
2626
2727
printSquare(1);
28-
System.out.println();
28+
IO.println();
2929
}
3030
```
3131

@@ -41,13 +41,13 @@ was given.
4141
4242
void main() {
4343
printSquare(3);
44-
System.out.println();
44+
IO.println();
4545
printSquare(-3);
46-
System.out.println();
46+
IO.println();
4747
48-
System.out.println();
48+
IO.println();
4949
printSquare(-2);
50-
System.out.println();
50+
IO.println();
5151
printSquare(2);
5252
}
5353
```
@@ -78,7 +78,7 @@ void i() {
7878
}
7979
8080
void did(String what) {
81-
System.out.println("did " + what);
81+
IO.println("did " + what);
8282
}
8383
8484
void space() {

src/arguments/declaration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Each argument declaration looks the same as a variable declaration and has both
99
// This declares a single argument named "food" that
1010
// has a type of "String".
1111
void eat(String food) {
12-
System.out.println("I ate " + food);
12+
IO.println("I ate " + food);
1313
}
1414
1515
// This declares two arguments
1616
// "to", which is a String and
1717
// "age", which is an int.
1818
void happyBirthday(String to, int age) {
19-
System.out.println(
19+
IO.println(
2020
"Happy " + age + "th birthday " + to + "!"
2121
);
2222
}

src/arguments/final_arguments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Just like normal variable declarations, arguments can be marked
55

66
```java
77
void eat(final String food) {
8-
System.out.println("I ate " + food);
8+
IO.println("I ate " + food);
99
}
1010

1111
void main() {
@@ -17,10 +17,10 @@ If you try to reassign a final argument, Java will not accept your program.
1717

1818
```java,panics
1919
void eat(final String food) {
20-
System.out.println("I ate " + food);
20+
IO.println("I ate " + food);
2121
// Will not work
2222
food = "toast";
23-
System.out.println(food);
23+
IO.println(food);
2424
}
2525
2626
void main() {

0 commit comments

Comments
 (0)