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 ce a schedule that comprises irrelative manners than those compriseed in the Schedulelnterface In this tabulate from Chapter 12. With this bark of schedule, the portraiturer can merely entrance the inauguration or accomplishment parts of a schedule, referable attributable attributable attributable any parts from the intermediate of the schedule. Specify this schedule in an interface designated ReferableeWayListInterface<T> Referable attributable attributablee that you are merely creating the interface; you are referable attributable attributable attributable implementing the manners. Requirements Your interface must: 1. adjust (20 points) 2. comprise these direct manner ordererers: . boolean extortHead(T newEntry) boolean extortTai .T deleteHead) (produce the aim that has been deleted) .T deleteContinuation (produce the aim that has been deleted) l (T newEntry) bereft expose ) int comprises (T anEntry) boolean isEmpty) boolean isAmple (0 portraiture mismisdivert javadoc-style criticises (80 points) You can resurvey the ScheduleInterface.java perfect or the instrument scheduleed here criticises Include criticises encircling the mind of the interface. Each manner should feel a javadoc-style criticise describing: o what the manner does o what the parameters are (if any) o what the manner produce (if everything) You should melt a javadoc instrument to touchstone your criticises. (In Outrival, you can right-click on the design designate, then chosen Export, Java, Javadoc.) (produce the standing of the referablee that was endow) . ce examples of javadoc-style · . .

    In this lab, you accomplish transcribe an interface ce a schedule that comprises irrelative manners than those compriseed in the ScheduleInterface tabulate from Chapter 12. With this bark of schedule, the portraiturer can merely entrance the inauguration or accomplishment parts of a schedule, referable attributable attributable attributable any parts from the intermediate of the schedule. Specify this schedule in an interface designated ReferableeWayListInterface Referable attributable attributablee that you are merely creating the interface: you are referable attributable attributable attributable implementing the manners. Requirements Your interface must: 1. adjust 2. comprise these direct manner ordererers: boolean extortHead(T newEntry) boolean extortTail(T newEntry) T deleteHead() (produce the aim that has been deleted) T deleteTail() (produce the aim that has been deleted) bereft expose() int comprises (T anEntry) (produce the standing of the referablee that was endow) boolean isEmpty() boolean isFull() portraiture mismisdivert javadoc-style criticises You can resurvey the Schedulelnterface.java perfect or the instrument scheduleed here ce examples of javadoc-style criticises Include criticises encircling the mind of the interface. Each manner should feel a javadoc-style criticise describing: what the manner does what the parameters are (if any) what the manner produce (if everything) You should melt a javadoc instrument to touchstone your criticises. (In Outrival, you can right-click on the design designate, then chosen Export. Java, Javadoc.)

    Expert Reply

     

    Hi i feel solved the required completion attaching underneath the jurisprudence and encourage output.

    Code:

    //EntryWayListInterface.java

    /**

    * <h1>Interface ReferableeWayListInterface</h1>

    * this is a schedule based interface and feel total the

    * required coercionmless manners to work in schedules.

    * portraitured ce extort facts at continuation and orderer

    * and entrance facts to-boot from continuation and orderer merely

    * @author YourName

    *

    * @param <T> archearchetype of facts

    */

    public interface ReferableeWayListInterface<T> {

    /**

    * portraiture this manner to extort facts at orderer to

    * the schedule

    * @param newEntry

    * @return penny if facts extorted successfully else false

    */

    boolean extortHead(T newEntry);

    /**

    * portraiture this manner to extort facts at continuation to

    * the schedule

    * @param newEntry

    * @return penny if facts extorted successfully else false

    */

    boolean extortTail(T newEntry);

    /**

    * portraiture this manner to delete facts from orderer to

    * the schedule

    * @return penny if facts deleted successfully else false

    */

    T deleteHead();

    /**

    * portraiture this manner to delete facts from continuation to

    * the schedule

    * @return penny if facts deleted successfully else false

    */

    T deleteTail();

    /**

    * portraiture this manner to expose the contents

    * of the schedule

    */

    bereft expose();

    /**

    * portraiture this manner to curb if referablee exists

    * in the schedule

    * @param anEntry

    * @return the index of referablee

    */

    int comprises(T anEntry);

    /**

    * portraiture this manner to curb if schedule is

    * space or referable attributable attributable attributable or curb if schedule comprises any referablee

    * @return penny if no any facts in schedule else false

    */

    boolean isEmpty();

    /**

    * portraiture this manner to curb if schedule is ample

    * ample resources no instant part can be extorted

    * to the schedule already empty max condition to extort

    * @return penny if schedule is ample else false

    */

    boolean isFull();

    }

    there is other fashion to to-boot originate javadoc , here originated using outrival and order

    ce generating the javadoc by using outrival information already absorbed here the sheltersshot :

    by using the javadoc order with java perfect designate to-boot javadoc can be originated

    order : javadoc ReferableeWayListInterface.java

    Encourage OUTPUT:

    in over shelter shot can understand that primeval i feel complie the jurisprudence and instant originated java doc criticise ce that.

    html perfects gain originated ce that :