dart / 2 / dart-typed_data / unmodifiablefloat32listview-class.html

UnmodifiableFloat32ListView class

View of a Float32List that disallows modification.

Inheritance
Implemented types
Available Extensions

Constructors

UnmodifiableFloat32ListView(Float32List list)

Properties

bufferByteBuffer
read-only, inherited
elementSizeInBytesint
read-only, inherited
firstdouble
read / write, inherited
Returns the first element.
hashCodeint
read-only, inherited
The hash code for this object.
isEmptybool
read-only, inherited
Whether this collection has no elements.
isNotEmptybool
read-only, inherited
Whether this collection has at least one element.
iteratorIterator<double>
read-only, inherited
Returns a new Iterator that allows iterating the elements of this Iterable.
lastdouble
read / write, inherited
Returns the last element.
lengthint
read / write, inherited
This operation is not supported by an unmodifiable list.
lengthInBytesint
read-only, inherited
offsetInBytesint
read-only, inherited
reversedIterable<double>
read-only, inherited
An Iterable of the objects in this list in reverse order.
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.
singledouble
read-only, inherited
Checks that this iterable has only one element, and returns that element.

Methods

add(double value) → void
inherited
This operation is not supported by an unmodifiable list.
addAll(Iterable<double> iterable) → void
inherited
This operation is not supported by an unmodifiable list.
any(bool test(double element)) → bool
inherited
Checks whether any element of this iterable satisfies test.
asMap() → Map<int, double>
inherited
An unmodifiable Map view of this list.
cast<R>() → List<R>
inherited
Returns a view of this list as a list of R instances.
clear() → void
inherited
This operation is not supported by an unmodifiable list.
contains(Object? element) → bool
inherited
Whether the collection contains an element equal to element.
elementAt(int index) → double
inherited
Returns the indexth element.
every(bool test(double element)) → bool
inherited
Checks whether every element of this iterable satisfies test.
expand<T>(Iterable<T> f(double element)) → Iterable<T>
inherited
Expands each element of this Iterable into zero or more elements.
fillRange(int start, int end, [double? fillValue]) → void
inherited
This operation is not supported by an unmodifiable list.
firstWhere(bool test(double element), {double orElse()?}) → double
inherited
Returns the first element that satisfies the given predicate test.
fold<T>(T initialValue, T combine(T previousValue, double element)) → T
inherited
Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
followedBy(Iterable<double> other) → Iterable<double>
inherited
Returns the lazy concatenation of this iterable and other.
forEach(void action(double element)) → void
inherited
Invokes action on each element of this iterable in iteration order.
getRange(int start, int end) → Iterable<double>
inherited
Creates an Iterable that iterates over a range of elements.
indexOf(Object? element, [int start = 0]) →