Interface VersionedNamespace<V extends Comparable<V>,​N extends VersionedFeature<V,​N>>

    • Method Detail

      • createURN

        static <V extends Comparable<V>,​N extends VersionedFeature<V,​N>> VersionedNamespace<V,​N> createURN​(List<String> identifiers,
                                                                                                                             V version,
                                                                                                                             Function<V,​String> versionFormatter)
        Creates a URN using the specified identifiers, version, and version formatter.
        Type Parameters:
        V - the version type
        N - the namespace type
        Parameters:
        identifiers - a list of namespace identifiers
        version - a version
        versionFormatter - a version formatter
        Returns:
        a versioned URN
      • createURN

        static <V extends Comparable<V>,​N extends VersionedFeature<V,​N>> VersionedNamespace<V,​N> createURN​(List<String> identifiers,
                                                                                                                             Stability stability,
                                                                                                                             V version,
                                                                                                                             Function<V,​String> versionFormatter)
        Creates a URN using the specified identifiers, stability, version, and version formatter.
        Type Parameters:
        V - the version type
        N - the namespace type
        Parameters:
        identifiers - a list of namespace identifiers
        stability - the stabilty of this namespace version variant
        version - a version
        versionFormatter - a version formatter
        Returns:
        a versioned URN