Index
All Classes and Interfaces|All Packages|Constant Field Values
S
- set(int, T) - Method in class cs2110.DynamicArrayIndexedSeq
- set(int, T) - Method in interface cs2110.IndexedSeq
-
Assign `value` to the element at index `index`.
- set(int, T) - Method in class cs2110.JavaIndexedSeq
- size - Variable in class cs2110.ProbingStringDict
-
The number of keys currently mapped to values in this dictionary.
- size() - Method in class cs2110.DynamicArrayIndexedSeq
- size() - Method in interface cs2110.IndexedSeq
-
Return the number of elements in this sequence.
- size() - Method in class cs2110.JavaIndexedSeq
- size() - Method in class cs2110.JavaStringDict
- size() - Method in class cs2110.ProbingStringDict
- size() - Method in interface cs2110.StringDict
-
Return the number of keys currently mapped to values in this dictionary.
- sortDistinct() - Method in interface cs2110.IndexedSeq
-
Sort the distinct elements in this sequence in ascending order, discarding duplicate copies.
- sortDistinct() - Method in class cs2110.JavaIndexedSeq
- sortDistinct(IndexedSeq<T>) - Static method in class cs2110.Sorting
-
Sort the distinct elements in `items` in ascending order, discarding duplicate copies.
- Sorting - Class in cs2110
-
Namespace for functions related to sorting/searching indexed sequences.
- Sorting() - Constructor for class cs2110.Sorting
- SourceLines - Class in cs2110
-
Keeps track of which line numbers in a source meet some criteria (determined by the client).
- SourceLines(String) - Constructor for class cs2110.SourceLines
-
Create an object to track which line numbers in a source with name `name` meet some criteria.
- sourceName() - Method in class cs2110.SourceLines
-
Return the name of our source.
- sources() - Method in class cs2110.WordOccurrences
-
Return the sources (associated with their matching line numbers) that contain our word, in the order the sources were recorded in.
- StringDict<V> - Interface in cs2110
-
A dictionary mapping String keys to values of type `V`.
- swap(int, int) - Method in interface cs2110.IndexedSeq
-
Swap the elements at indices `i` and `j`.
All Classes and Interfaces|All Packages|Constant Field Values