Interface NamedContainerManagerWithUniqueNames<C extends AbstractContainer>

    • Method Detail

      • getUniqueName

        String getUniqueName​(HashSet<String> names,
                             String name)
        Creates a unique name from of the given one, if necessary, testing against the specified names.
        names - the names to test uniqueness against
        name - the name to make unique
        the unique name
      • updateName

        C updateName​(C c,
                     C old)
        Updates the name of the container, i.e., gives it a unique name.
        c - the container to process
        old - the old container this one is replacing, can be null
        the updated container (for convenience)