⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listadt.java

📁 一个普通的计算器程序
💻 JAVA
字号:
//********************************************************************//  ListADT.java       Authors: Lewis/Chase////  Defines the interface to a general list collection. Specific//  types of lists will extend this interface to complete the//  set of necessary operations.//********************************************************************package jss2;import java.util.Iterator;public interface ListADT<T>{   /**  Removes and returns the first element from this list */   public T removeFirst ();   /**  Removes and returns the last element from this list */   public T removeLast ();   /**  Removes and returns the specified element from this list */   public T remove (T element);   /**  Returns a reference to the first element on this list */   public T first ();   /**  Returns a reference to the last element on this list */   public T last ();   /**  Returns true if this list contains the specified target element */   public boolean contains (T target);   /**  Returns true if this list contains no elements */   public boolean isEmpty();   /**  Returns the number of elements in this list */   public int size();   /**  Returns an iterator for the elements in this list */   public Iterator<T> iterator();   /**  Returns a string representation of this list */   public String toString();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -