Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Oct 7, 2023
1 parent 486db32 commit fa27eb4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package com.alibaba.graphar.edges;

import com.alibaba.fastffi.CXXPointer;
import com.alibaba.fastffi.CXXValue;
import com.alibaba.fastffi.FFINameAlias;
import com.alibaba.graphar.graphinfo.EdgeInfo;
import com.alibaba.graphar.graphinfo.GraphInfo;
Expand Down Expand Up @@ -101,10 +102,12 @@ static EdgesCollection create(

/** The iterator pointing to the first edge. */
@FFINameAlias("begin")
@CXXValue
EdgeIter begin();

/** The iterator pointing to the past-the-end element. */
@FFINameAlias("end")
@CXXValue
EdgeIter end();

/**
Expand All @@ -130,5 +133,6 @@ static EdgesCollection create(
EdgeIter findDst(long id, EdgeIter from);

/** Get the number of edges in the collection. */
@CXXValue
long size();
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@
public interface OBDEdgesCollection extends EdgesCollection, CXXPointer {
Factory factory = FFITypeFactory.getFactory(OBDEdgesCollection.class);

/** The iterator pointing to the first edge. */
@CXXValue
EdgeIter begin();

/** The iterator pointing to the past-the-end element. */
@CXXValue
EdgeIter end();

/**
* Construct and return the iterator pointing to the first out-going edge of the vertex with
* specific id after the input iterator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@
public interface OBSEdgesCollection extends EdgesCollection, CXXPointer {
Factory factory = FFITypeFactory.getFactory(OBSEdgesCollection.class);

/** The iterator pointing to the first edge. */
@CXXValue
EdgeIter begin();

/** The iterator pointing to the past-the-end element. */
@CXXValue
EdgeIter end();

/**
* Construct and return the iterator pointing to the first out-going edge of the vertex with
* specific id after the input iterator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@
public interface UBDEdgesCollection extends EdgesCollection, CXXPointer {
Factory factory = FFITypeFactory.getFactory(UBDEdgesCollection.class);

/** The iterator pointing to the first edge. */
@CXXValue
EdgeIter begin();

/** The iterator pointing to the past-the-end element. */
@CXXValue
EdgeIter end();

/**
* Construct and return the iterator pointing to the first out-going edge of the vertex with
* specific id after the input iterator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@
public interface UBSEdgesCollection extends EdgesCollection, CXXPointer {
Factory factory = FFITypeFactory.getFactory(UBSEdgesCollection.class);

/** The iterator pointing to the first edge. */
@CXXValue
EdgeIter begin();

/** The iterator pointing to the past-the-end element. */
@CXXValue
EdgeIter end();

/**
* Construct and return the iterator pointing to the first out-going edge of the vertex with
* specific id after the input iterator.
Expand Down

0 comments on commit fa27eb4

Please sign in to comment.