Class IBooleanList.IReadOnlyBooleanListFromMult
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IBooleanList
-
- org.magicwerk.brownies.collections.primitive.IBooleanList.IReadOnlyBooleanList
-
- org.magicwerk.brownies.collections.primitive.IBooleanList.IReadOnlyBooleanListFromMult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
- Enclosing class:
- IBooleanList
protected static class IBooleanList.IReadOnlyBooleanListFromMult extends IBooleanList.IReadOnlyBooleanList
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.magicwerk.brownies.collections.primitive.IBooleanList
IBooleanList.IReadOnlyBooleanList, IBooleanList.IReadOnlyBooleanListFromArray, IBooleanList.IReadOnlyBooleanListFromCollection, IBooleanList.IReadOnlyBooleanListFromList, IBooleanList.IReadOnlyBooleanListFromMult
-
-
Constructor Summary
Constructors Constructor Description IReadOnlyBooleanListFromMult(int len, boolean elem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandoGet(int index)Helper method for getting an element from the list.intsize()-
Methods inherited from class org.magicwerk.brownies.collections.primitive.IBooleanList.IReadOnlyBooleanList
binarySearch, capacity, doAdd, doAssign, doClone, doCreate, doEnsureCapacity, doRemove, doReSet, doSet, getDefaultElem, sort, trimToSize, unmodifiableList
-
Methods inherited from class org.magicwerk.brownies.collections.primitive.IBooleanList
add, add, addAll, addAll, addAll, addAll, addArray, addArray, addArray, addArray, addFirst, addIfAbsent, addLast, addMult, addMult, binarySearch, checkIndex, checkIndexAdd, checkLength, checkLengths, checkNonNull, checkRange, clear, clone, contains, containsAll, containsAny, containsIf, copy, copy, count, countIf, crop, doAddAll, doClear, doCreateArray, doGetAll, doModify, doRemoveAll, doReplaceAll, doRotate, doTransfer, doTransferSwap, drag, element, ensureCapacity, equals, equalsElem, extract, extractIf, fill, filter, filterMap, get, getAll, getAll, getDistinct, getFirst, getFirstOrNull, getIf, getLast, getLastOrNull, getSingle, getSingleOrNull, hashCode, hashCodeElem, indexOf, indexOf, indexOfIf, initAll, initAll, initArray, initMult, isEmpty, lastIndexOf, lastIndexOf, map, mapFilter, move, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, put, putAll, putAll, putArray, putMult, remove, remove, remove, removeAll, removeAll, removeAll, removeElem, removeFirst, removeFirstOccurrence, removeIf, removeLast, removeLastOccurrence, replaceAll, replaceAll, replaceArray, replaceMult, resize, retain, retainAll, retainAll, retainIf, reverse, reverse, rotate, rotate, set, setAll, setAll, setArray, setArray, setMult, sort, swap, toArray, toArray, toArray, toArray, toArray, toArray, toArray, toString, transferCopy, transferMove, transferRemove, transferSwap, transform, transformedList
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein classIBooleanList
-
doGet
protected boolean doGet(int index)
Description copied from class:IBooleanListHelper method for getting an element from the list. This is the only method which really gets an element. Override if you need to validity checks before getting.- Specified by:
doGetin classIBooleanList- Parameters:
index- index of element to return- Returns:
- the element at the specified position in this list
-
-