Annotation Type HugeSparseList


  • @Target(TYPE)
    @Retention(CLASS)
    public @interface HugeSparseList
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> forAllConsumerType
      The type which is provided to the forAll method.
      java.lang.Class<?> valueType
      The type which is stored in the generated HugeSparseArrayList.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int pageShift
      The page shift defines the page size used in the generated HugeSparseArray.
    • Element Detail

      • valueType

        java.lang.Class<?> valueType
        The type which is stored in the generated HugeSparseArrayList.
      • forAllConsumerType

        java.lang.Class<?> forAllConsumerType
        The type which is provided to the forAll method.
      • pageShift

        int pageShift
        The page shift defines the page size used in the generated HugeSparseArray. The default value of 12 leads so 2^12 = 4096 elements per page (array).
        Default:
        12