|
-
deleting a link in a link list
hi java programmers.
i am having trouble with deleting a link in a link list.
this is what i have so far
public void deleteItemAt(int i) {
if (this.list == null)
throw new NoSuchElementException(
"deleteItemAt("+i+"): list is empty!");
for (int i =i-1)
node cu = new item;
clear.cu.tail();
cu.settail(del2);
}
-------------------------------------------------------------
if anyone can me any sort of help at all i would be very pleased
LK
Similar Threads
-
By ill_comms in forum ASP.NET
Replies: 0
Last Post: 10-27-2005, 12:16 AM
-
Replies: 1
Last Post: 07-17-2005, 07:12 PM
-
By ram_son in forum VB Classic
Replies: 8
Last Post: 03-29-2005, 04:09 PM
-
Replies: 1
Last Post: 11-11-2002, 12:06 PM
-
By Larry Rebich in forum vb.announcements
Replies: 1
Last Post: 06-28-2001, 01:22 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks