Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 3,501 for final (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

        private final List<Suppression> suppressions = Lists.newArrayList();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

          throw new AssertionError(e); // programmer error
        }
      }
    
      // Secret sauce for setting final fields; don't make it public.
      static final class FieldSetter<T> {
        private final Field field;
    
        private FieldSetter(Field field) {
          this.field = field;
          field.setAccessible(true);
        }
    
        void set(T instance, Object value) {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            execForNewGradle(baseline, current);
        }
    
        private void execForNewGradle(final List<JApiCmpWorkerAction.Archive> baseline, final List<JApiCmpWorkerAction.Archive> current) {
            WorkQueue queue = getWorkerExecutor().processIsolation(spec -> {
                spec.getClasspath().from(calculateWorkerClasspath());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
      private final ExecutionList executionList = new ExecutionList();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

         */
        SYSTEM("system", false);
    
        private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap(
                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
        public static DependencyScope forId(String id) {
            return IDS.get(id);
        }
    
        private final String id;
        private final boolean transitive;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

    import org.slf4j.LoggerFactory;
    
    /**
     * Utility class to extract {@link MavenProject} from the project graph during the execution phase based on optional or
     * required selectors.
     */
    public final class ProjectSelector {
        private static final Logger LOGGER = LoggerFactory.getLogger(ProjectSelector.class);
    
        public Set<MavenProject> getRequiredProjectsBySelectors(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIsEqualsMethod() throws Exception {
            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true));
            final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode");
            assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true)));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/ValueHolder.java

         *            値
         */
        public ValueHolder(final T value) {
            this.value = value;
        }
    
        /**
         * 値を返します。
         *
         * @return 値
         */
        public T getValue() {
            return value;
        }
    
        /**
         * 値を設定します。
         *
         * @param value
         *            値
         */
        public void setValue(final T value) {
            this.value = value;
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ResolverLifecycle.java

    /**
     * Maven internal component that bridges container "shut down" to {@link RepositorySystem#shutdown()}.
     *
     * @since 3.9.0
     */
    @Named
    @EagerSingleton
    final class ResolverLifecycle {
        private final Provider<RepositorySystem> repositorySystemProvider;
    
        @Inject
        ResolverLifecycle(Provider<RepositorySystem> repositorySystemProvider) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    /**
     * Simple base class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top