1/110
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Object - hashCode()
Function: Returns an integer hash code value for the object. This value is used by hashing-based collections such as HashMap and HashSet.
Return Type: int
Object - equals(o)
Function: Compares this object to the specified object for equality. Returns true if they are considered equal.
Return Type: boolean
Object - toString()
Function: Returns a string representation of the object.
Return Type: String
List - add(e)
Function: Adds the specified element to the end of the list.
Return Type: boolean
List - addAll(c)
Function: Appends all elements from the specified collection to the end of the list.
Return Type: boolean
List - clear()
Function: Removes all elements from the list.
Return Type: None
List - contains(o)
Function: Returns true if the list contains the specified element.
Return Type: boolean
List - containsAll(c)
Function: Returns true if the list contains all elements in the specified collection.
Return Type: boolean
List - copyOf(coll)
Function: Creates an unmodifiable list containing the elements of the specified collection.
Return Type: List
List - get(index)
Function: Returns the element at the specified position in the list.
Return Type: E
List - indexOf(o)
Function: Returns the index of the first occurrence of the specified element in the list, or -1 if it is not found.
Return Type: int
List - isEmpty()
Function: Returns true if the list contains no elements.
Return Type: boolean
List - iterator()
Function: Returns an iterator over the elements in the list.
Return Type: Iterator
List - lastIndexOf(o)
Function: Returns the index of the last occurrence of the specified element in the list, or -1 if it is not found.
Return Type: int
List - of()
Function: Creates an unmodifiable empty list.
Return Type: List
List - of(elements)
Function: Creates an unmodifiable list containing the specified elements.
Return Type: List
List - remove(index)
Function: Removes the element at the specified position in the list.
Return Type: E
List - remove(o)
Function: Removes the first occurrence of the specified element from the list, if it is present.
Return Type: boolean
List - removeAll(c)
Function: Removes from the list all elements that are also contained in the specified collection.
Return Type: boolean
List - set(index, element)
Function: Replaces the element at the specified position in the list with the specified element.
Return Type: E
List - size()
Function: Returns the number of elements in the list.
Return Type: int
List - sort(c)
Function: Sorts the list according to the order imposed by the specified comparator.
Return Type: None
List - subList(fromIndex,toIndex)
Function: Returns a view of the portion of the list between the specified fromIndex, inclusive, and toIndex, exclusive.
Return Type: View - an object that shows or accesses existing data without creating a separate independent copy.
List - stream()
Function: Returns a sequential stream with the list as its source.
Return Type: Stream
List - forEach(action)
Function: Performs the given action for each element of the list.
Return Type: None
List - removeIf(filter)
Function: Removes all elements of the list that satisfy the given predicate.
Return Type: boolean
List - replaceAll(operator)
Function: Replaces each element of the list with the result of applying the given operator to that element.
Return Type: None
Set - add(e)
Function: Adds the specified element to the set if it is not already present.
Return Type: boolean
Set - addAll(c)
Function: Adds all elements in the specified collection to the set if they are not already present.
Return Type: boolean
Set - clear()
Function: Removes all elements from the set.
Return Type: None
Set - contains(o)
Function: Returns true if the set contains the specified element.
Return Type: boolean
Set - containsAll(c)
Function: Returns true if the set contains all elements in the specified collection.
Return Type: boolean
Set - copyOf(coll)
Function: Creates an unmodifiable set containing the elements of the specified collection. This is a static factory method.
Return Type: Set
Set - isEmpty()
Function: Returns true if the set contains no elements.
Return Type: boolean
Set - iterator()
Function: Returns an iterator over the elements in the set. The iteration order is not guaranteed unless the specific set implementation guarantees it.
Return Type: Iterator
Set - of()
Function: Creates an unmodifiable empty set. This is a static factory method.
Return Type: Set
Set - of(elements)
Function: Creates an unmodifiable set containing the specified elements. This is a static factory method.
Return Type: Set
Set - remove(o)
Function: Removes the specified element from the set if it is present.
Return Type: boolean
Set - removeAll(c)
Function: Removes from the set all elements that are also contained in the specified collection.
Return Type: boolean
Set - retainAll(c)
Function: Retains only the elements in the set that are also contained in the specified collection.
Return Type: boolean
Set - size()
Function: Returns the number of elements in the set.
Return Type: int
Set - stream()
Function: Returns a sequential stream with the set as its source.
Return Type: Stream
Set - forEach(action)
Function: Performs the given action for each element of the set.
Return Type: None
Set - removeIf(filter)
Function: Removes all elements of the set that satisfy the given predicate.
Return Type: boolean
Map - clear()
Function: Removes all key-value mappings from the map.
Return Type: None
Map - containsKey(key)
Function: Returns true if the map contains a mapping for the specified key.
Return Type: boolean
Map - containsValue(value)
Function: Returns true if the map maps one or more keys to the specified value.
Return Type: boolean
Map - copyOf(map)
Function: Creates an unmodifiable map containing the mappings of the specified map. This is a static factory method.
Return Type: Map
Map - entry(k, v)
Function: Creates an unmodifiable key-value entry containing the specified key and value. This is a static factory method.
Return Type: Map.Entry
Map - entrySet()
Function: Returns a set view of the key-value mappings contained in the map.
Return Type: Set>
Map - get(key)
Function: Returns the value associated with the specified key, or null if the key is not mapped.
Return Type: V
Map - getOrDefault(key, defaultValue)
Function: Returns the value associated with the specified key, or the given default value if the key is not mapped.
Return Type: V
Map - isEmpty()
Function: Returns true if the map contains no key-value mappings.
Return Type: boolean
Map - keySet()
Function: Returns a set view of the keys contained in the map.
Return Type: Set
Map - of()
Function: Creates an unmodifiable empty map. This is a static factory method.
Return Type: Map
Map - of(k,v,..k,v)
Function: Creates an unmodifiable map containing the specified key-value mappings. This is a static factory method.
Return Type: Map
Map - ofEntries(entries)
Function: Creates an unmodifiable map containing the mappings in the specified entries. This is a static factory method.
Return Type: Map
Map - put(key, value)
Function: Associates the specified value with the specified key in the map.
Return Type: V
Map - putAll(m)
Function: Copies all mappings from the specified map into this map.
Return Type: None
Map - putIfAbsent(key,value)
Function: Associates the specified value with the specified key only if the key is not already mapped or is mapped to null.
Return Type: V
Map - remove(key)
Function: Removes the mapping for the specified key from the map if it is present.
Return Type: V
Map - size()
Function: Returns the number of key-value mappings in the map.
Return Type: int
Map - values()
Function: Returns a collection view of the values contained in the map.
Return Type: Collection
Map - forEach(action)
Function: Performs the given action for each key-value mapping in the map.
Return Type: None
Map - replaceAll(function)
Function: Replaces each value in the map with the result of applying the given function to that key and value.
Return Type: None
Map - merge(key,value,remappingFunction)
Function: If the key is not already mapped or is mapped to null, associates it with the given value. Otherwise, replaces the value with the result of the remapping function.
Return Type: V
Map - compute(key,remappingFunction)
Function: Computes a new mapping for the specified key using the given remapping function.
Return Type: V
Map - computeIfAbsent(key,mappingFunction)
Function: If the specified key is not already mapped or is mapped to null, computes its value using the given mapping function and enters it into the map.
Return Type: V
Map - computeIfPresent(key,remappingFunction)
Function: If the specified key is present and mapped to a non-null value, computes a new mapping using the given remapping function.
Return Type: V
Map.Entry - getKey()
Function: Returns the key corresponding to this entry.
Return Type: K
Map.Entry - getValue()
Function: Returns the value corresponding to this entry.
Return Type: V
Math - min(a,b)
Function: Returns the smaller of the two given values.
Return Type: same type as the arguments
Math - max(a,b)
Function: Returns the larger of the two given values.
Return Type: same type as the arguments
String - codePointAt(index)
Function: Returns the Unicode code point value at the specified index.
Return Type: int
String - codePoints()
Function: Returns a stream of Unicode code point values from the string.
Return Type: IntStream
String - compareTo(anotherString)
Function: Compares two strings lexicographically.
Return Type: int
String - compareToIgnoreCase(str)
Function: Compares two strings lexicographically, ignoring case differences.
Return Type: int
String - contains(s)
Function: Returns true if the string contains the specified sequence of characters.
Return Type: boolean
String - endsWith(suffix)
Function: Returns true if the string ends with the specified suffix.
Return Type: boolean
String - equalsIgnoreCase(anotherString)
Function: Compares this string to another string, ignoring case differences.
Return Type: boolean
String - formatted(args)
Function: Returns a formatted string using this string as the format pattern and the given arguments.
Return Type: String
String - indexOf(str)
Function: Returns the index of the first occurrence of the specified substring, or -1 if it is not found.
Return Type: int
String - indexOf(str, fromIndex)
Function: Returns the index of the first occurrence of the specified substring, starting the search at the given index, or -1 if it is not found.
Return Type: int
String - isBlank()
Function: Returns true if the string is empty or contains only whitespace characters.
Return Type: boolean
String - isEmpty()
Function: Returns true if the string has length 0.
Return Type: boolean
String - lastIndexOf(str)
Function: Returns the index of the last occurrence of the specified substring, or -1 if it is not found.
Return Type: int
String - lastIndexOf(str, fromIndex)
Function: Returns the index of the last occurrence of the specified substring, searching backward starting at the given index, or -1 if it is not found.
Return Type: int
String - length()
Function: Returns the number of characters in the string.
Return Type: int
String - lines()
Function: Returns a stream of lines extracted from the string.
Return Type: Stream
String - repeat(count)
Function: Returns a string whose value is this string repeated the specified number of times.
Return Type: String
String - replace(target, replacement)
Function: Returns a new string resulting from replacing all occurrences of the target sequence with the replacement sequence.
Return Type: String
String - split(regex)
Function: Splits the string around matches of the given regular expression.
Return Type: String[]
String - startsWith(prefix)
Function: Returns true if the string starts with the specified prefix.
Return Type: boolean
String - startsWith(prefix, toffset)
Function: Returns true if the substring beginning at the specified index starts with the given prefix.
Return Type: boolean
String - substring(beginIndex)
Function: Returns a new string that begins at the specified index and continues to the end of the string.
Return Type: String
String - substring(beginIndex, endIndex)
Function: Returns a new string that contains characters from the specified begin index up to, but not including, the end index.
Return Type: String
String - toLowerCase()
Function: Returns a new string with all characters converted to lowercase.
Return Type: String
String - toUpperCase()
Function: Returns a new string with all characters converted to uppercase.
Return Type: String
String - trim()
Function: Returns a new string with leading and trailing whitespace removed.
Return Type: String
Integer - compare(x, y)
Function: Compares the two specified int values numerically.
Return Type: int