Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for direction (0.21 sec)

  1. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(String[].class)).isEmpty();
      }
    
      public void testGet_enum() {
        assertNull(ArbitraryInstances.get(EmptyEnum.class));
        assertEquals(Direction.UP, ArbitraryInstances.get(Direction.class));
      }
    
      public void testGet_interface() {
        assertNull(ArbitraryInstances.get(SomeInterface.class));
      }
    
      public void testGet_runnable() {
    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)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        putEdge(N1, N2);
        assertThat(graph.predecessors(N2)).containsExactly(N1);
        // Edge direction handled correctly
        assertThat(graph.predecessors(N1)).isEmpty();
      }
    
      @Test
      public void successors_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.successors(N1)).containsExactly(N2);
        // Edge direction handled correctly
        assertThat(graph.successors(N2)).isEmpty();
      }
    
      @Test
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

        this.size = 0;
        this.mask = tableSize - 1;
        this.modCount = 0;
      }
    
      /**
       * Finds and removes {@code entry} from the bucket linked lists in both the key-to-value direction
       * and the value-to-key direction.
       */
      private void delete(BiEntry<K, V> entry) {
        int keyBucket = entry.keyHash & mask;
        BiEntry<K, V> prevBucketEntry = null;
        for (BiEntry<K, V> bucketEntry = hashTableKToV[keyBucket];
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Predicate.java

     * java.util.function.Predicate} is expected, use the method reference {@code
     * guavaPredicate::apply}. For the other direction, use {@code javaUtilPredicate::test}. A future
     * version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so
     * that conversion will be necessary in only one direction. At that time, this interface will be
     * officially discouraged.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

       * use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms
       * of methods like {@link String#toUpperCase} either. Or, if you'd like to normalize "in the other
       * direction," converting empty strings to {@code null}, you can use {@link #emptyToNull}.
       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
    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)
  6. android/guava-tests/test/com/google/common/math/MathTesting.java

            fractionalBuilder.add(d * scale).add(-d * scale);
          }
        }
        for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) {
          for (int direction : new int[] {1, -1}) {
            double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction);
            // Math.nextUp/nextDown
            if (d != Math.rint(d)) {
              fractionalBuilder.add(d);
            }
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * include a {@link Builder.DuplicateKey} in case duplicate keys are not allowed now or will not
       * be allowed on a later {@link Builder#buildOrThrow()} call.
       *
       * @param keyOffset 1 if this is the reverse direction of a BiMap, 0 otherwise.
       * @return an {@code Object} that is a {@code byte[]}, {@code short[]}, or {@code int[]}, the
       *     smallest possible to fit {@code tableSize}; or an {@code Object[]} where [0] is one of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Supplier.java

     * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
     * java.util.function.Supplier}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Supplier<T extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    long enough.'
    
      Alice felt that this could not be denied, so she tried another
    question.  `What sort of people live about here?'
    
      `In THAT direction,' the Cat said, waving its right paw round,
    `lives a Hatter:  and in THAT direction,' waving the other paw,
    `lives a March Hare.  Visit either you like:  they're both mad.'
    
      `But I don't want to go among mad people,' Alice remarked.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        // Passed nodes should be in the correct edge direction, first is the
        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void inEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactly(E12);
        // Edge direction handled correctly
        assertThat(network.inEdges(N1)).isEmpty();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top