Ejemplo n.º 1
0
        public IEquatable <RealValueNodes> Covert(RealValueNodes obj)
        {
            NodesWithHash nwh = obj as NodesWithHash;

            if (nwh == null)
            {
                nwh = new NodesWithHash(obj.Lats, obj.Lons, obj.Values);
            }
            return(nwh);
        }
Ejemplo n.º 2
0
            public bool Equals(RealValueNodes other)
            {
                NodesWithHash nwh = other as NodesWithHash;

                if (nwh == null)
                {
                    nwh = new NodesWithHash(other.Lats, other.Lons, other.Values);
                }
                return(nwh.hash == this.hash);
            }