Interface DimensionImmutable

    • Method Detail

      • getHeight

        int getHeight()
      • getWidth

        int getWidth()
      • equals

        boolean equals​(Object obj)
        Checks whether two dimensions objects are equal. Two instances of DimensionReadOnly are equal if two components height and width are equal.
        Overrides:
        equals in class Object
        Returns:
        true if the two dimensions are equal; otherwise false.