]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/MigrationTools/org/tianocore/migration/PathIterator.java
1 package org
.tianocore
.migration
;
5 public final class PathIterator
implements Common
.ForDoAll
{
6 // this PathIterator is based on HashSet, an thread implementation is required.
7 PathIterator(String path
, int md
) throws Exception
{
10 Common
.toDoAll(startpath
, this, mode
);
11 it
= pathlist
.iterator();
13 private String startpath
= null;
15 private HashSet
<String
> pathlist
= new HashSet
<String
>();
16 private Iterator
<String
> it
= null;
18 public final void toDo(String path
) throws Exception
{
22 public final String
next() {
26 public final boolean hasNext() {
30 public final String
toString() {
31 return pathlist
.toString();