Table of Contents
$ java -version $ javac -version $ jshell
Installation
Installation on macOS
Reference
Java SE
- java.awt: BufferedImage
- java.io: Closeable, File, Reader, Writer
- java.lang: Class, Math, Number, Object, ProcessBuilder, Runtime, String, System, Thread, Throwable
- java.math: BigDecimal, BigInteger
- java.net: InetAddress, URI, URL
- java.nio: Buffer, ByteBuffer
- java.nio.channels: Channel
- java.nio.charset: Charset
- java.nio.file: Path
- java.nio.file.attribute: FileAttribute
- java.security: MessageDigest, SecureRandom
- java.sql: Connection, ResultSet, Statement
- java.text: NumberFormat
- java.time: Duration, Instant
- java.util: Base64, Colleciton, Date, Iterator, List, Map, Optional, Set, UUID
History
Java 10
Exceptions
Null Argument Exceptions
Throw a NullPointerException, not an IllegalArgumentException.
Null Pointer Exceptions
Testing
Unit Testing
Test Frameworks
Assertion Libraries
- AssertJ
- Truth (comparison to AssertJ)
- Hamcrest (legacy)