Class MaskedOnceArray<T>
java.lang.Object
org.apache.sysds.runtime.ooc.cache.collections.MaskedOnceArray<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanclear(int i) voidclearLive(int i) booleanforEachLive(IndexedObjectPredicate<? super T> action, boolean reversed, int offset) voidforEachVisible(Consumer<? super T> action) get(int i) booleanisEmpty()booleanbooleanvoidsetLive(int i) boolean
-
Constructor Details
-
MaskedOnceArray
public MaskedOnceArray(int length)
-
-
Method Details
-
put
-
clear
public boolean clear(int i) -
get
-
forEachVisible
-
tryRetireIfEmpty
public boolean tryRetireIfEmpty() -
isRetired
public boolean isRetired() -
isEmpty
public boolean isEmpty() -
setLive
public void setLive(int i) -
clearLive
public void clearLive(int i) -
forEachLive
-