码迷,mamicode.com
首页 >  
搜索关键字:scheduling repeating    ( 957个结果
#3 Longest Substring Without Repeating Characters
在一个字符串中,找出最长不重复字符子串的长度。
分类:其他好文   时间:2015-07-08 10:49:34    阅读次数:125
leetcode oj-3
Q:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters ...
分类:其他好文   时间:2015-07-05 16:41:08    阅读次数:97
spring3使用task:annotation-driven开始定时
先看一个案例package com.jCuckoo.demo;import java.text.SimpleDateFormat;import java.util.Date;import org.springframework.scheduling.annotation.Scheduled;publ...
分类:编程语言   时间:2015-07-05 14:53:29    阅读次数:125
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-07-04 15:14:10    阅读次数:107
Microsoft Windows 服务(3) 使用Quartz.net定时任务
Quartz是OpenSymphony开源组织在Job scheduling领域又一个开源项目,Quartz.net 就是Quartz的移植版本。Quartz可以用来创建简单或为运行十个,百个,甚至是好几万个Jobs这样复杂的程序。 官网教程:http://www.quartz-schedul...
分类:Windows程序   时间:2015-07-02 20:57:02    阅读次数:156
Spring ThreadPoolTaskExecutor线程池
1:首先配置线程池(在spring配置文件中配置,我是在applicationContext.xml中配置的) <!--?异步线程池?--> <bean?id="taskExecutor" ??????class="org.springframework.scheduling.concurrent.ThreadPo...
分类:编程语言   时间:2015-07-01 14:23:34    阅读次数:217
Longest Substring Without Repeating Characters - 模拟与哈希
题意很简单,就是寻找一个字符串中连续的最长包含不同字母的子串。其实用最朴素的方法,从当前字符开始寻找,找到以当前字符开头的最长子串。这个方法猛一看是个n方的算法,但是要注意到由于字符数目的限制,其实这是个O(Cn)的算法,最长也不过是C长度。所以我觉得普通方法应该是能过的。于是写了一个,字符数目最大...
分类:其他好文   时间:2015-06-29 00:23:08    阅读次数:107
Spring定时器配置
声明触发器loadPortalUserLoginOrLogoutTrigger<beanid="quartzSchedulerFactory"class="org.springframework.scheduling.quartz.SchedulerFactoryBean"><propertyname="triggers"><list><reflocal="loadPortalUserLoginOrLogoutTrigger"/></list&g..
分类:编程语言   时间:2015-06-27 00:01:37    阅读次数:226
spring配置定时任务
<beanid="myTask"class="org.jks.schedule.MyTask"/> <beanid="scheduleReportTask"class="org.springframework.scheduling.timer.ScheduledTimerTask"> <propertyname="timerTask"ref="myTask"/> <propertyname="period"> <value>1000</..
分类:编程语言   时间:2015-06-26 23:57:54    阅读次数:167
【LeetCode】Longest Substring Without Repeating Characters
【LeetCode】Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. 查找给定字符串中最长的无重复字符的子串...
分类:其他好文   时间:2015-06-26 16:22:02    阅读次数:103
957条   上一页 1 ... 61 62 63 64 65 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!