- 博客(9)
- 资源 (3)
- 收藏
- 关注
转载 Java抽象类与接口的区别
转自Java抽象类与接口的区别在讨论它们之间的不同点之前,我们先看看抽象类、接口各自的特性。抽象类抽象类是用来捕捉子类的通用特性的 。它不能被实例化,只能被用作子类的超类。抽象类是被用来创建继承层级里子类的模板。以JDK中的GenericServlet为例:12345678
2015-02-23 22:34:36 510
转载 Ubuntu下屏幕取色软件
整理自Color picker utility (color pipette) in UbuntuGPick:sudo apt-get install gpickIt's got a lot more features than gcolor2 but is still extremely simple to use - click on one of the he
2015-02-23 16:43:20 8214 2
转载 android ImageView scaleType属性
转自android ImageView scaleType属性使用ImageView时经常会用到scaleType属性,如:android:layout_height="50dp" android:scaleType="matrix"android:src="@drawable/sample_small" />scaleType属性的各个值总是记不住
2015-02-21 22:55:39 751
转载 Ubuntu14.04下Eclipse崩溃“crash: fatal error in soup_session_feature_detach”修复办法
参考Bug 404776 - crash: fatal error in soup_session_feature_detach with WebKitGTK+ >= 1.11.91For a workaround add the following to the end of your eclipse.ini-Dorg.eclipse.swt.browser.DefaultType=mozilla
2015-02-13 01:25:40 802
转载 What is the difference between DPI (dots per inch) and PPI (pixels per inch)?
What is the difference between DPI (dots per inch) and PPI (pixels per inch)?A pixel (the word was originally coined, iirc, by IBM and derives from “picture element”) is the smallest indivisible unit o
2015-02-12 21:21:53 996
转载 Android中ListView的item不能响应点击事件的原因
整理自android:descendantFocusability用法简析开发中很常见的一个问题,项目中的ListView不仅仅是简单的文字,常常需要自己定义Listview。自己的Adapter去继承BaseAdapter,在adapter中按照需求进行编写,问题就出现了,可能会发生点击每一个item的时候没有反应,无法获取的焦点。原因多半是由于在你自己定义的Item中存在诸
2015-02-09 23:58:32 13442 6
转载 Ubuntu下设置与Win一致的多点触控
转自Ubuntu下设置与Win一致的多点触控windows下的synatics触控板支持多点触控,ubuntu近年的版本均支持多点触控,可是ubuntu与win还有有点不一致的地方,例如: win ubuntu双指点击 =鼠标中键 =鼠标右键三指点击
2015-02-05 01:31:12 4515
转载 eclipse中移除编辑器自动生成的“//TODO comments from auto-generated code”字样
转自How to remove the //TODO comments from auto-generated codeEclipse Code Templates are great. Unfortunately they add lots of comments for stuff I don’t like:public class MainTest {
2015-02-01 22:15:39 1010
转载 java中的匿名内部类总结
转自java中的匿名内部类总结匿名内部类也就是没有名字的内部类正因为没有名字,所以匿名内部类只能使用一次,它通常用来简化代码编写但使用匿名内部类还有个前提条件:必须继承一个父类或实现一个接口 实例1:不使用匿名内部类来实现抽象方法123456789
2015-02-01 17:35:24 582
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人