码迷,mamicode.com
首页 >  
搜索关键字:protected internal    ( 7704个结果
阅读com.sun.jmx.remote.internal.ArrayQueue源码Note
ArrayQueue 1. 底层使用数组存储 2. 添加时放置于tail指定的位置,从尾部开始添加,尾部满时,继续从头部开始添加,直到head位置,此时队列已满 3. head 和tail 操作可以在数组上循环。 3. 移除时,只能从头部移除 示例 X 代表未填充元素,E代表填充元素,h代表头部元素 ...
分类:其他好文   时间:2020-04-25 23:51:50    阅读次数:101
windows域账户模拟
using System.Security.Principal;using System.Reflection.Emit;using System.Diagnostics; namespace TopsAdmin_Batch{ internal static class WinLogonHelper ...
分类:Windows程序   时间:2020-04-25 20:49:49    阅读次数:146
thinkphp5 时间戳
系统支持自动写入创建和更新的时间戳字段,有两种方式配置支持。 第一种方式,是在数据库配置文件中添加全局设置: // 开启自动写入时间戳字段 'auto_timestamp' => true, 第二种是直接在单独的模型类里面设置: protected $autoWriteTimestamp = tru ...
分类:Web程序   时间:2020-04-25 17:17:05    阅读次数:105
php 面向对象三大特点:封装、继承、多态
在讲解这三大特性前,我们先讲访问修饰符。 php中有3中访问修饰符:public protected private; public:表示公有的;可在本类、子类、对象实例中访问。 protected:表示受保护的;可在本类、子类中访问;不能在对象实例中访问。 private:表示私有的;可在本类中访 ...
分类:Web程序   时间:2020-04-25 13:08:09    阅读次数:94
php 常量const
常量使用关键词const修饰,一经定义,不能改变 常量的使用规则 定义后,应该马上赋初始值 不能用public、private、protected修饰 在本类,可用self::name 类名::name访问;在子类中,可用parent::name self::name 类名::name访问 clas ...
分类:Web程序   时间:2020-04-25 12:57:13    阅读次数:334
轮播图学习2:实现轮播图自动跳转
要实现轮播图自动跳转 需要自己写一个类ScoViewParger继承ViewParger,将activity_mian.xml文件中关于ViewRarger的布局改写成为包名+类名的方式 ScoViewParger类: package com.example.myapplication23; imp ...
分类:其他好文   时间:2020-04-24 20:07:14    阅读次数:86
同一个项目中使用MVC控制器和WebAPI控制器
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register);//这个路由注册应该优先注册 RouteCon ...
分类:Windows程序   时间:2020-04-24 09:15:08    阅读次数:112
006.权限修饰符
Public: (公有) 公开的,都可访问 一般情况下需要被访问Protected:(受保护) 本类、子类、同包可访问 根据实际情况Default: (缺省) 同一包可访问 一般情况不推荐缺省Private: (私有) 访问最严格,只有本类可访问 方法和属性不公开 原文:https://www.cn ...
分类:其他好文   时间:2020-04-23 00:28:58    阅读次数:55
ViewPager中height=wrap_content无效,ScrollView里边用ListView显示不全解决办法
ViewPager中height=wrap_content无效 public class MyViewPager extends ViewPager { @Override protected void onMeasure(int widthMeasureSpec, int heightMeasur ...
分类:其他好文   时间:2020-04-23 00:23:27    阅读次数:80
146-springboot打war包设置
启动方法应该继承一个接口,然后实现一个方法 @SpringBootApplication //开启spring配置 public class Application extends SpringBootServletInitializer { public static void main(Stri ...
分类:编程语言   时间:2020-04-22 22:53:09    阅读次数:71
7704条   上一页 1 ... 30 31 32 33 34 ... 771 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!