Package | Description |
---|---|
com.github.gwtd3.api | |
com.github.gwtd3.api.arrays |
Modifier and Type | Method and Description |
---|---|
static Value |
Arrays.max(com.google.gwt.core.client.JavaScriptObject array,
ForEachCallback<?> accessor)
Transform the values in the given array using the specified
ForEachCallback and returns the maximum value
in the transformed
values using natural order. |
static Value |
Arrays.min(com.google.gwt.core.client.JavaScriptObject array,
ForEachCallback<?> accessor)
Transform the values in the given array using the specified
ForEachCallback and returns the minimum value
in the transformed
values using natural order. |
Modifier and Type | Method and Description |
---|---|
boolean |
Array.every(ForEachCallback<Boolean> callback)
Executes the provided callback function once for each element present in
the array until it finds one where callback returns a falsy value.
|
boolean |
Array.every(ForEachCallback<Boolean> callback,
Object thisArg)
Executes the provided callback function once for each element present in
the array until it finds one where callback returns a falsy value.
|
Array<T> |
Array.filter(ForEachCallback<Boolean> callback)
Calls the provided callback function once for each element in an array,
and constructs a new array of all the values for which callback returns a
true value.
|
Array<T> |
Array.filter(ForEachCallback<Boolean> callback,
Object thisArg)
Calls the provided callback function once for each element in an array,
and constructs a new array of all the values for which callback returns a
true value.
|
void |
Array.forEach(ForEachCallback<Void> callback)
Executes the provided callback once for each element of the array with an
assigned value.
|
void |
Array.forEach(ForEachCallback<Void> callback,
Object thisArg)
Executes the provided callback once for each element of the array with an
assigned value.
|
<R> Array<R> |
Array.map(ForEachCallback<R> callback)
Calls the provided callback function once for each element in the array,
and constructs a new array of all the values returned by the callback.
|
<R> Array<R> |
Array.map(ForEachCallback<R> callback,
Object thisArg)
Calls the provided callback function once for each element in the array,
and constructs a new array of all the values returned by the callback.
|
boolean |
Array.some(ForEachCallback<Boolean> callback)
Executes the provided callback function once for each element present in
the array until it finds one where callback returns a true value.
|
boolean |
Array.some(ForEachCallback<Boolean> callback,
Object thisArg)
Executes the provided callback function once for each element present in
the array until it finds one where callback returns a true value.
|
Copyright © 2015 gwt-d3. All rights reserved.