public class GeoResults<T> extends ObjectSE implements IterableSE<GeoResult<T>>, SerializableSE
GeoResult
とそれらの平均距離をキャプチャーする値オブジェクト。コンストラクターと説明 |
---|
GeoResults(ListSE<? extends GeoResult<T>> results) 指定された GeoResult の距離値から平均距離を手動で計算する新しい GeoResults インスタンスを作成します。 |
GeoResults(ListSE<? extends GeoResult<T>> results, Distance averageDistance) 指定された GeoResult と平均距離から新しい GeoResults インスタンスを作成します。 |
GeoResults(ListSE<? extends GeoResult<T>> results, Metric metric) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | equals(ObjectSE o) |
Distance | getAverageDistance() このリスト内のすべての GeoResult の平均距離を返します。 |
ListSE<GeoResult<T>> | getContent() GeoResults の実際のコンテンツを返します。 |
int | hashCode() |
IteratorSE<GeoResult<T>> | iterator() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
forEachSE, spliteratorSE
public GeoResults(ListSE<? extends GeoResult<T>> results)
GeoResult
の距離値から平均距離を手動で計算する新しい GeoResults
インスタンスを作成します。results
- null であってはなりません。public GeoResults(ListSE<? extends GeoResult<T>> results, Metric metric)
results
- null であってはなりません。metric
- null であってはなりません。public ListSE<GeoResult<T>> getContent()
GeoResults
の実際のコンテンツを返します。public IteratorSE<GeoResult<T>> iterator()
IterableSE<GeoResult<T>>
の iteratorSE
public int hashCode()
ObjectSE
の hashCodeSE
public StringSE toString()
ObjectSE
の toStringSE
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.