码迷,mamicode.com
首页 >  
搜索关键字:aa    ( 3606个结果
界面跳转:Intent的使用
1)A-->BstartActivity(Context,.class);2)A-->B-->AA:startActivityForResult(intent,0);(此处的0为requestCode)B:a)Intentintent=newIntent();/Intentintent=getIntent();b)intent.putExtra("","");c)setResult(0,intent);(此处的0为resultCode)finish();(销..
分类:其他好文   时间:2014-07-17 09:06:31    阅读次数:247
java.lang.ExceptionInInitializerError
今天写了个小程序,出现了个异常java.lang.ExceptionInInitializerError,就是它了。最后我就重新写了个类进行测试。下面是会出错的代码。package test;import java.util.Arrays;public class AA { private s...
分类:编程语言   时间:2014-07-16 21:38:53    阅读次数:177
用sql语句写排名
使用SQL语句求排名 表jh03有下列数据: name score aa 99 bb 56 cc 56 dd 77 ee 78 ff 76 gg 78 ff 50 1. 名次生...
分类:数据库   时间:2014-07-16 17:48:07    阅读次数:217
[DevExpress]条件设置GridControl RepositoryItem是否可编辑
在项目开发中,并不是每个RepositoryItem都可以编辑,往往是有条件性的,需要譬如当A列等于“AA”的时候,B列才可编辑,实现起来在ShowingEditor事件中最为方便,并且加入toolTip提示显得人性化。 代码如下: private void gvLampConfig_Showing...
分类:其他好文   时间:2014-07-16 15:02:34    阅读次数:278
设置InputBox等提示框的字体以及样式
InputBox等窗体的字体大小设置方法Graphics.DefFontData.Height:=48;Graphics.DefFontData.Style:=[fsBold,fsItalic, fsUnderline];inputbox('aa','aa','dd');Graphics.DefFo...
分类:其他好文   时间:2014-07-16 12:41:49    阅读次数:605
字典的遍历
for (a,d) in aa{println("\(a)\(d)") for a in aa.keys{//aa.keys可以转化成array(aa.keys) println("\(a)") } for b in aa.values{ println...
分类:其他好文   时间:2014-07-14 08:07:46    阅读次数:166
数组遍历的2种方式
for o in aa{ println(o)}for (index,value) in enumerate(aa){println("\(index)\(value)")}
分类:其他好文   时间:2014-07-14 08:04:26    阅读次数:208
Oracle数据库JSP分页
创建表create table t_user(username varchar(20),password varchar(20));insert into t_user values('aa','aa');导入jdbc驱动e:\oracle\product\10.1.0\Db_3\jdbc\lib\...
分类:数据库   时间:2014-07-13 23:20:15    阅读次数:460
最少插入字符分析
题目来源,待字闺中,原创@陈利人 ,欢迎大家继续关注微信公众账号“待字闺中” 原题给定字符串,可以通过插入字符,使其变为回文。求最少插入字符的数量。例如: 1. ab最少插入1个字符,变为*b*ab 2. aa最少插入0个字符 3. abcd最少插入3个字符,*dcb*abcd 分析:根据回文串的定义,很容易获得递归思路,首先比较第一个和最后一个字符,相等则插入个数等于中间的...
分类:其他好文   时间:2014-07-13 00:03:08    阅读次数:334
LeetCode——Palindrome Partitioning
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = "aab", Return [ ["aa","...
分类:其他好文   时间:2014-07-12 23:21:30    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!