Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for init (2.59 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

        private DefaultSessionFactory sessionFactory;
    
        @Inject
        EventSpyImpl(DefaultSessionFactory sessionFactory) {
            this.sessionFactory = sessionFactory;
        }
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent) {
                ExecutionEvent ee = (ExecutionEvent) arg;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            addZeroTokens(valueTokens, 3);
            addZeroTokens(rangeValueTokens, 3);
    
            for (int i = 0; i < 3; i++) {
                int x = Integer.parseInt(valueTokens.get(i));
                int y = Integer.parseInt(rangeValueTokens.get(i));
                if (x < y) {
                    return -1;
                } else if (x > y) {
                    return 1;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        final Integer value;
    
        Foo(int value) {
          this.value = value;
        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof Foo) && ((Foo) o).value.equals(value);
        }
    
        @Override
        public int compareTo(Foo other) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ComparatorsTest.java

        final Integer value;
    
        Foo(int value) {
          this.value = value;
        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof Foo) && ((Foo) o).value.equals(value);
        }
    
        @Override
        public int compareTo(Foo other) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                } catch (InvalidVersionSpecificationException e) {
                    throw new VersionParserException("Unable to parse version: " + delegateValue, e);
                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
                    return delegate.compareTo(((DefaultVersion) o).delegate);
                } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         */
        public List<Lifecycle> getLifeCycles() {
            List<String> lifecycleIds = Arrays.asList(STANDARD_LIFECYCLES);
    
            Comparator<String> comparator = (l, r) -> {
                int lx = lifecycleIds.indexOf(l);
                int rx = lifecycleIds.indexOf(r);
    
                if (lx < 0 || rx < 0) {
                    return rx - lx;
                } else {
                    return lx - rx;
                }
            };
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/FatArtifactTraverser.java

                return true;
            } else if (null == obj || !getClass().equals(obj.getClass())) {
                return false;
            }
            return true;
        }
    
        @Override
        public int hashCode() {
            return getClass().hashCode();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
                            return Boolean.parseBoolean(parser.getAttributeValue(i));
                        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                        stateMap.put(v, DfsState.VISITED);
                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top