Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for forth (0.15 sec)

  1. guava/src/com/google/common/base/Converter.java

    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    
    /**
     * A function from {@code A} to {@code B} with an associated <i>reverse</i> function from {@code B}
     * to {@code A}; used for converting back and forth between <i>different representations of the same
     * information</i>.
     *
     * <h3>Invertibility</h3>
     *
     * <p>The reverse operation <b>may</b> be a strict <i>inverse</i> (meaning that {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

          return collectTypes(ImmutableList.of(type));
        }
    
        ImmutableList<K> collectTypes(Iterable<? extends K> types) {
          // type -> order number. 1 for Object, 2 for anything directly below, so on so forth.
          Map<K, Integer> map = Maps.newHashMap();
          for (K type : types) {
            collectTypes(type, map);
          }
          return sortKeysByValue(map, Ordering.natural().reverse());
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

       * @param args the arguments to be substituted into the message template. The first argument
       *     specified is substituted for the first occurrence of {@code "%s"} in the template, and so
       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
       *     non-null values are converted to strings using {@link Object#toString()}.
       * @since 25.1
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Strings.java

       * @param args the arguments to be substituted into the message template. The first argument
       *     specified is substituted for the first occurrence of {@code "%s"} in the template, and so
       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
       *     non-null values are converted to strings using {@link Object#toString()}.
       * @since 25.1
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
      SEVERAL(3),
      /*
       * TODO: add VERY_LARGE, noting that we currently assume that the fourth
       * sample element is not in any collection
       */
    
      ANY(ZERO, ONE, SEVERAL);
    
      private final Set<Feature<? super Collection>> implied;
      private final @Nullable Integer numElements;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Utf8.java

                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
                || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          }
        }
      }
    
      private static String unpairedSurrogateMsg(int i) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> {
    
      /** Creates an empty {@code CompactLinkedHashSet} instance. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * could in principle cause problems for some users. Still, we expect that the benefits of the
     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CharMatcher.java

            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
      }
    
      /**
       * Returns a {@code char} matcher that matches any BMP character not present in the given
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top