Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
- Dao and Factory implementing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Podoba Alexander committed Sep 26, 2023
1 parent 3a175a5 commit 872d426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/ru/vk/itmo/podobaalexandr/InMemoryDaoImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
import java.util.concurrent.ConcurrentSkipListMap;

public class InMemoryDaoImpl implements Dao<MemorySegment, Entry<MemorySegment>> {
ConcurrentNavigableMap<MemorySegment, Entry<MemorySegment>> memorySegmentEntryMap = new ConcurrentSkipListMap<>(new MyComparator());
ConcurrentNavigableMap<MemorySegment, Entry<MemorySegment>> memorySegmentEntryMap
= new ConcurrentSkipListMap<>(new MyComparator());

@Override
public Iterator<Entry<MemorySegment>> get(MemorySegment from, MemorySegment to) {
Expand Down

1 comment on commit 872d426

@podobaAlex
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style fix

Please sign in to comment.