- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 1,125 for Collections (0.07 sec)
- 
				
				android/guava/src/com/google/common/collect/CollectPreconditions.javaimport 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-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)
- 
				
				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/TestIntegerSetGenerator.javaimport com.google.common.collect.testing.SampleElements.Ints; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullMarked; /** * Create integer sets for collection tests. * * @author Gregory Kick */ @GwtCompatible @NullMarked public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> { @Override public SampleElements<Integer> samples() { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0)
- 
				
				guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java@CollectionSize.Require(absent = {ZERO, ONE}) public void testIndexOf_duplicate() { E[] array = createSamplesArray(); array[getNumElements() / 2] = e0(); collection = getSubjectGenerator().create(array); assertEquals( "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0())); } Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.2K bytes - Viewed (0)
- 
				
				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)
- 
				
				src/main/java/org/codelibs/core/io/Traverser.java* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.io; /** * Object representing a collection of classes or resources. * * @author koichik * @see TraversalUtil */ public interface Traverser { /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0)