Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Bastos (0.15 sec)

  1. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      public void testToTableNullMerge() {
        // TODO github.com/google/guava/issues/6824 - the null merge feature is not compatible with the
        // current nullness annotation of the mergeFunction parameter. Work around with casts.
        BinaryOperator<@Nullable Integer> mergeFunction = (v1, v2) -> null;
        Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector =
            TableCollectors.toTable(
                Cell::getRowKey,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public K[] createArray(int length) {
          // TODO: with appropriate refactoring of OneSizeGenerator, we can perhaps
          // tidy this up and get rid of the casts here and in
          // MapValueCollectionGenerator.
    
          return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createKeyArray(length);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            while (pos >= 0) {
                final int lastPos = value.indexOf("-->", pos);
                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
                } else {
                    value = value.substring(0, pos) + " " + value.substring(lastPos + 3);
                }
                pos = value.indexOf("<!--");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K 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. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/collect/GeneralRange.java

        return comparator;
      }
    
      boolean hasLowerBound() {
        return hasLowerBound;
      }
    
      boolean hasUpperBound() {
        return hasUpperBound;
      }
    
      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public K[] createArray(int length) {
          // TODO: with appropriate refactoring of OneSizeGenerator, we can perhaps
          // tidy this up and get rid of the casts here and in
          // MapValueCollectionGenerator.
    
          return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createKeyArray(length);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. 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 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  10. guava-tests/test/com/google/common/primitives/IntsTest.java

    /**
     * Unit test for {@link Ints}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    public class IntsTest extends TestCase {
      private static final int[] EMPTY = {};
      private static final int[] ARRAY1 = {(int) 1};
      private static final int[] ARRAY234 = {(int) 2, (int) 3, (int) 4};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
Back to top