资源简介
Java写的Gps,是一个作业,功能比较齐全………………

代码片段和文件信息
public class Chain
{
public ChainNode first;
public Chain(){first=null;}
public void Delete(int k)//删除元素
{
try
{
if(k<1||first==null)
throw new Exception(“Exception:BadInput7“);
ChainNode p=first;
if(k==1)
first=first.link;
else
{
ChainNode q=first;
for(int index=1;index q=q.link;
if(q==null||q.link==null)
throw new Exception();
p=q.link;
q.link=p.link;
}
}
catch(Exception e)
{
System.out.println(“please rewrite9“);
}
}
public int search(int elem)//查询元素
{
ChainNode current=first;
int index=1;
while(current!=null&¤t.data!=elem){
current=current.link;
index++;
}
if(current!=null) return index;
return 0;
}
public void Insert(int kint x)//插入元素
{
try
{
if(k<0)throw new Exception(“Exception:BadInput11“);
ChainNode p=first;
for(int index=1;index p=p.link;
if(k>0&&p==null)throw new Exception(“Exception:BadInput12“);
ChainNode y=new ChainNode();
y.data=x;
if(k!=0)
{
y.link=p.link;
p.link=y;
}
else{
y.link=first;
first=y;
}
}
catch(Exception e)
{
System.out.println(e.getMessage());
System.out.println(“please rewrite13“);
}
}
public boolean IsEmpty()//判断链表是否为空
{
return first==null;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 226 2009-02-27 17:35 GPS\GPS\.classpath
文件 380 2009-02-27 17:35 GPS\GPS\.project
文件 1657 2009-03-04 12:45 GPS\GPS\Chain.class
文件 1394 2009-02-27 17:40 GPS\GPS\Chain.java
文件 658 2009-03-04 12:45 GPS\GPS\ChainIterator.class
文件 349 2009-02-27 17:40 GPS\GPS\ChainIterator.java
文件 286 2009-03-04 12:45 GPS\GPS\ChainNode.class
文件 84 2009-02-27 17:40 GPS\GPS\ChainNode.java
文件 5413 2009-03-04 12:45 GPS\GPS\EditANewMap.class
文件 5771 2009-02-28 00:41 GPS\GPS\EditANewMap.java
文件 5927 2009-03-04 12:45 GPS\GPS\EditExistedMap.class
文件 6203 2009-02-27 17:40 GPS\GPS\EditExistedMap.java
文件 1971 2009-03-04 12:45 GPS\GPS\FindShortestPath.class
文件 1929 2009-02-27 17:53 GPS\GPS\FindShortestPath.java
文件 2409 2009-03-04 12:45 GPS\GPS\GetMapInformation.class
文件 2186 2009-02-27 17:40 GPS\GPS\GetMapInformation.java
文件 773 2009-03-04 12:45 GPS\GPS\ImportMapfr
文件 773 2009-03-04 12:45 GPS\GPS\ImportMapfr
文件 965 2009-03-04 12:45 GPS\GPS\ImportMapfr
文件 4979 2009-03-04 12:45 GPS\GPS\ImportMapfr
文件 5539 2009-02-27 17:40 GPS\GPS\ImportMapfr
文件 8057 2009-03-04 12:45 GPS\GPS\Mainfr
文件 7338 2009-02-27 18:02 GPS\GPS\Mainfr
文件 33368 2009-02-28 00:55 GPS\GPS.jar
目录 0 2009-10-13 21:16 GPS\GPS
目录 0 2009-10-13 21:16 GPS
----------- --------- ---------- ----- ----
98635 26
- 上一篇:Java Web条件查询含源码
- 下一篇:63k的移动QQ——经测试过能用
相关资源
- Android百度地图画运动轨迹和GPS定位
- 开源代码GPS跟踪系统
- Android LocationManager 获取经纬度和卫星
- Android GPS+指南针源码
- Android5.1 Gps Hal
- android GPS架构之GPS的开启与关闭
- Android读取GPS数据demo
- Android GPS定位
- Android项目GPS实时定位位置共享源码
- android简单实现输入经纬度获取地理位
- Android根据GPS位置获得天气的程序
- 科沃兹自启动GPS支持热插拔无service,
- android程序的自动更新 和 基于GPS定位
- 打开摄像头并在预览画面上显示传感
- Android根据GPS获取经纬度和海拔
- android6.0 GPS 使用demo包括动态权限申
- JS方式获取数据库坐标数据并动态显示
- Android GPS定位获取经纬度
- MockGPS_20181031_v1.9.3.1.apk
- android 获取GPS
- GPS定位: Android 手机端,C#电脑端;G
- android获取GPS经纬度,并根据经纬度获
- 交通部809协议JAVA实现的接收车辆GPS数
- GPS通过蓝牙推送位置到APP显示
- GPS坐标WGS84和中国大地坐标CGCS2000互转
- 管系统仿真与GPSSJAVA
- android手机获取gps和基站的经纬度地址
- android 判断gps是否开的方法
- Android中实现GPS定位功能
- GPS北斗车辆监控设备之javaWEB平台
评论
共有 条评论