Package com.alibaba.graphscope.ds
Interface GrapeAdjList<VID_T,EDATA_T>
-
- All Superinterfaces:
com.alibaba.fastffi.CXXPointer,com.alibaba.fastffi.CXXPointerRange<GrapeNbr<VID_T,EDATA_T>>,com.alibaba.fastffi.CXXRange<GrapeNbr<VID_T,EDATA_T>>,com.alibaba.fastffi.FFIPointer,FFIType,Iterable<GrapeNbr<VID_T,EDATA_T>>,Serializable
- All Known Implementing Classes:
GrapeAdjList_cxx_0x8c030f50,GrapeAdjList_cxx_0xc278e938,GrapeAdjList_cxx_0xc2a41879
public interface GrapeAdjList<VID_T,EDATA_T> extends com.alibaba.fastffi.FFIPointer, com.alibaba.fastffi.CXXPointer, com.alibaba.fastffi.CXXPointerRange<GrapeNbr<VID_T,EDATA_T>>
AdjList is the data structure representing the edges(destination vertex and edge data) of a single vertex. The edges are representing in form ofGrapeNbr.This is a wrapper for C++ AdjList class
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GrapeNbr<VID_T,EDATA_T>begin()Get the begin Nbr.GrapeNbr<VID_T,EDATA_T>begin_pointer()Get the begin Nbr.default GrapeNbr<VID_T,EDATA_T>end()Get the last Nbr.GrapeNbr<VID_T,EDATA_T>end_pointer()Get the last Nbr.@com.alibaba.fastffi.FFINameAlias("Size") longsize()Get the size of this adjList.-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
begin
default GrapeNbr<VID_T,EDATA_T> begin()
Get the begin Nbr.- Specified by:
beginin interfacecom.alibaba.fastffi.CXXRange<VID_T>- Returns:
- the first Nbr.
-
end
default GrapeNbr<VID_T,EDATA_T> end()
Get the last Nbr.- Specified by:
endin interfacecom.alibaba.fastffi.CXXRange<VID_T>- Returns:
- the last Nbr.
-
size
@com.alibaba.fastffi.FFINameAlias("Size") long size()Get the size of this adjList.- Returns:
- size
-
-