Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 731 for first (0.28 sec)

  1. android/guava/src/com/google/common/graph/Traverser.java

      }
    
      /**
       * Returns an unmodifiable {@code Iterable} over the nodes reachable from any of the {@code
       * startNodes}, in the order of a breadth-first traversal. This is equivalent to a breadth-first
       * traversal of a graph with an additional root node whose successors are the listed {@code
       * startNodes}.
       *
       * @throws IllegalArgumentException if any of {@code startNodes} is not an element of the graph
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

      <T2 extends T> Ordering<Entry<T2, ?>> onKeys() {
        return onResultOf(Maps.<T2>keyFunction());
      }
    
      /**
       * Returns an ordering which first uses the ordering {@code this}, but which in the event of a
       * "tie", then delegates to {@code secondaryComparator}. For example, to sort a bug list first by
       * status and second by priority, you might use {@code byStatus.compound(byPriority)}. For a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(
            expected, "OtherOrder.FIRST -> MyOrder.THIRD", "MyOrder.THIRD -> OtherOrder.FIRST");
        lockA.lock();
        lock01.unlock();
        lockB.lock();
        lockA.unlock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock01.lock());
        checkMessage(
            expected, "LockB -> OtherOrder.FIRST", "LockA -> LockB", "OtherOrder.FIRST -> LockA");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
       * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique
       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
       * instead.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
       * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique
       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. tests/hooks_test.go

    	}
    
    	if DB.Where("code = ?", "update_callback").First(&Product{}).Error != nil {
    		t.Fatalf("Record Should not be updated due to errors happened in before update callback")
    	}
    
    	if DB.Where("code = ?", "dont_update").First(&Product{}).Error == nil {
    		t.Fatalf("Record Should not be updated due to errors happened in before update callback")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * will remember the first duplicate key we encountered. All later calls to buildOrThrow() can
       * mention that key with its values. Further duplicates might be added in the meantime but since
       * builders only ever accumulate entries it will always be valid to throw from buildOrThrow() with
       * the first duplicate.
       */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  10. docs/ru/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Вот и все.
    
    Это аннотации типов:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Это не то же самое, что объявление значений по умолчанию, например:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Это другая вещь.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top