Cleaning up LinkedList Class
This commit is contained in:
parent
7382b5184e
commit
1894fd8beb
@ -39,7 +39,6 @@ namespace DoublyLinkedList
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void AddItemInOrder(dynamic data)
|
||||
{
|
||||
|
||||
@ -107,7 +106,7 @@ namespace DoublyLinkedList
|
||||
}
|
||||
|
||||
|
||||
public dynamic getItemData(int index)
|
||||
public dynamic getItemData(uint index)
|
||||
{
|
||||
|
||||
Current = getItem(index);
|
||||
@ -130,7 +129,7 @@ namespace DoublyLinkedList
|
||||
}
|
||||
}
|
||||
|
||||
public Node getItem(int index)
|
||||
public Node getItem(uint index)
|
||||
{
|
||||
Current = Head;
|
||||
|
||||
@ -152,7 +151,7 @@ namespace DoublyLinkedList
|
||||
return Current;
|
||||
}
|
||||
|
||||
public void removeItem(int index)
|
||||
public void removeItem(uint index)
|
||||
{
|
||||
Current = getItem(index);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user