Array Adapter

An ArrayAdapter is a kind of TypeAdapter that can parse single dimension arrays of scalar types. Elements are separated by commas.

Note: A blank field is parsed as null, not an empty array. Null elements of an array print as blanks (separated by commas). A null array alsp prints as blank.

The NetworkExample uses 'arrays of int' as one of its data types.


Last edited April 21, 2003
Return to WelcomeVisitors