Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for sortable (0.18 sec)

  1. android/guava/src/com/google/common/graph/ElementOrder.java

       * graphBuilder.incidentEdgeOrder(ElementOrder.stable())}.
       *
       * <h3>In combination with {@code incidentEdgeOrder}</h3>
       *
       * <p>{@code incidentEdgeOrder(ElementOrder.stable())} guarantees the ordering of the returned
       * collections of the following methods:
       *
       * <ul>
       *   <li>For {@link Graph} and {@link ValueGraph}:
       *       <ul>
       *         <li>{@code edges()}: Stable order
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

        } catch (NullPointerException expected) {
        }
      }
    
      public void testToTable() {
        Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector =
            TableCollectors.toTable(
                Cell::getRowKey, Cell::getColumnKey, Cell::getValue, HashBasedTable::create);
        BiPredicate<Table<String, String, Integer>, Table<String, String, Integer>> equivalence =
            pairwiseOnResultOf(Table::cellSet);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

      }
    
      // Stable order tests
    
      // Note: Stable order means that the ordering doesn't change between iterations and versions.
      // Ideally, the ordering in test should never be updated.
      @Test
      public void stableIncidentEdgeOrder_edges_returnsInStableOrder() {
        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
        populateStarShapedGraph();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

       * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable()
       * stable} order.
       *
       * @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code
       *     ElementOrder.unordered()} or {@code ElementOrder.stable()}.
       * @since 29.0
       */
      public <N1 extends N> ValueGraphBuilder<N1, V> incidentEdgeOrder(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/HostSpecifier.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.net.InetAddress;
    import java.text.ParseException;
    import javax.annotation.CheckForNull;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ImmutableGraph.java

        Builder(GraphBuilder<N> graphBuilder) {
          // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to
          // modify this builder, so we make a copy instead.
          this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) {
          list.add(e);
        }
        return Collections.unmodifiableList(list);
      }
    
      /**
       * @return a suitable location for a null element, to use when initializing containers for tests
       *     that involve a null element being present.
       */
      protected int getNullLocation() {
        return getNumElements() / 2;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

     */
    
    package com.google.common.xml;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.Escaper;
    import com.google.common.escape.Escapers;
    
    /**
     * {@code Escaper} instances suitable for strings to be included in XML attribute values and
     * elements' text contents. When possible, avoid manual escaping by using templating systems and
     * high-level APIs that provide autoescaping. For example, consider <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * DefaultRepositoryLayout does not correctly describe the layout of a local repository which unlike a remote
             * repository never uses timestamps in the filename of a snapshot artifact. The discrepancy gets notable when a
             * remotely resolved snapshot artifact gets passed into pathOf(). So producing a proper local artifact path
             * using DefaultRepositoryLayout requires us to enforce usage of the artifact's base version. This
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

          busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
        } catch (Exception e) {
          throw new Error(e);
        }
      }
    
      /**
       * Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package. Replace with a simple call
       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      @SuppressWarnings("removal") // b/318391980
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top