org.apache.clerezza.rdf.core
Interface MGraph

All Superinterfaces:
Collection<Triple>, Iterable<Triple>, TripleCollection
All Known Subinterfaces:
LockableMGraph
All Known Implementing Classes:
AbstractMGraph, LockableMGraphWrapper, PrivilegedMGraphWrapper, SecuredMGraph, SimpleMGraph, WriteBlockedMGraph

public interface MGraph
extends TripleCollection

A mutable graph

Author:
reto

Method Summary
 boolean equals(Object other)
          Returns true if other represents the same mutable graph as this instance, false otherwise.
 Graph getGraph()
          Returns the graph
 
Methods inherited from interface org.apache.clerezza.rdf.core.TripleCollection
addGraphListener, addGraphListener, filter, removeGraphListener
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

equals

boolean equals(Object other)
Returns true if other represents the same mutable graph as this instance, false otherwise. It returns true if this == other or if it is otherwise guaranteed that changes to one of the instances are immediately reflected in the other.

Specified by:
equals in interface Collection<Triple>
Overrides:
equals in class Object
Parameters:
other -
Returns:
true if other == this

getGraph

Graph getGraph()
Returns the graph

Returns:
graph


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.