Home > Contents > Index >
FTValList.setValInt
Adds an integer value to an
FTValList
, by using the associated key name.Syntax
public int setValInt(String key, int i)Parameters
key
- Name of the key to add to the
FTValList
.
i
- Integer value
Returns
Zero (0) on success -1 on failure.
Example
This example adds an integer value to a
FTValList
:
FTValList fList = new FTValList(); fList.setValInt( "age" , 3 );
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.