VOOZH about

URL: https://www.javacodegeeks.com/author/fahd-shariff/page/3

⇱ Fahd Shariff, Author at Java Code Geeks - Page 3 of 6


  • Core Java👁 Image
    Fahd ShariffJanuary 15th, 2019
    1 2,315

    Java 11: Converting a Collection to an Array

    In Java 11, a new default method, toArray(IntFunction), has been added to the java.util.Collection interface, which allows the collection’s elements…

    Read More »
  • Core Java👁 Image
    Fahd ShariffJanuary 3rd, 2019
    1 259

    Java 11: Running single-file programs and “shebang” scripts

    In Java 11, the java launcher has been enhanced to run single-file source code programs directly, without having to compile…

    Read More »
  • Core Java👁 spring-interview-questions-answers
    Fahd ShariffDecember 29th, 2018
    0 3,326

    Java: Streaming a JDBC ResultSet as CSV

    In my previous post, I showed how to convert a java.sql.ResultSet to JSON and stream it back to the caller.…

    Read More »
  • Core Java👁 Image
    Fahd ShariffDecember 28th, 2018
    0 159

    Java 11: New HTTP Client API

    In Java 11, the incubated HTTP Client API first introduced in Java 9, has been standardised. It makes it easier…

    Read More »
  • Core Java👁 Image
    Fahd ShariffSeptember 17th, 2018
    1 2,671

    Java: Streaming a JDBC ResultSet as JSON

    This post shows how you can convert a java.sql.ResultSet to JSON and stream it back to the caller. This is…

    Read More »
  • Core Java👁 Image
    Fahd ShariffSeptember 10th, 2018
    5 7,921

    Java: Mocking a ResultSet using Mockito

    This post shows how you can mock a java.sql.ResultSet using Mockito. It can be used to help unit test code…

    Read More »
  • Core Java👁 Image
    Fahd ShariffJune 4th, 2018
    0 107

    Java 10: Collecting a Stream into an Unmodifiable Collection

    Java 10 introduces several new methods to facilitate the creation of unmodifiable collections. The List.copyOf, Set.copyOf, and Map.copyOf methods create…

    Read More »
  • Core Java👁 Image
    Fahd ShariffMay 29th, 2018
    0 286

    Java 10: The “var” keyword

    Java 10 has introduced local variable type inference with the keyword var. This means that instead of writing: Map<Department, List<Employee>>…

    Read More »
  • Core Java👁 Image
    Fahd ShariffMarch 12th, 2018
    0 3,317

    JUnit Hamcrest Matcher for JSON

    This post shows how you can write JUnit tests to check if an object matches a JSON string. This is…

    Read More »
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
  • ...
  • Last
Back to top button
Close