class Int2IntRecord implements Record {

    private final IntMap layer;

    public Int2IntRecord() {
        this.layer = CollectionFactory.newIntMap();
    }

    @Override
    public IntIterator keys() {
        return this.layer.keys();
    }

    @Override
    public boolean containsKey(int node) {
        return this.layer.containsKey(node);
    }

    @Override
    public IntIterator get(int node) {<FILL_FUNCTION_BODY>}

    @Override
    public void addPath(int node, int parent) {
        this.layer.put(node, parent);
    }

    @Override
    public int size() {
        return this.layer.size();
    }

    @Override
    public boolean concurrent() {
        return this.layer.concurrent();
    }

    public IntMap layer() {
        return this.layer;
    }

    @Override
    public String toString() {
        return this.layer.toString();
    }
}

        int value = this.layer.get(node);
        if (value == IntMap.NULL_VALUE) {
            return IntIterator.EMPTY;
        }
        return IntIterator.wrap(value);
    
<no_super_class>