Interface IsSlotAvailableAndFreeFunction

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 IsSlotAvailableAndFreeFunction
Functional interface for checking whether a slot is available and free.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if a slot with the given AllocationID is available and free.
  • Method Details

    • isSlotAvailableAndFree

      boolean isSlotAvailableAndFree(AllocationID allocationId)
      Returns true if a slot with the given AllocationID is available and free.
      Parameters:
      allocationId - allocationId specifies the slot to check
      Returns:
      true if a slot with the given allocationId is available and free; otherwise false