Java Doc for CharCollection.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » pcj » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.pcj 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.uwyn.rife.pcj.CharCollection

All known Subclasses:   com.uwyn.rife.pcj.AbstractCharCollection,
CharCollection
public interface CharCollection (Code)
This interface defines collections of char values.
See Also:   java.util.Collection
author:
   Søren Bak
version:
   1.1 2002/30/12
since:
   1.0




Method Summary
 booleanadd(char v)
     Adds an element to this collection.
Parameters:
  v - the element to add to this collection.
 booleanaddAll(CharCollection c)
     Adds all the elements of a specified collection to this collection.
Parameters:
  c - the collection whose elements to add to thiscollection.
 voidclear()
     Clears this collection.
 booleancontains(char v)
     Indicates whether this collection contains a specified element.
Parameters:
  v - the element to test for containment.
 booleancontainsAll(CharCollection c)
     Indicates whether all elements of a specified collection is contained in this collection.
Parameters:
  c - the collection whose elements to test forcontainment.
 booleanequals(Object obj)
     Indicates whether this collection is equal to some object.
Parameters:
  obj - the object with which to compare this collection.
 inthashCode()
     Returns a hash code value for this collection.
 booleanisEmpty()
     Indicates whether this collection is empty.
 CharIteratoriterator()
     Returns an iterator over this collection.
 booleanremove(char v)
     Removes a specified element from this collection.
Parameters:
  v - the char value to remove from this collection.
 booleanremoveAll(CharCollection c)
     Removes all the elements of a specified collection from this collection.
Parameters:
  c - the collection whose elements to remove from thiscollection.
 booleanretainAll(CharCollection c)
     Retains only the elements of a specified collection in this collection.
Parameters:
  c - the collection whose elements to retain in thiscollection.
 intsize()
     Returns the number of elements in this collection.
 char[]toArray()
     Returns the elements of this collection as an array.
 char[]toArray(char[] a)
     Returns the elements of this collection as an array.
Parameters:
  a - an array to fill with the elements of thiscollection; if a is null or notbig enough to contain all the elements of thiscollection, an new array is allocated,and a is not changed.
 voidtrimToSize()
     Minimizes the memory used by this collection.



Method Detail
add
boolean add(char v)(Code)
Adds an element to this collection.
Parameters:
  v - the element to add to this collection. true if this collection was modifiedas a result of adding v; returnsfalse otherwise.
throws:
  UnsupportedOperationException - if the operation is not supported by thiscollection.
See Also:   CharCollection.addAll(CharCollection)



addAll
boolean addAll(CharCollection c)(Code)
Adds all the elements of a specified collection to this collection.
Parameters:
  c - the collection whose elements to add to thiscollection. true if this collection was modifiedas a result of adding the elements of c;returns false otherwise.
throws:
  UnsupportedOperationException - if the operation is not supported by thiscollection.
throws:
  NullPointerException - if c is null.
See Also:   CharCollection.add(char)



clear
void clear()(Code)
Clears this collection.
throws:
  UnsupportedOperationException - if the operation is not supported by thiscollection.



contains
boolean contains(char v)(Code)
Indicates whether this collection contains a specified element.
Parameters:
  v - the element to test for containment. true if v is contained in thiscollection; returns false otherwise.
See Also:   CharCollection.containsAll(CharCollection)



containsAll
boolean containsAll(CharCollection c)(Code)
Indicates whether all elements of a specified collection is contained in this collection.
Parameters:
  c - the collection whose elements to test forcontainment. true if all the elements of care contained in this collection; returnsfalse otherwise.
throws:
  NullPointerException - if c is null.
See Also:   CharCollection.contains(char)



equals
boolean equals(Object obj)(Code)
Indicates whether this collection is equal to some object.
Parameters:
  obj - the object with which to compare this collection. true if this collection is equals toobj; returns false otherwise.



hashCode
int hashCode()(Code)
Returns a hash code value for this collection. a hash code value for this collection.



isEmpty
boolean isEmpty()(Code)
Indicates whether this collection is empty. true if this collection is empty; returnsfalse otherwise.



iterator
CharIterator iterator()(Code)
Returns an iterator over this collection. an iterator over this collection.



remove
boolean remove(char v)(Code)
Removes a specified element from this collection.
Parameters:
  v - the char value to remove from this collection. true if this collection was modifiedas a result of removing v; returnsfalse otherwise.
throws:
  UnsupportedOperationException - if the operation is not supported by thiscollection.



removeAll
boolean removeAll(CharCollection c)(Code)
Removes all the elements of a specified collection from this collection.
Parameters:
  c - the collection whose elements to remove from thiscollection. true if this collection was modifiedas a result of removing the elements of c;returns false otherwise.
throws:
  UnsupportedOperationException - if the operation is not supported by thiscollection.
throws:
  NullPointerException - if c is null.



retainAll
boolean retainAll(CharCollection c)(Code)
Retains only the elements of a specified collection in this collection.
Parameters:
  c - the collection whose elements to retain in thiscollection. true if this collection was modifiedas a result of removing the elements not containedin c;returns false otherwise.
throws:
  UnsupportedOperationException - if the operation is not supported by thiscollection.
throws:
  NullPointerException - if c is null.



size
int size()(Code)
Returns the number of elements in this collection. the number of elements in this collection.



toArray
char[] toArray()(Code)
Returns the elements of this collection as an array. a new array containing the elements of thiscollection.



toArray
char[] toArray(char[] a)(Code)
Returns the elements of this collection as an array.
Parameters:
  a - an array to fill with the elements of thiscollection; if a is null or notbig enough to contain all the elements of thiscollection, an new array is allocated,and a is not changed. a, if a has room for all theelements of this collection; otherwise a newarray is allocated, filled with the elements ofthis collection, and returned.



trimToSize
void trimToSize()(Code)
Minimizes the memory used by this collection. The exact operation of this method depends on the class implementing it. Implementors may choose to ignore it completely.



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