- 博客(28)
- 资源 (2)
- 收藏
- 关注
原创 Effective Java Chapter2
一、Item 1Consider static factory methods instead of constructors(考虑用静态工厂方法代替构造函数)例:Boolean 类提供了将boolean基本类型转换为Boolean实例的方法/** * The {@code Boolean} object corresponding to the primitive * value {@code true}. */public static final Boolean TRUE = n
2021-07-08 18:45:55 119
原创 系统分析与设计lesson16-homework
一、使用ECB实现make reservation用例的详细设计(包含用例简介、顺序图、类图)1. 用例简介用户输入城市和入住时间查询酒店,选择酒店(按需排序),选择房间,确认预定2. 顺序图3. 类图二、将逻辑设计类图映射到实际项目框架的包图。用树形结构表述实现的包和类...
2018-06-30 00:34:27 230
原创 lesson13 个人作业
lesson13个人作业1. 描述软件架构与框架之间的区别与联系 软件框架:软件框架是面向领域(如ERP、计算领域等)的、可复用的“半成品”软件,它实现了改领域的共性部分,并提供了一些定义良好的可变点以保证灵活性和可扩展性。也就是说软件框架是领域分析结果的软件化,是领域内最终应用的模板。软件框架至少包含以下组成部分: (1)一系列完成计算的模块,称为构件 (2)构件之间的关...
2018-06-06 21:57:05 429
原创 leetcode-Number of Islands
Number of Islands题目详情:Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizont
2018-01-07 21:55:59 290
原创 leetcode Longest Consecutive Sequence
leetcode Longest Consecutive Sequence
2017-12-24 09:40:45 161
原创 leetcode Different Ways to Add Parentheses
Different Ways to Add Parentheses
2017-10-25 09:04:25 286
原创 leetcode Median of Two Sorted Arrays
Median of Two Sorted Arrays 归并排序的合并部分
2017-09-18 13:31:42 370
原创 leetcode Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters
2017-09-14 20:55:42 140
原创 leetcode Add Two Numbers
Add Two Numbers题目详情解题方法题目详细代码Add Two Numbers题目详情:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes cont
2017-09-09 10:39:06 173
A4纸的矫正
2018-06-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人