public abstract static class IloCplex.Annotation
extends java.lang.Object
public final boolean isValid()
The various overloads of
findLongAnnotation and findDoubleAnnotation
can return invalid references.
Moreover, a valid reference can be invalidated if the referenced
annotation is deleted by means of the method delAnnotation.
true if this instance is a valid reference to
an annotation or false otherwise.public final boolean equals(java.lang.Object other)
other
refer to the same annotation.
Invalid annotations are not equal to anything, not even to another invalid annotation.
equals in class java.lang.Objectother - The annotation to test.true if this instance and other
refer to the same annotation, false otherwise.public final int hashCode()
hashCode in class java.lang.Object