Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for regexes (0.23 sec)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testPatternSplitWordBoundary_singleCharInput() {
        String string = "f";
        Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string);
        assertThat(words).containsExactly("f").inOrder();
      }
    
      @AndroidIncompatible // Apparently Gingerbread's regex API is buggy.
      @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Doubles.java

      }
    
      /**
       * This is adapted from the regex suggested by {@link Double#valueOf(String)} for prevalidating
       * inputs. All valid inputs must pass this regex, but it's semantically fine if not all inputs
       * that pass this regex are valid -- only a performance hit is incurred, not a semantics bug.
       */
      @GwtIncompatible // regular expressions
      static final
      java.util.regex.Pattern
          FLOATING_POINT_PATTERN = fpPattern();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.NullPointerTester.Visibility;
    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.PatternSyntaxException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link PatternFilenameFilter}.
     *
     * @author Chris Nokleberg
     */
    public class PatternFilenameFilterTest extends TestCase {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. android/pom.xml

                  <exclude>%regex[.*PackageSanityTests.*.class]</exclude>
                  <!-- FeatureUtilTest.*ExampleDerivedInterfaceTester, com.google.common.io.*Tester, incidentally FeatureSpecificTestSuiteBuilderTest.MyAbstractTester (but we don't care either way because it's not meant to run on its own but works OK if it does)... but not NullPointerTesterTest, etc. -->
                  <exclude>%regex[.*Tester.class]</exclude>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Platform.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.ref.WeakReference;
    import java.util.Locale;
    import java.util.regex.Pattern;
    import javax.annotation.CheckForNull;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    public class FreshValueGeneratorTest extends TestCase {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 18.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Splitter.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Pattern;
    import javax.annotation.CheckForNull;
    
    /**
     * Extracts non-overlapping substrings from an input string, typically by recognizing appearances of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import com.google.common.testing.NullPointerTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.InputStream;
    import java.nio.charset.Charset;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Pattern;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testPatternSplitWordBoundary_singleCharInput() {
        String string = "f";
        Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string);
        assertThat(words).containsExactly("f").inOrder();
      }
    
      @AndroidIncompatible // Apparently Gingerbread's regex API is buggy.
      @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/PatternCompiler.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.RestrictedApi;
    
    /**
     * Pluggable interface for compiling a regex pattern. By default this package uses the {@code
     * java.util.regex} library, but an alternate implementation can be supplied using the {@link
     * java.util.ServiceLoader} mechanism.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top