- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,803 for INSTANCE (0.06 seconds)
-
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(Comparable.class, ByToString.INSTANCE) .put(Comparator.class, AlwaysEqual.INSTANCE) .put(Ordering.class, AlwaysEqual.INSTANCE) .put(Range.class, Range.all()) .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of())) .put(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ReverseNaturalOrdering.java
public <E extends Comparable<?>> E min(E a, E b) { return NaturalOrdering.INSTANCE.max(a, b); } @Override public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) { return NaturalOrdering.INSTANCE.max(a, b, c, rest); } @Override public <E extends Comparable<?>> E min(Iterator<E> iterator) { return NaturalOrdering.INSTANCE.max(iterator); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
new ImmutableClassToInstanceMap<>(ImmutableMap.of()); /** * Returns an empty {@code ImmutableClassToInstanceMap}. * * <p><b>Performance note:</b> the instance returned is a singleton. * * @since 19.0 */ @SuppressWarnings("unchecked") public static <B> ImmutableClassToInstanceMap<B> of() { return (ImmutableClassToInstanceMap<B>) EMPTY; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks. return CHAR_BUFFER; } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraphBuilder.java
@Nullable Integer expectedNodeCount = null; /** * Creates a new instance with the specified edge directionality. * * @param directed if true, creates an instance for graphs whose edges are each directed; if * false, creates an instance for graphs whose edges are each undirected. */ AbstractGraphBuilder(boolean directed) { this.directed = directed; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 1.4K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
* system. Custom scope annotations should be annotated with {@code @Scope}. * <p> * Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li> * <li>{@link SessionScoped} - One instance per Maven session</li> * <li>{@link MojoExecutionScoped} - One instance per plugin execution</li> * </ul> * * @see Singleton * @see SessionScoped * @see MojoExecutionScoped * @since 4.0.0 */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Supplier.java
* @author Harry Heymann * @since 2.0 */ @GwtCompatible public interface Supplier<T extends @Nullable Object> { /** * Retrieves an instance of the appropriate type. The returned object may or may not be a new * instance, depending on the implementation. * * @return an instance of the appropriate type */ @ParametricNullness T get(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
} }; } /** * Creates new instance of problem collector with configuration from the provided session. * * @param <P> the type of problem * @param protoSession the session containing configuration for the problem collector * @return a new problem collector instance */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
} /** * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve * POM expressions, then re-parse into the resolved Model instance. * <p> * <b>NOTE:</b> This will result in a different instance of Model being returned!!! * * @param model The inbound Model instance, to serialize and reference for expression resolutionCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Preconditions.java
throw new IllegalArgumentException( Platform.lenientFormat(errorMessageTemplate, p1, p2, p3, p4)); } } /** * Ensures the truth of an expression involving the state of the calling instance, but not * involving any parameters to the calling method. * * @param expression a boolean expression * @throws IllegalStateException if {@code expression} is false * @see Verify#verify Verify.verify()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0)