Java で LinkedList と LinearNode クラスを使用してスタックを実行していますが、問題があります。
.........
public BoundedStackADTLinkedImpl() {
count = 0;
top = null;
}
public BoundedStackADTLinkedImpl(int stackCapacity) {
//I dont know how to do a builder using LinearNode with a initial Capacity
}
public BoundedStackADTLinkedImpl(int stackCapacity, T... initialContent) {
//Here I have the same problem.
count = 0;
top = new LinearNode<T>();
for (T Vi : initialContent) {
push(Vi);
}
.........
ありがとう!!!