import java.util.Random; import java.util.concurrent.LinkedBlockingQueue; class producer { Random rdm = new Random(); void produce( Lin...
分类:
编程语言 时间:
2015-02-12 20:09:01
阅读次数:
216
nand flash启动 比较新的u-boot版本包括u-boot-2014版本的都是用重定向的机制,而且用到了代码位置无关的技术,在u-boot连接时使用了-pie选项:-pie :Produce a position independent executable on targets which support it. For predictable results,you must also...
分类:
其他好文 时间:
2015-02-11 09:24:09
阅读次数:
156
德克萨斯大学奥斯汀分校科克雷尔工程学院开发出了世界上第一款运用世界上最薄的硅材料--硅烯制造的晶体管。这种新型材料有望给人类带来引人注目的更快,更小,更高效的计算机芯片
Made of a one-atom-thick layer of silicon atoms, silicene has outstanding electrical properties but has until now proved difficult to produce and work with....
分类:
其他好文 时间:
2015-02-06 16:51:34
阅读次数:
141
Problem B: Andy's First DictionaryTime limit: 3 secondsAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task fo...
分类:
其他好文 时间:
2015-02-03 08:15:20
阅读次数:
200
Sencha Touch is a high-performance HTML5 mobile application framework. You can use Sencha Touch to produce a native-app-like experience inside a browser or in a hybrid shell. Sencha Touch supports Android, iOS, Windows Phone, Microsoft Surface Pro and RT, ...
分类:
其他好文 时间:
2015-01-26 17:15:05
阅读次数:
219
一、工厂方法模式
简单工厂模式的缺陷就是类的创建太过于依赖工厂,一旦需要进行程序扩展,就必须修改工厂类的代码
这违背了背包原则。
而工厂方法模式针对这一问题进行了改进。
public interface Sender {
public void send();
}
public interface producer {
public Sender produce();
}
...
分类:
其他好文 时间:
2014-12-21 00:44:42
阅读次数:
186
Battle Ships is a new game which is similar to Star Craft. In this game, the enemy builds a defense tower, which has L longevity. The player has a military
factory, which can produce N kinds of batt...
分类:
其他好文 时间:
2014-12-15 23:40:22
阅读次数:
304
方案:Full backups are necessary, but it is not always convenient to create them. They produce large backup files and take time to generate. They are not...
分类:
数据库 时间:
2014-12-13 23:20:00
阅读次数:
303
1 class PCDemo 2 { 3 public static void main(String[] args) 4 { 5 Resource r = new Resource(); 6 Producer prd = new Produce...
分类:
其他好文 时间:
2014-12-11 20:37:02
阅读次数:
154
The SEPIC (single-ended, primary-inductance-converter) topology is generally a good choice for voltage regulators that must produce an on output volta...
分类:
其他好文 时间:
2014-11-28 14:22:06
阅读次数:
279