Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 562 for ordered (0.71 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
        List<float[]> ordered =
            Arrays.asList(
                new float[] {},
                new float[] {LEAST},
                new float[] {LEAST, LEAST},
                new float[] {LEAST, 1.0f},
                new float[] {1.0f},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.join(",", (int) 1, (int) 2)).isEqualTo("1,2");
        assertThat(Ints.join("", (int) 1, (int) 2, (int) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<int[]> ordered =
            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1},
                new int[] {(int) 1},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
        List<float[]> ordered =
            Arrays.asList(
                new float[] {},
                new float[] {LEAST},
                new float[] {LEAST, LEAST},
                new float[] {LEAST, 1.0f},
                new float[] {1.0f},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        void checkAcquiredLock(Policy policy, LockGraphNode acquiredLock) {
          // checkAcquiredLock() should never be invoked by a lock that has already
          // been acquired. For unordered locks, aboutToAcquire() ensures this by
          // checking isAcquiredByCurrentThread(). For ordered locks, however, this
          // can happen because multiple locks may share the same LockGraphNode. In
          // this situation, throw an IllegalStateException as defined by contract
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        return new ImmutableLongArray(new long[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1) {
        return new ImmutableLongArray(new long[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1, long e2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/ImmutableIntArray.java

        return new ImmutableIntArray(new int[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1) {
        return new ImmutableIntArray(new int[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1, int e2) {
        return new ImmutableIntArray(new int[] {e0, e1, e2});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       how the collection was created. Typically this is insertion order unless an explicit
     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableCollection.java

     *       how the collection was created. Typically this is insertion order unless an explicit
     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        return new TransposedNetwork<>(network);
      }
    
      static <N> EndpointPair<N> transpose(EndpointPair<N> endpoints) {
        if (endpoints.isOrdered()) {
          return EndpointPair.ordered(endpoints.target(), endpoints.source());
        }
        return endpoints;
      }
    
      // NOTE: this should work as long as the delegate graph's implementation of edges() (like that of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Graphs.java

        }
    
        return new TransposedNetwork<>(network);
      }
    
      static <N> EndpointPair<N> transpose(EndpointPair<N> endpoints) {
        if (endpoints.isOrdered()) {
          return EndpointPair.ordered(endpoints.target(), endpoints.source());
        }
        return endpoints;
      }
    
      // NOTE: this should work as long as the delegate graph's implementation of edges() (like that of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top