Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Backward (0.1 sec)

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

              public Integer apply(String input) {
                return Integer.parseInt(input);
              }
            };
        Function<Object, String> backward = toStringFunction();
    
        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

            .containsExactly(Country.CANADA, Country.SWITZERLAND, Country.CHILE)
            .inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND)
            .inOrder();
        // backward map ordered by country (even for currency values)
        assertThat(bimap.inverse().values())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                }
            }
    
            RemoteRepository remoteRepo = RepositoryUtils.toRepo(deploymentRepository);
            /*
             * NOTE: This provides backward-compat with maven-deploy-plugin:2.4 which bypasses the repository factory when
             * using an alternative deployment location.
             */
            if (deploymentRepository instanceof DefaultArtifactRepository
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

            public boolean isCache() {
                for (final String value : values) {
                    if ("cache".equalsIgnoreCase(value)) {
                        return true;
                    }
                }
                // backward compatibility
                if (values.length == 1 && Constants.TRUE.equalsIgnoreCase(values[0])) {
                    return true;
                }
                return false;
            }
    
            public boolean isOverwrite() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.project.ProjectBuilder;
    
    /**
     * This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version
     * registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

     *
     */
    @Deprecated
    public interface WagonManager extends org.apache.maven.repository.legacy.WagonManager {
        /**
         * this method is only here for backward compat (project-info-reports:dependencies)
         * the default implementation will return an empty AuthenticationInfo
         *
         * @param id an id
         * @return corresponding authentication info
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. internal/s3select/jstream/scanner.go

    		// request next fill to be prepared
    		if s.end == maxInt {
    			s.fillReq <- struct{}{}
    		}
    	}
    
    	s.pos++
    	return s.buf[s.ipos]
    }
    
    // back undoes a previous call to next(), moving backward one byte in the internal buffer.
    // as we only guarantee a lookback buffer size of one, any subsequent calls to back()
    // before calling next() may panic
    func (s *scanner) back() {
    	if s.ipos <= 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            } catch (InstallationException e) {
                throw new ArtifactInstallationException(e.getMessage(), e);
            }
    
            /*
             * NOTE: Not used by Maven core, only here to provide backward-compat with plugins like the Install Plugin.
             */
    
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
                snapshot.setLocalCopy(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

         * @see Ansi#eraseScreen(Erase)
         * @see Ansi#eraseLine(Erase)
         */
        public enum Erase {
            FORWARD(0, "FORWARD"),
            BACKWARD(1, "BACKWARD"),
            ALL(2, "ALL");
    
            private final int value;
            private final String name;
    
            Erase(int index, String name) {
                this.value = index;
                this.name = name;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            return s;
        }
    
        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
         * behavior, this method accepts both the forward slash and the backward slash as separator.
         *
         * @param path The filesystem path, may be <code>null</code>.
         * @return The altered filesystem path or <code>null</code> if the input path was <code>null</code>.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top