Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Bastos (0.21 sec)

  1. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        }
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            checkNotNull(entry.getKey());
            checkNotNull(entry.getValue());
          }
          @SuppressWarnings({"unchecked", "rawtypes"})
          // immutable collections are safe for covariant casts
          // and getting the generics right for EnumMap is difficult to impossible
          ImmutableMap<K, V> result = ImmutableEnumMap.asImmutable(new EnumMap(enumMap));
          return result;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    a song?'
    
      `Oh, a song, please, if the Mock Turtle would be so kind,'
    Alice replied, so eagerly that the Gryphon said, in a rather
    offended tone, `Hm!  No accounting for tastes!  Sing her
    "Turtle Soup," will you, old fellow?'
    
      The Mock Turtle sighed deeply, and began, in a voice sometimes
    choked with sobs, to sing this:--
    
    
        `Beautiful Soup, so rich and green,
    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)
  6. android/guava/src/com/google/common/collect/NullnessCasts.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    import junit.framework.TestSuite;
    
    /**
     * Test suite covering {@link Ints#asList(int[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    public class IntArrayAsListTest extends TestCase {
    
      private static List<Integer> asList(Integer[] values) {
        int[] temp = new int[values.length];
        for (int i = 0; i < values.length; i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

          return unsafeDoBackward(b);
        }
      }
    
      /*
       * LegacyConverter violates the contract of Converter by allowing its doForward and doBackward
       * methods to accept null. We could avoid having unchecked casts in Converter.java itself if we
       * could perform a cast to LegacyConverter, but we can't because it's an internal-only class.
       *
       * TODO(cpovirk): So make it part of the open-source build, albeit package-private there?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
          this.impl = this.impl.combine(other.impl);
          return this;
        }
    
        @Override
        public ImmutableSet<E> build() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SparseImmutableTable.java

      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top