Package algs34

Class MyFB

java.lang.Object
algs34.MyFB

public class MyFB extends Object
  • Field Details

    • DEBUG

      public static boolean DEBUG
  • Constructor Details

    • MyFB

      public MyFB()
  • Method Details

    • makePerson

      public static algs34.MyFB.Person makePerson(In in)
    • makePerson

      public static algs34.MyFB.Person makePerson(String name, int age)
    • main

      public static void main(String[] args)
    • addPerson

      public void addPerson(algs34.MyFB.Person p)
    • addFriendship

      public void addFriendship(algs34.MyFB.Person p1, algs34.MyFB.Person p2)
    • removeFriendship

      public void removeFriendship(algs34.MyFB.Person p1, algs34.MyFB.Person p2)
    • queryFriendship

      public boolean queryFriendship(algs34.MyFB.Person p1, algs34.MyFB.Person p2)
    • lookupFriends

      public Iterable<algs34.MyFB.Person> lookupFriends(algs34.MyFB.Person p)
    • main2

      public static void main2(String[] args)