- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Disposable (0.12 sec)
-
src/main/java/org/codelibs/core/misc/Disposable.java
package org.codelibs.core.misc; /** * 破棄可能なリソースを表現します。 * <p> * S2コンテナの終了時に破棄しなければならないリソースがある場合は、 このインタフェースを実装したクラスを作成し、 * {@link DisposableUtil}に登録します。 * </p> * * @author koichik */ public interface Disposable { /** * このオブジェクトが保持しているリソースを破棄します。 * */ void dispose();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
assertArgumentNotNull("disposable", disposable); disposables.addFirst(disposable); } /** * 破棄可能なリソースを登録解除します。 * * @param disposable * 破棄可能なリソース。{@literal null}であってはいけません */ public static synchronized void remove(final Disposable disposable) { assertArgumentNotNull("disposable", disposable); disposables.remove(disposable); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
class KotlinSourceParser { data class ParsedKotlinFiles( val ktFiles: List<KtFile>, private val disposable: Disposable ) : AutoCloseable { override fun close() { Disposer.dispose(disposable) } } private val messageCollector: MessageCollector
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
assertThat(DisposableUtil.disposables.size(), is(2)); DisposableUtil.dispose(); assertThat(count, is(2)); assertThat(names, is("ab")); assertThat(DisposableUtil.disposables.size(), is(0)); } /** * */ public class TestDisposable implements Disposable { String name; /** * @param name
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.codehaus.plexus.logging.Logger; import org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable; import org.eclipse.aether.RepositorySystem; import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.repository.LocalRepositoryManager; import org.eclipse.aether.resolution.ArtifactRequest;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 24.8K bytes - Viewed (0)