Java Doc for IntHashMap.java in  » Database-DBMS » axion » org » axiondb » engine » rowcollection » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » axion » org.axiondb.engine.rowcollection 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.axiondb.engine.rowcollection.IntHashMap

All known Subclasses:   org.axiondb.engine.rowcollection.IntRowMap,
IntHashMap
public class IntHashMap (Code)
Int key and Object value Map, this does not implement java.util.Map interface and has limited Map like API. Does not implement EntrySet and and KeySet, tather it just retunds their iterator.
version:
   $Revision: 1.2 $ $Date: 2005/12/22 09:02:30 $
author:
   Ahimanikya Satapathy

Inner Class :public static class Entry
Inner Class :public class EntryIterator
Inner Class :public class ValueIterator extends EntryIterator
Inner Class :protected class Values


Constructor Summary
public  IntHashMap()
     Creates an IntHashMap of small initial capacity.
public  IntHashMap(int capacity)
     Creates an IntHashMap of specified initial capacity.
public  IntHashMap(IntHashMap map)
     Creates a IntHashMap containing the specified entries, in the order they are returned by the map's iterator.

Method Summary
protected  voidaddEntry(int hash, int key, Object value)
     Adds a new entry for the specified key and value.
public  voidclear()
     Removes all mappings from this IntHashMap .
final public  booleancontainsKey(int key)
     Indicates if this IntHashMap contains a mapping for the specified key.
Parameters:
  key - the key whose presence in this map is to be tested.
final public  booleancontainsValue(Object value)
     Indicates if this IntHashMap maps one or more keys to the specified value.
Parameters:
  value - the value whose presence in this map is to be tested.
public  EntryIteratorentryIterator()
    
public  booleanequals(Object obj)
     Compares the specified object with this IntHashMap for equality.
final public  Objectget(int key)
     Returns the value to which this IntHashMap maps the specified key.
Parameters:
  key - the key whose associated value is to be returned.
final public  EntrygetEntry(int key)
     Returns the entry with the specified key.
Parameters:
  key - the key whose associated entry is to be returned.
public  inthashCode()
     Returns the hash code value for this IntHashMap .
final public  EntryheadEntry()
     Returns the head entry of this map.
final public  booleanisEmpty()
     Indicates if this IntHashMap contains no key-value mappings.
public  IntListIteratorkeyIterator()
    
public  IntCollectionkeys()
    
protected  EntrynewEntry()
     Returns a new entry for this map; sub-classes may override this method to use custom entries.
final public  Objectput(int key, Object value)
     Associates the specified value with the specified key in this IntHashMap . If the IntHashMap previously contained a mapping for this key, the old value is replaced.
Parameters:
  key - the key with which the specified value is to be associated.
Parameters:
  value - the value to be associated with the specified key.
final public  voidputAll(IntHashMap that)
     Copies all of the mappings from the specified map to this IntHashMap .
final public  Objectremove(int key)
     Removes the mapping for this key from this IntHashMap if present.
Parameters:
  key - the key whose mapping is to be removed from the map.
public  voidremoveEntry(Entry entry)
     Removes the specified entry from the map.
final public  intsize()
     Returns the number of key-value mappings in this IntHashMap .
final public  EntrytailEntry()
     Returns the tail entry of this map.
public  StringtoString()
     Returns the textual representation of this IntHashMap .
final public  ValueIteratorvalueIterator()
     Returns a list iterator over the values in this list in proper sequence, (this map maintains the insertion order).
final public  Valuesvalues()
     Returns a RowCollection view of the values contained in this IntHashMap .


Constructor Detail
IntHashMap
public IntHashMap()(Code)
Creates an IntHashMap of small initial capacity.



IntHashMap
public IntHashMap(int capacity)(Code)
Creates an IntHashMap of specified initial capacity. Unless the map size exceeds the specified capacity no memory allocation is ever performed.
Parameters:
  capacity - the initial capacity.



IntHashMap
public IntHashMap(IntHashMap map)(Code)
Creates a IntHashMap containing the specified entries, in the order they are returned by the map's iterator.
Parameters:
  map - the map whose entries are to be placed into this map.




Method Detail
addEntry
protected void addEntry(int hash, int key, Object value)(Code)
Adds a new entry for the specified key and value.
Parameters:
  hash - the hash of the key, generated with IntHashMap.keyHash.
Parameters:
  key - the entry's key.
Parameters:
  value - the entry's value.



clear
public void clear()(Code)
Removes all mappings from this IntHashMap .



containsKey
final public boolean containsKey(int key)(Code)
Indicates if this IntHashMap contains a mapping for the specified key.
Parameters:
  key - the key whose presence in this map is to be tested. true if this map contains a mapping for the specified key;false otherwise.



containsValue
final public boolean containsValue(Object value)(Code)
Indicates if this IntHashMap maps one or more keys to the specified value.
Parameters:
  value - the value whose presence in this map is to be tested. true if this map maps one or more keys to the specifiedvalue.



entryIterator
public EntryIterator entryIterator()(Code)



equals
public boolean equals(Object obj)(Code)
Compares the specified object with this IntHashMap for equality. Returns true if the given object is also a map and the two maps represent the same mappings (regardless of collection iteration order).
Parameters:
  obj - the object to be compared for equality with this map. true if the specified object is equal to this map;false otherwise.



get
final public Object get(int key)(Code)
Returns the value to which this IntHashMap maps the specified key.
Parameters:
  key - the key whose associated value is to be returned. the value to which this map maps the specified key, or nullif there is no mapping for the key.



getEntry
final public Entry getEntry(int key)(Code)
Returns the entry with the specified key.
Parameters:
  key - the key whose associated entry is to be returned. the entry for the specified key or null if none.



hashCode
public int hashCode()(Code)
Returns the hash code value for this IntHashMap . the hash code value for this map.



headEntry
final public Entry headEntry()(Code)
Returns the head entry of this map. the entry such as headEntry().getNextEntry() holds the firstmap entry.



isEmpty
final public boolean isEmpty()(Code)
Indicates if this IntHashMap contains no key-value mappings. true if this map contains no key-value mappings;false otherwise.



keyIterator
public IntListIterator keyIterator()(Code)



keys
public IntCollection keys()(Code)



newEntry
protected Entry newEntry()(Code)
Returns a new entry for this map; sub-classes may override this method to use custom entries. a new entry potentially preallocated.



put
final public Object put(int key, Object value)(Code)
Associates the specified value with the specified key in this IntHashMap . If the IntHashMap previously contained a mapping for this key, the old value is replaced.
Parameters:
  key - the key with which the specified value is to be associated.
Parameters:
  value - the value to be associated with the specified key. the previous value associated with specified key, or null ifthere was no mapping for key. A null return can alsoindicate that the map previously associated null with thespecified key.



putAll
final public void putAll(IntHashMap that)(Code)
Copies all of the mappings from the specified map to this IntHashMap .
Parameters:
  map - the mappings to be stored in this map.



remove
final public Object remove(int key)(Code)
Removes the mapping for this key from this IntHashMap if present.
Parameters:
  key - the key whose mapping is to be removed from the map. previous value associated with specified key, or null ifthere was no mapping for key. A null return can alsoindicate that the map previously associated null with thespecified key.



removeEntry
public void removeEntry(Entry entry)(Code)
Removes the specified entry from the map.
Parameters:
  entry - the entry to be removed.



size
final public int size()(Code)
Returns the number of key-value mappings in this IntHashMap . this map's size.



tailEntry
final public Entry tailEntry()(Code)
Returns the tail entry of this map. the entry such as tailEntry().getPreviousEntry() holds thelast map entry.



toString
public String toString()(Code)
Returns the textual representation of this IntHashMap . the textual representation of the entry set.



valueIterator
final public ValueIterator valueIterator()(Code)
Returns a list iterator over the values in this list in proper sequence, (this map maintains the insertion order). a list iterator of the values in this list (in proper sequence).



values
final public Values values()(Code)
Returns a RowCollection view of the values contained in this IntHashMap . The collection is backed by the map, so changes to the map are reflected in the collection, and vice-versa. The collection supports element removal, which removes the corresponding mapping from this map, via the RowIterator.remove,RowCollection.remove and clear operations. a row collection view of the values contained in this map.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.