/**
* 字母
* @author stone
*
*/
public class Letter {
private String name;
public Letter(String name) {
this.name = name;
}
public String getName() {
return name;
}
}/**
* 一个产生字母对象的 享元工...
分类:
编程语言 时间:
2014-10-10 14:46:14
阅读次数:
182
类图
/**
* 树 整体
*
* @author stone
*
*/
public class Tree {
private TreeNode root; //根节点
public Tree(String name) {
this.root = new TreeNode(name);
}
public TreeNode getRoot() {
re...
分类:
编程语言 时间:
2014-10-09 21:08:25
阅读次数:
213
/**
* 手机壳、套
* @author stone
*
*/
public abstract class BaseCellphoneShell {
public abstract void mapping();//对应匹配哪种手机
}/**
* 手机,桥接了 手机壳BaseCellphoneShell
* @author stone
*/
public abstract cla...
分类:
编程语言 时间:
2014-10-09 17:14:58
阅读次数:
176
Debian's default Apache2 installation attempts to make adding and
removing modules, virtual hosts, and extra configuration directives as
flexible as...
分类:
其他好文 时间:
2014-10-09 14:46:34
阅读次数:
237
/**
* 游戏者接口
* @author stone
*
*/
public interface IGamePlayer {
// 登录游戏
public void login(String user, String password);
// 杀怪,网络游戏的主要特色
public void killBoss();
// 升级
public void upgrade...
分类:
编程语言 时间:
2014-10-09 03:01:50
阅读次数:
206
/**
* 角色
* @author stone
*
*/
public class Actor {
public Actor(String name) {
System.out.println("创建了角色: " + name);
}
public void load() {
System.out.println("角色加载");
}
public void u...
分类:
编程语言 时间:
2014-10-09 02:07:00
阅读次数:
224
题意:一排石头,个数是K。有n个数,a1...an。每人每次取石子只能取连续的x个。x属于a1...an的一个。没法取者负。思路:简单的SG。但是TLE!后面加了一个优化~这个优化不好想到吧,看了别人的代码才发现的。就是把a1...an中重复的去掉!。。。直接看代码。代码:int sg[1005];...
分类:
其他好文 时间:
2014-10-03 21:44:55
阅读次数:
234
Fading Like a FlowerIn a time where the sun descends alone 伴着落日孤独的脚步 I ran a long long way from home 我开始了一段漫长的追寻 To find a heart that's made of stone ...
分类:
其他好文 时间:
2014-10-01 10:14:00
阅读次数:
273
Platform Defines MacrosThe platform defines that Unity supports for your scripts are:UNITY_EDITORDefine for calling Unity Editor scripts from your gam...
分类:
其他好文 时间:
2014-09-24 16:28:47
阅读次数:
332
如题:
python报错提示为:wxPyDeprecationWarning:UsingdeprecatedclassPySimpleApp.解决:
将wx.PySimpleApp()替换为wx.App(False)即可。参考:
http://stackoverflow.com/questions/15144168/error-using-deprecated-class-pysimpleapp-after-removing-epd
分类:
移动开发 时间:
2014-09-23 02:33:24
阅读次数:
5303