📄 tuple.java
字号:
/**
* Set the data value of the given field with a <code>long</code>.
* @param col the column number of the data field to set
* @param val the value to set
* @see #canSetLong(String)
*/
public void setLong(int col, long val);
// --------------------------------------------------------------
/**
* Check if the given data field can return primitive <code>float</code>
* values.
* @param field the data field to check
* @return true if the data field can return primitive <code>float</code>
* values, false otherwise. If true, the {@link #getFloat(String)} method
* can be used safely.
*/
public boolean canGetFloat(String field);
/**
* Check if the <code>setFloat</code> method can safely be used for the
* given data field.
* @param field the data field to check
* @return true if the {@link #setFloat(String, float)} method can safely
* be used for the given field, false otherwise.
*/
public boolean canSetFloat(String field);
/**
* Get the data value at the given field as a <code>float</code>.
* @param field the data field to retrieve
* @see #canGetFloat(String)
*/
public float getFloat(String field);
/**
* Set the data value of the given field with a <code>float</code>.
* @param field the data field to set
* @param val the value to set
* @see #canSetFloat(String)
*/
public void setFloat(String field, float val);
/**
* Get the data value at the given field as a <code>float</code>.
* @param col the column number of the data field to retrieve
* @see #canGetFloat(String)
*/
public float getFloat(int col);
/**
* Set the data value of the given field with a <code>float</code>.
* @param col the column number of the data field to set
* @param val the value to set
* @see #canSetFloat(String)
*/
public void setFloat(int col, float val);
// --------------------------------------------------------------
/**
* Check if the given data field can return primitive <code>double</code>
* values.
* @param field the data field to check
* @return true if the data field can return primitive <code>double</code>
* values, false otherwise. If true, the {@link #getDouble(String)} method
* can be used safely.
*/
public boolean canGetDouble(String field);
/**
* Check if the <code>setDouble</code> method can safely be used for the
* given data field.
* @param field the data field to check
* @return true if the {@link #setDouble(String, double)} method can safely
* be used for the given field, false otherwise.
*/
public boolean canSetDouble(String field);
/**
* Get the data value at the given field as a <code>double</code>.
* @param field the data field to retrieve
* @see #canGetDouble(String)
*/
public double getDouble(String field);
/**
* Set the data value of the given field with a <code>double</code>.
* @param field the data field to set
* @param val the value to set
* @see #canSetDouble(String)
*/
public void setDouble(String field, double val);
/**
* Get the data value at the given field as a <code>double</code>.
* @param col the column number of the data field to retrieve
* @see #canGetDouble(String)
*/
public double getDouble(int col);
/**
* Set the data value of the given field with a <code>double</code>.
* @param col the column number of the data field to set
* @param val the value to set
* @see #canSetDouble(String)
*/
public void setDouble(int col, double val);
// --------------------------------------------------------------
/**
* Check if the given data field can return primitive <code>boolean</code>
* values.
* @param field the data field to check
* @return true if the data field can return primitive <code>boolean</code>
* values, false otherwise. If true, the {@link #getBoolean(String)} method
* can be used safely.
*/
public boolean canGetBoolean(String field);
/**
* Check if the <code>setBoolean</code> method can safely be used for the
* given data field.
* @param field the data field to check
* @return true if the {@link #setBoolean(String, boolean)} method can
* safely be used for the given field, false otherwise.
*/
public boolean canSetBoolean(String field);
/**
* Get the data value at the given field as a <code>boolean</code>.
* @param field the data field to retrieve
* @see #canGetBoolean(String)
*/
public boolean getBoolean(String field);
/**
* Set the data value of the given field with a <code>boolean</code>.
* @param field the data field to set
* @param val the value to set
* @see #canSetBoolean(String)
*/
public void setBoolean(String field, boolean val);
/**
* Get the data value at the given field as a <code>boolean</code>.
* @param col the column number of the data field to retrieve
* @see #canGetBoolean(String)
*/
public boolean getBoolean(int col);
/**
* Set the data value of the given field with a <code>boolean</code>.
* @param col the column number of the data field to set
* @param val the value to set
* @see #canSetBoolean(String)
*/
public void setBoolean(int col, boolean val);
// --------------------------------------------------------------
/**
* Check if the given data field can return <code>String</code>
* values.
* @param field the data field to check
* @return true if the data field can return <code>String</code>
* values, false otherwise. If true, the {@link #getString(String)} method
* can be used safely.
*/
public boolean canGetString(String field);
/**
* Check if the <code>setString</code> method can safely be used for the
* given data field.
* @param field the data field to check
* @return true if the {@link #setString(String, String)} method can safely
* be used for the given field, false otherwise.
*/
public boolean canSetString(String field);
/**
* Get the data value at the given field as a <code>String</code>.
* @param field the data field to retrieve
* @see #canGetString(String)
*/
public String getString(String field);
/**
* Set the data value of the given field with a <code>String</code>.
* @param field the data field to set
* @param val the value to set
* @see #canSetString(String)
*/
public void setString(String field, String val);
/**
* Get the data value at the given field as a <code>String</code>.
* @param col the column number of the data field to retrieve
* @see #canGetString(String)
*/
public String getString(int col);
/**
* Set the data value of the given field with a <code>String</code>.
* @param col the column number of the data field to set
* @param val the value to set
* @see #canSetString(String)
*/
public void setString(int col, String val);
// --------------------------------------------------------------
/**
* Check if the given data field can return <code>Date</code>
* values.
* @param field the data field to check
* @return true if the data field can return <code>Date</code>
* values, false otherwise. If true, the {@link #getDate(String)} method
* can be used safely.
*/
public boolean canGetDate(String field);
/**
* Check if the <code>setDate</code> method can safely be used for the
* given data field.
* @param field the data field to check
* @return true if the {@link #setDate(String, Date)} method can safely
* be used for the given field, false otherwise.
*/
public boolean canSetDate(String field);
/**
* Get the data value at the given field as a <code>Date</code>.
* @param field the data field to retrieve
* @see #canGetDate(String)
*/
public Date getDate(String field);
/**
* Set the data value of the given field with a <code>Date</code>.
* @param field the data field to set
* @param val the value to set
* @see #canSetDate(String)
*/
public void setDate(String field, Date val);
/**
* Get the data value at the given field as a <code>Date</code>.
* @param col the column number of the data field to retrieve
* @see #canGetDate(String)
*/
public Date getDate(int col);
/**
* Set the data value of the given field with a <code>Date</code>.
* @param col the column number of the data field to set
* @param val the value to set
* @see #canSetDate(String)
*/
public void setDate(int col, Date val);
} // end of interface Tuple
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -