Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2771 - 2780 of 3,920 for extenders (0.06 sec)

  1. android/guava/src/com/google/common/hash/AbstractHasher.java

      @Override
      @CanIgnoreReturnValue
      public Hasher putChar(char c) {
        putByte((byte) c);
        putByte((byte) (c >>> 8));
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public <T extends @Nullable Object> Hasher putObject(
          @ParametricNullness T instance, Funnel<? super T> funnel) {
        funnel.funnel(instance, this);
        return this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import junit.framework.TestSuite;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    public class CompactHashSetTest extends TestCase {
      public static Test suite() {
        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
                CollectionSize.ANY,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreFiles#fileTraverser()}.
     *
     * @author Jens Nyman
     */
    
    public class MoreFilesFileTraverserTest extends TestCase {
    
      private Path rootDir;
    
      @Override
      public void setUp() throws IOException {
        rootDir = Jimfs.newFileSystem(Configuration.unix()).getPath("/tmp");
        Files.createDirectory(rootDir);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 09 19:30:52 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapClearTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testClearUnsupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetReadsTester<E> extends AbstractMultisetTester<E> {
    
      @CollectionSize.Require(absent = ZERO)
      public void testElementSet_contains() {
        assertTrue(
            "multiset.elementSet().contains(present) returned false",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetSetCountConditionallyTester<E> extends AbstractMultisetSetCountTester<E> {
      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertTrue(
            "setCount() with the correct expected present count should return true",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/escape/EscapersTest.java

    import com.google.common.escape.testing.EscaperAsserts;
    import java.io.IOException;
    import junit.framework.TestCase;
    
    /** @author David Beaumont */
    @GwtCompatible
    public class EscapersTest extends TestCase {
      public void testNullEscaper() throws IOException {
        Escaper escaper = Escapers.nullEscaper();
        EscaperAsserts.assertBasic(escaper);
        String s = "\0\n\t\\az09~\uD800\uDC00\uFFFF";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Objects.java

     * methods with {@code Objects}</a>.
     *
     * @author Laurence Gonsalves
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Objects extends ExtraObjectsMethodsForWeb {
      private Objects() {}
    
      /**
       * Determines whether two possibly-null objects are equal. Returns:
       *
       * <ul>
       *   <li>{@code true} if {@code a} and {@code b} are both null.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

    /**
     * Maven Artifact interface. Notice that it mixes artifact definition concepts (groupId, artifactId, version)
     * with dependency information (version range, scope).
     */
    public interface Artifact extends Comparable<Artifact> {
    
        @Deprecated(since = "4.0.0")
        String RELEASE_VERSION = "RELEASE";
    
        @Deprecated(since = "4.0.0")
        String LATEST_VERSION = "LATEST";
    
        String SNAPSHOT_VERSION = "SNAPSHOT";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

    /**
     * Exception caused when one or more artifacts can not be resolved because they are not found in the
     * local or remote repositories.
     */
    public class MultipleArtifactsNotFoundException extends ArtifactResolutionException {
        private static final String LS = System.lineSeparator();
    
        private final List<Artifact> resolvedArtifacts;
        private final List<Artifact> missingArtifacts;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top