Here you can find the source of hashThem(Object one, Object two)
Return a composite hash code of two objects.
public static int hashThem(Object one, Object two)
//package com.java2s; /* /*from w ww. j av a2 s . co m*/ * This file is part of the HyperGraphDB source distribution. This is copyrighted * software. For permitted uses, licensing options and redistribution, please see * the LicensingInformation file at the root level of the distribution. * * Copyright (c) 2005-2010 Kobrix Software, Inc. All rights reserved. */ public class Main { /** * <p>Return a composite hash code of two objects.</p> */ public static int hashThem(Object one, Object two) { return hashIt(one) | hashIt(two); } /** * <p>Return an object's hash code or 0 if the object is <code>null</code>.</p> */ public static int hashIt(Object o) { if (o == null) return 0; else return o.hashCode(); } }