Esempio n. 1
0
            public int hashCode()
            {
                int hash = 37;

                ClassDef def = _defRef.get();

                QuercusClass parent = null;

                if (_parentRef != null)
                {
                    parent = _parentRef.get();
                }

                if (def != null)
                {
                    hash = 65521 * hash + def.hashCode();
                }

                if (parent != null)
                {
                    hash = 65521 * hash + parent.hashCode();
                }

                return(hash);
            }