CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 08:36:55 GMT
content-type: text/html; charset=utf-8
cf-ray: 96529271586795be-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=8437f3f3-4ef7-4242-adf9-b4b942bcf496; expires=Sun, 26 Jul 2026 08:36:54 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: ee1b2b62-293a-4295-b5d9-40b21411b1ae
x-worker-origin-response-time: 650000000
x-dns-prefetch-control: off
set-cookie: prov=8437f3f3-4ef7-4242-adf9-b4b942bcf496; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=St2K2XL.8oQy3oZg8fGNe4ODBukAkCT7e1a7Q9d8Nwo-1753519015-1.0.1.1-DUBI.gAcvEJe9WrrBpi5AGRKFFXo5aAlhRZpJN7ykueGbDCTllgNQNhdmk8vKoze48AGIaqkHBxAQ7uIOXv4FXc3diZT1He0NbI7N99x9qk; path=/; expires=Sat, 26-Jul-25 09:06:55 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=e1bYYf7IaFTod..yhYYJlJRIBgUrYdpTczq10AbZ2SQ-1753519015286-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'java' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [java]
Java (not to be confused with JavaScript) is a class-based, object-oriented, strongly typed, reflective language and run-time environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM) enabling a "write once, run anywhere" (WORA) methodology.
10,854 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
76
views
Code to add order orderitems and payment details
This is order, orderitems and payment linked by foreign key.
Controller:
...
1
vote
0
answers
75
views
SimpleStackMachine.java - A virtual stack machine written in Java
In this post, I present my most recent result, a stack-based virtual machine programmed in Java. Frankly, I am lazy to write the unit tests since I am pretty much burned out with it. The full ...
1
vote
0
answers
33
views
Lock free Leaky Bucket Rate Limiter
I want to validate my solution for a lock-free leaky bucket rate limiter. Given a queuing capacity and rate limit per second, it should queue requests till capacity is reached and it should allow only ...
0
votes
0
answers
28
views
Spring Boot RabbitMQ Publisher Configuration for Sending JSON Messages
The publisher class:
...
2
votes
3
answers
141
views
Calculating volume expressions of \$n\$ -dimensional balls in Java - follow-up 2
(See the previous iteration.)
This time, I have refactored my code a bit. It follows immediately:
Code
...
4
votes
2
answers
200
views
Calculating volume expressions of n -dimensional balls in Java - follow-up
Intro
(The previous/initial iteration is there.)
(The next iteration is there.)
This time, I have incorporated a nice answer by Martin R.
Updated code
...
4
votes
1
answer
304
views
Calculating volume expressions of \$n\$-dimensional balls in Java
(See the next iteration.)
Intro
This time I have a Java program that prints some expression denoting the volumes of \$n\$-dimensional balls. All the math behind this is there.
Code
...
0
votes
0
answers
45
views
Fixed BIDDFS (bidirectional iterative deepening depth first search) in Java
Intro
I have this GitHub repository for doing pathfinding in directed unweighted graphs. This post is about BIDDFS proposed by Richard Korf in his paper.
Code
...
1
vote
0
answers
59
views
IndexedLinkedList.java - A fast list data structure for large data, Take V/V (the finger list)
Intro
This post is all about so called finger list, which is a data structure for speeding up the
linked-list operations.
Code
...
0
votes
0
answers
7
views
IndexedLinkedList.java - A fast list data structure for large data, Take IV/V (inner classes)
Intro
This post is the continuation of IndexedLinkedList.java - A fast list data structure for large data, Take III/V (private API).
Code
...
0
votes
0
answers
8
views
IndexedLinkedList.java - A fast list data structure for large data, Take III/V (private API)
Intro
This post is the continuation of IndexedLinkedList.java - A fast list data structure for large data, Take II/V (package private API). It presents the private methods only.
Code
...
0
votes
0
answers
11
views
IndexedLinkedList.java - A fast list data structure for large data, Take II/V (package private API)
Intro
This post is the continuation of the IndexedLinkedList series. It presents the package private API:
Code
...
1
vote
1
answer
49
views
IndexedLinkedList.java - A fast list data structure for large data, Take I/V (public API)
Intro
I have this Java implementation of a list data structure that outperforms on a benchmark even the Apache Commons Collection4 TreeList by a factor of 8.
This ...
5
votes
3
answers
719
views
A simple checksum for java.math.BigInteger
Intro
I have a simple methods that converts the input instances of java.math.BigInteger to checksum. The checksum algorithm sums up all the digits in the input <...
0
votes
0
answers
56
views
A parallel MSD radix sort in Java for long keys with near linear speedup
Intro
I have this implementation of a parallel MSD (most significant digit) radix sort. It runs in
$$\mathcal{O}\Bigg( \bigg(\frac{N}{P} + PB \bigg) \log_B \sigma\Bigg),$$ where \$N\$ is the length of ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
algorithm × 1285
performance × 1038
beginner × 1025
object-oriented × 727
android × 659
strings × 638
programming-challenge × 622
array × 500
multithreading × 457
game × 421
swing × 414
interview-questions × 358
design-patterns × 302
tree × 275
sorting × 269
linked-list × 257
optimization × 235
recursion × 220
spring × 220
unit-testing × 191
parsing × 179
concurrency × 175
homework × 174
time-limit-exceeded × 172
comparative-review × 168
more related tags
Hot Network Questions
- spots / stains on tubeless tire
- Current integrator LTSpice simulation
- Lay explaination of 'lower evolutionary constraint genes'?
- Will an error in two of my published papers affect my PhD thesis evaluation?
- How do I create a Chrome profile via the command line that also shows up in the profile switcher?
- Humans on alien planet get tailed by silent humanoids
- Why is time reversal not a natural part of the Galilean group?
- Are classified documents subject to a subpoena in discovery?
- Can a humanoid that fell supine and is then Levitated alter his orientation?
- How much of a really big a spaceship could a nuke take out?
- When did the OEIS get even better?
- tac-command is it a bug or a misinterpretation of the manual?
- Why does the node Bounding Box suddenly produce a different result in version 4.5?
- Why are police personnel of all ranks called officers?
- What does this emblem mean?
- Automatic drawing of polygon around selected polygons in QGIS
- Meaning of 芭蕉 in Tang age
- Source that Eliyahu Hanavi was an angel at the creation
- Is this a violation of open source?
- Can one engage with physics (or science) without touching philosophy?
- Why is 0.0 printed as 0.00001 when rounding upward?
- Not being introduced to the team – should I ask for it?
- I am looking for a French mathematician who contributed to complex analysis
- About Bonferroni correction for adjusted Pearson residuals