Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Ramesh (0.17 sec)

  1. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        String toTest = MoreObjects.toStringHelper("FooBar").toString();
        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

        // TODO(user): This is not the most efficient way to handle generic
        // arrays, but is there another way to extract the array class in a
        // non-hacky way (i.e. using String value class names- "[L...")?
        return Array.newInstance(componentType, 0).getClass();
      }
    
      // TODO(benyu): Once behavior is the same for all Java versions we support, delete this.
      enum JavaVersion {
        JAVA6 {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        String toTest = MoreObjects.toStringHelper("FooBar").toString();
        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              @Override
              public void run() {
                delegateForDelayedRuntimeException.set("Should never be seen");
              }
            };
    
        /** All the futures, together with human-readable names for use by {@link #smartToString}. */
        final ImmutableList<TestFuture> allFutures =
            ImmutableList.of(
                new TestFuture(doneSuccess, "doneSuccess", doNothing),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      // TODO(lukes): provide overloads that take constant strings? Function<Runnable, String>s to
      // calculate names?
    
      /**
       * Creates an {@link Executor} that renames the {@link Thread threads} that its tasks run in.
       *
       * <p>The names are retrieved from the {@code nameSupplier} on the thread that is being renamed
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link GraphConnections} for directed graphs.
     *
     * @author James Sexton
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     */
    @ElementTypesAreNonnullByDefault
    final class DirectedGraphConnections<N, V> implements GraphConnections<N, V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              @Override
              public void run() {
                delegateForDelayedRuntimeException.set("Should never be seen");
              }
            };
    
        /** All the futures, together with human-readable names for use by {@link #smartToString}. */
        final ImmutableList<TestFuture> allFutures =
            ImmutableList.of(
                new TestFuture(doneSuccess, "doneSuccess", doNothing),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j));
      }
    
      private static final ImmutableList<String> NUMBER_NAMES =
          ImmutableList.of("one", "two", "three", "four", "five", "six", "seven");
    
      private static final ImmutableList<String> SORTED_NUMBER_NAMES =
          Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       *     use {@code new File(context.getCacheDir(), "directoryname").mkdir()}, or, if you need an
       *     arbitrary number of temporary directories, you might have to generate multiple directory
       *     names in a loop until {@code mkdir()} returns {@code true}.) For Java 7+ users, prefer
       *     {@link java.nio.file.Files#createTempDirectory}, transforming it to a {@link File} using
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top