J2EE
雨笋情缘
这个作者很懒,什么都没留下…
展开
-
JAVA 中 Date and Time Patterns 格式含义说明
public class SimpleDateFormatextends DateFormatSimpleDateFormatis a concrete class for formatting and parsing dates in a locale-sensitive manner. It allows for formatting (date → text), parsing (...原创 2019-12-11 20:00:06 · 856 阅读 · 0 评论 -
Context namespace element 'component-scan' 提示 only available on JDK 1.5 and higher
开发工程中,出现Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher此错误是由于在Tomcat中部署项目时,Tomcat 选择的JDK版本过高引起的,选择JDK1.7以下版本可以排除此错误如下图所示选择原创 2017-08-10 14:06:39 · 634 阅读 · 0 评论 -
判断链表是是否是回文
package com.lhs.programerInterview.implement;import java.util.Scanner;import java.util.Stack;/*** 判断一个链表是是否是回文结构* 进阶:如果链表的长度为N,时间复杂度达到O(N),额外的空间复杂度是O(1)。* @author lhs94* @date 2017-10-24*/...原创 2018-12-20 11:24:18 · 108 阅读 · 0 评论