public class CrimeRecordListNode
extends java.lang.Object
Constructor and Description |
---|
CrimeRecordListNode(CrimeRecord data,
CrimeRecordListNode next)
Constructor tow create a single node
|
Modifier and Type | Method and Description |
---|---|
CrimeRecord |
getData() |
CrimeRecordListNode |
getNext() |
void |
setData(CrimeRecord data) |
void |
setNext(CrimeRecordListNode next) |
public CrimeRecordListNode(CrimeRecord data, CrimeRecordListNode next)
data
- next
- public CrimeRecordListNode getNext()
public void setNext(CrimeRecordListNode next)
public CrimeRecord getData()
public void setData(CrimeRecord data)