字符类型的快速回顾 Example program > e_c11_p1.ada -- Chapter 11 - Program 1 with Ada.Text_IO; use Ada.Text_IO; procedure Chars is My_Char : CHARACTER; Another ...
分类:
其他好文 时间:
2021-04-08 13:35:09
阅读次数:
0
一:简单介绍MyBatis 1.1、什么是Mybatis MyBatis是一款优秀的持久层框架 它支持定制化SQL、存储过程以及高级映射。 MyBatis避免了几乎所有的JDBC代码和手动设置参数以及获取结果集。 MyBatis 可以使用简单的XML或注解来配置和映射原生类型、接口和Java的 PO ...
分类:
其他好文 时间:
2021-04-08 13:33:54
阅读次数:
0
搭建springboot项目,我们都是采用的Restful接口,那么问题来了,当前端调用接口或者是其他项目调用时,我们不能单一靠调用方来控制参数的准确性,自己也要对一些非空的值进行判定。 按照我们以往的做法,都是对request中的参数一个一个进行非空判定。 Model: public class ...
分类:
编程语言 时间:
2021-04-08 13:23:08
阅读次数:
0
1.概念 Cache-control用于控制HTTP缓存(在HTTP/1.0中可能部分没实现,仅仅实现了Pragma: no-cache) 数据包中的格式: Cache-Control: cache-directive cache-directive可以为以下: request时用到: | "no- ...
分类:
Web程序 时间:
2021-04-07 11:20:59
阅读次数:
0
StringBuffer类、Arrays工具类、包装类、Character类 StringBuffer 是一个可变的字符串,是线程安全的字符串(效率低)用于拼接字符串; 构造方法 pubilc StringBuffer(String str); 指定字符串内容的字符串缓冲区对象 添加功能 pubil ...
分类:
其他好文 时间:
2021-04-05 12:40:44
阅读次数:
0
现在,你已经学会了修改文件,然后把修改提交到Git版本库,现在,再练习一次,修改readme.txt文件如下: Git is a distributed version control system. Git is free software distributed under the GPL. 然 ...
分类:
其他好文 时间:
2021-04-05 12:32:31
阅读次数:
0
第一部分:注入bean和获取bean数据 /** * 账户的业务层实现类 * * 曾经XML的配置: * <bean id="accountService" class="com.itheima.service.impl.AccountServiceImpl" * scope="" init-met ...
分类:
编程语言 时间:
2021-04-05 12:18:26
阅读次数:
0
1.安装3D Active Button Magic,本控件是ActiveX Control. 2.出现在MFC工具箱上 2.1 右击选择“选择项" 2.2 在COM组件,找到选择添加。 ...
分类:
其他好文 时间:
2021-04-02 13:40:17
阅读次数:
0
此种写法是Java8 Lambda表达式 双冒号运算就是Java中的方法引用 method references [方法引用]的格式是 类名::方法名 举例: 1.表达式: person -> person.getName(); 可以替换成: Person::getName 2.表达式: () -> ...
分类:
编程语言 时间:
2021-03-30 12:52:29
阅读次数:
0
class Solution { public int characterReplacement(String s, int k) { int left =0,right=0; int maxLength = -1; int result = 0; char[] charNums = new cha ...
分类:
其他好文 时间:
2021-03-17 14:50:06
阅读次数:
0