-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Viljan van Raaij
committed
Jan 20, 2026
1 parent
6075317
commit 033b7a8
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| [← Tilbake til forside]() | ||
|
|
||
| # Kapittel 1 | ||
|
|
||
| _Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum._ | ||
|
|
||
| ```java | ||
| public class Book { | ||
| private String title; | ||
| private boolean available; | ||
|
|
||
| public Book(String title) { | ||
| this.title = title; | ||
| available = true; | ||
| } | ||
|
|
||
| public boolean checkAvailability() {return available;} | ||
|
|
||
| public String createLoan(String userId) { | ||
| available = false; | ||
| return "CheckedOut"; | ||
| } | ||
|
|
||
| @Override | ||
| public String toString() {return title;} | ||
| } | ||
| ``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| [← Tilbake til forside]() | ||
|
|
||
| # Kapittel 2 | ||
|
|
||
| _Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum._ | ||
|
|
||
| ```java | ||
| public class Library { | ||
|
|
||
| public void loanConfirmed() {} | ||
|
|
||
| public String createLoan(Book book) { | ||
| if (book.checkAvailability()) { | ||
| return "Loaned"; | ||
| } | ||
| return "Not loaned"; | ||
| } | ||
|
|
||
| } | ||
| ``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,10 @@ | ||
| # wiki_test | ||
| Dette er et eksempel på en wiki side med GitHub. | ||
|
|
||
| Dette er en test av github sin wiki løsning | ||
| _Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum._ | ||
|
|
||
| # Pensum | ||
|
|
||
| Her har du en oversikt over pensum og forberedelse til de ulike ukene: | ||
|
|
||
| - [Kapittel 1](Fagstoff/Kapittel-1) | ||
| - [Kapittel 2](Fagstoff/Kapittel-2) |