上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 先来看一下LayoutInflater的基本用法吧,它的用法非常简单,首先需要获取到LayoutInflater的实例,有两种方法可以获取到,第一种写法如下: 当然,还有另外一种写法也可以完成同样的效果: 其实第一种就是第二种的简单写法,只是Android给我们做了一下封装而已。得到了LayoutI 阅读全文
posted @ 2019-02-27 17:06 M_x_j 阅读(418) 评论(0) 推荐(0)
摘要: 1020 Tree Traversals Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, y 阅读全文
posted @ 2019-02-27 00:10 M_x_j 阅读(465) 评论(0) 推荐(0)
摘要: 原文转载至:https://blog.csdn.net/liitdar/article/details/80654324 https://blog.csdn.net/liitdar/article/details/80656156 1. 概述1.1 whatoperator 是C++的一个关键字,它 阅读全文
posted @ 2019-02-25 21:41 M_x_j 阅读(2395) 评论(0) 推荐(0)
摘要: Acute Stroke One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the 阅读全文
posted @ 2019-02-25 17:47 M_x_j 阅读(230) 评论(0) 推荐(0)
摘要: Integer Factorization The K−P factorization of a positive integer N is to write N as the sum of the P-th power of K positive integers. You are suppose 阅读全文
posted @ 2019-02-25 16:04 M_x_j 阅读(224) 评论(0) 推荐(0)
摘要: 在Android Studio中下载Android SDK的两种方式 Android studio下载地址:http://www.android-studio.org/ 方式一、设置HTTP Proxy1. 打开Settings2. 点击HTTP Proxy,选择Manual proxy confi 阅读全文
posted @ 2019-02-23 17:25 M_x_j 阅读(3075) 评论(0) 推荐(1)
摘要: UDP发送数据的步骤: A:创建发送端的Socket服务对象 B:创建数据,并把数据打包 C:通过Socket对象的发送功能发送数据包 D:释放资源 public class SendDemo { public static void main(String[] args) throws IOExc 阅读全文
posted @ 2019-02-19 15:10 M_x_j 阅读(3767) 评论(0) 推荐(0)
摘要: 多态: (1)同一个对象在不同时刻表现出的多种状态 理解:编译时期状态和运行时期状态不一致的现象 (2)多态的前提: A:要有继承或者实现关系 B:要有方法重写 因为一般都是抽象类或者接口的多态 C:要有父类/父接口的引用指向子类对象 (3)多态访问的成员特点: Fu f = new Zi(); A 阅读全文
posted @ 2019-02-18 00:02 M_x_j 阅读(396) 评论(0) 推荐(0)
摘要: final: 最终的意思,可以修饰类、修饰成员变量、修饰成员方法 特点: 修饰类:类不能被继承 修饰成员变量:该变量就是常量 修饰成员方法:方法不能被子类重写,但是可以重载 自定义常量:把变量用final修饰后就是常量 形式参数被final修饰: 基本类型:基本类型的值在该方法内部不能被修改 应用类 阅读全文
posted @ 2019-02-15 16:56 M_x_j 阅读(142) 评论(0) 推荐(0)
摘要: string 常用函数实例 (1)operator += 可以将两个string直接拼接起来 (2)compare operator 可以直接使用==、!=、<、<=、>、>=比较大小,比较规则是字典序 (3)length()/size() (4)clear():清空所有元素 (5)erase(): 阅读全文
posted @ 2019-02-02 22:18 M_x_j 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页