zoukankan      html  css  js  c++  java
  • 两只小熊队高级软件工程第九次作业敏捷冲刺3

    团队的作业:学生信息管理系统

    • 队员学号:

        周菲(队长) 201810812007

        孔繁燕    201810812001

    Alpha敏捷冲刺:

    1、 站立式会议照片

     

    2、每个人的工作:

    周菲:

    今天已完成:用户非法信息录入输入提示框功能测试

    遇到的问题: 暂无

    明天计划完成: 系统架构优化

    孔繁燕:

    今天已完成:用户非法信息录入输入提示框功能测试

    遇到的问题:暂无

    明天计划完成:系统架构优化

    3、项目燃尽图

     

    4、部分项目代码和截图:

    package util;
    
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    public class CheckHandler
    {
    	public static boolean isNumeric(String str)
    	{
    		return str!=null && str.matches("[-+]?\d*\.?\d+");
    	}
    
    	public static boolean containsDigit(String str)
    	{
    		boolean flag=false;
    		Pattern pattern=Pattern.compile(".*\d+.*");
    		Matcher matcher=pattern.matcher(str);
    		if(matcher.matches())
    		{
    			flag=true;
    		}
    		return flag;
    	}
    	
    	public static boolean containsChar(String str)
    	{
    		String regex=".*[a-zA-Z]+.*";
    		Matcher m=Pattern.compile(regex).matcher(str);
    		return m.matches();
    	}
    	public static boolean isValidName(String str)
    	{
    		String regex="^[\u4e00-\u9fa5]+$";
    		Matcher m=Pattern.compile(regex).matcher(str);
    		return m.matches();
    	}
    	public static boolean isValidMobile(String str)
    	{
    		boolean isValid=false;
    		Pattern pattern=Pattern.compile("^[1][3,4,5,7,8][0-9]{9}$");
    		Matcher matcher=pattern.matcher(str);
    		isValid=matcher.matches();
    		return isValid;
    	}
    
    }
    
  • 相关阅读:
    兼容火狐回车事件
    html的锚链接位置偏差解决
    jq记住密码
    PHP界面显示中文乱码
    ThinkPHP5.0学习1
    Fatal error: Call to undefined function pasterTempletDiy()
    dede问答模块修改
    PHP:Deprecated: Function set_magic_quotes_runtime() is deprecated 错误
    jq根据文本显示内容设置样式
    Tomcat Remote Debug操作和原理
  • 原文地址:https://www.cnblogs.com/sugarfei/p/10100283.html
Copyright © 2011-2022 走看看