推荐
专栏
教程
课程
飞鹅
本次共找到499条
string
相关的信息
Wesley13
•
3年前
java读取自定义的.properties 配置文件 中的key
/读取.properties配置文件@parampropertiesUrl配置文件的路径@return配置文件中的keyvalue值/publicstaticMap<String,StringgetPrope
薛定谔的盒子猫
•
3年前
PHP写入日志文件
/写入文件$paytype文件名$content内容(string类型)/publicstaticfunctiondingdinglog($paytype,$content)$filename$SERVER'DOCUMENTROOT'.'/log/';$filename$filename.$paytype.
Stella981
•
3年前
JS的数组,string类的定义及基本方法
函数:函数在调用的时候,会形成一个私有作用域,内部的变量不会被外面访问,这种保护机制叫闭包。这就意味着函数调用完毕,这个函数形成的栈内存会被销毁。functionfn(){vara12;a;console.log(a)}fn()13fn()13fn()13但有时候我们不希
Wesley13
•
3年前
GO值类型与引用类型
值类型值类型包括基本数据类型,int,float,bool,string,以及数组和结构体(struct)。值类型变量声明后,不管是否已经赋值,编译器为其分配内存,此时该值存储于栈上。值类型的默认值:varaint//int类型默认值为0varbstring//string类型默认值为n
Easter79
•
3年前
Swift解读专题四——字符串与字符
Swift解读专题四——字符串与字符一、引言 Swift中提供了String类型与Characters类型来处理字符串和字符数据,Swift中的String类型除了提供了许多方便开发者使用的方法外,还可以与Foundation框架的NSString类进行转换,使用起来十分方便。二
Stella981
•
3年前
JS(react)里面Json、String、Map、Object之间的转换
importReact,{Component}from'react'classJsonUtilsextendsReact.Component{/字符串转json/staticstringToJson(data){return
Stella981
•
3年前
BlockingQueue队列的使用
import java.util.concurrent.ArrayBlockingQueue;import java.util.concurrent.BlockingQueue;public class BlockingQueueTest { public static void main(String args)
Stella981
•
3年前
AspectJ AOP学习基础
一、切入点表达式 1、execution:匹配方法的执行 格式:execution(修饰符返回值类型包.类.方法(参数)throw异常) 1.1修饰符,表示方法的修饰符,一般省略。 1.2返回类型String表示返回String;void表示没有返回值;\表示返回任意类型,包括无返回值。
Wesley13
•
3年前
JS格式化时间(支持小程序,兼容IOS)
constREGEX/(\d{4})(\d{2})(\d{2})T(\d{2}):(\d{2}):(\d{2})//@functionformattime@paramval,format@return{string}@example
Stella981
•
3年前
CountDownLatch 计数栓
import java.util.concurrent.CountDownLatch;/ Created by zyBourn on 15/12/25. /public class Entity { public static void main(String args)
1
•••
19
20
21
•••
50