eRqlEngine API documentation - http://www.wleklinski.de/rdf/

eworks.RDF.model
Class Statements

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byeworks.RDF.model.AbstractTuples
                  extended byeworks.RDF.model.Statements
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable, Tuples

public class Statements
extends AbstractTuples

Author:
wleklinski To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Statements()
           
Statements(Collection c)
           
Statements(int initialCapacity)
           
 
Method Summary
 boolean add(Statement s)
           
 boolean addAll(Collection c, boolean distinct)
          Adds all tuples that are contained inside the given collection c.
 Object clone()
          Clones this instance by creating a flat copy.
 Statement getStatement(int index)
           
 
Methods inherited from class eworks.RDF.model.AbstractTuples
add, getNumberOfGroups, getTuple, getTuplesByGroup
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

Statements

public Statements()

Statements

public Statements(int initialCapacity)
Parameters:
initialCapacity -

Statements

public Statements(Collection c)
Parameters:
c -
Method Detail

add

public boolean add(Statement s)

clone

public Object clone()
Description copied from interface: Tuples
Clones this instance by creating a flat copy. (So the encapsulated tuples are not cloned as well.)


addAll

public boolean addAll(Collection c,
                      boolean distinct)
Description copied from class: AbstractTuples
Adds all tuples that are contained inside the given collection c.

Specified by:
addAll in interface Tuples
Overrides:
addAll in class AbstractTuples
Parameters:
c - The tuples to add.
distinct - If set to true, there will no duplicates be added.
Returns:
true if and only if at least one tuple was added.

getStatement

public Statement getStatement(int index)

eRqlEngine API documentation - http://www.wleklinski.de/rdf/