Class IFloatList.IReadOnlyFloatListFromList
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IFloatList
-
- org.magicwerk.brownies.collections.primitive.IFloatList.IReadOnlyFloatList
-
- org.magicwerk.brownies.collections.primitive.IFloatList.IReadOnlyFloatListFromList
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
- Enclosing class:
- IFloatList
protected static class IFloatList.IReadOnlyFloatListFromList extends IFloatList.IReadOnlyFloatList
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.magicwerk.brownies.collections.primitive.IFloatList
IFloatList.IReadOnlyFloatList, IFloatList.IReadOnlyFloatListFromArray, IFloatList.IReadOnlyFloatListFromCollection, IFloatList.IReadOnlyFloatListFromList, IFloatList.IReadOnlyFloatListFromMult
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<java.lang.Float>list2
-
Constructor Summary
Constructors Constructor Description IReadOnlyFloatListFromList(java.util.List<java.lang.Float> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected floatdoGet(int index)Helper method for getting an element from the list.intsize()-
Methods inherited from class org.magicwerk.brownies.collections.primitive.IFloatList.IReadOnlyFloatList
binarySearch, capacity, doAdd, doAssign, doClone, doCreate, doEnsureCapacity, doRemove, doReSet, doSet, getDefaultElem, sort, trimToSize, unmodifiableList
-
Methods inherited from class org.magicwerk.brownies.collections.primitive.IFloatList
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 classIFloatList
-
doGet
protected float doGet(int index)
Description copied from class:IFloatListHelper 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 classIFloatList- Parameters:
index- index of element to return- Returns:
- the element at the specified position in this list
-
-