码迷,mamicode.com
首页 >  
搜索关键字:string to integer at    ( 107772个结果
[LeetCode] 670. Maximum Swap
Given a non-negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued number you could get. ...
分类:其他好文   时间:2021-03-18 14:32:17    阅读次数:0
Scanner进阶使用
1 package com.pingfan.scanner; 2 3 import java.util.Scanner; 4 5 public class Demo3 { 6 public static void main(String[] args) { 7 Scanner scanner = n ...
分类:其他好文   时间:2021-03-18 14:30:41    阅读次数:0
golang快速入门-11-golang的Map的声明方式
// > 第一种声明方式 //key是string, value是string var myMap1 map[string]string //在使用map前, 需要先用make给map分配数据空间 myMap1 = make(map[string]string, 10) myMap1["one"] ...
分类:其他好文   时间:2021-03-18 14:20:58    阅读次数:0
Java注释
单行 多行 文档 public class HelloWorld { public static void main (String [] args) { //output hello world /* output hello world */ /** * @description hellowo ...
分类:编程语言   时间:2021-03-18 14:20:10    阅读次数:0
Hello,world!
HelloWord 新建文件夹,存放代码 新建一个Java文件 文件后缀名.java(Hello.java) 编写代码 public class Hello{ public static void main(String[] args){ System.out.print("Hello,world! ...
分类:其他好文   时间:2021-03-18 14:11:04    阅读次数:0
Base64String转为图片并保存
/** * * @param BASE64str bas64字符串 * @param path 存储地址 * @return 存储地址 */ public static String BASE64CodeToBeImage(String BASE64str,String path){ Buffere ...
分类:其他好文   时间:2021-03-18 13:59:41    阅读次数:0
日志 携带变量 输出
public void fun() { String name="who"; String passwd="666"; log.info("name:{},passwd,{}",name,passwd); } ...
分类:其他好文   时间:2021-03-17 15:04:20    阅读次数:0
线性结构_练习:检查链表是否回文
实现类: public class LinkedList { /* * 回文链表 * 检查链表是否回文 */ public static void main(String[] args) { Linknode node = new Linknode(1); node.next = new Linkn ...
分类:其他好文   时间:2021-03-17 15:02:32    阅读次数:0
String str = new String("abc")创建了几个对象?new出来的对象存放在哪?
两个: new String()和abc new出来的对象都存放在堆中 String str = "abc"是创建了一个对象 String str1 = "abc"; String str2 = "ab" + "c"; str1==str2是true 因为String str2 = "ab" + " ...
分类:其他好文   时间:2021-03-17 14:59:15    阅读次数:0
02 | 列表和元组到底用哪一个?
一、 列表和元组基础 列表和元组都是一个可以放置任意数据类型的有序集合。对于python的列表和元组来说,集合的数据类型不像其他编程语言一样必须要求一致。 l = [1, 2, 'hello', 'world'] # 列表中同时含有int和string类型的元素 l [1, 2, 'hello', ...
分类:其他好文   时间:2021-03-17 14:58:14    阅读次数:0
107772条   上一页 1 ... 89 90 91 92 93 ... 10778 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!