0
|
1 using UnityEngine;
|
|
2 using System.Collections;
|
|
3 using System;
|
|
4
|
|
5 public class TailNode<T> : Node<T> {
|
|
6
|
|
7 public Node<T> getNext() {
|
|
8 return null;
|
|
9 }
|
|
10
|
|
11 public T getAttribute() {
|
|
12 return default(T);
|
|
13 }
|
|
14
|
|
15 public Node<T> add(int currentNum, int num, T attribute) {
|
|
16 return null;
|
|
17 }
|
|
18
|
|
19 public Node<T> delete(int currentNum, int num) {
|
|
20 return null;
|
|
21 }
|
|
22
|
|
23 public Node<T> replaceNode(int currentNum, int num, T attribute) {
|
|
24 return null;
|
|
25 }
|
|
26
|
|
27 public Node<T> addLast(T attribute) {
|
|
28 return new DefaultNode<T> (attribute, this);
|
|
29 }
|
|
30
|
|
31 public T getAttribure()
|
|
32 {
|
|
33 throw new NotImplementedException();
|
|
34 }
|
|
35
|
|
36 public int length()
|
|
37 {
|
|
38 return 0;
|
|
39 }
|
|
40 }
|