@Test public void testArrayCompare() { Constant c = new Constant(new ArrayImpl(new Integer[0])); assertEquals(DataTypeManager.getArrayType(DefaultDataClasses.OBJECT), c.getType()); }
public Class<?> getType() { return this.type; }
Constant implements Expression, Comparable<Constant> { public Class<?> getType() { return this.type; } }
Constant implements Expression, Comparable<Constant> { public Class<?> getType() { return this.type; } Constant(Object value, Class<?> type);  Constant(Object value); }
Constant implements Expression, Comparable<Constant> { public Class<?> getType() { return this.type; } Constant(Object value, Class<?> type);  Constant(Object value); Class<?> getType(); void setType(Class<?> type); Object getValue(); boolean isNull(); void setMultiValued(List<?> value); boolean isMultiValued(); void acceptVisitor(LanguageVisitor visitor); boolean equals(Object obj); int hashCode(); Object clone(); String toString(); @Override int compareTo(Constant o); boolean isBindEligible(); void setBindEligible(boolean bindEligible); }
Constant implements Expression, Comparable<Constant> { public Class<?> getType() { return this.type; } Constant(Object value, Class<?> type);  Constant(Object value); Class<?> getType(); void setType(Class<?> type); Object getValue(); boolean isNull(); void setMultiValued(List<?> value); boolean isMultiValued(); void acceptVisitor(LanguageVisitor visitor); boolean equals(Object obj); int hashCode(); Object clone(); String toString(); @Override int compareTo(Constant o); boolean isBindEligible(); void setBindEligible(boolean bindEligible); static final Constant NULL_CONSTANT; static final Comparator<Object> COMPARATOR; }