Package algs34
Class MyFB
java.lang.Object
algs34.MyFB
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFriendship
(algs34.MyFB.Person p1, algs34.MyFB.Person p2) void
addPerson
(algs34.MyFB.Person p) Iterable
<algs34.MyFB.Person> lookupFriends
(algs34.MyFB.Person p) static void
static void
static algs34.MyFB.Person
makePerson
(String name, int age) static algs34.MyFB.Person
makePerson
(In in) boolean
queryFriendship
(algs34.MyFB.Person p1, algs34.MyFB.Person p2) void
removeFriendship
(algs34.MyFB.Person p1, algs34.MyFB.Person p2)
-
Field Details
-
DEBUG
-
-
Constructor Details
-
MyFB
public MyFB()
-
-
Method Details
-
makePerson
-
makePerson
-
main
-
addPerson
-
addFriendship
-
removeFriendship
-
queryFriendship
-
lookupFriends
-
main2
-