Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Safine (0.33 sec)

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

         * a given entry might not include null. The right fix for the header problems is probably to
         * define a separate MultimapLink interface with a separate "header" implementation, which
         * hopefully could avoid implementing Entry or ValueSetLink at all. (But note that that approach
         * requires us to define extra classes -- unfortunate under Android.) *Then* we could consider
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      private long link(int i) {
        return requireLinks()[i];
      }
    
      private void setLink(int i, long value) {
        requireLinks()[i] = value;
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeFine1() {
        Optional<Number> optionalInt = Optional.of((Number) 1);
        Number value = optionalInt.or(0.5); // fine
      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeFine2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * @param pattern the pattern on which to filter file names
       */
      public PatternFilenameFilter(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      /*
       * Our implementation works fine with a null `dir`. However, there's nothing in the documentation
       * of the supertype that suggests that implementations are expected to tolerate null. That said, I
    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)
  5. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       */
    
      private int[] requirePredecessors() {
        return requireNonNull(predecessor);
      }
    
      private int[] requireSuccessors() {
        return requireNonNull(successor);
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EnumBiMap.java

       *
       * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller
       * calls `create(Foo.class)`, rather than `create(map)`. That's fine; we just shouldn't rely on
       * it.
       */
      transient Class<K> keyTypeOrObjectUnderJ2cl;
      transient Class<V> valueTypeOrObjectUnderJ2cl;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

     * @author Robert Konigsberg
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableCollectionTests {
    
      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

       * {@code <A>} using our implementation unless some of its bounds have changed in resolution. This
       * avoids creating unequal TypeVariable implementation unnecessarily. When the bounds do change,
       * however, it's fine for the synthetic TypeVariable to be unequal to any native TypeVariable
       * anyway.
       */
      static final class NativeTypeVariableEquals<X> {
        static final boolean NATIVE_TYPE_VARIABLE_ONLY =
    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)
  9. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

              // https://code.google.com/p/android/issues/detail?id=196555
              continue;
            }
            if (isAndroid && p.equals(BAD_FOR_GINGERBREAD_P) && q.equals(BAD_FOR_GINGERBREAD_Q)) {
              // Works fine under Marshmallow, so I haven't filed a bug.
              continue;
            }
    
            boolean dividesEvenly = p.remainder(q).equals(ZERO);
    
            try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

              // https://code.google.com/p/android/issues/detail?id=196555
              continue;
            }
            if (isAndroid && p.equals(BAD_FOR_GINGERBREAD_P) && q.equals(BAD_FOR_GINGERBREAD_Q)) {
              // Works fine under Marshmallow, so I haven't filed a bug.
              continue;
            }
    
            boolean dividesEvenly = p.remainder(q).equals(ZERO);
    
            try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
Back to top