Class Result
java.lang.Object
java.util.AbstractCollection<NavigableMap<Double,Shape>>
java.util.AbstractList<NavigableMap<Double,Shape>>
org.apache.sis.internal.processing.isoline.Result
- All Implemented Interfaces:
Iterable<NavigableMap<Double,Shape>>, Collection<NavigableMap<Double, Shape>>, List<NavigableMap<Double, Shape>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate NavigableMap<Double,Shape>[] The result ofFuture.get()fetched when first needed.The task computing isolines result.Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int band) Returns the isolines in the given band.private NavigableMap<Double,Shape>[] isolines()Fetches the isolines from theFutureif not already done.intsize()Returns the list length, which is the number of bands.Object[]toArray()Returns the list content as an array.Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, streamMethods inherited from interface List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray
-
Field Details
-
task
-
isolines
The result ofFuture.get()fetched when first needed.
-
-
Constructor Details
-
Result
-
-
Method Details
-
isolines
Fetches the isolines from theFutureif not already done. -
size
public int size()Returns the list length, which is the number of bands.- Specified by:
sizein interfaceCollection<NavigableMap<Double,Shape>> - Specified by:
sizein interfaceList<NavigableMap<Double,Shape>> - Specified by:
sizein classAbstractCollection<NavigableMap<Double,Shape>>
-
get
Returns the isolines in the given band.- Specified by:
getin interfaceList<NavigableMap<Double,Shape>> - Specified by:
getin classAbstractList<NavigableMap<Double,Shape>>
-
toArray
Returns the list content as an array.- Specified by:
toArrayin interfaceCollection<NavigableMap<Double,Shape>> - Specified by:
toArrayin interfaceList<NavigableMap<Double,Shape>> - Overrides:
toArrayin classAbstractCollection<NavigableMap<Double,Shape>>
-