org.vertexium.inmemory.InMemoryEdgeTable Maven / Gradle / Ivy
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