findType() private méthode

private findType ( int qname ) : Type
qname int
Résultat Type
Exemple #1
0
 public static Facets mapFacets(Pod pod, FAttrs.FFacet[] ffacets)
 {
     if (ffacets == null || ffacets.Length == 0) return empty();
       Hashtable map = new Hashtable();
       for (int i=0; i<ffacets.Length; ++i)
       {
     FAttrs.FFacet ff = ffacets[i];
     Type t = pod.findType(ff.type);
     map[t] = ff.val;
       }
       return new Facets(map);
 }
Exemple #2
0
        public static Facets mapFacets(Pod pod, FAttrs.FFacet[] ffacets)
        {
            if (ffacets == null || ffacets.Length == 0)
            {
                return(empty());
            }
            Hashtable map = new Hashtable();

            for (int i = 0; i < ffacets.Length; ++i)
            {
                FAttrs.FFacet ff = ffacets[i];
                Type          t  = pod.findType(ff.type);
                map[t] = ff.val;
            }
            return(new Facets(map));
        }