Package jline.api.mam

Class Mmap_superKt

  • All Implemented Interfaces:

    
    public final class Mmap_superKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • mmap_super

         final static MatrixCell mmap_super(MatrixCell MMAPa, MatrixCell MMAPb, String opt)

        Combines two MMAPs into one superposed MMAP.

        This method creates a superposed MMAP from two given MMAPs (MMAPa and MMAPb). Depending on the option specified:

        • "default": Treats the MMAPs as unrelated, and each class in MMAPa and MMAPb is considered distinct in the resulting superposed MMAP.

        • "match": Assumes that MMAPa and MMAPb have the same number of classes and maps corresponding classes from both into the same class in the superposed MMAP.

        Parameters:
        MMAPa - the first MMAP
        MMAPb - the second MMAP
        opt - "default" for unrelated MMAPs, "match" for matching classes
        Returns:

        a new MMAP representing the superposition of the input MMAPs

      • mmap_super

         final static MatrixCell mmap_super(MatrixCell MMAPa, MatrixCell MMAPb)

        Combines two MMAPs into one superposed MMAP using the default option.

        Parameters:
        MMAPa - the first MMAP
        MMAPb - the second MMAP
        Returns:

        a new MMAP representing the superposition of the input MMAPs

      • mmap_super

         final static MatrixCell mmap_super(MatrixCell MMAPa)

        Combines a list of MMAPs into one superposed MMAP.

        This method removes null entries from the list and then superposes the remaining MMAPs.

        Parameters:
        MMAPa - the list of MMAPs to be combined
        Returns:

        a new MMAP representing the superposition of the input MMAPs