パッケージ twitter4j.v1

クラス GeoLocation

java.lang.Object
twitter4j.v1.GeoLocation
すべての実装されたインタフェース:
Serializable

public class GeoLocation extends Object implements Serializable
A data class representing geo location.
関連項目:
  • フィールドの概要

    フィールド
    修飾子とタイプ
    フィールド
    説明
    final double
    latitude
    final double
    longitude
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    boolean
     
    int
     
    of(double latitude, double longitude)
    Creates a GeoLocation instance
     

    クラスから継承されたメソッド java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • フィールド詳細

    • latitude

      public final double latitude
      latitude
    • longitude

      public final double longitude
      longitude
  • メソッドの詳細

    • of

      public static GeoLocation of(double latitude, double longitude)
      Creates a GeoLocation instance
      パラメータ:
      latitude - the latitude
      longitude - the longitude
      戻り値:
      GeoLocation
    • equals

      public boolean equals(Object o)
      オーバーライド:
      equals クラス内 Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 Object
    • toString

      public String toString()
      オーバーライド:
      toString クラス内 Object