Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for Bonner (0.15 sec)

  1. android/guava/src/com/google/common/base/Joiner.java

        return new Joiner(separator);
      }
    
      /** Returns a joiner which automatically places {@code separator} between consecutive elements. */
      public static Joiner on(char separator) {
        return new Joiner(String.valueOf(separator));
      }
    
      private final String separator;
    
      private Joiner(String separator) {
        this.separator = checkNotNull(separator);
      }
    
      private Joiner(Joiner prototype) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/JoinerTest.java

      }
    
      private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) {
        assertEquals("", joiner.join(set));
        assertEquals("", joiner.join(set.iterator()));
    
        Object[] array = Lists.newArrayList(set).toArray(new Integer[0]);
        assertEquals("", joiner.join(array));
    
        StringBuilder sb1FromIterable = new StringBuilder();
        assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            TimeUnit unit,
            Class<?> cls,
            Joiner joiner,
            Pattern pattern,
            UnsignedInteger ui,
            UnsignedLong ul,
            StringBuilder sb,
            Predicate<?> pred,
            Function<?, ?> func,
            Object obj) {
          delegate.foo(
              s, r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, ui, ul, sb, pred,
              func, obj);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Types.java

     *
     * @author Ben Yu
     */
    @ElementTypesAreNonnullByDefault
    final class Types {
    
      /** Class#toString without the "class " and "interface " prefixes */
      private static final Joiner COMMA_JOINER = Joiner.on(", ").useForNull("null");
    
      /** Returns the array type of {@code componentType}. */
      static Type newArrayType(Type componentType) {
        if (componentType instanceof WildcardType) {
    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)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      <T> com.google.common.base.Optional<T> generateGoogleOptional(T value) {
        return com.google.common.base.Optional.of(value);
      }
    
      @Generates
      Joiner generateJoiner() {
        return Joiner.on(generateString());
      }
    
      @Generates
      Splitter generateSplitter() {
        return Splitter.on(generateString());
      }
    
      @Generates
      <T> Equivalence<T> generateEquivalence() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Charsets;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Splitter;
    import com.google.common.base.Stopwatch;
    import com.google.common.base.Ticker;
    import com.google.common.collect.BiMap;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
        assertEquals("LocalInnerClass{}", toTest);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

       * cases where {@link Collection#contains} might throw {@link NullPointerException} or {@link
       * ClassCastException}.
       */
      // <? extends @Nullable Object> instead of <?> because of Kotlin b/189937072, discussed in Joiner.
      public static boolean contains(
          Iterable<? extends @Nullable Object> iterable, @CheckForNull Object element) {
        if (iterable instanceof Collection) {
          Collection<?> collection = (Collection<?>) iterable;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top