Class LPVSLicenseService.Conflict<License1,License2>

java.lang.Object
com.lpvs.service.LPVSLicenseService.Conflict<License1,License2>
Type Parameters:
License1 - Type of the first license.
License2 - Type of the second license.
Enclosing class:
LPVSLicenseService

public static class LPVSLicenseService.Conflict<License1,License2> extends Object
Represents a license conflict between two licenses.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The first license in the conflict.
    The second license in the conflict.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a Conflict object with the specified licenses.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compares this Conflict object with another object for equality.
    int
    Generates a hash code value for this Conflict object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • l1

      public License1 l1
      The first license in the conflict.
    • l2

      public License2 l2
      The second license in the conflict.
  • Constructor Details

    • Conflict

      public Conflict(License1 l1, License2 l2)
      Constructs a Conflict object with the specified licenses.
      Parameters:
      l1 - The first license.
      l2 - The second license.
  • Method Details

    • equals

      public boolean equals(Object o)
      Compares this Conflict object with another object for equality.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this Conflict.
      Returns:
      true if the objects are equal, false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code value for this Conflict object. The hash code is computed based on the hash codes of the two licenses.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this Conflict object.