Java String endsWith() The Java String class endsWith() method checks if this string ends with a given suffix. It returns true if…
java
-
-
Java String startsWith() The Java String class startsWith() method checks if this string starts with the given prefix. It returns true if…
-
Java String equals() The Java String class equals() method compares the two given strings based on the content of the string. If…
-
Java String substring() The Java String class substring() method returns a part of the string. We pass beginIndex and endIndex number position…
-
Java ConcurrentLinkedQueue removeIf() Method The removeIf() method of ConcurrentLinkedQueue class removes the elements of this queue that satisfies the given predicate filter.…
- Java ObjectInputStreamJava Tutorial
Java ObjectInputStream registerValidation() Method with Examples
Java ObjectInputStream registerValidation() Method The registerValidation() method of ObjectInputStream class method registers an object to be validated before the graph is returned.…
-
Java ConcurrentLinkedQueue retainAll() method The retainAll() method of ConcurrentLinkedQueue class keeps only those elements in this queue that are present in the…
-
Java List get() Method The get() method of List interface returns the element at the specified position in this list. Syntax public…
-
Java Objectinputstream skipBytes() Method The skipBytes() method of ObjectInputStream class is used to skip the bytes by the numbers passed as the…
-
Java ConcurrentLinkedQueue size() method The size() method of ConcurrentLinkedQueue class returns the total count of the elements present in the queue. Syntax:…