public Triplette <A, B, C> Get(C byThird) { Triplette <A, B, C> triple = null; cDictionary.TryGetValue(byThird, out triple); return(triple); }
public Triplette <A, B, C> Get(A byFirst) { Triplette <A, B, C> triple = null; aDictionary.TryGetValue(byFirst, out triple); return(triple); }
public Triplette <A, B, C> Get(B bySecond) { Triplette <A, B, C> triple = null; bDictionary.TryGetValue(bySecond, out triple); return(triple); }
public void Add(A a, B b, C c) { Triplette <A, B, C> triple = new Triplette <A, B, C>(a, b, c); aDictionary.Add(a, triple); bDictionary.Add(b, triple); cDictionary.Add(c, triple); }