xmldata.java
来自「国外的一个开源gps模拟器源代码」· Java 代码 · 共 44 行
JAVA
44 行
/* * Copyright (c) 2007 by the University of Applied Sciences Northwestern Switzerland (FHNW) * * This program can be redistributed or modified under the terms of the * GNU General Public License as published by the Free Software Foundation. * This program is distributed without any warranty or implied warranty * of merchantability or fitness for a particular purpose. * * See the GNU General Public License for more details. */package ch.fhnw.imvs.gpssimulator.tools;// Immutablepublic class XMLData { private int time; private double latitude; private double longitude; private double altitude; public XMLData(int time, double latitude, double longitude, double altitude) { this.time = time; this.latitude = latitude; this.longitude = longitude; this.altitude = altitude; } public int getTime(){ return time; } public double getAltitude() { return altitude; } public double getLatitude() { return latitude; } public double getLongitude() { return longitude; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?