- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 445 for PRE (0.02 seconds)
-
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* then Lock B, while another thread acquires Lock B, and then Lock A: * * <pre> * Thread1: acquire(LockA) --X acquire(LockB) * Thread2: acquire(LockB) --X acquire(LockA) * </pre> * * <p>Neither thread will progress because each is waiting for the other. In more complex * applications, cycles can arise from interactions among more than 2 locks: * * <pre> * Thread1: acquire(LockA) --X acquire(LockB)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/annotation/Secured.java
* attributes for business methods. * <p> * For example: * * <pre> * @Secured({ "ROLE_USER" }) * public void create(Contact contact); * * @Secured({ "ROLE_USER", "ROLE_ADMIN" }) * public void update(Contact contact); * * @Secured({ "ROLE_ADMIN" }) * public void delete(Contact contact); * </pre> */ @Target({ ElementType.METHOD, ElementType.TYPE })
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
import org.jspecify.annotations.Nullable; /** * Tester for equals() and hashCode() methods of a class. * * <p>The simplest use case is: * * <pre> * new EqualsTester().addEqualityGroup(foo).testEquals(); * </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/TestUtil.java
import org.hamcrest.Matcher; /** * @author koichik */ public abstract class TestUtil { /** * 実際の値が期待する{@literal clazz}と等しいかを検証する{@link Matcher}を返します。 * * <pre>assertThat(clazz, is(Xxx.class));</pre> * <p> * と書くと{@link CoreMatchers#is(Class)}が適用されて{@literal clazz}が {@literal Xxx} * のインスタンスかを検証されてしまうのでこれが必要。 * * @param clazz * 期待するクラスCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.4K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java
* configured based on runtime conditions. * <p> * Example usage: * <pre> * public class Providers { * {@literal @}Provides * {@literal @}Singleton * public static Configuration provideConfiguration() { * return Configuration.load(); * } * } * </pre> * * @since 4.0.0 */ @Target(METHOD) @Retention(RUNTIME) @DocumentedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.8K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LanguageProvider.java
* throughout the Maven build process. * <p> * Example usage: * <pre> * public class CustomLanguageProvider implements LanguageProvider { * public Collection<Language> provides() { * return Collections.singleton(language("kotlin")); * } * } * </pre> * * @see org.apache.maven.api.Language * @see org.apache.maven.api.spi.ExtensibleEnumProvider * @since 4.0.0Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* </p> * * <pre> * import static org.codelibs.core.beans.util.BeanUtil.*; * * copyBeanToBean(srcBean, destBean); * </pre> * <p> * It is also possible to copy from a JavaBean to a {@link Map} or from a {@link Map} to a JavaBean. * </p> * * <pre> * copyBeanToMap(srcBean, destMap); * copyMapToBean(srcMap, destBean); * </pre> * <p>
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.5K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java
* which implementation should be injected when multiple candidates exist. * The value represents a unique identifier for the dependency. * <p> * Example usage: * <pre> * {@literal @}Inject * {@literal @}Named("mysql") * private Repository mysqlRepository; * </pre> * * @see Inject * @see Qualifier * @since 4.0.0 */ @Qualifier @Retention(RUNTIME) @Documented public @interface Named { /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
assertThrows(ParseException.class, () -> cli.cli(request)); } /** * Read .mvn/maven.config with the following definitions: * <pre> * -T * 3 * -Drevision=1.3.0 * "-Dlabel=Apache Maven" * </pre> * and check if the {@code -T 3} option can be overwritten via command line * argument. * * @throws Exception in case of failure. */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 8K bytes - Click Count (0)