Re: Hashtable with ArrayList for value Programming Software Development by Ionelul > hashtable that accepts the value as an arraylist do you mean you want to insert objects? `System.Collections` has some classes that should help: `List<T>`, `Dictionary<T1,T2>` where T, T1, T2 can be of every type you want: string, int, long, object, collection, array, etc Ionut Re: connecting two sockets with hashtable. help. Programming Software Development by bambam2174 Hashtable aren't for connecting two pocesses. They are used to store information! Re: How can implement a perfect hashed data structure and their operations? Programming Software Development by Krunal21 Hashtable is a type of Collections framework in Java which is used to store and manipulate the group of objects. To learn more about [ Java Hashtable](https://appdividend.com/2019/07/04/hashtable-in-java-tutorial-java-hashtable-example/) follow this article. Re: How can implement a perfect hashed data structure and their operations? Programming Software Development by Icetutor Hashtable is a type of Collections framework in Java which is used to store and manipulate the group of objects. To learn more about Java Hashtable follow [this article](https://icetutor.com/question/passport-laravel-createtoken-personal-access-client-not-found/). Re: Cannot implicitly convert type 'object' to 'string'. Programming Software Development by apegram Hashtable is from the pre-generic days and stores keys and … Re: String was not recognized as a valid DateTime. Programming Web Development by DoddaLakshman Hashtable hs = new Hashtable(); DateTime dt = Convert.ToDateTime(TextBox2.Text); hs.Add("lakshman", dt.ToShortDateString()); using this above code it is working.....let me know any cooncerns Re: String was not recognized as a valid DateTime. Programming Web Development by pulak2008 Hashtable rec = new Hashtable(); DateTime dob = Convert.ToDateTime(txtdob.Text.Trim()); rec.Add("dob", dob.ToShortDateString()); why the second line not executing .i have gave a brak point to see the flow ,but after the first line its jump to catch() Re: <img src="images/smiley-yell.png"> convert these to smilies in visual c# Programming Software Development by Amanpreet_1 … createEmotions() { emotions = new Hashtable(3); emotions.Add(":-)", WindowsFormsApplication1.Properties.Resources.smiley_yell); emotions.… Re: Data Structure Question Programming Software Development by jwenting Hashtable is rarely a good basis for a data structure. It's slow... Re: Hashtable Programming Software Development by apegram …= new Foo() { Bar = 1 }; Hashtable hashtable = new Hashtable(); hashtable.Add(foo1, "some value"); hashtable.Add(foo2, "some other value"…).Bar.GetHashCode(); } } [/CODE] And in the Hashtable instantiation [CODE] Hashtable hashtable = new Hashtable(new FooComparer()); // can add foo1 successfully, foo2 will… Hashtable Help? Programming Software Development by da10x … to implement it. [CODE]""" from hashtable import HashTable, get, keys, put, contains def word_count( filename … by the argument. """ hTable = HashTable( 19106 ) # Read the words of the text …main() [/CODE] Second, I have to modify this hashtable code to use chaining, so basically, if a key… Re: Hashtable Help? Programming Software Development by da10x …I wrote a jumble() function as follows: [CODE]from hashtable import * def sortLetters(word): chars = list(word)…return "".join(chars) def jumble(): hTable = HashTable( 19106 ) with open("words.txt") as … gives me the following error: [CODE]TypeError: 'HashTable' object does not support indexing[/CODE] How can … Re: Hashtable Help? Programming Software Development by da10x So I modified the hashtable code's put and get functions to the following: [CODE]…: return item return None [/CODE] Will this alone fix the hashtable? Re: Hashtable Help? Programming Software Development by AxixA secondly, you also have to modify _locate as well as other things to get the hashtable.py to use chaining Hashtable Programming Software Development by sdhawan Hi, can anyone tell me how to compare to keys of a hashtable.I have a situation where my hashtable have same keys.I know it cant be the same but i am inserting a hashtable of dictionary which do have same keys.Thanks Hashtable help Programming Software Development by woomar … entry class correctly?Is my constructor correct? Thanks public class HashTable<K, V> { /** define an inner class to hold… Object buckets[] = new Object[ defaultSize ]; private int numElements = 0; public HashTable() { buckets = new Entry[defaultSize]; } public void put( K key, V… Re: Hashtable help Programming Software Development by JamesCherrill Why not look atthe API doc for java.util.HashTable and its inner HashTable.Entry class. That will give you a good idea… Re: Hashtable help Programming Software Development by JamesCherrill Yes, that's OK. The <K> and <V> types are defined for the HashTable class, so they are automatically available and usable in any inner class of HashTable. There's no need or reason to re-define them for the inner class. hashtable Programming Computer Science by attias hello, I have a question about hashtable. what is the complexity of searching an item in hashtable in average case performance (when using a rehash function)? thank you! Re: hashtable Programming Computer Science by jk451 …]>what is the complexity of searching an item in hashtable in average case performance[/B] Amortized O(1). While an… you can create a pathological input sequence for any arbitrary hashtable, even amortized complexity is O(n). Re: Hashtable Programming Software Development by sdhawan …=sa;"; cn.Open(); GermanDict.DictList ins = new GermanDict.DictList(); Hashtable aaa = ins.AllWords; StringBuilder insertCommand = new StringBuilder(); IDictionaryEnumerator en = aaa… Re: Hashtable help Programming Software Development by woomar … int defaultSize = 64; /**Error: Cannot create a generic array of HashTable<K,V>.Entry */ private Entry[] buckets = new Entry… Re: hashtable Programming Computer Science by Narue [B]>what is the complexity of searching an item in hashtable in average case performance[/B] Amortized O(1). While an individual search might be more expensive, in toto the performance is constant. This is all assuming the hash table is properly implemented, of course. HashTable Programming Software Development by RaghuBV … I insert multiple entries into a single bucket in a hashtable. It ll look somethin like this Key Hash value Bucket… HashTable help Programming Software Development by KirkPatrick …][U][Question][/U][/B] I was suggested to use a hashTable. So I looked it up and it seems fairly self… Re: HashTable help Programming Software Development by JamesCherrill … keep track of the Fruit objects you could have a Hashtable with the Fruit's name as key and the actual… Re: HashTable help Programming Software Development by KirkPatrick … keep track of the Fruit objects you could have a Hashtable with the Fruit's name as key and the actual… Re: HashTable help Programming Software Development by JamesCherrill … you get it? 3. Maybe: store them all in a hashtable, using their names as the key. That way you could… Re: HashTable help Programming Software Development by KirkPatrick … my other getters/setters can pull the information from the hashtable and put it on my viewobject? If not, my overall… Re: HashTable help Programming Software Development by KirkPatrick The data is acquired through two separate csv files (basically text files) I'm having a problem of figuring out how to match them up, so that they can display properly. My conclusion was perhaps a hashtable. Is there a better way than that?