Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for regin (0.16 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalSet}.
     *
     * @author Regina O'Dell
     */
    public class MinimalSetTest extends TestCase {
      public static Test suite() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

    import com.google.common.annotations.GwtCompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An unhashable object to be used in testing as values in our collections.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Predicates.java

      @GwtIncompatible(value = "java.util.regex.Pattern")
      public static Predicate<CharSequence> contains(Pattern pattern) {
        return new ContainsPatternPredicate(new JdkPattern(pattern));
      }
    
      // End public API, begin private implementation classes.
    
      // Package private for GWT serialization.
      enum ObjectPredicate implements Predicate<@Nullable Object> {
        /** @see Predicates#alwaysTrue() */
        ALWAYS_TRUE {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
        implements TestCollectionGenerator<UnhashableObject> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * someone still manages to pass null, let's continue to have the method work.
       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
        assertSame(s, htmlEscaper().escape(s));
    
        // Tests escapes at begin and end of string.
        assertEquals("&lt;p&gt;", htmlEscaper().escape("<p>"));
    
        // Test all escapes.
        assertEquals("a&quot;b&lt;c&gt;d&amp;", htmlEscaper().escape("a\"b<c>d&"));
    
        // Test two escapes in a row.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EnumHashBiMap.java

         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // only needed in emulated source.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Cache.java

      long size();
    
      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `It proves nothing of the sort!' said Alice.  `Why, you don't
    even know what they're about!'
    
      `Read them,' said the King.
    
      The White Rabbit put on his spectacles.  `Where shall I begin,
    please your Majesty?' he asked.
    
      `Begin at the beginning,' the King said gravely, `and go on
    till you come to the end:  then stop.'
    
      These were the verses the White Rabbit read:--
    
            `They told me you had been to her,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

        double pivot = array[from];
    
        // Move all elements with indexes in (from, to] which are greater than the pivot to the end of
        // the array. Keep track of where those elements begin.
        int partitionPoint = to;
        for (int i = to; i > from; i--) {
          if (array[i] > pivot) {
            swap(array, partitionPoint, i);
            partitionPoint--;
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
Back to top