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.
Functional interface for checking whether a slot is available and free.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisSlotAvailableAndFree(AllocationID allocationId) Returnstrueif a slot with the givenAllocationIDis available and free.
-
Method Details
-
isSlotAvailableAndFree
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
-