1、obj.tostring() obj为空时,抛异常。 2、convert.tostring(obj) obj为空时,返回null; 3、(string)obj obj为空时,返回null;obj不是string类型时,抛异常。 4、obj as string obj为空时,返回null; ...
分类:
其他好文 时间:
2017-07-03 16:35:53
阅读次数:
185
Java.security KeyStore PrivateKey Signature java.security.cert X509Certificate java.security.KeyStore 概述 public class KeyStore extends Object 此类表示密钥和证 ...
分类:
编程语言 时间:
2017-07-03 16:32:24
阅读次数:
259
属性初始化函数: __init__(self,params),init前后各有两个下划线 学习初始化函数时,遇到的一个报错,经查阅发现是自己少写了下划线 1、python代码,如下: 2、报错信息,如下: Traceback (most recent call last): File "D:/Pyt ...
分类:
其他好文 时间:
2017-07-03 16:28:47
阅读次数:
147
.h #import <UIKit/UIKit.h> #import <objc/runtime.h> @interface UIControl (XY) @property (nonatomic, assign) NSTimeInterval fy_acceptEventInterval; @pr ...
分类:
其他好文 时间:
2017-07-03 16:19:47
阅读次数:
185
由于in操作符只要通过对象能访问到属性就返回true,hasOwnProperty()只在属性存在于实例中才返回true,因此只要in操作符返回true,hasOwnProperty()返回false,就可以确定属性是原型中的属性、 ...
分类:
其他好文 时间:
2017-07-03 16:17:14
阅读次数:
140
1、obj.tostring() obj为空时,抛异常。 2、convert.tostring(obj) obj为空时,返回null; 3、(string)obj obj为空时,返回null;obj不是string类型时,抛异常。 4、obj as string obj为空时,返回null; ...
分类:
其他好文 时间:
2017-07-03 14:09:45
阅读次数:
106
项目中,要传过去的参数是入下形式: 这边就要对我的obj进行转换 JSON.parse(str)是用于从一个字符串中解析出json对象,如 var str = '{"name":"huangxiaojian","age":"23"}' 注意:单引号写在{}外,每个属性名都必须用双引号,否则会抛出异常 ...
分类:
Web程序 时间:
2017-07-03 14:03:29
阅读次数:
185
一,MVC HtmlHelper方法 Html.BeginForm(actionName,controllerName,method,htmlAttributes){} BeginRouteForm 方法 (HtmlHelper, String, Object, FormMethod)二,传统For ...
分类:
Web程序 时间:
2017-07-03 14:01:16
阅读次数:
323
软件152 高光顺 1、表现层组件:主要负责收集用户输入数据,或者向客户显示系统状态。最常用的表现层技术是JSP,但JSP并不是唯一的表现层技术。 2、控制器组件:对于JavaEE的MVC框架而言,框架提供一个前端核心控制器,而核心控制器负责拦截用户请求,并将用户请求转发给用户实现的控制器组件。而这 ...
分类:
编程语言 时间:
2017-07-03 13:55:37
阅读次数:
169
guo@guo-PC MINGW64 ~/Desktop/gg$ ssh-keygen -t rsa -C "youremail@example.com"Generating public/private rsa key pair.Enter file in which to save the ke ...
分类:
其他好文 时间:
2017-07-03 13:54:58
阅读次数:
741