Java Doc for RDFCollection.java in  » Rule-Engine » Mandarax » org » mandarax » rdf » 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 » Rule Engine » Mandarax » org.mandarax.rdf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.mandarax.rdf.RDFCollection

RDFCollection
public class RDFCollection implements Collection,RDFLogger(Code)
RDFCollection is a wrapper for RDF Collections (RDF Linked List).
author:
   Adrian Paschke
version:
   1.1 <01 August 2004>
since:
   1.1



Constructor Summary
public  RDFCollection(RDFList c)
     Default constructor.

Method Summary
public  booleanadd(Object o)
     Adds the specified element to the collection.
public  booleanaddAll(Collection col)
     Adds all of the elements in the specified collection to this collection.
Parameters:
  col - the elements to be inserted into the collection.
public  voidclear()
     Removes all of the elements from the internal collection.
public  booleancontains(Object o)
     Returns true if this collection contains the specified element.
public  booleancontainsAll(Collection col)
     Returns true if this collection contains all of the elements in the specified collection.
public  booleanequals(Object o)
     Overwrite the equals method of the Collection Interface.
public  inthashCode()
     Get the hash code for an object.
public  booleanisEmpty()
     Returns true if this collection contains no elements.
public  Iteratoriterator()
     Returns an iterator over the elements in the internal collection.
public  booleanremove(Object o)
     Removes a single instance of the specified element from the collection.
Parameters:
  o - the element to be removed from this collection, if present.
public  booleanremoveAll(Collection col)
     Removes all the collection's elements that are also contained in the specified collection.
public  booleanretainAll(Collection col)
     Retains only the elements in the collection that are contained in the specified collection.
public  booleansameListAs(RDFList list)
     Answer true if this list has the same elements in the same order as the given list.
public  intsize()
     Returns the number of elements in the internal collection.
public  Object[]toArray()
     Returns an array containing all of the elements in the collection. Not yet supported, would enforge reading the entire collection. an array containing all of the elements in this collection.
public  Object[]toArray(Object[] a)
     Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
Parameters:
  a - the array into which the elements of this collection are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose.


Constructor Detail
RDFCollection
public RDFCollection(RDFList c) throws ClauseSetException(Code)
Default constructor.
Parameters:
  c - the wrapped jena collection (RDFList)




Method Detail
add
public boolean add(Object o)(Code)
Adds the specified element to the collection. Not supported, this is a "read only" view on a container.
Parameters:
  o - the element to be added to the collection. true if the collection changed as a result of the call.



addAll
public boolean addAll(Collection col)(Code)
Adds all of the elements in the specified collection to this collection.
Parameters:
  col - the elements to be inserted into the collection. true if the collection changed as a result of the call.



clear
public void clear()(Code)
Removes all of the elements from the internal collection. This collection will be empty after this method returns unless it throws an exception.



contains
public boolean contains(Object o)(Code)
Returns true if this collection contains the specified element.
Parameters:
  o - the element whose presence in this collection is to be tested. true if this collection contains the specified element.



containsAll
public boolean containsAll(Collection col)(Code)
Returns true if this collection contains all of the elements in the specified collection. Not yet supported (but could be done), would enforce initializing the entire collections.
Parameters:
  col - the collection to be checked for containment in the internal collection. true if this collection contains all of the elements in the specified collection.



equals
public boolean equals(Object o)(Code)
Overwrite the equals method of the Collection Interface.
Parameters:
  o - is the object the new method is invoked from. the result of dispatching the new method represented by RDFContainer's method field on object o with parameters equal_value.
throws:
  Exception - if the new method can not be invoked correctly.



hashCode
public int hashCode()(Code)
Get the hash code for an object. the hash code



isEmpty
public boolean isEmpty()(Code)
Returns true if this collection contains no elements. true if this collection contains no elements.



iterator
public Iterator iterator()(Code)
Returns an iterator over the elements in the internal collection. an Iterator over the elements in the internal collection.



remove
public boolean remove(Object o)(Code)
Removes a single instance of the specified element from the collection.
Parameters:
  o - the element to be removed from this collection, if present. true if this collection changed as a result of the call.



removeAll
public boolean removeAll(Collection col)(Code)
Removes all the collection's elements that are also contained in the specified collection.
Parameters:
  col - the elements to be removed from this collection. true if the collection changed as a result of the call.



retainAll
public boolean retainAll(Collection col)(Code)
Retains only the elements in the collection that are contained in the specified collection.
Parameters:
  col - the elements to be retained in the collection. true if the collection changed as a result of the call.



sameListAs
public boolean sameListAs(RDFList list)(Code)
Answer true if this list has the same elements in the same order as the given list. Note that the standard equals test just tests for equality of two given list cells. While such a test is sufficient for many purposes, this test provides a broader equality definition, but is correspondingly more expensive to test.
Parameters:
  list - a RDFList true



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



toArray
public Object[] toArray()(Code)
Returns an array containing all of the elements in the collection. Not yet supported, would enforge reading the entire collection. an array containing all of the elements in this collection.



toArray
public Object[] toArray(Object[] a)(Code)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
Parameters:
  a - the array into which the elements of this collection are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose. an array containing the elements of this collection.



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.