All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.inmemory.InMemoryEdgeTable Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.inmemory;

import org.vertexium.util.ConvertingIterable;

import java.util.Map;

public class InMemoryEdgeTable extends InMemoryTable {
    public InMemoryEdgeTable(Map> rows) {
        super(rows);
    }

    public InMemoryEdgeTable() {
    }

    @Override
    protected InMemoryTableElement createInMemoryTableElement(String id) {
        return new InMemoryTableEdge(id);
    }

    public Iterable getAllTableElements() {
        return new ConvertingIterable, InMemoryTableEdge>(super.getRowValues()) {
            @Override
            protected InMemoryTableEdge convert(InMemoryTableElement o) {
                return (InMemoryTableEdge) o;
            }
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy