com.openharbor.beck.util
Class CollectionUtil
java.lang.Object
com.openharbor.beck.util.CollectionUtil
- public class CollectionUtil
- extends java.lang.Object
Created by IntelliJ IDEA.
User: ilya
Date: Oct 5, 2004
Time: 2:19:20 PM
To change this template use File | Settings | File Templates.
Method Summary |
static java.lang.Object |
getElementAt(java.util.Collection col,
int index)
|
static java.lang.Object |
removeElementAt(java.util.Collection col,
int index)
|
static java.util.Collection |
replaceElementAt(java.util.Collection col,
int index,
java.lang.Object replaceObject)
|
static void |
swapElements(java.util.Collection col,
int ind1,
int ind2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionUtil
public CollectionUtil()
getElementAt
public static final java.lang.Object getElementAt(java.util.Collection col,
int index)
removeElementAt
public static final java.lang.Object removeElementAt(java.util.Collection col,
int index)
replaceElementAt
public static final java.util.Collection replaceElementAt(java.util.Collection col,
int index,
java.lang.Object replaceObject)
swapElements
public static final void swapElements(java.util.Collection col,
int ind1,
int ind2)