com.thoughtworks.xstream.persistence
Class XmlSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet
          extended by com.thoughtworks.xstream.persistence.XmlSet
All Implemented Interfaces:
Iterable, Collection, Set

public class XmlSet
extends AbstractSet

A persistent set implementation.

Author:
Guilherme Silveira

Constructor Summary
XmlSet(PersistenceStrategy persistenceStrategy)
           
 
Method Summary
 boolean add(Object o)
           
 Iterator iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, 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
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Constructor Detail

XmlSet

public XmlSet(PersistenceStrategy persistenceStrategy)
Method Detail

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface Set
Specified by:
iterator in class AbstractCollection

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface Set
Specified by:
size in class AbstractCollection

add

public boolean add(Object o)
Specified by:
add in interface Collection
Specified by:
add in interface Set
Overrides:
add in class AbstractCollection


Copyright © 2004-2014 XStream. All Rights Reserved.