码迷,mamicode.com
首页 >  
搜索关键字:maybe not public    ( 83099个结果
android 自定义相机画面倒立解决方案
有部分手机的影像是倒立的,如何解决这个问题呢? 请看下面 public static void setCameraDisplayOrientation(Activity activity, int cameraId, android.hardware.Camera camera) { android.hardware.Camera.CameraInfo info...
分类:移动开发   时间:2014-05-26 06:15:07    阅读次数:401
图书管理系统 library
#include #include #include #include #include #include using namespace std; void display(int);//输出信息 int size=0; class Book { public: void welcome();//欢迎界面 void welcome1(); void addboo...
分类:其他好文   时间:2014-05-26 04:57:10    阅读次数:344
JAVA读、写EXCEL文件
采集jxl.jar包,网上下载,百度一下导出都是。 接下来直接贴代码:public List getValue(String fileName){ String str=ExcelOparations.readExcel(fileName).trim(); String[] str4n= str.split("\n"); List list1 =...
分类:编程语言   时间:2014-05-25 00:28:26    阅读次数:432
基于Instrumentation的JAVA代码热替换
package com.codeconch.util; import java.lang.instrument.Instrumentation; public class Monitor { private static Instrumentation instrumentation; public static void premain(String args, Instrum...
分类:编程语言   时间:2014-05-24 21:39:23    阅读次数:356
根据手机的分辨率从 dp 的单位 转成为 px(像素)
/** * 根据手机的分辨率从 dp 的单位 转成为 px(像素) */ public static int dip2px(Context context, float dpValue) { final float scale = context.getResources().getDispla.....
分类:移动开发   时间:2014-05-24 12:46:52    阅读次数:313
5.23日 师兄ttcn程序里DiagrmEditor.java里的程序 save部分的理解
public void doSave(IProgressMonitor monitor) { // TODO Auto-generated method stub performSave(monitor, getEditorInput()); getCommandStack()...
分类:编程语言   时间:2014-05-24 10:30:59    阅读次数:365
生成验证码的类
using System;using System.Web;using System.Drawing;using System.Web.SessionState;public class ValidateCode : IHttpHandler,IRequiresSessionState { p...
分类:其他好文   时间:2014-05-24 10:00:20    阅读次数:247
C#删除图片问题
public Image GetImage(string path) { FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read); Image ...
分类:其他好文   时间:2014-05-24 09:48:26    阅读次数:233
01-04-01【Nhibernate (版本3.3.1.4000) 出入江湖】原生的SQL查询
Nhibernate 支持原生的SQL查询 : 1 /// 2 /// 使用原生的SQL查询 3 /// 4 /// 5 /// 6 public IList GetCustomersByDate...
分类:数据库   时间:2014-05-24 09:38:53    阅读次数:292
java构造方法的不同
分为有参数和无参数,还有THIS的使用方法,可用于传递给类,也可用于调用其它构造方法。public class Book { private String name; public Book(){ this("this调用有参数的构造方法"); System....
分类:编程语言   时间:2014-05-24 09:33:45    阅读次数:330
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!