Interface MakeRegion<ATTR extends Values,REGION_TYPE extends ColumnRegion<ATTR>>
- 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 MakeRegion<ATTR extends Values,REGION_TYPE extends ColumnRegion<ATTR>>
-
Method Summary
Modifier and TypeMethodDescriptionmakeRegion
(@NotNull ColumnDefinition<?> columnDefinition, @NotNull ColumnLocation columnLocation, int regionIndex) Get a new or re-usable column region appropriate for this source.
-
Method Details
-
makeRegion
@Nullable REGION_TYPE makeRegion(@NotNull @NotNull ColumnDefinition<?> columnDefinition, @NotNull @NotNull ColumnLocation columnLocation, int regionIndex) Get a new or re-usable column region appropriate for this source.- Parameters:
columnDefinition
- TheColumnDefinition
columnLocation
- TheColumnLocation
regionIndex
- The index of the region to add.- Returns:
- A new or re-usable column region appropriate for this source and the supplied parameters. A null value may be returned, which should be interpreted to mean use a special null column, which has size() 0 and is full of the appropriate "null" value for the column's type.
-