UnmodifiableFloat64x2ListView class
View of a Float64x2List that disallows modification.
It is a compile-time error for a class to attempt to extend or implement UnmodifiableFloat64x2ListView.
- Implemented types
- Available Extensions
Constructors
- UnmodifiableFloat64x2ListView(Float64x2List list) factory
Properties
- buffer → ByteBuffer read-onlyinherited
- Returns the byte buffer associated with this object.
- elementSizeInBytes → int read-onlyinherited
- Returns the number of bytes in the representation of each element in this list.
- first ↔ Float64x2 read / writeinherited
- Returns the first element.
- hashCode → int read-onlyinherited
- The hash code for this object.
- isEmpty → bool read-onlyinherited
- Whether this collection has no elements.
- isNotEmpty → bool read-onlyinherited
- Whether this collection has at least one element.
- iterator → Iterator<
Float64x2> read-onlyinherited - Returns a new
Iteratorthat allows iterating the elements of thisIterable. - last ↔ Float64x2 read / writeinherited
- Returns the last element.
- length ↔ int read / writeinherited
- The number of objects in this list.
- lengthInBytes → int read-onlyinherited
- Returns the length of this view, in bytes.
- offsetInBytes → int read-onlyinherited
- Returns the offset in bytes into the underlying byte buffer of this view.
- reversed → Iterable<
Float64x2> read-onlyinherited - An Iterable of the objects in this list in reverse order.
- runtimeType → Type read-onlyinherited
- A representation of the runtime type of the object.
- single → Float64x2 read-onlyinherited
- Checks that this iterable has only one element, and returns that element.
Methods
- add(
Float64x2 value) → void inherited - Adds
valueto the end of this list, extending the length by one. - addAll(
Iterable< Float64x2> iterable) → voidinherited - Appends all objects of
iterableto the end of this list. - any(
bool test(Float64x2 element)) → bool inherited - Checks whether any element of this iterable satisfies
test. - asMap(
) → Map< int, Float64x2> inherited - An unmodifiable Map view of this list.
- cast<
R> () → List< R> inherited - Returns a view of this list as a list of
Rinstances. - clear(
) → void inherited - Removes all objects from this list; the length of the list becomes zero.
- contains(
Object? element) → bool inherited - Whether the collection contains an element equal to
element. - elementAt(
int index) → Float64x2 inherited - Returns the
indexth element. - every(
bool test(Float64x2 element)) → bool inherited - Checks whether every element of this iterable satisfies
test. - expand<
T> (Iterable< T> toElements(Float64x2 element)) → Iterable<T> inherited - Expands each element of this Iterable into zero or more elements.
- fillRange(
int start, int end, [Float64x2? fillValue]) → void inherited - Overwrites a range of elements with
fillValue. - firstWhere(
bool test(Float64x2 element), {Float64x2 orElse()?}) → Float64x2 inherited - Returns the first element that satisfies the given predicate
test. - fold<
T> (T initialValue, T combine(T previousValue, Float64x2 element)) → T inherited - Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
- followedBy(
Iterable< Float64x2> other) → Iterable<Float64x2> inherited - Returns the lazy concatenation of this iterable and
other. - forEach(
void action(Float64x2 element)) → void inherited - Invokes
actionon each element of this iterable in iteration order. - getRange(
int start, int end) → Iterable< Float64x2> inherited - Creates an Iterable that iterates over a range of elements.
- indexOf(
Float64x2 element, [int start = 0]) → int inherited - The first index of
elementin this list. - indexWhere(
bool test(Float64x2 element), [int start = 0]) → int inherited - The first index in the list that satisfies the provided
test. - insert(
int index, Float64x2 element) → void inherited - Inserts
elementat positionindexin this list. - insertAll(
int index, Iterable< Float64x2> iterable) → voidinherited - Inserts all objects of
iterableat positionindexin this list. - join(
[String separator = ""]) → String inherited - Converts each element to a String and concatenates the strings.
- lastIndexOf(
Float64x2 element, [int? start]) → int inherited - The last index of
elementin this list. - lastIndexWhere(
bool test(Float64x2 element), [int? start]) → int inherited - The last index in the list that satisfies the provided
test. - lastWhere(
bool test(Float64x2 element), {Float64x2 orElse()?}) → Float64x2 inherited - Returns the last element that satisfies the given predicate
test. - map<
T> (T toElement(Float64x2 e)) → Iterable< T> inherited - The current elements of this iterable modified by
toElement. - noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed.
- reduce(
Float64x2 combine(Float64x2 value, Float64x2 element)) → Float64x2 inherited - Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.
- remove(
Object? value) → bool inherited - Removes the first occurrence of
valuefrom this list. - removeAt(
int index) → Float64x2 inherited - Removes the object at position
indexfrom this list. - removeLast(
) → Float64x2 inherited - Removes and returns the last object in this list.
- removeRange(
int start, int end) → void inherited - Removes a range of elements from the list.
- removeWhere(
bool test(Float64x2 element)) → void inherited - Removes all objects from this list that satisfy
test. - replaceRange(
int start, int end, Iterable< Float64x2> replacements) → voidinherited - Replaces a range of elements with the elements of
replacements. - retainWhere(
bool test(Float64x2 element)) → void inherited - Removes all objects from this list that fail to satisfy
test. - setAll(
int index, Iterable< Float64x2> iterable) → voidinherited - Overwrites elements with the objects of
iterable. - setRange(
int start, int end, Iterable< Float64x2> iterable, [int skipCount = 0]) → voidinherited - Writes some elements of
iterableinto a range of this list. - shuffle(
[Random? random]) → void inherited - Shuffles the elements of this list randomly.
- singleWhere(
bool test(Float64x2 element), {Float64x2 orElse()?}) → Float64x2 inherited - Returns the single element that satisfies
test. - skip(
int count) → Iterable< Float64x2> inherited - Returns an Iterable that provides all but the first
countelements. - skipWhile(
bool test(Float64x2 value)) → Iterable< Float64x2> inherited - Returns an
Iterablethat skips leading elements whiletestis satisfied. - sort(
[int compare(Float64x2 a, Float64x2 b)?]) → void inherited - Sorts this list according to the order specified by the
comparefunction. - sublist(
int start, [int? end]) → Float64x2List inherited - Returns a new list containing the elements between
startandend. - take(
int count) → Iterable< Float64x2> inherited - Returns a lazy iterable of the
countfirst elements of this iterable. - takeWhile(
bool test(Float64x2 value)) → Iterable< Float64x2> inherited - Returns a lazy iterable of the leading elements satisfying
test. - toList(
{bool growable = true}) → List< Float64x2> inherited - Creates a List containing the elements of this Iterable.
- toSet(
) → Set< Float64x2> inherited - Creates a Set containing the same elements as this iterable.
- toString(
) → String inherited - A string representation of this object.
- where(
bool test(Float64x2 element)) → Iterable< Float64x2> inherited - Returns a new lazy Iterable with all elements that satisfy the predicate
test. - whereType<
T> () → Iterable< T> inherited - Returns a new lazy Iterable with all elements that have type
T.
Operators
- operator +(
List< Float64x2> other) → List<Float64x2> inherited - Returns the concatenation of this list and
other. - operator ==(
Object other) → bool inherited - The equality operator.
- operator [](
int index) → Float64x2 inherited - The object at the given
indexin the list. - operator []=(
int index, Float64x2 value) → void inherited - Sets the value at the given
indexin the list tovalue.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-typed_data/UnmodifiableFloat64x2ListView-class.html