Interface ResourceUnitSelectionRuleIfc

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ResourceUnitSelectionRuleIfc
    Used to define a general way of selecting a resource unit from a list
    • Method Detail

      • selectAvailableResource

        ResourceUnit selectAvailableResource​(java.util.List<ResourceUnit> list)
        Selects an available resource from the list
        Parameters:
        list - the list to select from
        Returns:
        the selected ResourceUnit or null