码迷,mamicode.com
首页 >  
搜索关键字:string to array    ( 121709个结果
C#正则表达式
正则表达式很好用但是不好记,为方便以后查询做个记录 public static class ValidatorHelper { #region 验证输入字符串为数字(带小数) /// <summary> /// 验证输入字符串为带小数点正数 /// </summary> /// <param nam ...
分类:Windows程序   时间:2021-06-28 21:07:09    阅读次数:0
WPF依赖属性-依赖属性介绍
WPF的设计理念是:数据驱动,UI与逻辑松耦合 一、传统的CLR属性 public class Person { private string _Name; public string Name { get { return _Name; } set { _Name = value; } } } 二 ...
分类:Windows程序   时间:2021-06-28 21:03:52    阅读次数:0
华为机试题 成绩排名
简介 对cmp的理解能力 常规题 code #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; struct Student{ int idx; int n ...
分类:其他好文   时间:2021-06-28 21:01:31    阅读次数:0
map普通遍历+java8的Lambda表达式
一:普通方式、 1、keySet(): Map<String, Object> map = new HashMap<>(); map.put("name", "张三"); map.put("age", 20); for (String key : map.keySet()) { String val ...
分类:编程语言   时间:2021-06-28 20:40:37    阅读次数:0
[LeetCode] 215. Kth Largest Element in an Array_Medium tag: Array, Heap
Given an integer array nums and an integer k, return the kth largest element in the array. Note that it is the kth largest element in the sorted order ...
分类:其他好文   时间:2021-06-28 20:35:29    阅读次数:0
【C++ Primer 第16章】重载与模板
编写重载模板 1 #include <iostream> 2 #include <sstream> 3 #include <string> 4 using namespace std; 5 6 template <typename T> 7 string debug_rep(const T &t) ...
分类:编程语言   时间:2021-06-28 20:25:45    阅读次数:0
Java面向对象复习
Java面向对象复习 1.类像一个模板。 2.好的编程习惯会让代码看上去更清爽,易读,容易维护 比如类的第一个字母大写。 3.属性的类型可以是基本类型,比如int整数,float 浮点数 也可以是类类型,比如String 字符串。 4.属性名称一般来说,都是小写,比如name。 如果有多个单词组成, ...
分类:编程语言   时间:2021-06-28 19:50:59    阅读次数:0
Java-IO流系列-FileReader与FileWriter
FileReader读取文件 查看文件的相对路径 示例一:查看文件的相对路径 package com.dreamcold.io; import java.io.File; public class Demo01 { public static void main(String[] args) { F ...
分类:编程语言   时间:2021-06-28 19:39:13    阅读次数:0
异常处理
throw 抛异常 throw new Exception('参数只能是数字') try...catch 异常 try { //抛异常的代码 } catch (Exception $e) { echo $e->getMessage(); } 实例 /src/TestException.php (抛异 ...
分类:其他好文   时间:2021-06-28 19:30:58    阅读次数:0
List<T>集合实现二叉查找算法
1.需求 如果需要在集合中匹配出某个元素的序列,并返回这个元素在集合中出现的次数。 2.线性方式 在没有更好的算法策略之前,我们通常实现的方式如下: 1 List<string> dataList = new List<string>() { "张三","李四", "李四", "李四", "李四", ...
分类:编程语言   时间:2021-06-28 19:25:54    阅读次数:0
121709条   上一页 1 ... 8 9 10 11 12 ... 12171 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!