Class ClipKey

java.lang.Object
org.apache.batik.svggen.ClipKey

class ClipKey extends Object
Inner class used to key clip definitions in a Map. This is needed because we need to test equality on the value of GeneralPath and GeneralPath's equal method does not implement that behavior.
  • Field Details

    • hashCodeValue

      int hashCodeValue
      This clip hash code. Based on the serialized path data
  • Constructor Details

  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Returns:
      this object's hashcode
    • equals

      public boolean equals(Object clipKey)
      Overrides:
      equals in class Object
      Parameters:
      clipKey - object to compare
      Returns:
      true if equal, false otherwise