- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,482 for collection (0.04 sec)
-
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.sql.SQLException; import org.codelibs.core.message.MessageFormatter; /** * Exception that wraps {@link SQLException}. * * @author higa * @author manhole */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
* {@code equals} would break symmetry, as the forwarding object might consider itself equal to the * object being tested, but the reverse could not be true. This behavior is consistent with the * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to * preserve equality behavior, or override {@code equals} directly. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
import static com.google.common.base.Preconditions.checkState; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; /** Precondition checks useful in collection implementations. */ @GwtCompatible final class CollectPreconditions { static void checkEntryNotNull(Object key, Object value) { if (key == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java
@CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE}) public void testCreateWithDuplicates() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); expectContents(array); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java
* packaging types will be available throughout the Maven build process. * <p> * Example usage: * <pre> * public class CustomPackagingProvider implements PackagingProvider { * public Collection<Packaging> provides() { * return Arrays.asList( * packaging("docker-image"), * packaging("flatpak") * ); * } * } * </pre> *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
public class SetsTest extends TestCase { private static final IteratorTester.KnownOrder KNOWN_ORDER = IteratorTester.KnownOrder.KNOWN_ORDER; private static final Collection<Integer> EMPTY_COLLECTION = Arrays.<Integer>asList(); private static final Collection<Integer> SOME_COLLECTION = asList(0, 1, 1); private static final Iterable<Integer> SOME_ITERABLE = new Iterable<Integer>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
* governing permissions and limitations under the License. */ package org.codelibs.core.log; import static org.codelibs.core.collection.ArrayUtil.asArray; import static org.codelibs.core.collection.CollectionsUtil.newHashMap; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import org.junit.Ignore; /** * A generic JUnit test which tests {@code addAll(Collection)} operations on a list. Can't be * invoked directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interner.java
* @since 3.0 */ @DoNotMock("Use Interners.new*Interner") @J2ktIncompatible @GwtIncompatible public interface Interner<E> { /** * Chooses and returns the representative instance for any of a collection of instances that are * equal to each other. If two {@linkplain Object#equals equal} inputs are given to this method, * both calls will return the same instance. That is, {@code intern(a).equals(a)} always holds,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0)