343 |
Observing |
Observing |
344 |
--------- |
--------- |
345 |
|
|
346 |
Observing is separated into its own interface.: |
Observing is a part of ConstGraph::: |
347 |
|
|
348 |
public interface ObservableGraph extends ConstGraph { |
public ConstGraph getObservedConstGraph(Obs o); |
349 |
public ObservedGraph getObserved(Obs o); |
|
350 |
|
/** This observed graph will not be used any more, and |
351 |
|
* if desired, may be recycled by the ObservableGraph. |
352 |
|
* This operation is allowed to be a no-op. |
353 |
|
*/ |
354 |
|
public void close(); |
355 |
|
|
356 |
|
Object find1_11X(Object subject, Object predicate, Obs o); |
357 |
|
Object find1_X11(Object predicate, Object subject, Obs o); |
358 |
|
... |
359 |
|
Iterator findN_11X_Iter(Object subject, Object predicate, Obs o); |
360 |
|
... |
361 |
|
|
|
Object find1_11X(Object subject, Object predicate, Obs o); |
|
|
Object find1_X11(Object predicate, Object subject, Obs o); |
|
|
... |
|
|
Iterator findN_11X_Iter(Object subject, Object predicate, Obs o); |
|
|
... |
|
|
} |
|
|
|
|
|
public interface ObservedGraph extends ConstGraph { |
|
|
/** This observed graph will not be used any more, and |
|
|
* if desired, may be recycled by the ObservableGraph. |
|
|
* This operation is allowed to be a no-op. |
|
|
*/ |
|
|
public void close(); |
|
|
} |
|
362 |
|
|
363 |
The find methods with Obses are included in ObservableGraph because |
The find methods with Obses are included in ObservableGraph because |
364 |
this allows the cheap default implementation of ObservedGraph. |
this allows the cheap default implementation of ObservedGraph. |