- Sort Score
- Num 10 results
- Language All
Results 1571 - 1580 of 6,448 for retain (0.32 seconds)
-
android/guava/src/com/google/common/collect/NullsLastOrdering.java
} @Override public int compare(@Nullable T left, @Nullable T right) { if (left == right) { return 0; } if (left == null) { return LEFT_IS_GREATER; } if (right == null) { return RIGHT_IS_GREATER; } return ordering.compare(left, right); } @Override @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/ChecksumHashFunction.java
this.bits = bits; this.toString = checkNotNull(toString); } @Override public int bits() { return bits; } @Override public Hasher newHasher() { return new ChecksumHasher(checksumSupplier.get()); } @Override public String toString() { return toString; } /** Hasher that updates a checksum. */ private final class ChecksumHasher extends AbstractByteHasher {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
@Override protected Collection<E> actualContents() { return collection; } // TODO: dispose of this once collection is encapsulated. @Override @CanIgnoreReturnValue protected Collection<E> resetContainer(Collection<E> newContents) { collection = super.resetContainer(newContents); return collection; } /** * @see AbstractContainerTester#resetContainer() */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
/* * Copyright (C) 2008 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/RemovalNotification.java
return new RemovalNotification<>(key, value, cause); } private RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) { super(key, value); this.cause = checkNotNull(cause); } /** Returns the cause for which the entry was removed. */ public RemovalCause getCause() { return cause; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
* Do not instantiate. */ protected InitialContextUtil() { } /** * Creates and returns an initial context. * * @return the initial context */ public static InitialContext create() { try { return new InitialContext(); } catch (final NamingException ex) { throw new NamingRuntimeException(ex); } } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/ResultSetUtil.java
* * @param resultSet * The result set. Must not be {@literal null}. * @return Whether the result set successfully moved to the next position. */ public static boolean next(final ResultSet resultSet) { assertArgumentNotNull("resultSet", resultSet); try { return resultSet.next(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredMultimapValues.java
unfilteredItr.remove(); return true; } } return false; } @Override public boolean removeAll(Collection<?> c) { return Iterables.removeIf( multimap.unfiltered().entries(), and(multimap.entryPredicate(), valuePredicateOnEntries(in(c)))); } @Override public boolean retainAll(Collection<?> c) { return Iterables.removeIf(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingListIterator.java
} @Override public boolean hasPrevious() { return delegate().hasPrevious(); } @Override public int nextIndex() { return delegate().nextIndex(); } @CanIgnoreReturnValue @Override @ParametricNullness public E previous() { return delegate().previous(); } @Override public int previousIndex() { return delegate().previousIndex(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0)