480 lines
16 KiB
HTML
480 lines
16 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="zh">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_242-release) on Wed Jan 27 14:18:35 CST 2021 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>MogoLatLng (蘑菇AI云平台Doc)</title>
|
|
<meta name="date" content="2021-01-27">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="MogoLatLng (\u8611\u83C7AI\u4E91\u5E73\u53F0Doc)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
|
|
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>您的浏览器已禁用 JavaScript。</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="导航">
|
|
<li><a href="../../../../overview-summary.html">概览</a></li>
|
|
<li><a href="package-summary.html">程序包</a></li>
|
|
<li class="navBarCell1Rev">类</li>
|
|
<li><a href="class-use/MogoLatLng.html">使用</a></li>
|
|
<li><a href="package-tree.html">树</a></li>
|
|
<li><a href="../../../../deprecated-list.html">已过时</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">索引</a></li>
|
|
<li><a href="../../../../help-doc.html">帮助</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/mogo/realtime/util/LocationParseUtil.html" title="com.mogo.realtime.util中的类"><span class="typeNameLink">上一个类</span></a></li>
|
|
<li><a href="../../../../com/mogo/realtime/util/MortonCode.html" title="com.mogo.realtime.util中的类"><span class="typeNameLink">下一个类</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/mogo/realtime/util/MogoLatLng.html" target="_top">框架</a></li>
|
|
<li><a href="MogoLatLng.html" target="_top">无框架</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>概要: </li>
|
|
<li>嵌套 | </li>
|
|
<li><a href="#field.summary">字段</a> | </li>
|
|
<li><a href="#constructor.summary">构造器</a> | </li>
|
|
<li><a href="#method.summary">方法</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li><a href="#field.detail">字段</a> | </li>
|
|
<li><a href="#constructor.detail">构造器</a> | </li>
|
|
<li><a href="#method.detail">方法</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.mogo.realtime.util</div>
|
|
<h2 title="类 MogoLatLng" class="title">类 MogoLatLng</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.mogo.realtime.util.MogoLatLng</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>所有已实现的接口:</dt>
|
|
<dd>android.os.Parcelable</dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">MogoLatLng</span>
|
|
extends java.lang.Object
|
|
implements android.os.Parcelable</pre>
|
|
<div class="block">经纬度</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>嵌套类概要</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.android.os.Parcelable">
|
|
<!-- -->
|
|
</a>
|
|
<h3>从接口继承的嵌套类/接口 android.os.Parcelable</h3>
|
|
<code>android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>字段概要</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
|
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">限定符和类型</th>
|
|
<th class="colLast" scope="col">字段和说明</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static android.os.Parcelable.Creator<<a href="../../../../com/mogo/realtime/util/MogoLatLng.html" title="com.mogo.realtime.util中的类">MogoLatLng</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#CREATOR">CREATOR</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#lat">lat</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#lon">lon</a></span></code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.android.os.Parcelable">
|
|
<!-- -->
|
|
</a>
|
|
<h3>从接口继承的字段 android.os.Parcelable</h3>
|
|
<code>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>构造器概要</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
|
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">限定符</th>
|
|
<th class="colLast" scope="col">构造器和说明</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code> </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#MogoLatLng-double-double-">MogoLatLng</a></span>(double lat,
|
|
double lon)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#MogoLatLng-android.os.Parcel-">MogoLatLng</a></span>(android.os.Parcel in)</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>方法概要</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
|
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">限定符和类型</th>
|
|
<th class="colLast" scope="col">方法和说明</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#describeContents--">describeContents</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#getLat--">getLat</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#getLon--">getLon</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#hashCode--">hashCode</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#toString--">toString</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mogo/realtime/util/MogoLatLng.html#writeToParcel-android.os.Parcel-int-">writeToParcel</a></span>(android.os.Parcel dest,
|
|
int flags)</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>从类继承的方法 java.lang.Object</h3>
|
|
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>字段详细资料</h3>
|
|
<a name="lat">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>lat</h4>
|
|
<pre>public final double lat</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="lon">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>lon</h4>
|
|
<pre>public final double lon</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="CREATOR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>CREATOR</h4>
|
|
<pre>public static final android.os.Parcelable.Creator<<a href="../../../../com/mogo/realtime/util/MogoLatLng.html" title="com.mogo.realtime.util中的类">MogoLatLng</a>> CREATOR</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>构造器详细资料</h3>
|
|
<a name="MogoLatLng-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>MogoLatLng</h4>
|
|
<pre>public MogoLatLng(double lat,
|
|
double lon)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="MogoLatLng-android.os.Parcel-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>MogoLatLng</h4>
|
|
<pre>protected MogoLatLng(android.os.Parcel in)</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>方法详细资料</h3>
|
|
<a name="getLat--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLat</h4>
|
|
<pre>public double getLat()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getLon--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLon</h4>
|
|
<pre>public double getLon()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="equals-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>equals</h4>
|
|
<pre>public boolean equals(java.lang.Object o)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
|
<dd><code>equals</code> 在类中 <code>java.lang.Object</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hashCode--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hashCode</h4>
|
|
<pre>public int hashCode()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
|
<dd><code>hashCode</code> 在类中 <code>java.lang.Object</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toString--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre>public java.lang.String toString()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
|
<dd><code>toString</code> 在类中 <code>java.lang.Object</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="describeContents--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>describeContents</h4>
|
|
<pre>public int describeContents()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
|
<dd><code>describeContents</code> 在接口中 <code>android.os.Parcelable</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeToParcel-android.os.Parcel-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>writeToParcel</h4>
|
|
<pre>public void writeToParcel(android.os.Parcel dest,
|
|
int flags)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
|
<dd><code>writeToParcel</code> 在接口中 <code>android.os.Parcelable</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="导航">
|
|
<li><a href="../../../../overview-summary.html">概览</a></li>
|
|
<li><a href="package-summary.html">程序包</a></li>
|
|
<li class="navBarCell1Rev">类</li>
|
|
<li><a href="class-use/MogoLatLng.html">使用</a></li>
|
|
<li><a href="package-tree.html">树</a></li>
|
|
<li><a href="../../../../deprecated-list.html">已过时</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">索引</a></li>
|
|
<li><a href="../../../../help-doc.html">帮助</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/mogo/realtime/util/LocationParseUtil.html" title="com.mogo.realtime.util中的类"><span class="typeNameLink">上一个类</span></a></li>
|
|
<li><a href="../../../../com/mogo/realtime/util/MortonCode.html" title="com.mogo.realtime.util中的类"><span class="typeNameLink">下一个类</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/mogo/realtime/util/MogoLatLng.html" target="_top">框架</a></li>
|
|
<li><a href="MogoLatLng.html" target="_top">无框架</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>概要: </li>
|
|
<li>嵌套 | </li>
|
|
<li><a href="#field.summary">字段</a> | </li>
|
|
<li><a href="#constructor.summary">构造器</a> | </li>
|
|
<li><a href="#method.summary">方法</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li><a href="#field.detail">字段</a> | </li>
|
|
<li><a href="#constructor.detail">构造器</a> | </li>
|
|
<li><a href="#method.detail">方法</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|