예제 #1
0
 public boolean empty() {
   if (imp.size() != 0) {
     return false;
   } else {
     return true;
   }
 }
예제 #2
0
 public int size() {
   int size = imp.size();
   return size;
 }
예제 #3
0
 public void enq(String newVal) {
   int length = imp.size();
   imp.ins(newVal, length);
 }