Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 578 for Ball (0.15 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

          } catch (RuntimeException e) {
            // Don't call getMessage or toString() on the exception, in case the exception thrown by the
            // subclass is implemented with bugs similar to the subclass.
            pendingDescription = "Exception thrown from implementation: " + e.getClass();
          }
          // The future may complete during or before the call to getPendingToString, so we use null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns {@code true} if the collection {@code self} contains all of the elements in the
       * collection {@code c}.
       *
       * <p>This method iterates over the specified collection {@code c}, checking each element returned
       * by the iterator in turn to see if it is contained in the specified collection {@code self}. If
       * all elements are so contained, {@code true} is returned, otherwise {@code false}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

          remaining -= bytesToCopy;
        }
        return result;
      }
    
      /**
       * Reads all bytes from an input stream into a byte array. Does not close the stream.
       *
       * <p><b>Java 9+ users:</b> use {@code in#readAllBytes()} instead.
       *
       * @param in the input stream to read from
       * @return a byte array containing all the bytes from the stream
       * @throws IOException if an I/O error occurs
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ContiguousSet.java

        }
    
        return empty
            ? new EmptyContiguousSet<C>(domain)
            : new RegularContiguousSet<C>(effectiveRange, domain);
      }
    
      /**
       * Returns a nonempty contiguous set containing all {@code int} values from {@code lower}
       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

      public void testAll() {
        ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.all();
    
        assertThat(rangeSet.asRanges()).contains(Range.<Integer>all());
        assertTrue(rangeSet.contains(0));
        assertTrue(rangeSet.intersects(Range.singleton(0)));
        assertTrue(rangeSet.intersects(Range.<Integer>all()));
        assertTrue(rangeSet.encloses(Range.<Integer>all()));
        assertTrue(rangeSet.enclosesAll(rangeSet));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      /**
       * Asserts that all pairs of {@code T} values within {@code valuesInExpectedOrder} are ordered
       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      protected void initMapWithNullValue() {
        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        List<String> list = newArrayList();
        Predicate<String> predicate = Predicates.equalTo("cool");
    
        assertTrue(Iterables.all(list, predicate));
        list.add("cool");
        assertTrue(Iterables.all(list, predicate));
        list.add("pants");
        assertFalse(Iterables.all(list, predicate));
      }
    
      public void testFind() {
        Iterable<String> list = newArrayList("cool", "pants");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            checkBuildPluginWithArtifactId(
                    activeProfilePlugins,
                    "plugin-all-profiles",
                    "Active all ||${project.basedir}||",
                    "<plugin-all-profiles-in>Active all ||${project.basedir}||</plugin-all-profiles-in>");
    
            checkBuildPluginWithArtifactId(
                    activeProfilePlugins,
                    "only-active-profile",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
Back to top