com.atlassian.jira.util
Class CollectionReorderer

java.lang.Object
  extended bycom.atlassian.jira.util.CollectionReorderer

public class CollectionReorderer
extends java.lang.Object


Constructor Summary
CollectionReorderer()
           
 
Method Summary
 void decreasePosition(java.util.List objects, java.lang.Object toMove)
           
 void increasePosition(java.util.List objects, java.lang.Object toMove)
           
 void moveToEnd(java.util.List objects, java.lang.Object toMove)
           
 void moveToPosition(java.util.List objects, int initialPosition, int targetPosition)
           
 void moveToStart(java.util.List objects, java.lang.Object toMove)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionReorderer

public CollectionReorderer()
Method Detail

moveToStart

public void moveToStart(java.util.List objects,
                        java.lang.Object toMove)

moveToEnd

public void moveToEnd(java.util.List objects,
                      java.lang.Object toMove)

decreasePosition

public void decreasePosition(java.util.List objects,
                             java.lang.Object toMove)

increasePosition

public void increasePosition(java.util.List objects,
                             java.lang.Object toMove)

moveToPosition

public void moveToPosition(java.util.List objects,
                           int initialPosition,
                           int targetPosition)


Copyright © 2002-2005 Atlassian. All Rights Reserved.