Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 1,194 for container (0.14 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

                return delegate.entrySet();
              }
    
              @Override
              public boolean contains(@Nullable Object object) {
                if (object instanceof Entry<?, ?> && ((Entry<?, ?>) object).getKey() == null) {
                  return false;
                }
                try {
                  return super.contains(object);
                } catch (ClassCastException e) {
                  return false;
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMultimap.java

        for (Collection<V> collection : asMap().values()) {
          if (collection.contains(value)) {
            return true;
          }
        }
    
        return false;
      }
    
      @Override
      public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/extensions.kt

            }
            skipConditionally(buildType)
        }
    
    fun Requirements.requiresOs(os: Os) {
        contains("teamcity.agent.jvm.os.name", os.agentRequirement)
    }
    
    fun Requirements.requiresArch(os: Os, arch: Arch) {
        if (os == Os.MACOS) {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnMac)
        } else {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows)
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray iia = ImmutableIntArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
        assertThat(ImmutableIntArray.of(13).contains(13)).isTrue();
        assertThat(ImmutableIntArray.of().contains(21)).isFalse();
        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
        assertThat(ImmutableDoubleArray.of(13).contains(13)).isTrue();
        assertThat(ImmutableDoubleArray.of().contains(21)).isFalse();
        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testContains() {
        assertThat(Floats.contains(EMPTY, (float) 1)).isFalse();
        assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse();
        assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse();
        assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 3)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testContains() {
        assertThat(Doubles.contains(EMPTY, (double) 1)).isFalse();
        assertThat(Doubles.contains(ARRAY1, (double) 2)).isFalse();
        assertThat(Doubles.contains(ARRAY234, (double) 1)).isFalse();
        assertThat(Doubles.contains(new double[] {(double) -1}, (double) -1)).isTrue();
        assertThat(Doubles.contains(ARRAY234, (double) 2)).isTrue();
        assertThat(Doubles.contains(ARRAY234, (double) 3)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testContains() {
        assertThat(Floats.contains(EMPTY, (float) 1)).isFalse();
        assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse();
        assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse();
        assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 3)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertTrue(FluentIterable.from(set).contains(null));
      }
    
      public void testContains_nullSetNo() {
        Iterable<String> set = ImmutableSortedSet.of("a", "b");
        assertFalse(FluentIterable.from(set).contains(null));
      }
    
      public void testContains_nullIterableYes() {
        Iterable<String> iterable = iterable("a", null, "b");
        assertTrue(FluentIterable.from(iterable).contains(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/sds/writer_test.go

    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    			t.Errorf("expected %s included in writer output, did not find", expected)
    		}
    	}
    	for _, unexpected := range unexpected {
    		if strings.Contains(output, unexpected) {
    			t.Errorf("unexpected string %s included in writer output", unexpected)
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
Back to top