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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSlotAvailableAndFree(AllocationID allocationId)Returnstrueif a slot with the givenAllocationIDis available and free.
-
-
-
Method Detail
-
isSlotAvailableAndFree
boolean isSlotAvailableAndFree(AllocationID allocationId)
Returnstrueif a slot with the givenAllocationIDis available and free.- Parameters:
allocationId- allocationId specifies the slot to check- Returns:
trueif a slot with the given allocationId is available and free; otherwisefalse
-
-