Class ConfigurationContextResolver.ResolutionList

  • Enclosing class:
    ConfigurationContextResolver

    private static class ConfigurationContextResolver.ResolutionList
    extends java.lang.Object
    Stores the variables already processed and to be resolved.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • ResolutionList

        private ResolutionList()
    • Method Detail

      • add

        public void add​(IDecisionVariable var)
        Adds a variable.
        Parameters:
        var - the variable
      • contains

        public boolean contains​(IDecisionVariable var)
        Returns whether the list already contains var.
        Parameters:
        var - the variable
        Returns:
        true if var is already contained, false else
      • size

        public int size()
        Returns the number of variables.
        Returns:
        the number of variables
      • get

        public IDecisionVariable get​(int index)
        Returns the variable at the specified position.
        Parameters:
        index - the 0-based position
        Returns:
        the variable