Index
All Classes and Interfaces|All Packages
A
- add(int, StringList) - Method in interface cs1302.adt.StringList
-
Inserts multiple items into this string list at the specified index position.
- add(int, StringList) - Method in class cs1302.oracle.OracleStringList
-
Inserts multiple items into this string list at the specified index position.
- add(int, String) - Method in interface cs1302.adt.StringList
-
Inserts an item into this string list at the specified index position.
- add(int, String) - Method in class cs1302.oracle.OracleStringList
-
Inserts an item into this string list at the specified index position.
- ADT - Search tag in interface cs1302.adt.StringList
- asString() - Method in class cs1302.adt.Node
-
Returns a string representation of the linked list starting with this node.
C
- clear() - Method in interface cs1302.adt.StringList
-
Removes all of the items from this string list.
- clear() - Method in class cs1302.oracle.OracleStringList
-
Removes all of the items from this string list.
- contains(int, String) - Method in interface cs1302.adt.StringList
-
Returns
trueifstart >= 0and there exists an item at or after thestartindex that equals thetargetstring. - contains(int, String) - Method in class cs1302.oracle.OracleStringList
-
Returns
trueifstart >= 0and there exists an item at or after thestartindex that equals thetargetstring. - cs1302.adt - package cs1302.adt
-
Classes and interfaces to support abstract data types (ADTs).
- cs1302.oracle - package cs1302.oracle
-
Classes and interfaces to support the instructor's oracle implementations.
G
- get(int) - Method in interface cs1302.adt.StringList
-
Returns the item at the specified index position in this string list.
- get(int) - Method in class cs1302.oracle.OracleStringList
-
Returns the item at the specified index position in this string list.
- getItem() - Method in class cs1302.adt.Node
-
Returns the item in this node.
- getNext() - Method in class cs1302.adt.Node
-
Returns the next node.
H
I
- isEmpty() - Method in interface cs1302.adt.StringList
-
Returns
trueif this string list has no items. - isEmpty() - Method in class cs1302.oracle.OracleStringList
-
Returns
trueif this string list has no items.
M
- makeString(String, String, String) - Method in interface cs1302.adt.StringList
-
Returns a string representation of this string list that begins with
startand ends withend, with every string in the string list separated bysep. - makeString(String, String, String) - Method in class cs1302.oracle.OracleStringList
-
Returns a string representation of this string list that begins with
startand ends withend, with every string in the string list separated bysep.
N
- Node - Class in cs1302.adt
-
A node for an item in a linked list data structure.
- Node(String) - Constructor for class cs1302.adt.Node
-
Construct a node with the specified
itembut no next node. - Node(String, Node) - Constructor for class cs1302.adt.Node
-
Construct a node with the specified
itemandnext.
O
- oracle - Search tag in class cs1302.oracle.OracleStringList
- OracleStringList - Class in cs1302.oracle
-
Oracle implementation of a
StringList. - OracleStringList() - Constructor for class cs1302.oracle.OracleStringList
-
Construct an empty oracle string list.
R
- remove(int) - Method in interface cs1302.adt.StringList
-
Removes the item at the specified index position in this string list.
- remove(int) - Method in class cs1302.oracle.OracleStringList
-
Removes the item at the specified index position in this string list.
- reverse() - Method in interface cs1302.adt.StringList
-
Returns a new string list that contains the items from this string list in reverse order.
- reverse() - Method in class cs1302.oracle.OracleStringList
-
Returns a new string list that contains the items from this string list in reverse order.
S
- setItem(String) - Method in class cs1302.adt.Node
-
Sets the item in this node.
- setNext(Node) - Method in class cs1302.adt.Node
-
Sets the next node.
- size() - Method in interface cs1302.adt.StringList
-
Returns the number of items in this string list.
- size() - Method in class cs1302.oracle.OracleStringList
-
Returns the number of items in this string list.
- slice(int, int) - Method in interface cs1302.adt.StringList
-
Returns a new string list that contains the items from this list between the specified
startindex (inclusive) andstopindex (exclusive). - slice(int, int) - Method in class cs1302.oracle.OracleStringList
-
Returns a new string list that contains the items from this list between the specified
startindex (inclusive) andstopindex (exclusive). - StringList - Interface in cs1302.adt
-
StringListis an abstract data type (ADT) that defines operations for a sequence of references to non-emptyStringobjects.
T
- toString() - Method in interface cs1302.adt.StringList
-
Returns
makeString("[", ", ", "]"). - toString() - Method in class cs1302.oracle.OracleStringList
-
Returns
makeString("[", ", ", "]").
All Classes and Interfaces|All Packages