About 50 results
Open links in new tab
  1. How do I generate random integers within a specific range in Java ...

    Java 7+ In Java 1.7 or later, the standard way to do this (generate a basic non-cryptographically secure random integer in the range [min, max]) is as follows:

  2. python - Generator functions equivalent in Java - Stack Overflow

    The translation from Python-style generators to Java-style iterators can be automated. If you're willing to accept code generation in your build process, you might be interested in this …

  3. java - Is there a way to configure openapi-generator to use jakarta ...

    Nov 27, 2022 · Discover how to configure OpenAPI Generator to use Jakarta packages during code generation in Java applications.

  4. java - Create a stream that is based on a custom generator/iterator ...

    Aug 12, 2020 · How can I create a Stream that creates a number of items based on a custom generate() method? The question is different from the one referred to. The final result is a …

  5. How to build simple code generator in java - Stack Overflow

    Template Code Generator : Apache Velocity - JET - JET2 Template Code Generator Part 2 : FreeMarker Jet Tutorial - part 1, part2 Doing code generation using StringBuilder / String …

  6. How does the JPA @SequenceGenerator annotation work

    Does this sequence generator make use of the database's increasing numeric value generating capability or generates the number on its own? By using the GenerationType.SEQUENCE …

  7. Java password generator - Stack Overflow

    Nov 2, 2013 · I am trying to create a java program that creates a password, either all lowercase, lowercase and uppercase, lowercase and uppercase and numbers, lowercase and uppercase …

  8. Issue with OpenAPI Generator not respecting `nullable: false` for …

    Sep 13, 2024 · The generated java code doesn't add @NotNull annotation with type specified in generic but it adds them with normal fields. This may be a bug in openapi spring generator.

  9. random - Create a GUID / UUID in Java - Stack Overflow

    Jun 6, 2010 · The Java UUID Generator (JUG) implementation purports to support "all 3 'official' types of UUID as defined by RFC-4122 " ... though the RFC actually defines 4 types and …

  10. java - Can OpenApi Generator generate interface feign clients?

    May 8, 2023 · Can OpenApi Generator generate interface feign clients? Asked 2 years, 9 months ago Modified 1 year, 11 months ago Viewed 12k times