码迷,mamicode.com
首页 >  
搜索关键字:the citizens of byte    ( 9143个结果
java常用IO流数据流小结
类名常用方法说明输入流InputStreamint read();只能读字节流,虽然返回值是int,但只有低8位起作用。DataInputStreamType readType();可以读二进制流,可以读byte,short,int,long,double等二进制流。BufferedReader ....
分类:编程语言   时间:2014-08-10 03:53:39    阅读次数:219
值传递和引用传递
java中给函数传递参数的方式有两种:值传递和引用传递。一般而言,基本类型是值传递;引用类型是引用传递。但传值时到达发生了什么?1.基本类型8个基本类型(byte,short,int,long,float,double,char,boolean)是值传递. 1 public class ValueT...
分类:其他好文   时间:2014-08-10 01:45:20    阅读次数:176
Java 语法 索引 ----- 变量-----数据类型
数据类型 类型 bits/byte 范围 默认值 byte 8/1 -128 +127 0 short 16/2 -32,768+32,767 0 int 32/4 -2,147,483,648 = -231+2,147,483,647 = 231-1 0 long 64/8 -9,223,372,...
分类:编程语言   时间:2014-08-09 02:32:07    阅读次数:243
C#基础知识篇(五)-----------C#笔记
一.值类型和引用类型1>值类型和引用类型将我们学过的数据类型划分成了两部分. 划分的依据是不同类型的数据在内存中(堆栈)存储的结构不同.2>值类型:所有的数值类型:long int short byte ulong uint ushort sbyte decimal duoble float cha...
分类:其他好文   时间:2014-08-08 23:42:46    阅读次数:374
poj2528--Mayor's posters(线段树+离散化)
Mayor's posters Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 41785   Accepted: 12164 Description The citizens of Bytetown, AB, could not stand that the cand...
分类:其他好文   时间:2014-08-08 21:27:26    阅读次数:402
c++笔记——语法基础1
c++笔记将记载一个温习路径,也算一个快速学习的参考吧!(不一定全面,想到什么就写什么。要学习的同志最好是有权威的书坐镇)笔记大概会有如下有几个部分:语法基础,使用拓展库,实用工程,补充说明数据类型:简单类型:(byte = 8 bit,以下所示为32bit系统,bit不同稍有区别;除ab都可以在类...
分类:编程语言   时间:2014-08-08 17:19:46    阅读次数:282
不错的题目
1.写一个函数,把int转换成byte[]; 1.1 java中数据存储区域有哪些; 1.2 String str1 = "abc"String str2 = "abc"str1 == str2吗 为什么?; 2.模拟一个ArrayList ,写一个add(Object obj ) 函数 ; 2.1...
分类:其他好文   时间:2014-08-08 12:20:45    阅读次数:220
String,StringBuilder的方法,伪随机Random类
import java.nio.charset.Charset;public class StringDemo { public static void main(String[] args) { byte[]bt={'a','b','c'};// String(b...
分类:其他好文   时间:2014-08-08 01:48:55    阅读次数:270
POJ2528___
本文出自Svitter的blog ——踏踏实实的做事儿啊! POJ2528 题意 The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all place...
分类:其他好文   时间:2014-08-07 19:16:20    阅读次数:270
多种下载文件方式 Response.BinaryWrite(byte[] DocContent);Response.WriteFile(System.IO.FileInfo DownloadFile .FullName);Response.Write(string html2Excel);
通过html给xls赋值,并下载xls文件一、this.Response.Write(sw.ToString());System.IO.StringWriter sw = new System.IO.StringWriter(); this.Response.Clear(); string strF...
分类:Web程序   时间:2014-08-07 17:58:30    阅读次数:385
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!