码迷,mamicode.com
首页 >  
搜索关键字:als    ( 12962个结果
java 基础数据类型大小
byte:1byte = 8bit 1个字节是8个bit 类型 占用空间 取值范围 byte 1byte -27~27-1 (-128~127) short 2byte -215-215-1 (-32768-32767) int 4byte -231-231-1 (-2147483648-21474 ...
分类:编程语言   时间:2021-01-19 11:43:00    阅读次数:0
java 注解
1、什么是注解 存放在java源码的类、方法、字段、参数的一种特殊注释。 2、元注解 @Target:定义该注解标注与java那个位置,参数为一个或多个 类或接口:ElementType.TYPE; 字段:ElementType.FIELD; 方法:ElementType.METHOD; 构造方法: ...
分类:编程语言   时间:2021-01-18 11:15:42    阅读次数:0
数据类型的转换
数据类型的转换主要分为,强转换,和隐式转换 1.强转换 Number() 如果为布尔值,true为1,false为0 如果是null返回0 undefined 返回NaN 如果是字符串,其中只包含数字,或者有浮点数,会返回数字并且保留浮点值,其中的会报NaN toString() parseInt( ...
分类:其他好文   时间:2021-01-18 10:49:55    阅读次数:0
选择排序 java
import java.util.Arrays; public class SelectSort { public static void main(String[] args) { int a[] = {5, 4, 3, 2, 1}; int[] result = selectSort(a); S ...
分类:编程语言   时间:2021-01-18 10:44:44    阅读次数:0
解决IDEA连接MySQL数据库 提示的SSL警告
MySQL在连接时警告 # 完整报错信息 Fri Jan 15 14:48:07 CST 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. Accordi ...
分类:数据库   时间:2021-01-16 11:49:10    阅读次数:0
dajngo 搜集所有url路由
1,在views 中定义一个接口(随便定义) 2,接口实例如下:(index是接口返回HTTPResponse,get_all_url是触发搜集url的函数) def index(request): from demo.urls import urlpatterns # 导入总路由的urlpatte ...
分类:Web程序   时间:2021-01-13 11:36:17    阅读次数:0
LeetCode572. 另一个树的子树
题目 本题目一开始想要通过二叉树遍历KMP匹配,但看来实现比较复杂 不如直接暴力匹配,本题和LeetCode100.相同的树有共通之处 1 class Solution { 2 public: 3 bool isSubtree(TreeNode* s, TreeNode* t) { 4 if(!s ...
分类:其他好文   时间:2021-01-12 11:17:21    阅读次数:0
react native 自定义ScrollView组件(水平滑动)
ScrollView组件常用于轮播图或引导页,那么水平滚动则比较常用 自定义水平的CKScrollView.js组件类 1 import React,{Component} from 'react'; 2 import { 3 View, 4 Text, 5 StyleSheet, 6 Scroll ...
分类:其他好文   时间:2021-01-12 11:05:38    阅读次数:0
微信小程序-弹窗组件
自定义弹窗组件:https://www.cnblogs.com/Post-90sDachenchen/p/13636668.html#4795824 参考2:https://www.jianshu.com/p/4a2e8ca47ded 微信小程序自带弹窗组件 wx.showModal js示例: p ...
分类:微信   时间:2021-01-11 10:31:04    阅读次数:0
pandas合并两个excel到一个excel
import os import pandas as pd # 合并两个excel到一个excel的不同sheet def merge_excel(p_path, s_path, m_path): writer = pd.ExcelWriter(m_path) if os.path.isfile(p ...
分类:其他好文   时间:2021-01-08 11:37:17    阅读次数:0
12962条   上一页 1 ... 23 24 25 26 27 ... 1297 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!