20165212第六周学习总结

20165212第六周学习总结


教材学习内容总结

第八章

  • String类
  • String对象(常量,对象)
  • 字符串并置(结果仍是常量)
  • 常用方法
    • boolean equals(String s),
    • boolean stratsWith/endWith(String s),
    • int compareTo(String s),
    • boolean contains(String s),
    • int indexOf/lastIndexOf(String s),
    • String substring(int startpoint),
    • String trim()。
  • 字符串与基本数据类型相互转化
  • 对象的字符串表示
  • 正则表达式与字符串
  • StringTokenizer类
  • Scanner类
  • StringBuffer类
  • StringBuffer对象
  • 常用方法
    • append,
    • charAt,
    • serCharAt,
    • insert,
    • reverse,
    • delete,
    • replace
  • Date类和Calendar类
  • 日期格式化

第十五章

  • 泛型类声明和创建对象时,类名后多了一对“<>”,而且必须要用具体的类型替换“<>”中的泛型。
  • LinkedList
  • 动态数组表类 ArrayList,采用顺序结构存储数据,在提取数据上有优势,但是不适合动态改变存储的数据。
  • public static sort
  • int binarySearch
  • public static void shuffle
  • 堆栈
  • 散列映射

学习过程中遇到的问题和解决过程

(未解决) 有几个地方提示我:要了解详细信息,请使用-xlint:unchecked重新编译 

我不明白为什么有了泛型类还是会提示unsafe


码云链接:

https://gitee.com/BESTI-IS-JAVA-2018/20165212RenYin.git

代码托管:

posted @ 2018-04-08 20:08  FenixRen  阅读(104)  评论(0编辑  收藏  举报
#back-to-top { background-color:wheat; bottom: 0; box-shadow: 0 0 6px ; color: #444444; padding: 2px 2px; position: fixed; right: 20px; cursor: pointer; ヾ(≧O≦)〃嗷~ }