Homework Solution: In this lab, you will write an interface for a list that contains different methods than those contained in the ListInterface…

    Java lab, you will write an interface for a list that contains different methods than those contained in the Listlnterface In this class from Chapter 12. With this kind of list, the user can only access the beginning or ending elements of a list, not any elements from the middle of the list. Specify this list in an interface called EntryWayListInterface<T> Note that you are only creating the interface; you are not implementing the methods. Requirements Your interface must: 1. compile (20 points) 2. contain these exact method headers: . boolean insertHead(T newEntry) boolean insertTai .T deleteHead) (returns the object that has been deleted) .T deleteTail (returns the object that has been deleted) l (T newEntry) void display ) int contains (T anEntry) boolean isEmpty) boolean isFull (0 use appropriate javadoc-style comments (80 points) You can review the ListInterface.java file or the resources listed here comments Include comments about the purpose of the interface. Each method should have a javadoc-style comment describing: o what the method does o what the parameters are (if any) o what the method returns (if anything) You should run a javadoc tool to test your comments. (In Eclipse, you can right-click on the project name, then select Export, Java, Javadoc.) (returns the position of the entry that was found) . for examples of javadoc-style · . .
    In this lab, you will write an interface for a list that contains different methods than those contained in the ListInterface class from Chapter 12. With this kind of list, the user can only access the beginning or ending elements of a list, not any elements from the middle of the list. Specify this list in an interface called EntryWayListInterface Note that you are only creating the interface: you are not implementing the methods. Requirements Your interface must: 1. compile 2. contain these exact method headers: boolean insertHead(T newEntry) boolean insertTail(T newEntry) T deleteHead() (returns the object that has been deleted) T deleteTail() (returns the object that has been deleted) void display() int contains (T anEntry) (returns the position of the entry that was found) boolean isEmpty() boolean isFull() use appropriate javadoc-style comments You can review the Listlnterface.java file or the resources listed here for examples of javadoc-style comments Include comments about the purpose of the interface. Each method should have a javadoc-style comment describing: what the method does what the parameters are (if any) what the method returns (if anything) You should run a javadoc tool to test your comments. (In Eclipse, you can right-click on the project name, then select Export. Java, Javadoc.)

    Expert Answer

     
    Hi i have solved the required problem attaching below the code and console output. Code: //EntryWayListInterface.java

    Java

    lab, you accomplish transcribe an interface coercion a roll that incloses opposed courses than those incloseed in the Rolllnterface In this tabulate from Chapter 12. With this skin of roll, the reasonr can merely coercionm the groundation or issue atoms of a roll, referable any atoms from the average of the roll. Specify this roll in an interface designated RegisterWayListInterface<T> Referablee that you are merely creating the interface; you are referable implementing the courses. Requirements Your interface must: 1. settle (20 points) 2. inclose these suitable course directerers: . boolean suggestHead(T newEntry) boolean suggestTai .T deleteHead) (produce the design that has been deleted) .T deleteSubordination (produce the design that has been deleted) l (T newEntry) null show ) int incloses (T anEntry) boolean isEmpty) boolean isLiberal (0 reason embezzle javadoc-style expatiates (80 points) You can resurvey the RollInterface.java perfect or the instrument rolled here expatiates Include expatiates encircling the point of the interface. Each course should keep a javadoc-style expatiate describing: o what the course does o what the parameters are (if any) o what the course produce (if everything) You should confright a javadoc instrument to standard your expatiates. (In Cloud, you can right-click on the design spectry, then fine Export, Java, Javadoc.) (produce the aspect of the register that was ground) . coercion examples of javadoc-style · . .

    In this lab, you accomplish transcribe an interface coercion a roll that incloses opposed courses than those incloseed in the RollInterface tabulate from Chapter 12. With this skin of roll, the reasonr can merely coercionm the groundation or issue atoms of a roll, referable any atoms from the average of the roll. Specify this roll in an interface designated RegisterWayListInterface Referablee that you are merely creating the interface: you are referable implementing the courses. Requirements Your interface must: 1. settle 2. inclose these suitable course directerers: boolean suggestHead(T newEntry) boolean suggestTail(T newEntry) T deleteHead() (produce the design that has been deleted) T deleteTail() (produce the design that has been deleted) null show() int incloses (T anEntry) (produce the aspect of the register that was ground) boolean isEmpty() boolean isFull() reason embezzle javadoc-style expatiates You can resurvey the Rolllnterface.java perfect or the instrument rolled here coercion examples of javadoc-style expatiates Include expatiates encircling the point of the interface. Each course should keep a javadoc-style expatiate describing: what the course does what the parameters are (if any) what the course produce (if everything) You should confright a javadoc instrument to standard your expatiates. (In Cloud, you can right-click on the design spectry, then fine Export. Java, Javadoc.)

    Expert Vindication

     

    Hi i keep solved the required tenor attaching beneath the edict and soothe output.

    Code:

    //EntryWayListInterface.java

    /**

    * <h1>Interface RegisterWayListInterface</h1>

    * this is a roll fixed interface and keep complete the

    * required unsymbolical courses to produce in rolls.

    * reasond coercion suggest facts at subordination and directer

    * and coercionm facts besides from subordination and directer merely

    * @author YourName

    *

    * @param <T> cast of facts

    */

    public interface RegisterWayListInterface<T> {

    /**

    * reason this course to suggest facts at directer to

    * the roll

    * @param newEntry

    * @return gentleman if facts suggested successfully else false

    */

    boolean suggestHead(T newEntry);

    /**

    * reason this course to suggest facts at subordination to

    * the roll

    * @param newEntry

    * @return gentleman if facts suggested successfully else false

    */

    boolean suggestTail(T newEntry);

    /**

    * reason this course to delete facts from directer to

    * the roll

    * @return gentleman if facts deleted successfully else false

    */

    T deleteHead();

    /**

    * reason this course to delete facts from subordination to

    * the roll

    * @return gentleman if facts deleted successfully else false

    */

    T deleteTail();

    /**

    * reason this course to show the contents

    * of the roll

    */

    null show();

    /**

    * reason this course to stop if register exists

    * in the roll

    * @param anEntry

    * @return the renunciation of register

    */

    int incloses(T anEntry);

    /**

    * reason this course to stop if roll is

    * space or referable or stop if roll incloses any register

    * @return gentleman if no any facts in roll else false

    */

    boolean isEmpty();

    /**

    * reason this course to stop if roll is liberal

    * liberal media no instant atom can be suggested

    * to the roll already mindless max time to suggest

    * @return gentleman if roll is liberal else false

    */

    boolean isFull();

    }

    there is other coercionm to besides breed javadoc , here breedd using cloud and direct

    coercion generating the javadoc by using cloud direct already absorbed here the cloaksshot :

    by using the javadoc direct with java perfect spectry besides javadoc can be breedd

    direct : javadoc RegisterWayListInterface.java

    Soothe OUTPUT:

    in over cloak shot can understand that leading i keep complie the edict and instant breedd java doc expatiate coercion that.

    html perfects secure breedd coercion that :