码迷,mamicode.com
首页 >  
搜索关键字:long    ( 19145个结果
Java oop总结一
一、 对象 1. 属性 1) 属性 a) 数据类型 基本数据类型:整型(byte、short、int、long),浮点型(float、double)、字符型(char)、布尔型(boolean)。 引用数据类型:自定义类型、数组、接口。 2) 方法 a) 方...
分类:编程语言   时间:2014-05-15 16:45:41    阅读次数:374
HDU 4565 So Easy!
线性推,矩阵乘法+快速幂求通项。 传送门:点击打开链接 #include #include #include #include using namespace std; #define LL long long struct Mat{ LL f[2][2]; }; LL MOD; Mat mul(Mat a,Mat b) { LL i,j,k; ...
分类:其他好文   时间:2014-05-15 14:53:10    阅读次数:225
迅雷android面试题
一、android几种定时器的机制及区别。 答:在android中,经常用到的定时器主要有以下几种实现: 1、采用handler与线程的sleep(long)方法 开启一个线程,,每隔1s向Handler发送消息 public class MainActivity extends Activity { private Handler myhandler; private static...
分类:移动开发   时间:2014-05-15 06:26:20    阅读次数:440
C++格式化输出
格式化输出主要包括控制状态标志、输出宽度、填充字符、输出精度等内容。其目的是实现特定的输出格式,实现方式有两种:使用状态标志和成员函数进行格式化输出和使用流操作符进行格式化输出。 1.使用状态标志和成员函数 输出标志由各种状态标志来确定,它们是定义在ios类中的枚举变量,引用时必须包含ios::前缀。常见的状态标志如下: 与此相关的主要是以下重要成员函数。 setf(long flag...
分类:编程语言   时间:2014-05-15 04:34:09    阅读次数:319
Mod_python: The Long Story
mod_python: the long story - Grisha TrubetskoyMod_python: The Long StoryOct 25th, 2013 | CommentsThis story started back in 1996. I was in my early tw...
分类:编程语言   时间:2014-05-15 01:46:29    阅读次数:393
《深入Java虚拟机学习笔记》- 第11章 类型转换
Java虚拟机包括许多进行基本类型转换工作的操作码,这些执行转换工作的操作码后面没有操作数,转换的值从栈顶断获得。Java虚拟机从栈顶端弹出一个值,对它进行转换,然后再把转换结果压入栈。int、long、float、double类型之间的相互转换操作码操作数说明i2l(无)将int类型的值转换为lo...
分类:编程语言   时间:2014-05-15 01:45:48    阅读次数:224
VBA 以文本格式打开DSV
Public Function GetDataFromDSV(fpath As String) As Collection Dim AllTextFormat(255) As Integer Dim i As Long For i = 0 To 255 AllTextF...
分类:其他好文   时间:2014-05-14 22:32:10    阅读次数:470
hdu 1224 Free DIY Tour(最长路/dp)
http://acm.hdu.edu.cn/showproblem.php?pid=1224 基础的求最长路以及记录路径。感觉dijstra不及spfa好用,wa了两次。 #include #include #include #include #include #include #include #include #define LL long long #define...
分类:其他好文   时间:2014-05-14 20:59:54    阅读次数:295
[转载]线程池ThreadPoolExecutor使用简介
一、简介 线程池类为 java.util.concurrent.ThreadPoolExecutor,常用构造方法为:ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit...
分类:编程语言   时间:2014-05-14 10:10:22    阅读次数:321
serialVersionUID
serialVersionUID作用:序列化时为了保持版本的兼容性,即在版本升级时反序列化仍保持对象的唯一性。有两种生成方式:一个是默认的1L,比如:private static final long serialVersionUID = 1L;一个是根据类名、接口名、成员方法及属性等来生成一个64...
分类:其他好文   时间:2014-05-14 07:56:58    阅读次数:316
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!