All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

advance(). Method in interface util.ListWithPointer
Move the internal pointer to the next element in the list.
advance(). Method in class util.MyList
Move the internal pointer to the next element in the list.
advance(). Method in class web.WebPage
Advance the internal pointer to the next item.
atEnd(). Method in interface util.ListWithPointer
Are we beyond the last element of the list?
atEnd(). Method in class util.MyList
Are we beyond the last element of the list?
atEnd(). Method in class web.WebPage
Is there an item left?
AVLTree(Comparer). Constructor for class util.AVLTree
Construct empty tree.

C

CompareException(String). Constructor for class util.CompareException
Build exception with error string.
containsKey(Object). Method in class util.AVLTree
Returns true if this map contains a key equal to this key.
containsKey(Object). Method in interface util.SimpleMap
Returns true if this map contains a key equal to this key.

G

get(Object). Method in class util.AVLTree
Returns the object associated with the given key or null if no such key is stored.
get(Object). Method in interface util.SimpleMap
Returns the object associated with the given key or null if no such key is stored.
getCurrent(). Method in interface util.ListWithPointer
Return the element of the lists the internal pointer points to.
getCurrent(). Method in class util.MyList
Return the element of the lists the internal pointer points to.
getCurrent(). Method in class web.WebPage
Return current page item the internal pointer points to.
getHeader(). Method in class web.WebPage
Get HTTP header of the server's reply.
getPageContent(). Method in class web.WebPage
Return the whole page as one long string.
getString(). Method in class web.PageItem
Get the value of this item.
getTitle(). Method in class web.WebPage
Return the title of the page.
getType(). Method in class web.PageItem
Return type of this item.

I

insertBack(Object). Method in interface util.ListWithPointer
Insert an object at the end of the list.
insertBack(Object). Method in class util.MyList
Insert an object at the end of the list.
insertFront(Object). Method in interface util.ListWithPointer
Insert an object at the beginning of the list.
insertFront(Object). Method in class util.MyList
Insert an object at the beginning of the list.
isEmpty(). Method in class util.AVLTree
Returns true if this map contains no key-value mappings.
isEmpty(). Method in interface util.ListWithPointer
Test if list is empty.
isEmpty(). Method in class util.MyList
Test if list is empty.
isEmpty(). Method in interface util.SimpleMap
Returns true if this map contains no key-value mappings.
isGreaterThan(Object, Object). Method in interface util.Comparer
Compare two objects.

L

ListException(String). Constructor for class util.ListException
Build exception with error string.

M

main(String[]). Static method in class util.AVLTree
Test the tree.
MyList(). Constructor for class util.MyList
Construct empty list.

P

put(Object, Object). Method in class util.AVLTree
Insert the given key-value pair into the map.
put(Object, Object). Method in interface util.SimpleMap
Insert the given key-value pair into the map.

R

removeFirst(). Method in class util.MyList
Get the first element and remove it from the list.
reset(). Method in interface util.ListWithPointer
Set the internal pointer to the beginning of the list.
reset(). Method in class util.MyList
Set the internal pointer to the beginning of the list.
reset(). Method in class web.WebPage
Reset internal pointer to the beginning of the page.
retrievePage(String). Method in class web.SimpleUserAgent
Fetch the page with the given URL.

S

SimpleUserAgent(String). Constructor for class web.SimpleUserAgent
Construct agent with agent name.
size(). Method in class util.AVLTree
Return the number of keys currently stored.
size(). Method in interface util.SimpleMap
Return the number of keys currently stored.

T

toString(). Method in class util.AVLTree
Convert tree to string.
toString(). Method in interface util.ListWithPointer
Convert the whole list to String using the Objects toString() methods.
toString(). Method in class util.MyList
Convert to string.
toString(). Method in class web.PageItem
Return textual representation of item.
toString(). Method in class web.WebPage
Return the header + body as one large string.
TreeException(String). Constructor for class util.TreeException