Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Nov 14, 2023
1 parent 0e24c40 commit b072de8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
import com.esotericsoftware.kryo.io.Output;
import java.util.concurrent.atomic.AtomicInteger;

/**
* A custom serializer for an {@link AtomicInteger}.
* <p>
* Required for writing the stop index counter to the graph, so we later can create new stops.
*/
public class AtomicIntegerSerializer extends Serializer<AtomicInteger> {
@Override
public void write(Kryo kryo, Output output, AtomicInteger obj) {
Expand Down

0 comments on commit b072de8

Please sign in to comment.