Interface IdBuilderInt

    • Method Detail

      • build

        @Deprecated
        default Integer build​(Set<Integer> existing)
        Deprecated.
        use build(IntSet) instead to avoid unnecessary un/boxing
        Builds a unique identifier for a vertex or an edge.
        Specified by:
        build in interface IdBuilder<Integer>
        Parameters:
        existing - the identifiers of the vertices or edges already in the graph
        Returns:
        a unique identifier
      • build

        int build​(IntSet existing)
        Builds a unique identifier for a vertex or an edge.
        Parameters:
        existing - the identifiers of the vertices or edges already in the graph
        Returns:
        a unique identifier