Browse Source

update

master
alistair 4 years ago
parent
commit
bafd7b7d27
  1. 1
      README.md
  2. 8
      README.md
  3. 6
      notes.md

1
README.md

@ -1 +0,0 @@ @@ -1 +0,0 @@
notes.md

8
README.md

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
# Notes for Course CSSE2002
[pdf file](https://alistairmichael.com/notes/csse2002/csse2002.pdf)
[html](https://alistairmichael.com/notes/csse2002)
Pull requests are welcome.

6
notes.md

@ -22,6 +22,9 @@ Will produce two variables which both reference the same string. @@ -22,6 +22,9 @@ Will produce two variables which both reference the same string.
# Java Collections
- can not store primitive types, there are wrapper classes
- automatically converted on construction
## Stack
- Last in first out
@ -32,8 +35,6 @@ Will produce two variables which both reference the same string. @@ -32,8 +35,6 @@ Will produce two variables which both reference the same string.
- pop()
- return top of stack and remove from stack
- push(obj)
- can not store primitive types, there are wrapper classes
- automatically converted on construction
### Generic Types
@ -97,7 +98,6 @@ E neeeds to have sensible hashCode() and equals() @@ -97,7 +98,6 @@ E neeeds to have sensible hashCode() and equals()
- not good for iterating
- should not use mutable objects as keys although it works unless you change
the object after setting it as the key
- don't add a map inside of itself
# Automated Testing

Loading…
Cancel
Save