org.davesag.generica.util
Class ListUtils

java.lang.Object
  extended byorg.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

Constructor Summary
ListUtils()
           
 
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
 

Constructor Detail

ListUtils

public ListUtils()
Method Detail

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.