码迷,mamicode.com
首页 >  
搜索关键字:string+    ( 95377个结果)
logstash 整合 es
安装logstash 手动导入Mysql驱动 新建jdbc.conf vim jdbc.conf input { stdin { } jdbc { # 连接的数据库地址和哪一个数据库,指定编码格式,禁用SSL协议,设定自动重连 jdbc_connection_string => "jdbc:mysq ...
分类:其他好文   时间:2021-02-01 12:50:17    阅读次数:0
Redis 5 种数据类型
字符串 @GetMapping("/string") public String stringTest(){ redisTemplate.opsForValue().set("str","Hello World"); String str = (String) redisTemplate.opsFo ...
分类:其他好文   时间:2021-02-01 12:45:42    阅读次数:0
Mybatis--第?部分:?定义持久层框架
?定义持久层框架 分析JDBC操作问题 public static void main(String[] args) { Connection connection = null; PreparedStatement preparedStatement = null; ResultSet resul ...
分类:其他好文   时间:2021-02-01 12:43:34    阅读次数:0
Codeforces Round #698 (Div. 2)补题
C C. Nezzar and Symmetric Array 题意 原来有2n个数,各不相同,这2n个数中,每个数的相反数也在其中。 Nezzar在100万年前计算出了 每个数与其他数的差值 的和,但忘掉了原来那2n个数。 问从这2n个计算出来的差值和能不能推出一个满足条件的2*n个数。 思路 发 ...
分类:其他好文   时间:2021-02-01 12:34:47    阅读次数:0
[Dart语法]第三章:数据类型-字符串类型
字符串类型 声明变量 //声明字符串 String str1 = 'hello'; String str2 = 'dart'; //字符串拼接 print('$str1 $str2'); print(str1 + " " + str2); 属性 String str = 'hello world'; ...
分类:其他好文   时间:2021-02-01 12:21:53    阅读次数:0
Map接口之TreeMap
*TreeMap* 小案例 package com.treemappractice; /** * 学生实体类 */ public class Student implements Comparable<Student>{ private String name; private int stuNo; ...
分类:其他好文   时间:2021-02-01 11:54:05    阅读次数:0
C#9.0:Top-Level Programs
我们称之为顶级层序 用 C# 编写一个简单的程序需要大量的样板代码,引用,类、方法、结构体等: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 Console.WriteLine("Hello World!"); 6 7 } 8 ...
分类:Windows程序   时间:2021-02-01 11:53:27    阅读次数:0
1286. Iterator for Combination
问题: 设计一个组合指针类,通过给定组合元素characters,要求构成组合的大小combinationLength,实现以下方法 构造方法:CombinationIterator(string characters, int combinationLength) 返回下一个组合:next() 是 ...
分类:其他好文   时间:2021-02-01 11:52:03    阅读次数:0
Java list集合练习——学生对象三种遍历方式打印输出
创建一个学生类 package com.peihua.cn.test1.Test; public class Student { private String name; private int age; private String Xxingbie; public Student() { } p ...
分类:编程语言   时间:2021-02-01 11:46:33    阅读次数:0
VS 替换字符串的值
string str="我有一只狗"; str.strReplace("狗","猫"); //展示str "我有一只猫" ...
分类:其他好文   时间:2021-01-30 12:22:58    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!