|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hardcode.gdbms.engine.values.AbstractValue
com.hardcode.gdbms.engine.values.ValueCollection
public class ValueCollection
ArrayValue. Contains an array of Values
Field Summary |
---|
Fields inherited from interface com.hardcode.gdbms.engine.values.Value |
---|
BINARY, BOOLEAN, BYTE, DATE, DOUBLE, FLOAT, INT, LONG, SHORT, STRING, TIME, TIMESTAMP |
Constructor Summary | |
---|---|
ValueCollection()
|
Method Summary | |
---|---|
void |
add(Value value)
Adds a value to the end of the array |
int |
doHashCode()
The hashCode implementation. |
Value |
equals(Value value)
|
Value |
get(int i)
Gets the ith value of the array |
java.lang.String |
getStringValue(ValueWriter writer)
Gets the string representation of the value as it is defined in the specified ValueWriter |
int |
getType()
Gets the type of the value |
int |
getValueCount()
Gets the array size |
Value[] |
getValues()
DOCUMENT ME! |
Value |
notEquals(Value value)
|
void |
setValues(Value[] values)
DOCUMENT ME! |
Methods inherited from class com.hardcode.gdbms.engine.values.AbstractValue |
---|
and, doEquals, equals, greater, greaterEqual, hashCode, inversa, less, lessEqual, like, or, producto, suma |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueCollection()
Method Detail |
---|
public Value equals(Value value) throws IncompatibleTypesException
equals
in interface Value
equals
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.instruction.Operations#equals(com.hardcode.gdbms.engine.values.Value)
public Value get(int i)
i
-
public int getValueCount()
public void add(Value value)
value
- value to addpublic Value notEquals(Value value) throws IncompatibleTypesException
notEquals
in interface Value
notEquals
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.instruction.Operations#notEquals(com.hardcode.gdbms.engine.values.Value)
public int doHashCode()
Value
Value.doHashCode()
public void setValues(Value[] values)
values
- public Value[] getValues()
public java.lang.String getStringValue(ValueWriter writer)
Value
writer
- Specifies the string representation for the values
com.hardcode.gdbms.engine.values.Value#getStringValue(com.hardcode.gdbms.engine.data.driver.ValueWriter)
public int getType()
Value
Value.getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |