Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
E
F
G
I
M
P
R
S
U
A
alterProtected(int)
- Method in class
Exercise5_5
Default constructor that create an instance of the friendly class
E
Exercise5_1
- class
Exercise5_1
.
Exercise 5.1 from the book
Exercise5_1()
- Constructor for class
Exercise5_1
Constructor for objects of class Exercise5_1
Exercise5_5
- class
Exercise5_5
.
The public class
Exercise5_5()
- Constructor for class
Exercise5_5
Directly mainpulate the protected variables in the friendly class
Exercise5_6
- class
Exercise5_6
.
Exercise 5.6 from the book.
Exercise5_6()
- Constructor for class
Exercise5_6
Constructor for objects of class Exercise5_6
F
friendlyI
- Variable in class
Exercise5_6
G
getList()
- Static method in class
Exercise5_1
Creates an ArrayList without import java.util
I
i
- Variable in class
ProtectedData
M
main(String[])
- Static method in class
Exercise5_1
The main method that creates an ArrayList
main(String[])
- Static method in class
Exercise5_5
The main method.
main(String[])
- Static method in class
Exercise5_6
Main which some objects
main(String[])
- Static method in class
UseExercise5_6
P
P
- class
P
.
The P class from exercise 5.4 in the book.
P()
- Constructor for class
P
ProtectedData
- class
ProtectedData
.
A "friendly" class with some protected data
ProtectedData()
- Constructor for class
ProtectedData
Default constructor
pd
- Variable in class
Exercise5_5
privateI
- Variable in class
Exercise5_6
protectedI
- Variable in class
Exercise5_6
publicI
- Variable in class
Exercise5_6
R
rint(String)
- Static method in class
P
Simpler to call print method.
rint(boolean)
- Static method in class
P
Overloaded version of rint
rintln(String)
- Static method in class
P
Simpler to calls System.out.println.
rintln(boolean)
- Static method in class
P
Simpler to calls System.out.println.
S
showData()
- Method in class
Exercise5_5
Show content of friendly class
showData()
- Method in class
ProtectedData
Show the instance variables
showFriendly()
- Method in class
Exercise5_6
showPrivate()
- Method in class
Exercise5_6
showProtected()
- Method in class
Exercise5_6
showPublic()
- Method in class
Exercise5_6
Shows all public instance variables
U
UseExercise5_6
- class
UseExercise5_6
.
For using Exercise 5.6 from the book
UseExercise5_6()
- Constructor for class
UseExercise5_6
A
E
F
G
I
M
P
R
S
U
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes