Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for Reaber (0.31 sec)

  1. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        Closeables.close(null, false);
      }
    
      public void testCloseQuietlyNull_inputStream() {
        Closeables.closeQuietly((InputStream) null);
      }
    
      public void testCloseQuietlyNull_reader() {
        Closeables.closeQuietly((Reader) null);
      }
    
      // Set up a closeable to expect to be closed, and optionally to throw an
      // exception.
      private void setupCloseable(boolean shouldThrow) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * @param collection the presumed-immutable collection
       * @param sampleElement an element of the same type as that contained by {@code collection}.
       *     {@code collection} may or may not have {@code sampleElement} as a member.
       */
      public static <E extends @Nullable Object> void assertCollectionIsUnmodifiable(
          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

            return true;
          }
        }
        return false;
      }
    
      private boolean isIgnored(Member member) {
        return member.isSynthetic() || ignoredMembers.contains(member) || isEquals(member);
      }
    
      /**
       * Returns true if the given member is a method that overrides {@link Object#equals(Object)}.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

    import java.io.BufferedInputStream;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Functions.java

      }
    
      // enum singleton pattern
      private enum ToStringFunction implements Function<Object, String> {
        INSTANCE;
    
        @Override
        public String apply(Object o) {
          checkNotNull(o); // eager for GWT.
          return o.toString();
        }
    
        @Override
        public String toString() {
          return "Functions.toStringFunction()";
        }
      }
    
      /**
       * Returns the identity function.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      }
    
      private static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap,
          @CheckForNull Comparator<? super V> valueComparator) {
        checkNotNull(multimap); // eager for GWT
        if (multimap.isEmpty() && valueComparator == null) {
          return of();
        }
    
        if (multimap instanceof ImmutableSetMultimap) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

     *
     * <p>Technically one <i>can</i> create a 128bit IPv6 address with the wire format of a "mapped"
     * address, as shown above, and transmit it in an IPv6 packet header. However, Java's InetAddress
     * creation methods appear to adhere doggedly to the original intent of the "mapped" address: all
     * "mapped" addresses return {@link Inet4Address} objects.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

           * about one-sixth of them need cloning when a table doubles. The nodes they replace will be
           * garbage collectable as soon as they are no longer referenced by any reader thread that may
           * be in the midst of traversing table right now.
           */
    
          int newCount = count;
          AtomicReferenceArray<E> newTable = newEntryArray(oldCapacity << 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * references, instead of calling {@code equals}, to determine whether a provided object matches
       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top