tcl.lang
Class SearchId

java.lang.Object
  extended by 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Enumeration
s - String as the unique identifier for the searchId
i - index value for this object
Method Detail

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.