码迷,mamicode.com
首页 >  
搜索关键字:new function    ( 125057个结果
JavaSE_流程控制
1.Scanner 1.1用户交互Scanner java.util.Scanner是Java5的新特性,我们可以通过Scanner类来获取用户的输入基本语法: Scanner s = new Scanner(System.in); 可以通过Scanner类的next()与nextLine()方法获 ...
分类:编程语言   时间:2021-05-23 23:16:20    阅读次数:0
递归算法
递归算法 什么是递归 在运行过程中,自身调用自身。 一个条件:至少应该有一个结束条件。 例子: 你和你的朋友在一个地方约见面,他已经到了,你距离你们约定的地方还差100步。 那么最后这一百步,你肯定是需要一步一步走过去。 那么咱们如何用递归的方式来实现最后这100步呢 示例代码: function ...
分类:编程语言   时间:2021-05-23 23:14:51    阅读次数:0
1822. Sign of the Product of an Array
There is a function signFunc(x) that returns: 1 if x is positive. -1 if x is negative. 0 if x is equal to 0. You are given an integer array nums. Let  ...
分类:其他好文   时间:2021-05-23 23:06:06    阅读次数:0
CSS: 動畫--transition
transition簡寫屬性:transition-property transition-duration transition-timing-function transition-delay transition-property: 用于设置那个值需要过度,初始值是关键字 all,表示所有属性 ...
分类:Web程序   时间:2021-05-23 23:01:05    阅读次数:0
Unit 1 Running a meeting
##General English:6-Elementary ###1 Vocabulary Metting words agenda,items,new hires,short time,for personal reasons,visitors,clean up,continue,update ...
分类:其他好文   时间:2021-05-23 22:57:55    阅读次数:0
Java8之Optional
/* Optional 容器类常用方法 Optional.of(T t) 创建一个Optional实例 Optional.empty() 创建一个空的Optional实例 Optional.ofNullable(T t) 若t不为null,则创建Optional实例,否则创建空实例 isPresen ...
分类:编程语言   时间:2021-05-04 16:30:31    阅读次数:0
模拟退火算法Python编程(3)整数规划问题
1、整数规划问题 整数规划问题在工业、经济、国防、医疗等各行各业应用十分广泛,是指规划中的变量(全部或部分)限制为整数,属于离散优化问题(Discrete Optimization)。 线性规划问题的最优解可能是分数或小数。但很多实际问题常常要求某些变量必须是整数解,例如:机器的台数、工作的人数或装 ...
分类:编程语言   时间:2021-05-04 16:14:02    阅读次数:0
[Tools] YAML
If you are new to YAML, here is a useful link to a blog on YAML. YAML tutorial Here is a free tool that was mentioned in the video that can convert YA ...
分类:其他好文   时间:2021-05-04 16:11:49    阅读次数:0
死锁的代码
代码如下: /** * 死锁 * */ public class DeadThread { private static Object obj1 = new Object(); private static Object obj2 = new Object(); public static void ...
分类:其他好文   时间:2021-05-04 15:54:07    阅读次数:0
node.js createServer
const http=require('http') const fs=require('fs') const path=require('path') const server=http.createServer(function(req,res){ const {url}=req console ...
分类:Web程序   时间:2021-05-04 15:44:00    阅读次数:0
125057条   上一页 1 ... 60 61 62 63 64 ... 12506 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!