public class CollectionsHelper extends Object
Constructor and Description |
---|
CollectionsHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
rotateInto(List<?> list,
int fromPos,
int toPos)
rotates the item formPos into the toPos in list nudging (rotating) the
rest of the elements
|
public static void rotateInto(List<?> list, int fromPos, int toPos)
list
- fromPos
- toPos
- Copyright © 2015. All rights reserved.