Пример #1
0
 @Override
 public int hashCode() {
   return (superClass.hashCode() + Arrays.hashCode(interfaces)) ^ names.size();
 }
Пример #2
0
 /**
  * The instance is stored in a place directly accessible through the Java SE API, so that it can
  * be recovered from any class loader.
  */
 protected MockingBridge(Class<? extends MockingBridge> subclass) {
   super("mockit." + subclass.hashCode(), null);
   LogManager.getLogManager().addLogger(this);
 }
Пример #3
0
 public int hashCode() {
   return superClass.hashCode() | (0x9e3779b9 * (names.size() | (interfaces.length << 16)));
 }