Exemple #1
0
        public void push(E next)
        {
            ClickEventStackData <E> packedData = new ClickEventStackData <E>(next);

            if (head == null)
            {
                head = packedData;
            }
            else
            {
                packedData.setNext(head);
                head = packedData;
            }
        }
 public void setNext(ClickEventStackData <E> nextData)
 {
     this.nextData = nextData;
 }