org.davesag.generica.util
Class ListUtils
java.lang.Object
org.davesag.generica.util.ListUtils
- public class ListUtils
- extends Object
A collection of static utility methods for manipulating Lists.
- Since:
- Generica 1.0
- Version:
- CVS Revision $Id: ListUtils.java,v 1.2 2004/03/30 10:12:59 norm Exp $
- Author:
- Dave Sag
http://www.davesag.com
|
Method Summary |
static List |
insertIntoList(List list,
int index,
Object item)
Inserts an item into the given list at the index point supplied. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListUtils
public ListUtils()
insertIntoList
public static List insertIntoList(List list,
int index,
Object item)
- Inserts an item into the given list at the index point supplied.
- Parameters:
list - The list to insert the item into.index - The point at which to insert the item.item - The item to insert.
- Returns:
- The updated list.
Dave Sag Generica API version 0.5.9 - (prerelease) Copyright © 2003 - 2004 Dave Sag.