Interface MapInstantiator<C extends Map<?,​?>,​R extends Map<?,​?> & RecordingContainer<? extends C>>

Type Parameters:
C - The map type
R - The recording container type

public interface MapInstantiator<C extends Map<?,​?>,​R extends Map<?,​?> & RecordingContainer<? extends C>>
An instantiator for normal, recording and JPA maps for an entity view attribute.
Since:
1.5.0
Author:
Christian Beikov
  • Method Summary

    Modifier and Type Method Description
    C createMap​(int size)
    Creates a plain map.
    R createRecordingMap​(int size)
    Creates a recording map.
  • Method Details

    • createMap

      C createMap​(int size)
      Creates a plain map.
      Parameters:
      size - The size estimate
      Returns:
      the map
    • createRecordingMap

      R createRecordingMap​(int size)
      Creates a recording map.
      Parameters:
      size - The size estimate
      Returns:
      the recording map