Class MergedPairsInclude

Object
MergedPairsInclude

public final class MergedPairsInclude extends Object
Specifies which parts of a merged pair to include in calculations.

This class allows for selective inclusion of the first object, second object, and/or the merged object in feature calculations.

  • Constructor Details

    • MergedPairsInclude

      public MergedPairsInclude()
      Constructs a MergedPairsInclude with all options set to true.
    • MergedPairsInclude

      public MergedPairsInclude(boolean includeFirst, boolean includeSecond, boolean includeMerged)
      Constructs a MergedPairsInclude with specified inclusion options.
      Parameters:
      includeFirst - whether to include the first object
      includeSecond - whether to include the second object
      includeMerged - whether to include the merged object
  • Method Details

    • includeFirstOrSecond

      public boolean includeFirstOrSecond()
      Checks if either the first or second object should be included.
      Returns:
      true if either the first or second object should be included, false otherwise
    • includeFirst

      public boolean includeFirst()
      Checks if the first object should be included.
      Returns:
      true if the first object should be included, false otherwise
    • includeSecond

      public boolean includeSecond()
      Checks if the second object should be included.
      Returns:
      true if the second object should be included, false otherwise
    • includeMerged

      public boolean includeMerged()
      Checks if the merged object should be included.
      Returns:
      true if the merged object should be included, false otherwise