- Sort Score
- Num 10 results
- Language All
Results 871 - 880 of 3,329 for new1 (0.06 seconds)
-
guava/src/com/google/common/collect/MoreCollectors.java
return (Collector) TO_OPTIONAL; } private static final Object NULL_PLACEHOLDER = new Object(); private static final Collector<@Nullable Object, ?, @Nullable Object> ONLY_ELEMENT = Collector.<@Nullable Object, ToOptionalState<Object>, @Nullable Object>of( () -> new ToOptionalState<>(null), (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o), ToOptionalState::combine,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
*/ public static <E> Builder<E> orderedBy(Comparator<E> comparator) { return new Builder<>(comparator); } /** * Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse * of their natural ordering. */ public static <E extends Comparable<?>> Builder<E> reverseOrder() { return new Builder<>(Collections.reverseOrder()); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
protected void verify(List<T> elements) { assertEquals(new HashSet<>(elements), newHashSet(mmHeap.iterator())); assertIntact(mmHeap); } }; tester.test(); } public void testIteratorTester() throws Exception { Random random = new Random(0); List<Integer> list = new ArrayList<>(); for (int i = 0; i < 3; i++) { list.add(random.nextInt());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
String upperString = testString.toUpperCase(); CharSequence testSeq = new StringBuilder(testString); CharSequence upperSeq = new StringBuilder(upperString); CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq}; CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq}; boolean dummy = false;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
private static List<String> newDelegatingList(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingListWithEquals(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
*/ public static ZipFile create(final String file) { assertArgumentNotEmpty("file", file); try { return new ZipFile(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Creates and returns a <code>ZipFile</code> for reading the specified file. * * @param fileCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java
@NullUnmarked public class IntMathBenchmark { private static final int[] exponent = new int[ARRAY_SIZE]; private static final int[] factorial = new int[ARRAY_SIZE]; private static final int[] binomial = new int[ARRAY_SIZE]; private static final int[] positive = new int[ARRAY_SIZE]; private static final int[] nonnegative = new int[ARRAY_SIZE]; private static final int[] ints = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
keys -> path.create(transform(keys, key -> immutableEntry(key, new Object()))), keys -> path.create(transform(keys, key -> immutableEntry(new Object(), key))), keys -> path.create(transform(keys, key -> immutableEntry(key, key))))) .collect(toImmutableList()),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 28 19:11:14 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
return; } prevInBucket = entryInBucket; } throw new AssertionError("Expected to find entry with value " + values[entry]); } /** * Updates the specified entry to point to the new value: removes the old value from the V-to-K * mapping and puts the new one in. The entry does not move in the insertion order of the bimap. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java
throw new InvalidQueryRegisteredException(msg); } } protected void checkEsInvalidQueryCollection(String name, Collection<?> values) { if (values == null || values.isEmpty()) { String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values; throw new InvalidQueryRegisteredException(msg); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 21.1K bytes - Click Count (0)