Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 263 for Contains (0.16 sec)

  1. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
          return fromTable.contains(rowKey, columnKey);
        }
    
        @Override
        @CheckForNull
        public V2 get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
          // The function is passed a null input only when the table contains a null
          // value.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      public void testExplicit_contains() {
        SortedSet<String> set =
            ImmutableSortedSet.orderedBy(STRING_LENGTH)
                .add("in", "the", "quick", "jumped", "over", "a")
                .build();
        assertTrue(set.contains("quick"));
        assertTrue(set.contains("google"));
        assertFalse(set.contains(""));
        assertFalse(set.contains("california"));
        assertFalse(set.contains(null));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

          return size() - index;
        }
    
        @Override
        public ImmutableList<E> reverse() {
          return forwardList;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          return forwardList.contains(object);
        }
    
        @Override
        public int indexOf(@CheckForNull Object object) {
          int index = forwardList.lastIndexOf(object);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            printErrors(result);
    
            assertEquals(2, result.getArtifacts().size());
    
            assertTrue(result.getArtifacts().contains(g));
    
            assertTrue(result.getArtifacts().contains(h));
    
            assertLocalArtifactPresent(g);
    
            assertLocalArtifactPresent(h);
        }
    
        @Test
        void
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // name is the name of the resource in question.
      optional string name = 1;
    
      // current contains the current value for the given metric
      optional MetricValueStatus current = 2;
    
      // container is the name of the container in the pods of the scaling target
      optional string container = 3;
    }
    
    // CrossVersionObjectReference contains enough information to let you identify the referred resource.
    message CrossVersionObjectReference {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

          for (N successorNode : graph.successors(node)) {
            if (subgraph.nodes().contains(successorNode)) {
              subgraph.putEdge(node, successorNode);
            }
          }
        }
        return subgraph;
      }
    
      /**
       * Returns the subgraph of {@code graph} induced by {@code nodes}. This subgraph is a new graph
       * that contains all of the nodes in {@code nodes}, and all of the {@link Graph#edges() edges}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertTrue(entries.contains(Maps.immutableEntry("a", true)));
        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
            entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null)));
    
        assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertEquals(map.keySet(), multimapView.keys().elementSet());
        assertThat(multimapView.keys()).contains("foo");
        assertThat(multimapView.values()).contains(1);
        assertThat(multimapView.entries()).contains(Maps.immutableEntry("foo", 1));
        assertThat(multimapView.asMap().entrySet())
            .contains(Maps.immutableEntry("foo", (Collection<Integer>) Collections.singleton(1)));
        multimapView.clear();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsTest.java

            .inOrder();
      }
    
      public void testCartesianProduct_contains() {
        List<List<Integer>> actual = Lists.cartesianProduct(list(1, 2), list(3, 4));
        assertTrue(actual.contains(list(1, 3)));
        assertTrue(actual.contains(list(1, 4)));
        assertTrue(actual.contains(list(2, 3)));
        assertTrue(actual.contains(list(2, 4)));
        assertFalse(actual.contains(list(3, 1)));
      }
    
      public void testCartesianProduct_indexOf() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertEquals(map.keySet(), multimapView.keys().elementSet());
        assertThat(multimapView.keys()).contains("foo");
        assertThat(multimapView.values()).contains(1);
        assertThat(multimapView.entries()).contains(Maps.immutableEntry("foo", 1));
        assertThat(multimapView.asMap().entrySet())
            .contains(Maps.immutableEntry("foo", (Collection<Integer>) Collections.singleton(1)));
        multimapView.clear();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
Back to top