org.omnaest.utils.propertyfile.content.index
Class IndexManager
java.lang.Object
org.omnaest.utils.propertyfile.content.index.IndexManager
public class IndexManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indexList
protected List<Index> indexList
IndexManager
public IndexManager()
getIndexList
public List<Index> getIndexList()
getPreviousIndex
public Index getPreviousIndex(Index currentIndex)
- Returns the
Index is comes before the given Index.
- Parameters:
currentIndex -
- Returns:
removeIndex
public void removeIndex(Index index)
insertIndex
public void insertIndex(int indexPosition,
Index index)
resolveIndexPosition
public int resolveIndexPosition(Index index)
getNextIndex
public Index getNextIndex(Index currentIndex)
- Returns the
Index which follows the given Index
- Parameters:
currentIndex -
- Returns:
createNewAppendedIndex
public Index createNewAppendedIndex()
- Creates a new
Index instance which is appended to the current list of Index elements.
- Returns:
createNewPreviousIndex
public Index createNewPreviousIndex(Index currentIndex)
- Creates a new
Index element before the given current Index.
- Parameters:
currentIndex -
- Returns:
clear
public void clear()
Copyright © 2013. All Rights Reserved.