public void Push(KeyPile <kTyp, iTyp> more) { foreach (kTyp key in more.Keys) { Add(key, more[key]); } }
public KeyPile <kTyp, iTyp> after(int inx) { KeyPile <kTyp, iTyp> ret = new KeyPile <kTyp, iTyp>(); ret.val = val.after(inx); ret.kim = kim.after(inx); return(ret); }
public KeyPile <kTyp, iTyp> from(int inx) { KeyPile <kTyp, iTyp> ret = new KeyPile <kTyp, iTyp>(); ret.val = val.from(inx); ret.kim = kim.from(inx); return(ret); }
public KeyPile <kTyp, iTyp> upto(int inx) { KeyPile <kTyp, iTyp> ret = new KeyPile <kTyp, iTyp>(); ret.val = val.upto(inx); ret.kim = kim.upto(inx); return(ret); }
public KeyPile <kTyp, iTyp> before(int inx) { KeyPile <kTyp, iTyp> ret = new KeyPile <kTyp, iTyp>(); ret.val = val.before(inx); ret.kim = kim.before(inx); return(ret); }
public KeyPile <kTyp, iTyp> Add(KeyPile <kTyp, iTyp> more) { foreach (kTyp key in more.Keys) { Add(key, more[key]); } return(this); }
public KeyPile <kTyp, iTyp> Clone() { KeyPile <kTyp, iTyp> ret = new KeyPile <kTyp, iTyp>(); ret._name = _name; ret.kim = kim.Clone(); ret.val = val.Clone(); return(ret); }
public KeyPile(KeyPile <kTyp, iTyp> cloneFrom) { _name = cloneFrom._name; val = cloneFrom.val.Clone(); kim = new KeyInxMap <kTyp>(cloneFrom.kim); }