package com.oop.demo05; /** * <p> * * </p> * * @author: wfs * @date: 2021/6/21 */ public class Student { private static int age;//静态的变量 多线程 private do ...
分类:
其他好文 时间:
2021-06-21 20:35:39
阅读次数:
0
1.android的HttpURLConnection发送POST请求 核心代码: PostUtils.java public class PostUtils { public static String LOGIN_URL = "http://172.16.2.54:8080/HttpTest/S ...
分类:
其他好文 时间:
2021-06-21 20:31:45
阅读次数:
0
前端时间,通过画脑图记录的方式深入分析了一下:spring底层容器的刷新过程,现在拆分为博客,分享一下。后面会附上脑图的原文件,供大家查看。 public class BeanAutowired { public static void main(String[] args) { Applicati ...
分类:
移动开发 时间:
2021-06-21 20:31:10
阅读次数:
0
问题抛出:静态常量(static final)可以再编译器确定字面量,但常量(final或者String a = “a”或者Integer的 -128-127)并不一定在编译期就确定了, 也可以在运行时确定.所以Java针对某些情况制定了常量优化机制。 拓展: 为啥Integer是-128-12 如 ...
分类:
编程语言 时间:
2021-06-21 20:12:37
阅读次数:
0
一、简介 基于matlab GUI算子+滤波器+数米粒 二、源代码 function varargout = mygui(varargin) % Begin initialization code - DO NOT EDIT gui_Singleton = 1; global im; gui_Sta ...
分类:
其他好文 时间:
2021-06-21 20:10:37
阅读次数:
0
1 #算法:解决问题的方法和步骤 2 3 #排序算法 4 #选择排序 5 def select(items, comp = lambda x,y : x <y): 6 #通过隐藏函数lambda判断两个数的大小 7 items = items[:] 8 for i in range(len(item ...
分类:
编程语言 时间:
2021-06-21 20:06:24
阅读次数:
0
扩展方法的 3 个要求: 声明扩展方法的类必须声明为 static; 扩展方法本身必须声明为static; 扩展方法第一个参数类型前一定要包含关键字 this。 using System; namespace ExtensionMethods { sealed public class MyMeth ...
1、需求待授权设备中存在同名则重命名,以保证授权设备名称在数据库中的唯一性 2、逻辑图 3、代码 private function deduplicateDeviceName(&$dataset) { if (!($sameset = $this->getDeviceSameset($dataset ...
分类:
编程语言 时间:
2021-06-20 18:49:08
阅读次数:
0
说明 工具类,提供了许多静态方法,用于操作集合。 模块:java.util.Collections 方法:全是static方法,使用时直接Collections.xxx( ... ) 返回值类型 方法 说明 boolean addAll(Collection< ? super T >c, T... ...
分类:
编程语言 时间:
2021-06-20 18:43:07
阅读次数:
0
body { background: url('xx.jpg')top center no-repeat; background-size:cover; } body{ background:url('back.jpg'); background-attachment:fixed; backgrou ...
分类:
Web程序 时间:
2021-06-20 18:22:09
阅读次数:
0