Class Vertex_cxx_0xaccf3424

    • Field Detail

      • SIZE

        public static final int SIZE
      • HASH_SHIFT

        public static final int HASH_SHIFT
    • Constructor Detail

      • Vertex_cxx_0xaccf3424

        public Vertex_cxx_0xaccf3424​(long address)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • copy

        public Vertex<Long> copy()
        Description copied from interface: Vertex
        Return a deep copy of current vertex.
        Specified by:
        copy in interface com.alibaba.fastffi.CXXValueRangeElement<Vertex<Long>>
        Specified by:
        copy in interface Vertex<Long>
        Returns:
        the copied vertex.
      • nativeCopy

        public static @com.alibaba.fastffi.CXXValue long nativeCopy​(long ptr,
                                                                    long rv_base)
      • delete

        public void delete()
        Specified by:
        delete in interface com.alibaba.fastffi.CXXPointer
      • nativeDelete

        public static void nativeDelete​(long ptr)
      • eq

        public boolean eq​(Vertex<Long> vertex)
        Description copied from interface: Vertex
        Judge whether Two vertex id are the same.
        Specified by:
        eq in interface com.alibaba.fastffi.CXXValueRangeElement<Vertex<Long>>
        Specified by:
        eq in interface Vertex<Long>
        Parameters:
        vertex - vertex to compare with.
        Returns:
        equal or not.
      • nativeEq

        public static boolean nativeEq​(long ptr,
                                       long vertex0)
      • getValue

        public Long getValue()
        Description copied from interface: Vertex
        Get vertex id.
        Specified by:
        getValue in interface Vertex<Long>
        Returns:
        vertex id.
      • nativeGetValue

        public static @com.alibaba.fastffi.FFINameAlias("GetValue") long nativeGetValue​(long ptr)
      • inc

        public Vertex<Long> inc()
        Description copied from interface: Vertex
        Note this is not necessary to be a prefix increment
        Specified by:
        inc in interface com.alibaba.fastffi.CXXValueRangeElement<Vertex<Long>>
        Specified by:
        inc in interface Vertex<Long>
        Returns:
        current vertex with vertex.id + 1
      • nativeInc

        public static @com.alibaba.fastffi.CXXReference long nativeInc​(long ptr)
      • setValue

        public void setValue​(Long id)
        Description copied from interface: Vertex
        Set vertex id.
        Specified by:
        setValue in interface Vertex<Long>
        Parameters:
        id - id to be set.
      • nativeSetValue

        public static void nativeSetValue​(long ptr,
                                          long id0)
      • nativeCreateFactory0

        public static long nativeCreateFactory0()