All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
InEvaluator

public class In extends BinaryExpression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The In operator tests for membership in an interval or list. There are two overloads of this operator: T, List : The type of T must be the same as the element type of the list. T, Interval : The type of T must be the same as the point type of the interval. For the T, List overload, this operator returns true if the given element is in the given list, using equality semantics. For the T, Interval overload, this operator returns true if the given point is equal to the starting or ending point of the interval, or greater than the starting point and less than the ending point. For open interval boundaries, exclusive comparison operators are used. For closed interval boundaries, if the interval boundary is null, the result of the boundary comparison is considered true. If precision is specified and the point type is a Date, DateTime, or Time type, comparisons used in the operation are performed at the specified precision. If the first argument is null, the result is null. If the second argument is null the result is false.

Java class for In complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="In">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}BinaryExpression">
       <attribute name="precision" type="{urn:hl7-org:elm:r1}DateTimePrecision" />
     </extension>
   </complexContent>
 </complexType>