org.aksw.commons.jena
Class ModelSetView

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<com.hp.hpl.jena.rdf.model.Statement>
          extended by org.aksw.commons.jena.ModelSetView
All Implemented Interfaces:
Iterable<com.hp.hpl.jena.rdf.model.Statement>, Collection<com.hp.hpl.jena.rdf.model.Statement>, Set<com.hp.hpl.jena.rdf.model.Statement>

public class ModelSetView
extends AbstractSet<com.hp.hpl.jena.rdf.model.Statement>


Constructor Summary
ModelSetView(com.hp.hpl.jena.rdf.model.Model model)
           
 
Method Summary
 boolean contains(Object stmt)
           
 Iterator<com.hp.hpl.jena.rdf.model.Statement> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Constructor Detail

ModelSetView

public ModelSetView(com.hp.hpl.jena.rdf.model.Model model)
Method Detail

iterator

public Iterator<com.hp.hpl.jena.rdf.model.Statement> iterator()
Specified by:
iterator in interface Iterable<com.hp.hpl.jena.rdf.model.Statement>
Specified by:
iterator in interface Collection<com.hp.hpl.jena.rdf.model.Statement>
Specified by:
iterator in interface Set<com.hp.hpl.jena.rdf.model.Statement>
Specified by:
iterator in class AbstractCollection<com.hp.hpl.jena.rdf.model.Statement>

size

public int size()
Specified by:
size in interface Collection<com.hp.hpl.jena.rdf.model.Statement>
Specified by:
size in interface Set<com.hp.hpl.jena.rdf.model.Statement>
Specified by:
size in class AbstractCollection<com.hp.hpl.jena.rdf.model.Statement>

contains

public boolean contains(Object stmt)
Specified by:
contains in interface Collection<com.hp.hpl.jena.rdf.model.Statement>
Specified by:
contains in interface Set<com.hp.hpl.jena.rdf.model.Statement>
Overrides:
contains in class AbstractCollection<com.hp.hpl.jena.rdf.model.Statement>


Copyright © 2012. All Rights Reserved.