getNextLongInRange() — spring-boot Function Reference
Architecture documentation for the getNextLongInRange() function in RandomValuePropertySource.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c2543c04_24c8_aa1a_50ba_0f0e01a01a43["getNextLongInRange()"] 383d22e1_d782_5263_db71_52cac58d329d["getRandomValue()"] 383d22e1_d782_5263_db71_52cac58d329d -->|calls| c2543c04_24c8_aa1a_50ba_0f0e01a01a43 9e2183f1_d07b_8dd9_45d3_ba5ea4ef41c1["getMin()"] c2543c04_24c8_aa1a_50ba_0f0e01a01a43 -->|calls| 9e2183f1_d07b_8dd9_45d3_ba5ea4ef41c1 4eb89152_f8b0_bfb6_be4f_e3789f7e6a3a["getMax()"] c2543c04_24c8_aa1a_50ba_0f0e01a01a43 -->|calls| 4eb89152_f8b0_bfb6_be4f_e3789f7e6a3a ba0be01d_2942_12f0_0fad_1663774ab4f3["assertPresent()"] c2543c04_24c8_aa1a_50ba_0f0e01a01a43 -->|calls| ba0be01d_2942_12f0_0fad_1663774ab4f3 style c2543c04_24c8_aa1a_50ba_0f0e01a01a43 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/env/RandomValuePropertySource.java lines 131–135
private long getNextLongInRange(Range<Long> range) {
OptionalLong first = getSource().longs(1, range.getMin(), range.getMax()).findFirst();
assertPresent(first.isPresent(), range);
return first.getAsLong();
}
Domain
Subdomains
Calls
- assertPresent()
- getMax()
- getMin()
Called By
Source
Frequently Asked Questions
What does getNextLongInRange() do?
getNextLongInRange() is a function in the spring-boot codebase.
What does getNextLongInRange() call?
getNextLongInRange() calls 3 function(s): assertPresent, getMax, getMin.
What calls getNextLongInRange()?
getNextLongInRange() is called by 1 function(s): getRandomValue.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free