org.pdfsam.console.business.dto
Class Bounds
java.lang.Object
org.pdfsam.console.business.dto.Bounds
- All Implemented Interfaces:
- java.io.Serializable
public class Bounds
- extends java.lang.Object
- implements java.io.Serializable
Maps the limit of the concat command, start and end
- Author:
- Andrea Vacondio
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Bounds
public Bounds()
Bounds
public Bounds(int start,
int end)
- Parameters:
start
- end
-
getStart
public int getStart()
- Returns:
- the start
setStart
public void setStart(int start)
- Parameters:
start
- the start to set
getEnd
public int getEnd()
- Returns:
- the end
setEnd
public void setEnd(int end)
- Parameters:
end
- the end to set
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
intersects
public boolean intersects(Bounds bounds)
- Parameters:
bounds
-
- Returns:
- true if the input bounds intersects this Bounds instance