gavanwanggw

导航

上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 165 下一页

2017年7月16日 #

java SE基础(Collection接口概述)

摘要: Collection接口相关集成关系例如以下图 1。关于可迭代接口(Iterable) 可迭代接口仅包括一个方法,返回一个在一组T类型元素上进行迭代的迭代器: public abstract Iterator<T> iterator(); 迭代器Iterator接口的方法声明例如以下: public 阅读全文

posted @ 2017-07-16 17:45 gavanwanggw 阅读(205) 评论(0) 推荐(0) 编辑

MVC在View中页面跳转

摘要: 在做人事系统的时候须要用到页面跳转,那么页面跳转究竟用什么方法好呢?依照曾经的思路,我就会这么写。 <span style="font-size:18px;">window.location.href = '/TechnicalFile/DeleteTechnicalFile';</span>可是M 阅读全文

posted @ 2017-07-16 16:48 gavanwanggw 阅读(3529) 评论(1) 推荐(1) 编辑

javaEE之------ApectJ的切面技术===标签

摘要: 如今比較流行了aop技术之中的一个 标签 实现步骤: 一,导入aop标签 方法,打开aop包。里面就有。 这个里面就有 然后依据选择spring的版本号。在配置文件里配置 例如以下: <beans xmlns="http://www.springframework.org/schema/beans" 阅读全文

posted @ 2017-07-16 15:41 gavanwanggw 阅读(223) 评论(0) 推荐(0) 编辑

Service的生命周期

摘要: Service的生命周期 Service的生命周期例如以下 第一种:Call to startService()方法->onCreate()->onStartCommand()->service running- >onDestory->service shut down) 案例: 第一步 在布局文 阅读全文

posted @ 2017-07-16 15:02 gavanwanggw 阅读(167) 评论(0) 推荐(0) 编辑

Codeforces Round #253 (Div. 2)

摘要: A. Anton and Letters time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently, Anton has 阅读全文

posted @ 2017-07-16 12:52 gavanwanggw 阅读(168) 评论(0) 推荐(0) 编辑

hdu 3183 A Magic Lamp(给一个n位的数,从中删去m个数字,使得剩下的数字组成的数最小(顺序不能变),然后输出)

摘要: 1.题目大意是,给你一个1000位的数,要你删掉m个为,求结果最小数。 思路:在n个位里面删除m个位。也就是找出n-m个位组成最小数 所以在区间 [0, m]里面找最小的数。相应的下标标号i 接着找区间 [i+1,m++]里面的最小数。对于下标为ii 接着找区间 [ii+1,m++]里面的最小数…… 阅读全文

posted @ 2017-07-16 11:35 gavanwanggw 阅读(406) 评论(0) 推荐(0) 编辑

Spark应用远程调试

摘要: 本来想用Eclipse的。然而在网上找了一圈,发现大家都在说IntelliJ怎样怎样好。我也受到了鼓励,遂决定在这台破机器上鼓捣一次IntelliJ吧。 Spark程序远程调试,就是将本地IDE连接到Spark集群中。让程序一边执行,一边通过debuger实时查看执行情况,配置好以后和本地debug 阅读全文

posted @ 2017-07-16 10:08 gavanwanggw 阅读(1312) 评论(0) 推荐(0) 编辑

使用 maskView 设计动画

摘要: 1.maskView(maskLayer) 基本原理 :可类比于多张png图片叠加遮罩 2.maskView配合CAGradientLayer,alpha通道图片的使用.maskView是iOS8以上才有,假设要考虑兼容低版本号,用maskLayer替换 3.设计方本横向渐变消失的控件 一、两张pn 阅读全文

posted @ 2017-07-16 09:16 gavanwanggw 阅读(168) 评论(0) 推荐(0) 编辑

SGU - 311 Ice-cream Tycoon(线段树)

摘要: Description You've recently started an ice-cream business in a local school. During a day you have many suppliers delivering the ice-cream for you, an 阅读全文

posted @ 2017-07-16 08:08 gavanwanggw 阅读(171) 评论(0) 推荐(0) 编辑

2017年7月15日 #

POJ 3468 A Simple Problem with Integers

摘要: 链接:http://poj.org/problem?id=3468 A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 77302 Accepted: 23788 Cas 阅读全文

posted @ 2017-07-15 21:16 gavanwanggw 阅读(176) 评论(0) 推荐(0) 编辑

上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 165 下一页