Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for Horner (0.14 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. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            this.allProjects = Collections.unmodifiableList(new ArrayList<>(allProjects));
            this.sorter = new ProjectSorter(projects);
            this.order = new HashMap<>();
            this.projects = new HashMap<>();
            List<MavenProject> sorted = this.sorter.getSortedProjects();
            for (int index = 0; index < sorted.size(); index++) {
                MavenProject project = sorted.get(index);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  8. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ListMultimap;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemoveAll_nullCollectionReferenceEmptySubject() {
        try {
          collection.removeAll(null);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top