Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for __construct (0.18 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * one specified is included.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) {
        return construct(Ordering.natural(), 2, e1, e2);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSetFloodingTest.java

                QueryOp.create(
                    "contains",
                    (s, o) -> {
                      boolean unused = s.contains(o);
                    },
                    Math::log)));
      }
    
      /** All the ways to construct an ImmutableSet. */
      enum ConstructionPathway implements Construction<Set<Object>> {
        OF {
          @Override
          public ImmutableSet<Object> create(List<?> list) {
            Object o1 = list.get(0);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            try {
                docResource = new File(myClasspathEntry).toURL();
            } catch (MalformedURLException e) {
                throw new ExpressionDocumentationException(
                        "Cannot construct expression documentation classpath" + " resource base.", e);
            }
    
            return new URLClassLoader(new URL[] {docResource});
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    } catch (Throwable e) {
                        // ignore
                        e.printStackTrace();
                    }
                    throw new DIException("No binding to construct an instance for key "
                            + key.getDisplayString() + ".  Existing bindings:\n"
                            + getBoundKeys().stream()
                                    .map(Key::toString)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

         * 'rootObject.getChild().isName()' for boolean properties.
         */
        public static class ObjectBasedValueSource extends AbstractValueSource {
    
            private final Object root;
    
            /**
             * Construct a new value source, using the supplied object as the root from
             * which to start, and using expressions split at the dot ('.') to navigate
             * the object graph beneath this root.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(new TypeToken<Iterable<String>>() {}, type.getSupertype(Iterable.class));
      }
    
      public <T extends Iterable<String>> void testGetSupertype_fromTypeVariable() {
        @SuppressWarnings("unchecked") // to construct TypeToken<T> from TypeToken.of()
        TypeToken<T> typeVariableToken = (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture());
        assertEquals(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertThrows(
                    InvalidVersionSpecificationException.class,
                    () -> VersionRange.createFromVersionSpec(version),
                    "Version " + version + " should have failed to construct");
        }
    
        @Test
        void testContains() throws InvalidVersionSpecificationException {
            ArtifactVersion actualVersion = new DefaultArtifactVersion("2.0.5");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 44.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * is merely copied. Only as the power set is iterated are the individual subsets created, and
       * these subsets themselves occupy only a small constant amount of memory.
       *
       * @param set the set of elements to construct a power set from
       * @return the power set, as an immutable set of immutable sets
       * @throws IllegalArgumentException if {@code set} has more than 30 unique elements (causing the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2, E e3) {
        return construct(e1, e2, e3);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
Back to top