com.hp.hpl.jena.graph.compose
Class Dyadic

java.lang.Object
  extended bycom.hp.hpl.jena.graph.impl.GraphBase
      extended bycom.hp.hpl.jena.graph.compose.CompositionBase
          extended bycom.hp.hpl.jena.graph.compose.Dyadic
All Implemented Interfaces:
Graph, GraphAdd
Direct Known Subclasses:
Delta, Difference, Intersection, Union

public abstract class Dyadic
extends CompositionBase

Base class for the two-operand composition operations; has two graphs L and R

Author:
kers, Ian Dickinson - refactored most of the content to CompositionBase.

Field Summary
 
Fields inherited from interface com.hp.hpl.jena.graph.Graph
emptyGraph
 
Constructor Summary
Dyadic(Graph L, Graph R)
          When the graph is constructed, copy the prefix mappings of both components into this prefix mapping.
 
Method Summary
 void close()
          Free all resources, any further use of this Graph is an error.
 boolean dependsOn(Graph other)
          Generic dependsOn, true iff it depends on either of the subgraphs.
 Union union(Graph X)
           
 
Methods inherited from class com.hp.hpl.jena.graph.compose.CompositionBase
butNot, contains, countIterator, ifIn, ifIn, recording, reject, rejecting, size
 
Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase
add, contains, delete, find, find, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getTransactionHandler, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, performAdd, performDelete, queryHandler, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dyadic

public Dyadic(Graph L,
              Graph R)
When the graph is constructed, copy the prefix mappings of both components into this prefix mapping. The prefix mapping doesn't change afterwards with the components, which might be regarded as a bug.

Method Detail

close

public void close()
Description copied from interface: Graph
Free all resources, any further use of this Graph is an error.

See Also:
Graph.close()

dependsOn

public boolean dependsOn(Graph other)
Generic dependsOn, true iff it depends on either of the subgraphs.


union

public Union union(Graph X)


Copyright © 2000-2003 Hewlett-Packard. All Rights Reserved.