- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 624 for first (0.16 sec)
-
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 Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.1K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
ImmutableSortedSet.Builder<String> builder = ImmutableSortedSet.orderedBy(comparator); builder.add(BEFORE_FIRST); builder.add(BEFORE_FIRST_2); builder.add(elements); builder.add(AFTER_LAST); builder.add(AFTER_LAST_2); return builder .build() .subSet(BEFORE_FIRST_2, AFTER_LAST_2) .asList() .subList(1, elements.length + 1); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 15.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
* as equal, the first is returned. * * <p>The recommended solution for finding the {@code maximum} of some values depends on the type * of your data and the number of elements you have. Read more in the Guava User Guide article on * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code * Comparators}</a>. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 10.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
@Override public int compare(@Nullable String first, @Nullable String second) { if (first == second) { return 0; } else if (first == null) { return -1; } else if (second == null) { return 1; } else if (first.length() != second.length()) { return first.length() - second.length(); } else { return first.compareTo(second); } } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnMapTest.java
return Tables.transformValues(original, FIRST_CHARACTER); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { Table<Integer, String, String> table = HashBasedTable.create(); table.put(1, "foo", "apple"); table.put(1, "bar", "banana"); table.put(3, "foo", "cat"); return Tables.transformValues(table, FIRST_CHARACTER).columnMap(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolver.java
/** * Adds a repository to use for subsequent resolution requests. The order in which repositories are added matters, * repositories that were added first should also be searched first. When multiple repositories with the same * identifier are added, only the first repository being added will be used. * * @param repository The repository to add to the internal search chain, must not be {@code null}.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* * @param first the first array of elements to concatenate * @param second the second array of elements to concatenate * @param type the component type of the returned array */ @GwtIncompatible // Array.newInstance(Class, int) public static <T extends @Nullable Object> T[] concat( T[] first, T[] second, Class<@NonNull T> type) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 12 15:59:22 GMT 2023 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
* first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except * the first are ignored. */ public static <E> ImmutableSet<E> of(E e1, E e2) { return construct(2, e1, e2); } /** * Returns an immutable set containing the given elements, minus duplicates, in the order each was
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 22.4K bytes - Viewed (0)