Package | Class | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

A C D G I S T

## A

add(ContactNode) - Method in class ContactList
  Method to insert a new node into the list.

## C

ContactEntry - Class in <Unnamed>
  A entry in a contact list or address book.
ContactEntry() - Constructor for class ContactEntry
  Default constructor that sets each instance variable to null
ContactEntry(String, String, String) - Constructor for class ContactEntry
  Constructor that sets each instance variable to the corresponding incoming parameter.
ContactList - Class in <Unnamed>
  A linked list of ContactNodes that mimics a contact list or an address book
ContactList() - Constructor for class ContactList
  Default constructor to create the list.
ContactList(ContactNode) - Constructor for class ContactList
  Constructor to create the list with a provided head of list.
ContactNode - Class in <Unnamed>
  A node in the ContactList linked list
ContactNode(ContactEntry) - Constructor for class ContactNode
  Constructor that sets each instance variable to the corresponding incoming parameter.
ContactNode(ContactEntry, ContactNode) - Constructor for class ContactNode
  Constructor that sets each instance variable to the corresponding incoming parameter.

## D

delete(ContactNode) - Method in class ContactList
  Method to delete a node from the list and return true if it was successful.

## G

getData() - Method in class ContactNode
  Returns the data of the node
getEmail() - Method in class ContactEntry
  Method to return the variable email
getHead() - Method in class ContactList
  Method to return the variable head
getName() - Method in class ContactEntry
  Method to return the variable name
getNext() - Method in class ContactNode
  Returns the next node
getPhone() - Method in class ContactEntry
  Method to return the variable phone

## I

insertAfter(ContactNode, ContactNode) - Method in class ContactList
  Method to insert a new node (with the ContactEntry contactToInsert as the data) after the specified node and return true if successful.

## S

searchByEmail(String) - Method in class ContactList
  Method to find and return the the first ContactEntry with the provided email
searchByName(String) - Method in class ContactList
  Method to find and return the the first ContactEntry with the provided name
searchByPhone(String) - Method in class ContactList
  Method to find and return the the first ContactEntry with the provided phone number
setData(ContactEntry) - Method in class ContactNode
  Sets the data of the node to the incoming ContactEntry
setEmail(String) - Method in class ContactEntry
  Modifier to set variable email to the incoming email address
setHead(ContactNode) - Method in class ContactList
  Method to set the variable head
setName(String) - Method in class ContactEntry
  Modifier to set variable name to the incoming name
setNext(ContactNode) - Method in class ContactNode
  Sets the next node to the incoming ContactNode
setPhone(String) - Method in class ContactEntry
  Modifier to set variable phone to the incoming phone number
size() - Method in class ContactList
  Method to return the size of or the number of elements in the list

## T

toString() - Method in class ContactEntry
  Method to return a String representation of the contact's information
toString() - Method in class ContactList
  Provides a String representation of the entire list by calling the toString of each item in the list.
toString() - Method in class ContactNode
  Method to return a String representation of the node's contact information

A C D G I S T

Package | Class | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES