Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
2122ae96
Commit
2122ae96
authored
6 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Link correction (local URL part)
parent
f9d06587
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Doc/Sd1/inheritance.xml
+2
-2
2 additions, 2 deletions
Doc/Sd1/inheritance.xml
Doc/Sd1/workingWithNumbers.xml
+1
-1
1 addition, 1 deletion
Doc/Sd1/workingWithNumbers.xml
with
3 additions
and
3 deletions
Doc/Sd1/inheritance.xml
+
2
−
2
View file @
2122ae96
...
...
@@ -1356,7 +1356,7 @@ System.out.println(c.equals(c)); // true: Object equal to itself.</programlist
<figure
xml:id=
"sd1_inherit_fig_rectangleEquals"
>
<title>
Implementing
<classname>
Rectangle
</classname>
.
<methodname
xlink:href=
"https://docs.oracle.com/javase/10/docs/api/java/lang/Object.html#equals
-
java.lang.Object)"
>
equals()
</methodname></title>
xlink:href=
"https://docs.oracle.com/javase/10/docs/api/java/lang/Object.html#equals
(
java.lang.Object)"
>
equals()
</methodname></title>
<programlisting
language=
"java"
>
public class Rectangle extends Shape {
@Override public boolean equals(Object o) {
...
...
@@ -1379,7 +1379,7 @@ System.out.println(c.equals(c)); // true: Object equal to itself.</programlist
<figure
xml:id=
"sd1_inherit_fig_circleEquals"
>
<title>
Implementing
<classname>
Circle
</classname>
.
<methodname
xlink:href=
"https://docs.oracle.com/javase/10/docs/api/java/lang/Object.html#equals
-
java.lang.Object)"
>
equals()
</methodname></title>
xlink:href=
"https://docs.oracle.com/javase/10/docs/api/java/lang/Object.html#equals
(
java.lang.Object)"
>
equals()
</methodname></title>
<programlisting
language=
"java"
>
public class Circle extends Shape {
@Override public boolean equals(final Object o) {
...
...
This diff is collapsed.
Click to expand it.
Doc/Sd1/workingWithNumbers.xml
+
1
−
1
View file @
2122ae96
...
...
@@ -54,7 +54,7 @@ while (!values.empty()) {
<itemizedlist>
<listitem>
<para><methodname
xlink:href=
"https://docs.oracle.com/javase/10/docs/api/java/lang/Object.html#equals
-
java.lang.Object)"
>
public
xlink:href=
"https://docs.oracle.com/javase/10/docs/api/java/lang/Object.html#equals
(
java.lang.Object)"
>
public
boolean equals
</methodname>
(
<classname
xlink:href=
"https://docs.oracle.com/javase/10/docs/api/java/lang/Object.html"
>
Object
</classname>
obj)
</para>
...
...
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