/** A class that stores a book */
public class Book
{
  /** the title of this book */
  private String title;
  
  /** the number of pages in this book */
  private int numPages;
  
  /** the author of this book */
  private String author;
  
  /** the price of this book */
  private double price;
  
  /** the Dewey decimal number of this book */
  private double deweyDecimalNumber;
  
  /** the barcode of this book */
  private long barcode;
    
  /**
   * 1) A book constructor that initializes the 
   * title, the number of pages, the author, and the price.
   */
  public Book(String newTitle, int pages, String author, double price) {
  }
  
  /** 
   * 2) A default book constructor.
   * Set all instance variables to empty values.
   */
  public Book() {
  }
  
  /**
   * 3) A new Book with title, author, and price all
   * stored in info, separated by a comma and a space.
   * 
   * Ex. "Lord of the Rings, Tolkien, 10.0"
   */
  public Book(String info) {
  }
  
  /** get the title of this book */
  public String getTitle() {
    return null;
  }
  
  /** set the title of this book to the input string */
  public void setTitle(String newTitle) {
  }
  
  /** set the title of this book to "no title" */
  public void setTitle() {
  }
 
  /** get the number of pages this book has */
  public int getNumPages() {
    return 0;
  }
  
  /** set the number of pages of this book */
  public void setNumPages(int numPages) {
  }
 
  /** get the author of this book */
  public String getAuthor() {
    return null;
  }
  
  /** set the author of this book */
  public void setAuthor(String author) {
  }
 
  /** get the price of this book */
  public double getPrice() {
    return 0.0;
  }
  
  /** set the price of this book */
  public void setPrice(double price) {
  }
 
  /** get the Dewey decimal number of this book */
  public double getDDNumber() {
    return 0.0;
  }
  
  /** set the Dewey decimal number of this book */
  public void setDDNumber(double deweyDecimalNumber) {
  }
 
  /** get the barcode of this book */
  public long getBarcode() {
    return 0;
  }
  
  /** set the barcode of this book */
  public void setBarcode(int barcode) {
  }
  
  /**
   * Return true if books b1 and b2 are equal, and
   * false otherwise.
   * 
   * Two books are equal if they have the same
   * title, author, and Dewey decimal number.
   */
  public static boolean isEqual(Book b1, Book b2) {
    return false;
  }
  
  /**
   * Return 1 if b1 is more expensive than b2;
   * Return 0 if b1 and b2 cost the same;
   * Return -1 if b2 is more expensive than b1;. 
   */
  public static int compareTo(Book b1, Book b2) {
    return 0;
  }
 
  /**
   * Return the string equivalent of this book.
   * Returns the title, number of pages, author and price.
   * 
   * Ex. "Lord of the Rings, 600, Tolkien, $10.0"
   */
  public String toString() {
    return null;
  }

}