using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; using Sy ...
分类:
其他好文 时间:
2021-06-16 18:02:41
阅读次数:
0
LINQ提供很多集合的扩展方法,配合Lambda能简化数据处理。 LINQ常用的扩展方法大部分都在System.Linq命名空间中,对IEnumerable<T>扩展,提供了大量类似Where扩展方法。 实现IEnumerable接口类:数组、List、Dictionary等 LINQ常用的扩展方法 ...
分类:
其他好文 时间:
2021-06-13 09:21:19
阅读次数:
0
首先明白一个事,Java存在一个常量池,可以用来存储字符串常量。 一、创建的字符串变量在内存中的区别 对于字符串:其对象的引用都是存储在栈中的,如果是编译期已经创建好(直接用双引号定义的)的就存储在常量池中,如果是运行期(new出来的)才能确定的就存储在堆中。对于equals相等的字符串,在常量池中 ...
分类:
编程语言 时间:
2021-06-11 19:06:10
阅读次数:
0
基于 Django 自带的权限系统认证 创建用户 create_user 方法 from rest_framework.views import APIView from rest_framework.response import Response class UserRegisterView(A ...
分类:
其他好文 时间:
2021-06-10 17:57:27
阅读次数:
0
Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed b ...
分类:
Web程序 时间:
2021-06-10 17:50:56
阅读次数:
0
#encoding=utf-8 import pandas as pd import os import csv def concat_csv(filename,dirpath): with open(filename,'w') as f: cw=csv.writer(f) cw.writerow( ...
分类:
其他好文 时间:
2021-06-09 15:30:20
阅读次数:
0
1.在自己的服务器中找到redis的配置文件 redis.conf 使用命令vi redis.conf或vim redis.conf ...
分类:
其他好文 时间:
2021-06-07 20:35:04
阅读次数:
0
并发编程-JMM&Lock锁以及原理 JMM(Java Memory Model(Java内存模型)):我们都明白java是一个一次编译多处运行的语言,然而在不同的系统架构中拥有不同的内存模型,java是一个跨平台的虚拟系统,所以他有制定了自己的内存模型,内存模型描述了程序中各个变量之间的关系,以及 ...
分类:
其他好文 时间:
2021-06-06 19:37:34
阅读次数:
0
可重载的操作符,摘录自c++ primer第四版 表14.1: + - * / % ^ & | ~ ! , = < > <= >= ++ -- << >> == != && || += -= /= %= ^= &= |= *= <<= >>= [] () -> ->* new new [] dele ...
分类:
编程语言 时间:
2021-06-06 18:47:16
阅读次数:
0
1 package com.future; 2 3 import java.util.concurrent.*; 4 5 6 public class FDemo { 7 public static final ExecutorService service = Executors.newSingl ...
分类:
其他好文 时间:
2021-06-04 19:55:49
阅读次数:
0