- java.lang.Object
-
- com.iamsoft.util.ui.javafx.collections.IndexUpdater
-
public final class IndexUpdater extends Object
-
-
Constructor Summary
Constructors Constructor Description IndexUpdater(IntConsumer pIndexUpdater, IntSupplier pSizeSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareAllIndexesValid()intgetFirstInvalidatedIndex()voidmarkAllIndexesAsValid()voidupdateFirstInvalidatedIndex(int pIdx)voidupdateIndexes()voidupdateIndexes(int pToPos, IntPredicate pAbort)voidupdateIndexes(IntPredicate pAbort)
-
-
-
Constructor Detail
-
IndexUpdater
public IndexUpdater(IntConsumer pIndexUpdater, IntSupplier pSizeSupplier)
-
-
Method Detail
-
getFirstInvalidatedIndex
public int getFirstInvalidatedIndex()
-
updateFirstInvalidatedIndex
public void updateFirstInvalidatedIndex(int pIdx)
-
areAllIndexesValid
public boolean areAllIndexesValid()
-
markAllIndexesAsValid
public void markAllIndexesAsValid()
-
updateIndexes
public void updateIndexes()
-
updateIndexes
public void updateIndexes(IntPredicate pAbort)
- Parameters:
pAbort- Determines whether the update should be aborted after the specified index.
-
updateIndexes
public void updateIndexes(int pToPos, IntPredicate pAbort)
-
-