SparkseePython3 6.1.0
sparksee.StringList Class Reference

String list. More...

Public Member Functions

 clear (self)
 Clears the list.
 __init__ (self)
 Constructor.
 __iter__ (self)
 Gets a new TypeListIterator.
 iterator (self)
 Gets a new StringListIterator.
 add (self, str)
 Adds a String at the end of the list.
 count (self)
 Number of elements in the list.

Detailed Description

String list.

It stores a String (unicode) list.

Use StringListIterator to access all elements into this collection.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

◆ __init__()

sparksee.StringList.__init__ ( self)

Constructor.

This creates an empty list.

Member Function Documentation

◆ __iter__()

sparksee.StringList.__iter__ ( self)

Gets a new TypeListIterator.

Returns
TypeListIterator instance

◆ add()

sparksee.StringList.add ( self,
str )

Adds a String at the end of the list.

Parameters
str[in] String.

◆ count()

sparksee.StringList.count ( self)

Number of elements in the list.

Returns
Number of elements in the list.

◆ iterator()

sparksee.StringList.iterator ( self)

Gets a new StringListIterator.

Returns
StringListIterator instance.