Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 66 for Optional (6.48 sec)

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

    import static java.lang.reflect.Modifier.PRIVATE;
    import static java.lang.reflect.Modifier.PROTECTED;
    import static java.lang.reflect.Modifier.PUBLIC;
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Optional;
    import com.google.common.reflect.ClassPath;
    import com.google.common.reflect.ClassPath.ClassInfo;
    import com.google.common.reflect.TypeToken;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

       */
      private int findSuffixOfType(Optional<PublicSuffixType> desiredType) {
        int partsSize = parts.size();
    
        for (int i = 0; i < partsSize; i++) {
          String ancestorName = DOT_JOINER.join(parts.subList(i, partsSize));
    
          if (i > 0
              && matchesType(
                  desiredType, Optional.fromNullable(PublicSuffixPatterns.UNDER.get(ancestorName)))) {
            return i - 1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.List;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code List}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava/pom.xml

                </Export-Package>
                <Import-Package>
                  com.google.common.util.concurrent.internal,
                  javax.annotation;resolution:=optional,
                  javax.crypto.*;resolution:=optional,
                  sun.misc.*;resolution:=optional
                </Import-Package>
                <Bundle-DocURL>https://github.com/google/guava/</Bundle-DocURL>
              </instructions>
            </configuration>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(TimeUnit.class, TimeUnit.SECONDS)
              .put(Charset.class, Charsets.UTF_8)
              .put(Currency.class, Currency.getInstance(Locale.US))
              .put(Locale.class, Locale.US)
              .put(Optional.class, Optional.empty())
              .put(OptionalInt.class, OptionalInt.empty())
              .put(OptionalLong.class, OptionalLong.empty())
              .put(OptionalDouble.class, OptionalDouble.empty())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayListMultimap.java

     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
     * <p>The lists returned by {@link #get}, {@link #removeAll}, and {@link #replaceValues} all
     * implement {@link java.util.RandomAccess}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

    import com.google.common.collect.testing.Helpers;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Set}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        public void refresh(K key) {
          throw new UnsupportedOperationException();
        }
      }
    
      /**
       * LinkedHashMap that enforces it's maximum size and logs events in a StatsCounter object and an
       * optional RemovalListener.
       *
       * @param <K> the base key type
       * @param <V> the base value type
       */
      private class CapacityEnforcingLinkedHashMap<K, V> extends LinkedHashMap<K, Timestamped<V>> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Charsets.java

      @GwtIncompatible // Charset not supported by GWT
      public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
    
      /**
       * UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order
       * mark.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_16} instead.
       *
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top