Business Client need Software Development

Contact person: Business Client

Phone:Show

Email:Show

Location: Manchester, United Kingdom

Budget: Recommended by industry experts

Time to start: As soon as possible

Project description:
"I want a clean, well-documented Java class that behaves as an in-memory cache for up to 500 String entries. Once the cache reaches that capacity, the least recently used element must be evicted automatically so that the size never exceeds 500. I’m fine with you choosing a standard approach—LinkedHashMap, a custom doubly-linked list plus HashMap mix, or a library such as Caffeine—as long as the behaviour is 100 % LRU and access (get/put) runs in O(1).

Thread-safety matters because the cache will sit behind a small REST endpoint in a Spring Boot service. Please keep the API simple:

• put(String key, String value)
• Optional<String> get(String key)
• int size()

Deliverables
1. Source code in a single Maven or Gradle project, Java 11+.
2. JUnit tests covering hits, misses, eviction order, and basic concurrency.
3. A short README that shows how to build, run the tests, and integrate the class in another project.

I’m ready to review pull requests on GitHub or accept a ZIP—whatever is easier for you. Let me know if anything is unclear before you start." (client-provided description)


Matched companies (2)

...

Codetreasure Co

🚀 Your Expert Partner for Mobile & Web App Development Unlock the full potential of your business with Codetreasure —a leading provider of tailored … Read more

...

eShop Genius

We’re in the industry With the experience of 12+years created more than 1200 stores and have build brands! At eShop Genius, we are an ISO certi… Read more