会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一叶落香
speak less, do more
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2014年4月18日
java实现链表指定值得删除,查找第二部分代码
摘要: 1 package com.liu.Link; 2 3 public class LinkList1 { 4 private Link first; 5 public LinkList1() 6 { 7 first = null; 8 ...
阅读全文
posted @ 2014-04-18 09:31 一叶落香
阅读(297)
评论(0)
推荐(0)
2014年4月17日
java实现简单的链表增加,删除,显示
摘要: 1 package com.liu.link; 2 3 public class LinkListCopy { 4 //first为私有,不能动,当外部想查看内部时,为了安全需要,需要重新指定指针指向first 5 private Link_1 first; 6 publ...
阅读全文
posted @ 2014-04-17 16:15 一叶落香
阅读(471)
评论(0)
推荐(0)
Queue的java实现
摘要: 1 package com.liu.queue; 2 3 public class QueueApp { 4 public static void main(String args[]) 5 { 6 Queue theQueue = new Queue(5); 7...
阅读全文
posted @ 2014-04-17 14:07 一叶落香
阅读(405)
评论(0)
推荐(0)
2014年4月14日
java两种排序方法
摘要: public class Select_Sort { public static void main(String[] args) { int[] score = new int[5]; Scanner scan = new Scanner(System.in...
阅读全文
posted @ 2014-04-14 15:51 一叶落香
阅读(549)
评论(0)
推荐(0)
栈实现分隔符匹配
摘要: 1 package com.liu.Stack; 2 3 import java.io.BufferedReader; 4 import java.io.IOException; 5 import java.io.InputStreamReader; 6 7 import org...
阅读全文
posted @ 2014-04-14 15:50 一叶落香
阅读(303)
评论(0)
推荐(0)
2014年4月11日
Stack的创建实例以及字符串倒叙的java实现
摘要: 1 public class Stack { 2 3 public static void main(String args[]) 4 { 5 ArrayTest1 arr = new ArrayTest1(10); 6 7 8 arr.push(8); 9 arr.push(7);10 arr.push(6);11 arr.push(5);12 13 while(!arr.isEmpty())14 {1...
阅读全文
posted @ 2014-04-11 10:43 一叶落香
阅读(891)
评论(0)
推荐(0)
2014年4月10日
基于插入排序的objectsort的java实现
摘要: 1 package com.liu.Sort; 2 3 public class objectSort { 4 public static void main(String[] args) 5 { 6 int maxsize = 100; 7 ArrayInOb arr; 8 arr = new ArrayInOb(maxsize); 9 10 arr.insert("evans", "hello", 12); 11 arr.insert("liu", "ya...
阅读全文
posted @ 2014-04-10 16:44 一叶落香
阅读(409)
评论(0)
推荐(0)
bubble,insert,select三种排序的java实现
摘要: package com.liu.Sort;public class InsertSort { private static ArrayInsert arr; private static int number = 50; public static void main(String args[]) { arr = new ArrayInsert(number); arr.insert(45); arr.insert(0); arr.insert(-543); arr.insert(54...
阅读全文
posted @ 2014-04-10 16:07 一叶落香
阅读(367)
评论(0)
推荐(0)
2013年10月18日
Android 点击图片进行浏览
摘要: 第一步,我们首先需要将图片放在res目录下的drawable-mdpi文件夹下面,然后我们在layout中设置图片的整体布局。第二步,在MainActivity.java下编辑如下代码: 1 public class MainActivity extends Activity 2 { 3 //定义一个访问图片的数组 4 int[] images = new int[]{ 5 R.drawable.java, 6 R.drawable.ee, 7 R.drawable.classic, 8 R.drawable.aj...
阅读全文
posted @ 2013-10-18 15:46 一叶落香
阅读(433)
评论(0)
推荐(0)
2013年9月9日
在线相册(asp.net)------2
摘要: 因为最近要考研,很久才更新第二步这一次主要说明一下页面的事件处理程序,基本上分为8个步骤:
阅读全文
posted @ 2013-09-09 19:55 一叶落香
阅读(179)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告