tcl.lang
Class SearchId
java.lang.Object
tcl.lang.SearchId
public class SearchId
- extends Object
SearchId is used only by the ArrayVar class. When searchstart is called on an
Tcl array, a SearchId is created that contains the Enumerated list of all the
array keys; a String that uniquely identifies the searchId for the Tcl array,
and an index that is used when to generate other unique strings.
Constructor Summary |
SearchId(Iterator iter,
String s,
int i)
A SearchId is only created from an ArrayVar object. |
Method Summary |
String |
toString()
Return the str that is the unique identifier of the SearchId |
SearchId
public SearchId(Iterator iter,
String s,
int i)
- A SearchId is only created from an ArrayVar object. The ArrayVar
constructs a new SearchId object by passing it's current keys stored as
an enumeration, a unique string that ArrayVar creates, and an index value
used for future SearchId objects.
- Parameters:
iter
- initial Enumerations
- String as the unique identifier for the searchIdi
- index value for this object
toString
public String toString()
- Return the str that is the unique identifier of the SearchId
- Overrides:
toString
in class Object
Copyright © 2015. All rights reserved.