Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1941 - 1950 of 2,158 for Booleans (0.1 sec)

  1. 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) {
          return value.compareTo(other.value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

       * {@link #tailMap}. If you override {@link #tailMap}, you may wish to override {@link
       * #containsKey} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContainsKey(@CheckForNull Object key) {
        try {
          // any CCE or NPE will be caught
          @SuppressWarnings({"unchecked", "nullness"})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CaseFormat.java

          return sourceFormat.to(targetFormat, s);
        }
    
        @Override
        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter that = (StringConverter) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

      @Override
      public Hasher newHasher() {
        return new Murmur3_128Hasher(seed);
      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_128(" + seed + ")";
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Murmur3_128HashFunction) {
          Murmur3_128HashFunction other = (Murmur3_128HashFunction) object;
          return seed == other.seed;
        }
        return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
            if (metadata == null) {
                metadata = this.metadata;
    
                changed = true;
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

            result = prime * result + ((localFile == null) ? 0 : localFile.hashCode());
            result = prime * result + requestType;
            return result;
        }
    
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if ((obj == null) || (getClass() != obj.getClass())) {
                return false;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

        private final Lookup lookup;
    
        private final LifecycleRegistry registry;
    
        private Map<String, Lifecycle> customLifecycles;
    
        private boolean lifecyclesPrinted;
    
        public DefaultLifecycles() {
            this.lookup = null;
            this.registry = null;
        }
    
        /**
         * @deprecated Use {@link #DefaultLifecycles(LifecycleRegistry,Lookup)} instead
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

    import org.mortbay.log.Log;
    
    /**
     * @author shinsuke
     *
     */
    public class CrawlerWebServer {
        private int port = 8080;
    
        private File docRoot;
    
        private Server server;
    
        private boolean tempDocRoot = false;
    
        public CrawlerWebServer(final int port) {
            this(port, createDocRoot(3));
            tempDocRoot = true;
        }
    
        public CrawlerWebServer(final int port, final File docRoot) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        Iterator<E> iterator;
    
        public ThrowsAtEndIterator(Iterable<E> iterable) {
          this.iterator = iterable.iterator();
        }
    
        @Override
        public boolean hasNext() {
          return true; // pretend that you have more...
        }
    
        @Override
        public E next() {
          // ...but throw an unchecked exception when you ask for it.
          if (!iterator.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        }
      }
    
      public void testOverlapRejection() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            boolean expectRejection =
                range1.isConnected(range2) && !range1.intersection(range2).isEmpty();
            ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top