#javaDev içeren gönderiler

#javaDev

X'te #javaDev kullanan herkese açık gönderiler.

İlgili etiketler

  1. Mario Casari✓@mario_casari
    Java tip : Starting from Java 19 you can explore a feature called "virtual threads". ✅ Virtual threads are lightweight threads managed by the JVM rather than the OS. #Java #JavaDev
    İndir
    114983.7K
  2. Mario Casari✓@mario_casari
    🚀 Spring Boot: Spring Data JPA has a built-in support for pagination with Pageable. ✅You should use pagination in your repositories instead of fetching all. #SpringBoot #JavaDev
    İndir
    5231685.6K
  3. Mario Casari✓@mario_casari
    🚀 Java: A very interesting library by named Sift, replaces the cryptic, string-based approach of the Java Regex engine with a fluent API. #Java #JavaDev 🧵A link to the GitHub project to follow
    İndir
    510814K
  4. Mario Casari✓@mario_casari
    Java Tip💡: Starting from Java 14 you can use "record" to create short, immutable, data-carrying objects. ✅ They are shorter than ordinary POJOs ✅ They have built-in equals(), hashCode(), toString() ✅ They are immutable by default #Java #JavaDev
    İndir
    9111114.5K
  5. Mario Casari✓@mario_casari
    💡 Java tip: Records are not limited to data only, you can add custom constructors or methods for validation. #Java #JavaDev
    İndir
    2141416K
  6. Mario Casari✓@mario_casari
    💡 Spring Boot: Better avoid logging inside tight loops, since you could affect the application performance and flood log files. #SpringBoot #JavaDev
    İndir
    23611.9K
  7. Mario Casari✓@mario_casari
    ⌛️⏲️ Java tip: Instant.truncatedTo(...) is useful for comparing times at minute/hour/day precision. ✅ It avoids equality checks failing due to overly precise values. #Java #JavaDev
    İndir
    012722.2K
  8. Mario Casari✓@mario_casari
    💡Java: Use Deque instead of Stack for LIFO (last-in, first-out) lists. ✅ Stack is a legacy class, it extends Vector and synchronizes every operation ✅ Deque supports the same push, pop, peek calls ✅ ArrayDeque is faster than Stack #JavaDev
    İndir
    07451.8K
  9. Mario Casari✓@mario_casari
    💡 Java tip: From Java 9 you can use Objects.checkIndex(...) to replace manual if checks for validating index bounds. ✅It is a small feature that helps making the code cleaner. #Java #JavaDev
    İndir
    26741.9K
  10. Mario Casari✓@mario_casari
    Java tip: Starting from Java 9 you can use Stream.takeWhile() for easy slicing of lists by streams. #Java #JavaDev
    İndir
    310923K
  11. Mario Casari✓@mario_casari
    🚀 Spring Boot: To make Jackson create your objects from JSON in an explicit, and predictable way, you can use @JsonCreator. 🟢 Each parameter is explicitly bound #SpringBoot #JavaDev
    İndir
    27883.6K
  12. Daha fazla gönderi göster