------- android、java、期待与您交流! ----------面向对象要把握一个重要的经验:谁拥有数据,谁就对外提供操作这些数据的方法 。1.人在黑板上画圆 对于这个设计,上面有Person, Blackborad, Circle三个对象动词:画因为画的动作的数据:坐标(x,y),....
                            
                            
                                分类:
编程语言   时间:
2014-07-20 22:22:10   
                                阅读次数:
302
                             
                    
                        
                            
                            
                                这里涉及到shape的运用,这仅仅是一个实例circle.xml ...
                            
                            
                                分类:
其他好文   时间:
2014-07-19 22:24:11   
                                阅读次数:
215
                             
                    
                        
                            
                            
                                新安装了archlinux,记录下自己美化系统的历程以及一些好用的软件,需要的包基本可以在aur中找到(可以安装yaourt),详细的安装使用方法可参考arch wiki 桌面环境:xfce4 主题:numix-solarized 图标:numix-circle xfwm主题:num...
                            
                            
                                分类:
系统相关   时间:
2014-07-18 19:03:25   
                                阅读次数:
681
                             
                    
                        
                            
                            
                                A - Accurately Say "CocaCola"!DescriptionIn a party held by CocaCola company, several students stand in a circle and play a game.One of them...
                            
                            
                                分类:
其他好文   时间:
2014-07-18 00:01:04   
                                阅读次数:
239
                             
                    
                        
                            
                            
                                #includeusing namespace std;const double PI = 3.1415926;template T min(T a[], int n){	int i;	T minv = a[0];	for (i = 1; i double Circle_Square(T1 x){	...
                            
                            
                                分类:
其他好文   时间:
2014-07-17 09:56:50   
                                阅读次数:
202
                             
                    
                        
                            
                            
                                一。基本class Shape{ void draw(){ System.out.println(this+".draw()"); }}class Circle extends Shape{ @Override public String toString() ...
                            
                            
                                分类:
其他好文   时间:
2014-07-16 20:46:30   
                                阅读次数:
132
                             
                    
                        
                            
                            
                                Problem Description
A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles should be a prime...
                            
                            
                                分类:
其他好文   时间:
2014-07-12 16:42:15   
                                阅读次数:
271
                             
                    
                        
                            
                            
                                3882 - And Then There Was One
Time limit: 3.000 seconds 
Let's play a stone removing game. 
Initially, n stones are arranged on a circle and numbered
1,..., n clockwise (Figure 1). You are also...
                            
                            
                                分类:
其他好文   时间:
2014-07-09 10:00:13   
                                阅读次数:
172
                             
                    
                        
                            
                            
                                限定pan手势只能在圆内移动view效果:虽然看起来很简单,但实现原理还是稍微有点复杂-_-!!核心的地方,就是需要计算pan手势的点与指定点的距离,不能超过这个距离,超过了就让动画还原,很容易理解:)//// RootViewController.m// Circle//// Copyrig...
                            
                            
                                分类:
移动开发   时间:
2014-07-06 15:39:38   
                                阅读次数:
222
                             
                    
                        
                            
                            
                                一,列表的分类1,无序列表通常使用项目符号作为列表项的前缀。符号有三种属性1,默认值为实体圆心 type="disc" 2,实体方心 type="square" 3,空心圆type="circle"语法声明这是个无序列表 并设置列表符号的样式 作为列表语句的开始2,有序列表每个列表项目前,有顺序的符...
                            
                            
                                分类:
Web程序   时间:
2014-07-06 14:31:31   
                                阅读次数:
165