1 19 20 package org.netbeans.modules.xml.schema.model.impl; 21 22 import java.util.HashSet ; 23 import java.util.Set ; 24 import org.netbeans.modules.xml.schema.model.Derivation; 25 26 30 public class DerivationsImpl implements Derivation { 31 32 public static class DerivationSet<E> extends HashSet <E> { 33 public static final long serialVersionUID = 1L; 34 public String toString() { 35 StringBuffer sb = new StringBuffer (); 36 boolean first = true; 37 for (E e : this) { 38 if (! first) { 39 sb.append(Util.SEP); 40 } else { 41 first = false; 42 } 43 sb.append(e.toString()); 44 } 45 return sb.toString(); 46 } 47 } 48 } 49 | Popular Tags |