コード例 #1
0
        /// <param name="tagConf">
        ///            the <seealso cref="URL"/> to a file that contains a tag configuration </param>
        /// <returns> a new instance </returns>
        public static OSMTagMapping getInstance(URL tagConf)
        {
            if (mapping != null)
            {
                throw new System.InvalidOperationException("mapping already initialized");
            }

            mapping = new OSMTagMapping(tagConf);
            return(mapping);
        }
コード例 #2
0
 public TShortIntProcedureAnonymousInnerClassHelper2(OSMTagMapping outerInstance, SortedSet <HistogramEntry> wayOrdering)
 {
     this.outerInstance = outerInstance;
     this.wayOrdering   = wayOrdering;
 }
コード例 #3
0
 public HistogramEntry(OSMTagMapping outerInstance, short id, int amount) : base()
 {
     this.outerInstance = outerInstance;
     this.id            = id;
     this.amount        = amount;
 }