Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java In this lab, you will write an interface for a list that contains different methods than those contained in the ListInterface class from Chapter
Java
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.)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started