Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 270 for Course (0.19 sec)

  1. guava/src/com/google/common/base/Preconditions.java

     * standard JDK exceptions such as {@link java.util.NoSuchElementException} or {@link
     * UnsupportedOperationException} in the situations they are intended for.
     *
     * <h3>Non-preconditions</h3>
     *
     * <p>It is of course possible to use the methods of this class to check for invalid conditions
     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        ByteSource equalSource = new TestByteSource(bytes);
        assertTrue(source.contentEquals(equalSource));
        assertTrue(new TestByteSource(bytes).contentEquals(source));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(STRING.length(), source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertEquals(STRING, sink.getString());
      }
    
      public void testRead_toString() throws IOException {
        assertEquals(STRING, source.read());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        assertEquals(testString.length() * 3, result.length());
      }
    
      public void testReady() throws Exception {
        CharSource source = newCharSource("a");
        Iterable<? extends CharSource> list = ImmutableList.of(source, source);
        Reader joinedReader = CharSource.concat(list).openStream();
    
        assertTrue(joinedReader.ready());
        assertEquals('a', joinedReader.read());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

      private Set<Feature<?>> conflicts;
      private Object source;
    
      public ConflictingRequirementsException(
          String message, Set<Feature<?>> conflicts, Object source) {
        super(message);
        this.conflicts = conflicts;
        this.source = source;
      }
    
      public Set<Feature<?>> getConflicts() {
        return conflicts;
      }
    
      public Object getSource() {
        return source;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
        assertThat(ordered.source()).isEqualTo("source");
        assertThat(ordered.target()).isEqualTo("target");
        assertThat(ordered.nodeU()).isEqualTo("source");
        assertThat(ordered.nodeV()).isEqualTo("target");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
        assertThat(ordered.source()).isEqualTo("source");
        assertThat(ordered.target()).isEqualTo("target");
        assertThat(ordered.nodeU()).isEqualTo("source");
        assertThat(ordered.nodeV()).isEqualTo("target");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      @Test
      public void source_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.incidentNodes(E12).source()).isEqualTo(N1);
      }
    
      @Test
      public void source_edgeNotInGraph() {
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> network.incidentNodes(EDGE_NOT_IN_GRAPH).source());
        assertEdgeNotInGraphErrorMessage(e);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       * Incorporate additional requirements into an existing requirements object.
       *
       * @param requirements the existing requirements object
       * @param moreRequirements more requirements to incorporate
       * @param source the source of the additional requirements (used only for error reporting)
       * @return the existing requirements object, modified to include the additional requirements
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
Back to top