Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ist-4-jav
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alice Brenon
ist-4-jav
Commits
94aa7052
Commit
94aa7052
authored
1 year ago
by
Alice Brenon
Browse files
Options
Downloads
Patches
Plain Diff
Fix a couple mistakes on class 5
parent
bbe48869
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Slides/Class5.md
+46
-21
46 additions, 21 deletions
Slides/Class5.md
with
46 additions
and
21 deletions
Slides/Class5.md
+
46
−
21
View file @
94aa7052
...
...
@@ -8,11 +8,11 @@ institute:
\includegraphics[height=.9cm]{figures/INSA}
aspectratio
:
169
header-includes
:
\usepackage{fdsymbol}
\usepackage{textgreek}
\usepackage{bclogo}
\usepackage{Beamer/beamerthemePerso}
\setcounter{tocdepth}{1}
-
\usepackage{fdsymbol}
-
\usepackage{textgreek}
-
\usepackage{bclogo}
-
\usepackage{Beamer/beamerthemePerso}
-
\setcounter{tocdepth}{1}
---
# Types
...
...
@@ -412,7 +412,7 @@ abstract class InputStream {
```
…
```
Java
int read()
int read()
throws IOException
```
…
```
Java
...
...
@@ -703,7 +703,7 @@ class VolumeBar {
::::
::::{.column width=55%}

{height=230px}

{height=230px}
::::
:::
...
...
@@ -740,23 +740,48 @@ javadoc [PACKAGE|SOURCE-FILE]
### Example
```
Java
class StringUtil {
/**
* Replicate a String several times
* @param input the initial String
* @param n the number of repetitions
* @return the initial String concatenated the n times
*/
public static String replicate(String input, int n) {
if(times == 0) {
return "";
} else {
return input + replicate(input, times - 1);
}
}
/** A class exposing handy functions to generate Strings */
public class StringUtil {
/** Replicate a String several times
* @param input the initial String
* @param n the number of repetitions
* @return the initial String concatenated the n times */
public static String replicate(String input, int n) {
if(times == 0) {
return "";
} else {
return input + replicate(input, times - 1);
}
}
}
```
### Generated files
:::columns
::::{.column width=50%}

::::
:::
### The main page (`index.html`)
:::columns
::::{.column}

::::
:::
no package, and
`javadoc`
resents it!
### The class itself
:::columns
::::{.column}

::::
:::
## Classpath
### In java
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment