Enum AdjListType

    • Enum Constant Detail

      • unordered_by_source

        public static final AdjListType unordered_by_source
        collection of edges by source, but unordered, can represent COO format
      • unordered_by_dest

        public static final AdjListType unordered_by_dest
        collection of edges by destination, but unordered, can represent COO
      • ordered_by_source

        public static final AdjListType ordered_by_source
        collection of edges by source, ordered by source, can represent CSR format
      • ordered_by_dest

        public static final AdjListType ordered_by_dest
        collection of edges by destination, ordered by destination, can represent CSC format
    • Method Detail

      • values

        public static AdjListType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AdjListType c : AdjListType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AdjListType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • get

        public static AdjListType get​(int binaryValue)
      • adjListType2String

        public static String adjListType2String​(AdjListType adjListType)
      • getValue

        public int getValue()
        Specified by:
        getValue in interface com.alibaba.fastffi.CXXEnum