Index

A C E F G H I L N R S T 
All Classes and Interfaces|All Packages

A

add(int, String) - Method in interface ListOfString_Interface
Adds the given element at the given index position i.
add(int, String) - Method in class SLinked_ListOfString
 
add(String) - Method in interface ListOfString_Interface
Adds the given element to the end of this list.
add(String) - Method in class SLinked_ListOfString
 
addFirst(String) - Method in interface ListOfString_Interface
Adds the given element to the beginning of this list.
addFirst(String) - Method in class SLinked_ListOfString
 
addLast(String) - Method in interface ListOfString_Interface
Adds the given element to the end of this list.
addLast(String) - Method in class SLinked_ListOfString
 

C

clear() - Method in interface ListOfString_Interface
Removes all list elements, if any exist.
clear() - Method in class SLinked_ListOfString
 
contains(String) - Method in interface ListOfString_Interface
Returns true if the specified element in in this list, returns false otherwise.
contains(String) - Method in class SLinked_ListOfString
 

E

element - Variable in class SNode_String
Data element stored in this node.

F

firstIndexOf(String) - Method in interface ListOfString_Interface
Returns the index of the first occurrence of the specified element, -1 if the element is not in this list
firstIndexOf(String) - Method in class SLinked_ListOfString
 

G

get(int) - Method in interface ListOfString_Interface
Returns the element at the given index position.
get(int) - Method in class SLinked_ListOfString
 
getFirst() - Method in interface ListOfString_Interface
Returns the first element in this list.
getFirst() - Method in class SLinked_ListOfString
 
getLast() - Method in interface ListOfString_Interface
Returns the last element in this list.
getLast() - Method in class SLinked_ListOfString
 

H

head - Variable in class SLinked_ListOfString
Reference to the first element in this linked list.

I

isEmpty() - Method in interface ListOfString_Interface
Returns true if this list is empty, returns false otherwise.
isEmpty() - Method in class SLinked_ListOfString
 

L

lastIndexOf(String) - Method in interface ListOfString_Interface
Returns the index of the last occurrence of the specified element, -1 if the element is not in this list not found.
lastIndexOf(String) - Method in class SLinked_ListOfString
 
ListOfString_Interface - Interface in Unnamed Package
A singly-linked list of Strings.

N

next - Variable in class SNode_String
Reference to the next node.

R

remove(int) - Method in interface ListOfString_Interface
Removes and returns the element at the specified index position in the list.
remove(int) - Method in class SLinked_ListOfString
 
remove(String) - Method in interface ListOfString_Interface
Removes and returns the first occurrence of the specified element.Returns null if the element is not in this list.
remove(String) - Method in class SLinked_ListOfString
 
removeFirst() - Method in interface ListOfString_Interface
Removes and returns the first element in this list.
removeFirst() - Method in class SLinked_ListOfString
 
removeLast() - Method in interface ListOfString_Interface
Removes and returns the last element in this list.
removeLast() - Method in class SLinked_ListOfString
 

S

set(int, String) - Method in interface ListOfString_Interface
Replaces the element at the given index position with the given element and returns the old element.
set(int, String) - Method in class SLinked_ListOfString
 
setFirst(String) - Method in interface ListOfString_Interface
Replaces the first element with the given element and returns the old element.
setFirst(String) - Method in class SLinked_ListOfString
 
setLast(String) - Method in interface ListOfString_Interface
Replaces the last element with the given element and returns the old element.
setLast(String) - Method in class SLinked_ListOfString
 
size - Variable in class SLinked_ListOfString
Number of elements currently stored in this linked list.
size() - Method in interface ListOfString_Interface
Returns the number of elements in this list.
size() - Method in class SLinked_ListOfString
 
SLinked_ListOfString - Class in Unnamed Package
Singly linked list of Strings
SLinked_ListOfString() - Constructor for class SLinked_ListOfString
Constructs an empty list.
SNode_String - Class in Unnamed Package
Node for singly linked list of Strings
SNode_String(String) - Constructor for class SNode_String
Constructs a new node containing the specified data item.

T

tail - Variable in class SLinked_ListOfString
Reference to the last element in this linked list.
toString() - Method in interface ListOfString_Interface
Returns a string containing each element in this list, separated by commas, enclosed in square brackets.
toString() - Method in class SLinked_ListOfString
 
A C E F G H I L N R S T 
All Classes and Interfaces|All Packages