TwoD Constructor TwoD(T, T) Construct a new TwoD<T>. Declaration public TwoD(T x, T y) Parameters Type Name Description T x The value assigned to X. T y The value assigned to Y.