码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
java的反射机制
1、Java反射机制概念 Java 反射机制在程序运行时,对于任意一个类,都能够知道这个类的所有属性和方法;对于任意一个对象,都能够调用它的任意一个方法和属性。这种 动态的获取信息 以及 动态调用对象的方法 的功能称为 java 的反射机制。 类的加载指的是将类的.class文件中的二进制数据读入到 ...
分类:编程语言   时间:2019-12-09 19:26:22    阅读次数:105
unity 不销毁物体,全局唯一性
下面插入代码 本脚本挂在你不想销毁的物体上面 using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExitApp : MonoBehaviour { public st ...
分类:编程语言   时间:2019-12-09 13:57:12    阅读次数:204
dotnetcore执行shell脚本
我们可以使有dotnetcore跨平台的特性,优雅的实现在dotnetcore执行shell (bash). 代码如下:using System;using System.Collections.Generic;using System.Text;namespace hshoc{ using Sys... ...
分类:Web程序   时间:2019-12-08 23:39:47    阅读次数:388
SpringBoot-技术专区-详细打印启动时异常堆栈信息
SpringBoot在项目启动时如果遇到异常并不能友好的打印出具体的堆栈错误信息,我们只能查看到简单的错误消息,以致于并不能及时解决发生的问题,针对这个问题SpringBoot提供了故障分析仪的概念(failure-analyzer),内部根据不同类型的异常提供了一些实现,我们如果想自定义该怎么去做 ...
分类:编程语言   时间:2019-12-08 10:21:56    阅读次数:134
c#操作串口类
先放上串口的一个类,自己编写的,觉得这样好用些。 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System ...
分类:Windows程序   时间:2019-12-07 18:04:29    阅读次数:116
C# 避免程序重复启动
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Threading; namespace WindowsFormsApplicati ...
分类:Windows程序   时间:2019-12-07 12:35:03    阅读次数:116
【04】数组的初始化
java和C#非常相似,它们大部分的语法是一样的,但尽管如此,也有一些地方是不同的。 为了更好地学习java或C#,有必要分清它们两者到底在哪里不同。 我们这次要来探讨数组的初始化。 java代码: 1 package HelloWorld; 2 3 public class HelloWorld ...
分类:编程语言   时间:2019-12-07 10:21:57    阅读次数:87
[转]java 通过反射获取类的全局变量、方法、构造方法
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 package com.str; public class ZiFuChuan { public static String ss = "全局变量!!!!!!"; String s2 = null; ...
分类:编程语言   时间:2019-12-06 19:33:37    阅读次数:84
C#--带参SQL语句数通用数据访问类
Update() GetSingleResult() GetReader() 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Da ...
分类:数据库   时间:2019-12-06 13:40:29    阅读次数:108
docker 学习操作记录 3
记录3 ...
分类:其他好文   时间:2019-12-06 09:58:45    阅读次数:209
7184条   上一页 1 ... 46 47 48 49 50 ... 719 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!