Core Java APIs

Kom i gang. Det er Gratis
eller tilmeld med din email adresse
Core Java APIs af Mind Map: Core Java APIs

1. StringBuffer

1.1. thread safe

2. StringBuilder

2.1. Mutable

2.2. Methods

2.2.1. append()

2.2.2. charAt()

2.2.3. delete()

2.2.4. deleteCharAt()

2.2.5. indexOf()

2.2.6. insert()

2.2.7. length()

2.2.8. reverse()

2.2.9. substring()

2.2.10. toString()

2.2.11. equals()

2.2.11.1. check pointing to the same object and looking at the values inside

2.3. ==

2.3.1. check pointing to the same StringBuilder object

3. Array

3.1. Fixed-size area of memory

3.2. Methods

3.2.1. sort()

3.2.2. binarySearch()

3.2.2.1. sorted array

3.2.2.2. return the index of match

3.2.2.3. unsorted arry

3.2.2.3.1. unpredictable output

3.3. primitive

3.4. pointers to objects

3.5. Multidimensional

3.5.1. int[][] a;

3.5.2. int a[][];

3.5.3. int[] a[];

3.5.4. int[] a[][];

4. String

4.1. String pool

4.1.1. Literals

4.2. Methods

4.2.1. charAt()

4.2.2. concat()

4.2.3. endsWith()

4.2.4. equals()

4.2.4.1. check sequence of characters

4.2.5. equalsIgnoreCase()

4.2.6. indexOf()

4.2.7. length()

4.2.8. replace()

4.2.9. startsWith()

4.2.10. substring()

4.2.11. toLowerCase()

4.2.12. toUpperCase()

4.2.13. trim()

4.3. Immutable

4.4. ==

4.4.1. check point to the same object in the pool

4.5. public static void main

4.5.1. (String[] args)

4.5.2. (String args)

4.5.3. (String... args)

4.5.3.1. varargs

5. Collections

5.1. List

5.1.1. ArrayList

5.1.1.1. Dinamic size

5.1.1.2. List<Integer> h = new ArrayList<>();

5.1.1.3. Methods

5.1.1.3.1. add()

5.1.1.3.2. clear()

5.1.1.3.3. contains()

5.1.1.3.4. equals()

5.1.1.3.5. isEmpty()

5.1.1.3.6. remove()

5.1.1.3.7. set()

5.1.1.3.8. size()

5.1.1.4. not allowed to contain primitives

5.1.2. Vector

5.1.3. LinkedList

5.2. Set

5.3. Map

6. Date and Times

6.1. immutable

6.1.1. private constructor

6.1.1.1. LocalTime

6.1.1.1.1. Methods

6.1.1.1.2. LocalDate.now()

6.1.1.1.3. LocalDate.of()

6.1.1.2. LocalDateTime

6.1.1.3. LocalDate

6.2. Period

6.2.1. days

6.2.2. month

6.2.3. year

6.3. DateTimeFormatter

6.3.1. output format of date and time

6.3.2. DateTimeFormatter f = DateTimeFormatter.ofPattern("hh:mm");

6.3.3. M, m, h, y

6.3.3.1. M = Month

6.3.3.2. m = Minute