Git Product home page Git Product logo

library's Introduction

 //Readme.txt
 
 Description: A library checkout system. 
 A limited variety of books are added and stored in ZulasLibrary. 
 Functions available to the customer include checking out a book or dvd,
 searching to see if a certain title is available in the library,
 sorting titles alphabetically for easier navigation, and also allows 
 new book titles to be added. 
 
 Summary: Item.java is the abstract class that stores the information
 of the titles including title, author, genre, and the type of item 
 (book or dvd). It also contains all the getters and setters for 
 these properties of information. It also contains a boolean method
 for checking if an item is checked out, and if not, it prompts the user 
 to check it out.
 
 Book.java extends Item and contains getInfo() which prints a preview of 
 the desired book title. The getPages() method retrieves the number of 
 pages for given book.
 
 Dvd.java extends Item and contains getInfo() which prints a preview of 
 the desired dvd title. The getLength() method retrieves the runtime in minutes
 for given dvd.
 
 Library.java is an interface that contains methods for searching and sorting
 titles.
 
 ZulasLibrary.java is a concrete class that implements Library.java. It adds
 titles of books and dvds into ArrayLists. It contains a method for checking 
 out books by first checking if the title is available and prompts the user
 to confirm adding to cart and adds to cart. It also contains two methods for
 binary search through the array lists books and dvds. There are two methods for 
 selection sort for the array lists books and dvds. 
 
 UnitTests.java tests for sorting, binary search, checking out a title, and
 adding a book.
 
 

library's People

Contributors

zula-n avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.