public class CompactVirtualFileSet extends java.util.AbstractSet<VirtualFile>
Constructor and Description |
---|
CompactVirtualFileSet() |
CompactVirtualFileSet(java.util.Collection<? extends VirtualFile> files) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(VirtualFile file) |
void |
clear() |
boolean |
contains(java.lang.Object file) |
void |
freeze()
Make unmodifiable
|
java.util.Iterator<VirtualFile> |
iterator() |
boolean |
process(Processor<? super VirtualFile> processor) |
boolean |
remove(java.lang.Object o) |
int |
size() |
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public CompactVirtualFileSet()
public CompactVirtualFileSet(java.util.Collection<? extends VirtualFile> files)
public boolean contains(java.lang.Object file)
contains
in interface java.util.Collection<VirtualFile>
contains
in interface java.util.Set<VirtualFile>
contains
in class java.util.AbstractCollection<VirtualFile>
public boolean add(VirtualFile file)
add
in interface java.util.Collection<VirtualFile>
add
in interface java.util.Set<VirtualFile>
add
in class java.util.AbstractCollection<VirtualFile>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<VirtualFile>
remove
in interface java.util.Set<VirtualFile>
remove
in class java.util.AbstractCollection<VirtualFile>
public void clear()
clear
in interface java.util.Collection<VirtualFile>
clear
in interface java.util.Set<VirtualFile>
clear
in class java.util.AbstractCollection<VirtualFile>
public void freeze()
public boolean process(Processor<? super VirtualFile> processor)
public int size()
size
in interface java.util.Collection<VirtualFile>
size
in interface java.util.Set<VirtualFile>
size
in class java.util.AbstractCollection<VirtualFile>
public java.util.Iterator<VirtualFile> iterator()
iterator
in interface java.lang.Iterable<VirtualFile>
iterator
in interface java.util.Collection<VirtualFile>
iterator
in interface java.util.Set<VirtualFile>
iterator
in class java.util.AbstractCollection<VirtualFile>