Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for getClassB (0.17 sec)

  1. guava-tests/test/com/google/common/reflect/InvokableTest.java

        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testAnonymousClassWithTwoParametersConstructor() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

              resolveClass(clazz);
            }
            return clazz;
          }
    
          return super.loadClass(name, resolve);
        }
      }
    
      public void testGetFinalizerUrl() {
        assertNotNull(getClass().getResource("internal/Finalizer.class"));
      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

              resolveClass(clazz);
            }
            return clazz;
          }
    
          return super.loadClass(name, resolve);
        }
      }
    
      public void testGetFinalizerUrl() {
        assertNotNull(getClass().getResource("internal/Finalizer.class"));
      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

            .addEqualityGroup(Subscriber.create(bus, "foo", concat))
            .testEquals();
      }
    
      private Method getTestSubscriberMethod(String name) {
        try {
          return getClass().getDeclaredMethod(name, Object.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

       * guarantees {@code strictfp}-like semantics.)
       */
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        PairedStats other = (PairedStats) obj;
        return xStats.equals(other.xStats)
            && yStats.equals(other.yStats)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          Murmur3_128HashFunction other = (Murmur3_128HashFunction) object;
          return seed == other.seed;
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return getClass().hashCode() ^ seed;
      }
    
      private static final class Murmur3_128Hasher extends AbstractStreamingHasher {
        private static final int CHUNK_SIZE = 16;
        private static final long C1 = 0x87c37b91114253d5L;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              fail("expected IllegalMonitorStateException");
            } catch (InvocationTargetException e) {
              assertEquals(IllegalMonitorStateException.class, e.getTargetException().getClass());
            } finally {
              if (occupyMonitor) {
                monitor1.leave();
              }
            }
          }
        };
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
          // But here we fully control the subclasses to ensure symmetry.
          if (getClass().isInstance(obj)) {
            Wrapper that = (Wrapper) obj;
            return wrapped.equals(that.wrapped);
          }
          return false;
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        if (unsafeComparatorAvailable()) {
          assertThat(Class.forName(unsafeComparatorClassName()))
              .isSameInstanceAs(defaultComparator.getClass());
        } else {
          assertThat(UnsignedBytes.lexicographicalComparatorJavaImpl())
              .isSameInstanceAs(defaultComparator);
        }
      }
    
      public void testLexicographicalComparator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

          latch.await();
        }
    
        @Override
        protected void triggerShutdown() {
          latch.countDown();
        }
    
        @Override
        protected String serviceName() {
          return this.getClass().getSimpleName() + "[" + index + "]";
        }
      }
    
      public void testNulls() {
        ServiceManager manager = new ServiceManager(Arrays.<Service>asList());
        new NullPointerTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top