public abstract class JDFRange extends Object implements JDFBaseDataTypes
JDFBaseDataTypes.EnumFitsValue
EPSILON, MAX_CMYK_COLOR, MAX_LAB_COLOR, MAX_MATRIX_DIMENSION, MAX_RECTANGLE_DIMENSION, MAX_RGB_COLOR, MAX_SHAPE_DIMENSION, MAX_XY_DIMENSION
Constructor and Description |
---|
JDFRange() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
equals - returns true if both JDFDateTimeRange are equal, otherwise false
|
protected abstract Object |
getLeftObject() |
protected abstract Object |
getRightObject() |
String |
getString(int precision)
get a string with precision digits after each decimal
|
int |
hashCode()
hashCode: complements equals() to fulfill the equals/hashCode contract
|
protected boolean |
inObjectRange(Object other) |
abstract boolean |
isPartOfRange(JDFRange ra)
isPartOfRange - is range 'ra' within this range?
|
public abstract boolean isPartOfRange(JDFRange ra)
ra
- the range to testpublic boolean equals(Object other)
public int hashCode()
protected abstract Object getRightObject()
protected abstract Object getLeftObject()
protected boolean inObjectRange(Object other)
public String getString(int precision)
precision
- Copyright © 2018. All rights reserved.