![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IT类
文章平均质量分 57
生晓乐
这个作者很懒,什么都没留下…
展开
-
react_module
import React, { Component} from 'react';export default class TimerWatch extends Component{ constructor(props){ super(props); this.count = 0; this.state = {原创 2017-03-29 17:33:26 · 755 阅读 · 0 评论 -
angular中的多模块处理
ng-app指令/*** 导入angularJs库* @type {String}*//** * 我们一般这样处理angular中的多个模块的定义 * @type {String} *///定义模块一let demoApp1 = angular.module('demoApp1', []);demoAp原创 2017-03-30 21:01:15 · 1496 阅读 · 0 评论 -
angular报错
封装一个面包屑导航ng-controller 用来声明 我们要调用哪一个 controller-->//声明我们的模块 myApplet myApp = angular.module('myAppDemo', []);/*在模块写创建一个控制器 myAppController*/myApp.controller('myAppCo原创 2017-03-31 19:44:05 · 588 阅读 · 0 评论 -
react_demo
//timeApp.jsimport React, {Component} from 'react';export default class MyTime extends Component{ constructor(props) { super(props); this.timer = null; this.state = {原创 2017-04-02 12:47:18 · 176 阅读 · 0 评论 -
springMVC初学者可能遇到的版本问题
这是springMVC的配置文件,明明配置的没有问题,然而我们却运行总报错(在我们使用组件扫描的时候),一直提示找不到controller源文件,如下:我们无法找到我们所需要用的controller,当时遇到这个问题我也纠结了半天,发现配置没有问题却怎么也不能使用组件扫描,然而如果我们使用一个controller一个controller的单个的进行配置是没有问题的,但是如果类多原创 2017-07-07 10:16:54 · 1915 阅读 · 1 评论 -
String、StringBuffer与StringBuilder的区别小见
最近学习到StringBuffer,心中有好些疑问,搜索了一些关于String,StringBuffer,StringBuilder的东西,现在整理一下。关于这三个类在字符串处理中的位置不言而喻,那么他们到底有什么优缺点,到底什么时候该用谁呢?下面我们从以下几点说明一下 1.三者在执行速度方面的比较:StringBuilder > StringBuffer > String转载 2017-07-31 14:17:27 · 141 阅读 · 0 评论