{ "@context": "https://schema.org", "@graph": [ { "@type": "WebSite", "@id": "https://www.ggorantala.dev/#website", "url": "https://www.ggorantala.dev/", "name": "Gopi Gorantala", "description": "Staff engineer building Kafka and Flink platforms for banking. Production failures traced to root cause." }, { "@type": "Person", "@id": "https://www.ggorantala.dev/#person", "name": "Gopi Gorantala", "url": "https://www.ggorantala.dev/", "jobTitle": "Staff Software Engineer", "worksFor": { "@type": "Organization", "name": "ING Bank" }, "sameAs": [ "https://x.com/ggorantala", "https://www.linkedin.com/in/ggorantala/", "https://github.com/ggorantala", "https://leetcode.com/ggorantala" ] } ] }
Skip to content

Gopi Gorantala

Staff engineer architecting Kafka and Flink platforms for banking, where a dropped event is a reconciliation break, not a retry. Through javahandbook.com, I share production-tested guidance on building reliable event-driven systems.

Members only

Performance Comparison Of StringBuilder vs. String Concatenation

Learn Java StringBuilder vs String concatenation performance! Discover why StringBuilder outperforms + operator in loops, avoid costly intermediate objects, and optimize Java string operations. Includes timing benchmarks & code examples. Master efficient Java string manipulation techniques.

Members only

String, StringBuilder, and StringBuffer

Learn Java String vs StringBuilder vs StringBuffer differences. Master efficient string manipulation with mutable StringBuilder for performance-critical apps. Covers append(), insert(), delete() methods, thread-safety, and when to use each class for optimal Java programming.

Members only

String Immutability

Learn Java String Immutability: Why Java strings are immutable, benefits of thread safety & string pooling, memory impact, performance considerations. Master string consistency, hashcode caching & when to use StringBuilder for efficient Java programming.

Members only

Number Formatting

Learn Java number formatting with NumberFormat and DecimalFormat classes. Master currency formatting, decimal places, thousands separators, and locale-specific displays. Complete tutorial with examples for professional Java string manipulation and number display.

Members only

Parsing Strings To Primitive Types

Learn Java string parsing to primitive types with Integer.parseInt(), Double.parseDouble(), Float.parseFloat() methods. Convert string to int, double, boolean safely using try-catch blocks to handle NumberFormatException. Master Java number conversion techniques.

Members only

String Formatting in Java (%s, %d, %f)

Learn Java String formatting with String.format() method using %s, %d, %f placeholders. Master format specifiers for strings, integers, floats with decimal control, padding, alignment & leading zeros. Complete tutorial with examples for clean, professional Java output.

Members only

String trim(), replace(), split()

Learn essential Java string methods: trim() & strip() for whitespace removal, replace() & replaceAll() for substring replacement, split() to create arrays, & String.join() to recombine. Master Java string manipulation with practical examples.

Members only

Searching And Indexing: indexOf(), lastIndexOf()

Learn Java string searching with indexOf() and lastIndexOf() methods. Master finding characters, substrings, and pattern matching using regular expressions. Complete guide to Java string indexing and search techniques with examples.

Members only

Iteration (using loops)

Learn Java string iteration using for loops and for-each loops. Master charAt() method, toCharArray() conversion, and character array manipulation. Complete guide to iterating through string characters in Java with examples.

Members only

substring()

Learn Java substring() method to extract parts of strings using startIndex & endIndex. Master string manipulation, handle edge cases like IndexOutOfBounds, and optimize performance. Complete tutorial with examples for Java developers.