码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
Deepin内核升级方法
Deepin内核获取(联网模式): 1、获取当前内核版本 think@think-PC:~/Desktop$ sudo uname -r 4.15.0-30deepin-generic think@think-PC:~/Desktop$ sudo uname -a Linux think-PC 4. ...
分类:其他好文   时间:2020-02-06 16:44:02    阅读次数:1531
Python 中 time 模块与 datetime 模块在使用中的不同之处
Python 中提供了对时间日期的多种多样的处理方式,主要是在 time 和 datetime 这两个模块里。今天稍微梳理一下这两个模块在使用上的一些区别和联系。time在 Python 文档里,time 是归类在 Generic Operating System Services 中,换句话说, ...
分类:编程语言   时间:2020-02-06 12:58:15    阅读次数:90
JAVASE(十五) 泛型 :泛型用例、自定义泛型类、通配符
1、泛型在集合中的使用 1.1 在集合中使用泛型之前的例子 ? 为什么要有泛型(Generic)? 1. 解决元素存储的安全性问题2. 解决获取数据元素时,需要类型强转的问题 ? ? 1.2 在集合中使用泛型例子1 List<String> list = new ArrayList<String>( ...
分类:编程语言   时间:2020-02-04 15:43:43    阅读次数:82
java基础复习-自定义注解2(反射技术)
java基础复习 自定义注解2(反射技术) 写在前面: 反射技术在java基础中也是容易被忽略的一部分内容,也是在初学阶段无法体会反射技术的作用。其实,在java的众多框架中都是靠反射技术来进行实现。如果想成为能够自己去打造自己的框架,那么学习反射技术这是十分有必要的。该节被列为自定义注解的第二节, ...
分类:编程语言   时间:2020-02-03 22:11:20    阅读次数:94
(八)正二十面体
1.概述 本片转自如下 2.代码 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CreateIcosahedron : MonoBehaviour { publi ...
分类:其他好文   时间:2020-02-03 13:32:05    阅读次数:102
CefSharp 使用备忘录
Form1.cs using CefSharp; using CefSharp.WinForms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; usin ...
分类:其他好文   时间:2020-02-02 22:08:33    阅读次数:118
(五)Cube
1.概述 Unity自带cube模型,但是此文实现,分基础版和完善版。基础版不进行顶点法线计算,完善版会进行法线计算,结果会跟自带cube比较接近。 2.基础版Cube 2.1 基类 using System.Collections; using System.Collections.Generic ...
分类:其他好文   时间:2020-02-02 21:37:34    阅读次数:67
(四)平面环形
概述 本文在上一篇平面圆形基础上生成平面环形。 代码 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(MeshFilter),type ...
分类:其他好文   时间:2020-02-02 20:05:43    阅读次数:147
(三)平面圆形
概述 由于基础篇已经比较详细,此篇只贴代码。 平面圆形代码 圆形也是由三角形组成的,三角形个数越多则越园。 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireCompon ...
分类:其他好文   时间:2020-02-02 19:48:50    阅读次数:99
(二)平面plane
概述 本文用来实现一个平面plane,其与四顶点的四边形mesh相比,网格变多。 Mesh代码 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(ty ...
分类:其他好文   时间:2020-02-02 19:18:33    阅读次数:84
7184条   上一页 1 ... 34 35 36 37 38 ... 719 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!