(int seed, int hash)
| 178 | } |
| 179 | |
| 180 | static public int hashCombine(int seed, int hash){ |
| 181 | //a la boost |
| 182 | seed ^= hash + 0x9e3779b9 + (seed << 6) + (seed >> 2); |
| 183 | return seed; |
| 184 | } |
| 185 | |
| 186 | static public boolean isPrimitive(Class c){ |
| 187 | return c != null && c.isPrimitive() && !(c == Void.TYPE); |