scala.xml.persistent

class SetStorage

[source: scala/xml/persistent/SetStorage.scala]

class SetStorage(file : java.io.File)
extends CachedFileStorage
A persistent store with set semantics. This class allows to add and remove trees, but never contains two structurally equal trees.
Author
Burak Emir
Values and Variables inherited from CachedFileStorage
dirty, interval
Method Summary
def += (e : Node) : Unit
adds a node, setting this.dirty to true as a side effect
def -= (e : Node) : Unit
removes a tree, setting this.dirty to true as a side effect
def nodes : Iterator[Node]
returns an iterator over the nodes in this storage
Methods inherited from CachedFileStorage
initialNodes, run, flush
Methods inherited from Logged
log
Methods inherited from java.lang.Thread
java.lang.Thread.start, java.lang.Thread.stop, java.lang.Thread.stop, java.lang.Thread.interrupt, java.lang.Thread.isInterrupted, java.lang.Thread.destroy, java.lang.Thread.isAlive, java.lang.Thread.suspend, java.lang.Thread.resume, java.lang.Thread.setPriority, java.lang.Thread.getPriority, java.lang.Thread.setName, java.lang.Thread.getName, java.lang.Thread.getThreadGroup, java.lang.Thread.countStackFrames, java.lang.Thread.join, java.lang.Thread.join, java.lang.Thread.join, java.lang.Thread.setDaemon, java.lang.Thread.isDaemon, java.lang.Thread.checkAccess, java.lang.Thread.toString, java.lang.Thread.getContextClassLoader, java.lang.Thread.setContextClassLoader, java.lang.Thread.getStackTrace, java.lang.Thread.getId, java.lang.Thread.getState, java.lang.Thread.getUncaughtExceptionHandler, java.lang.Thread.setUncaughtExceptionHandler
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def +=(e : Node) : Unit
adds a node, setting this.dirty to true as a side effect
Overrides
CachedFileStorage.+=

def -=(e : Node) : Unit
removes a tree, setting this.dirty to true as a side effect
Overrides
CachedFileStorage.-=

def nodes : Iterator[Node]
returns an iterator over the nodes in this storage
Overrides
CachedFileStorage.nodes