CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: andbin

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    2,796

    Re: StringBuffer with a fixed length in Java

    This is a very particular logic, that is, inserting at the end with possible removal at the start to keep the max length. There is no such thing in the Java SE framework (certainly not in...
  2. Replies
    3
    Views
    823

    Re: need help with json please

    If you can use at least a Java/JDK 11 (or higher), then you can use the new Http Client API (package java.net.http). There is a quick introduction on the openjdk site: Introduction to the Java HTTP...
  3. Replies
    3
    Views
    823

    Re: need help with json please

    Clearly, you have to make https calls to that Rest API. I don't know if that service already provides a Java "client" library for its Rest API. It would be (reasonably) easy to use. For what I can...
  4. Replies
    2
    Views
    2,160

    Re: Java equals() selection

    Sorry for late answer but I regained the login on this forum only today.

    Yes, you get a NullPointerException. And if you want to avoid this, there are some possibilities:

    1) The classic...
  5. Re: What would be the correct code for this program?

    Create the Scanner object only one time ... not on every loop.
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured