Index
All Classes and Interfaces|All Packages
D
- dev.mccue.datastructures - package dev.mccue.datastructures
E
- Empty() - Constructor for record class dev.mccue.datastructures.LinkedList.Empty
-
Creates an instance of a
Emptyrecord class. - equals(Object) - Method in record class dev.mccue.datastructures.LinkedList.Empty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.mccue.datastructures.LinkedList.NotEmpty
-
Indicates whether some other object is "equal to" this one.
F
- first() - Method in record class dev.mccue.datastructures.LinkedList.NotEmpty
-
Returns the value of the
firstrecord component.
H
- hashCode() - Method in record class dev.mccue.datastructures.LinkedList.Empty
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.mccue.datastructures.LinkedList.NotEmpty
-
Returns a hash code value for this object.
L
- LinkedList<T> - Interface in dev.mccue.datastructures
-
"Sum Type" representation of a linked list.
- LinkedList.Empty<T> - Record Class in dev.mccue.datastructures
-
An empty list.
- LinkedList.NotEmpty<T> - Record Class in dev.mccue.datastructures
-
A not empty list.
N
- NotEmpty(T, LinkedList<T>) - Constructor for record class dev.mccue.datastructures.LinkedList.NotEmpty
-
Creates an instance of a
NotEmptyrecord class.
R
- rest() - Method in record class dev.mccue.datastructures.LinkedList.NotEmpty
-
Returns the value of the
restrecord component.
T
- toString() - Method in record class dev.mccue.datastructures.LinkedList.Empty
-
Returns a string representation of this record class.
- toString() - Method in record class dev.mccue.datastructures.LinkedList.NotEmpty
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages