Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 277 for defined (0.36 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    
    import java.util.Set;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Graph} implementations defined in this package.
     */
    public abstract class AbstractStandardDirectedGraphTest extends AbstractGraphTest {
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

      }
    
      @Override
      public Set<E> outEdges() {
        return Collections.unmodifiableSet(outEdgeMap.keySet());
      }
    
      @Override
      public N adjacentNode(E edge) {
        // Since the reference node is defined to be 'source' for directed graphs,
        // we can assume this edge lives in the set of outgoing edges.
        // (We're relying on callers to call this method only with an edge that's in the graph.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        assertThat(network.edges()).containsExactly("p", "i", "e").inOrder();
        assertThat(network.nodeOrder()).isEqualTo(unordered());
        assertThat(network.nodes()).containsExactly(4, 1, 3);
      }
    
      // Sorting of user-defined classes
    
      @Test
      public void customComparator() {
        Comparator<NonComparableSuperClass> comparator =
            new Comparator<NonComparableSuperClass>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedLists.java

        NEXT_HIGHER {
          @Override
          public int resultIndex(int higherIndex) {
            return higherIndex;
          }
        },
        /**
         * Return {@code ~insertionIndex}, where {@code insertionIndex} is defined as the point at which
         * the key would be inserted into the list: the index of the next higher element in the list, or
         * {@code list.size()} if there is no such element.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

       * preferred assignment.)
       *
       * @since 8.0
       */
      public static final byte DC1 = 17; // aka XON
    
      /**
       * Transmission On: Although originally defined as DC1, this ASCII control character is now better
       * known as the XON code used for software flow control in serial communications. The main use is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

       * @since 13.0
       */
      void addListener(Listener listener, Executor executor);
    
      /**
       * The lifecycle states of a service.
       *
       * <p>The ordering of the {@link State} enum is defined such that if there is a state transition
       * from {@code A -> B} then {@code A.compareTo(B) < 0}. N.B. The converse is not true, i.e. if
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

            subtype.isSubtypeOf(this), "%s does not appear to be a subtype of %s", subtype, this);
        return subtype;
      }
    
      /**
       * Returns true if this type is a supertype of the given {@code type}. "Supertype" is defined
       * according to <a
       * href="http://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.5.1">the rules for type
       * arguments</a> introduced with Java generics.
       *
       * @since 19.0
       */
    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)
  8. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

    import com.google.common.base.Optional;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /**
     * A builder for constructing instances of {@link MutableValueGraph} or {@link ImmutableValueGraph}
     * with user-defined properties.
     *
     * <p>A {@code ValueGraph} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow self-loops
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       {@code fail}, {@code assertTrue}, etc.) It is OK (but not particularly recommended) for
     *       other code to use these forms too. Only the most typically used JUnit assertion methods are
     *       defined this way, but enough to live with.
     *   <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code
     *       super.setUp} and {@code super.tearDown} within them. These methods are used to clear and
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashFunction.java

     * this.)
     *
     * <p>If all you want to hash is a single byte array, string or {@code long} value, there are
     * convenient shortcut methods defined directly on {@link HashFunction} to make this easier.
     *
     * <p>Hasher accepts primitive data types, but can also accept any Object of type {@code T} provided
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
Back to top