- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 177 for CAST (0.18 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/pac/ASN1Util.java
} /** * Casts an object to the specified type with type checking * @param <T> the target type * @param type the target class type * @param object the object to cast * @return object cast to type * @throws PACDecodingException if types are incompatible */ public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/MutableClassToInstanceMap.java
return cast(type, put(type, value)); } @Override public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) { return cast(type, get(type)); } @CanIgnoreReturnValue private static <T> @Nullable T cast(Class<T> type, @Nullable Object value) { return Primitives.wrap(type).cast(value); } private Object writeReplace() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
* ElementOrder#stable()}, regardless of the value that was set in this builder. * * @since 28.0 */ public <N1 extends N> ImmutableGraph.Builder<N1> immutable() { GraphBuilder<N1> castBuilder = cast(); return new ImmutableGraph.Builder<>(castBuilder); } /** * Specifies whether the graph will allow self-loops (edges that connect a node to itself).
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
Class<? extends T> type = entry.getKey(); T value = entry.getValue(); mapBuilder.put(type, cast(type, value)); } return this; } private static <T> T cast(Class<T> type, Object value) { return Primitives.wrap(type).cast(value); } /** * Returns a new immutable class-to-instance map containing the entries provided to this * builder.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
Class<? extends T> type = entry.getKey(); T value = entry.getValue(); mapBuilder.put(type, cast(type, value)); } return this; } private static <T> T cast(Class<T> type, Object value) { return Primitives.wrap(type).cast(value); } /** * Returns a new immutable class-to-instance map containing the entries provided to this * builder.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
internal/s3select/sql/funceval.go
func (e *FuncExpr) evalSQLFnNode(r Record, tableAlias string) (res *Value, err error) { // Handle functions that have phrase arguments switch e.getFunctionName() { case sqlFnCast: expr := e.Cast.Expr res, err = expr.castTo(r, strings.ToUpper(e.Cast.CastType), tableAlias) return res, err case sqlFnSubstring: return handleSQLSubstring(r, e.Substring, tableAlias) case sqlFnExtract:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
// TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders? @SuppressWarnings("unchecked") Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz; suite.addTestSuite(cast); } } return suite; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Parameter.java
@Nullable A[] result = FluentIterable.from(annotations).filter(annotationType).toArray(annotationType); @SuppressWarnings("nullness") // safe because the input list contains no nulls A[] cast = (A[]) result; return cast; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Parameter) { Parameter that = (Parameter) obj;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java
} /** * Gets the file system information from the response cast to the specified type. * * @param <T> the type of file system information to return * @param clazz the class of the file system information to return * @return the filesystem info cast to the specified type * @throws CIFSException if the information cannot be cast to the specified type */ @SuppressWarnings("unchecked")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java
import static org.apache.maven.internal.impl.CoreUtils.cast; public interface InternalMavenSession extends InternalSession { static InternalMavenSession from(Session session) { return cast(InternalMavenSession.class, session, "session should be an " + InternalMavenSession.class); } static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.2K bytes - Click Count (0)