Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 234 for Ordered (0.05 seconds)

  1. android/guava/src/com/google/common/net/MediaType.java

      private static MediaType addKnownType(MediaType mediaType) {
        knownTypes.put(mediaType, mediaType);
        return mediaType;
      }
    
      /*
       * The following constants are grouped by their type and ordered alphabetically by the constant
       * name within that type. The constant name should be a sensible identifier that is closest to the
       * "common name" of the media. This is often, but not necessarily the same as the subtype.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    unhappy at the number of executions the Queen had ordered.
    
      They very soon came upon a Gryphon, lying fast asleep in the
    sun.  (IF you don't know what a Gryphon is, look at the picture.)
    `Up, lazy thing!' said the Queen, `and take this young lady to
    see the Mock Turtle, and to hear his history.  I must go back and
    see after some executions I have ordered'; and she walked off,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Maps.java

          // calculation here.
          return (int) ceil(expectedSize / 0.75);
        }
        return Integer.MAX_VALUE; // any large value
      }
    
      /**
       * Creates a <i>mutable</i>, empty, insertion-ordered {@code LinkedHashMap} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void hasEdgeConnecting_mismatch() {
        putEdge(N1, N2);
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(N1, N2))).isFalse();
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(N2, N1))).isFalse();
      }
    
      @Test
      public void hasEdgeConnecting_missingNode() {
        // both nodes missing
        assertThat(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

            return Spliterators.spliterator(new Object[0], Spliterator.DISTINCT | Spliterator.ORDERED);
          }
          Map<K, V> delegate = delegateOrNull();
          return (delegate != null)
              ? delegate.keySet().spliterator()
              : Spliterators.spliterator(
                  requireKeys(), 0, size, Spliterator.DISTINCT | Spliterator.ORDERED);
        }
    
        @Override
        public void forEach(Consumer<? super K> action) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

        setDistinctValues(NetworkBuilder.class, networkBuilderA, networkBuilderB);
        setDistinctValues(Network.class, IMMUTABLE_NETWORK_A, IMMUTABLE_NETWORK_B);
        setDefault(EndpointPair.class, EndpointPair.ordered("A", "B"));
      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionError e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Streams.java

        // TODO(lowasser): consider an implementation that can support SUBSIZED
        boolean isParallel = false;
        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

     */
    @NullUnmarked
    public abstract class AbstractStandardUndirectedNetworkTest extends AbstractNetworkTest {
      private static final EndpointPair<Integer> ENDPOINTS_N1N2 = EndpointPair.ordered(N1, N2);
      private static final EndpointPair<Integer> ENDPOINTS_N2N1 = EndpointPair.ordered(N2, N1);
    
      @After
      public void validateUndirectedEdges() {
        for (Integer node : network.nodes()) {
          new EqualsTester()
              .addEqualityGroup(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/CollectSpliterators.java

          }
    
          @Override
          public long estimateSize() {
            return delegate.estimateSize();
          }
    
          @Override
          public int characteristics() {
            return Spliterator.ORDERED
                | Spliterator.SIZED
                | Spliterator.SUBSIZED
                | extraCharacteristics;
          }
    
          @Override
          public @Nullable Comparator<? super T> getComparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableEnumMap.java

      @Override
      @GwtIncompatible // Spliterator
      Spliterator<Entry<K, V>> entrySpliterator() {
        return CollectSpliterators.map(
            delegate.entrySet().spliterator(),
            Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.IMMUTABLE | Spliterator.NONNULL,
            Maps::unmodifiableEntry);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        delegate.forEach(action);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
Back to Top