Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.graph.impl
Class GraphAddList  view GraphAddList download GraphAddList.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended bycom.hp.hpl.jena.graph.impl.GraphAddList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, com.hp.hpl.jena.graph.GraphAdd, java.lang.Iterable, java.util.List, java.util.RandomAccess, java.io.Serializable

public class GraphAddList
extends java.util.ArrayList
implements com.hp.hpl.jena.graph.GraphAdd

A List that implements the GraphAdd interface, so that it can be passed to things that want to add triples to Graphs. The triples are filtered.


Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
protected  com.hp.hpl.jena.graph.Triple match
           
 
Fields inherited from class java.util.ArrayList
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
GraphAddList(com.hp.hpl.jena.graph.Triple match)
          Initialise a GraphAddList with a triple [pattern] that specifies what triples will be accepted into the list.
 
Method Summary
 void add(com.hp.hpl.jena.graph.Triple t)
          Add the triple t to this list if it is matched by the pattern.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, 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.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Field Detail

match

protected com.hp.hpl.jena.graph.Triple match
Constructor Detail

GraphAddList

public GraphAddList(com.hp.hpl.jena.graph.Triple match)
Initialise a GraphAddList with a triple [pattern] that specifies what triples will be accepted into the list.

Method Detail

add

public void add(com.hp.hpl.jena.graph.Triple t)
Add the triple t to this list if it is matched by the pattern.

Specified by:
add in interface com.hp.hpl.jena.graph.GraphAdd