Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for CSomething (0.2 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

       * String.class}, then {@code new TypeResolver().where(formal, actual)} will {@linkplain
       * #resolveType resolve} {@code ParameterizedType List<T>} to {@code List<String>}, and resolve
       * {@code Map<T, Something>} to {@code Map<String, Something>} etc. Similarly, {@code formal} and
       * {@code actual} can be {@code Map<K, V>} and {@code Map<String, Integer>} respectively, or they
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * someone still manages to pass null, let's continue to have the method work.
       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ClusterException.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    
    /**
     * An {@link ClusterException} is a data structure that allows for some code to "throw multiple
     * exceptions", or something close to it. The prototypical code that calls for this class is
     * presented below:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       probably require adding the dep to various ACLs, license files, and Proguard
     *       configurations, and there's always the potential that something will go wrong. It
     *       <i>probably</i> won't, since the deps are needed only in tests (and maybe someday in
     *       testlib), but why bother?
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Closeables.java

       *
       * <pre>{@code
       * public void useStreamNicely() throws IOException {
       *   SomeStream stream = new SomeStream("foo");
       *   boolean threw = true;
       *   try {
       *     // ... code which does something with the stream ...
       *     threw = false;
       *   } finally {
       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedMultimapTest.java

      private static final class TestMultimap<K, V> extends ForwardingSetMultimap<K, V>
          implements Serializable {
        final SetMultimap<K, V> delegate = HashMultimap.create();
        public final Object mutex = new Integer(1); // something Serializable
    
        @Override
        protected SetMultimap<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    trying to find her way out.  `I shall be punished for it now, I
    suppose, by being drowned in my own tears!  That WILL be a queer
    thing, to be sure!  However, everything is queer to-day.'
    
      Just then she heard something splashing about in the pool a
    little way off, and she swam nearer to make out what it was:  at
    first she thought it must be a walrus or hippopotamus, but then
    she remembered how small she was now, and she soon made out that
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
        // TODO: test whether null is supported (create a Feature)
        /**
         * The elements to be returned by future calls to {@code next()}, with the first at the top of
         * the stack.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //    finally { guard.unlock(); }
      // Here are Justin's design notes about this:
      //
      // This idea has come up from time to time, and I think one of my
      // earlier versions of Monitor even did something like this. I ended
      // up strongly favoring the current interface.
      //
      // I probably can't remember all the reasons (it's possible you
      // could find them in the code review archives), but here are a few:
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
Back to top