Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Enum (0.15 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
    
        /**
         * An enum class to specify the distance of scopes from an element as a partial order
         *
         * Example:
         *   import ... // scope1  FirExplicitSimpleImportingScope - enum entry: ExplicitSimpleImporting
         *   // scope2  FirPackageMemberScope - enum entry: PackageMember
         *   class Outer { // scope3  FirClassUseSiteMemberScope - enum entry: ClassUseSite
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * <p><b>Note:</b> if elements are non-null and won't be added or removed after this point, use
       * {@link ImmutableSet#of()} or {@link ImmutableSet#copyOf(Object[])} instead. If {@code E} is an
       * {@link Enum} type, use {@link EnumSet#of(Enum, Enum[])} instead. Otherwise, strongly consider
       * using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get
       * deterministic iteration behavior.
       *
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.EXPECTED_ENUM_CONSTRUCTOR) { firDiagnostic ->
            ExpectedEnumConstructorImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.EXPECTED_ENUM_ENTRY_WITH_BODY) { firDiagnostic ->
            ExpectedEnumEntryWithBodyImpl(
                firDiagnostic as KtPsiDiagnostic,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

    internal val ClassDescriptor.isInterfaceLike: Boolean
        get() = when (kind) {
            ClassKind.CLASS, ClassKind.ENUM_CLASS, ClassKind.OBJECT, ClassKind.ENUM_ENTRY -> false
            else -> true
        }
    
    internal fun DeclarationDescriptor.toKtSymbol(analysisContext: Fe10AnalysisContext): KtSymbol? {
        if (this is ClassDescriptor && kind == ClassKind.ENUM_ENTRY) {
            return KtFe10DescEnumEntrySymbol(this, analysisContext)
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

    /**
     * Request used to build a {@link org.apache.maven.api.Project} using
     * the {@link ProjectBuilder} service.
     *
     * TODO: replace ModelRepositoryHolder with just the enum for the strategy
     * TODO: replace validation level with an enum (though, we usually need just a boolean)
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ModelBuilderRequest {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelRepositoryHolder.java

    public class DefaultModelRepositoryHolder implements ModelRepositoryHolder {
    
        /**
         * The possible merge modes for combining remote repositories.
         */
        public enum RepositoryMerging {
    
            /**
             * The repositories declared in the POM have precedence over the repositories specified in the request.
             */
            POM_DOMINANT,
    
            /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

          events += "plan $id cancel"
          canceled = true
        }
    
        override fun retry(): FakePlan? {
          check(!retryTaken)
          retryTaken = true
          return retry
        }
      }
    
      enum class ConnectState {
        READY,
        TCP_CONNECTED,
        TLS_CONNECTED,
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        if (strategy == ResumePriority.AfterOtherTasks && otherTasksStarted) {
          return yieldUntil(strategy, condition)
        }
      }
    
      private enum class ResumePriority {
        /** Resumes as soon as the condition is satisfied. */
        BeforeOtherTasks,
    
        /** Resumes after the already-enqueued tasks. */
        AfterEnqueuedTasks,
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. internal/event/name.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    )
    
    // Name - event type enum.
    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p>The iteration order of the returned map follows the enum's iteration order, not the order in
       * which the elements appear in the given map.
       *
       * @param map the map to make an immutable copy of
       * @return an immutable map containing those entries
       * @since 14.0
       */
      @GwtCompatible(serializable = true)
      public static <K extends Enum<K>, V> ImmutableMap<K, V> immutableEnumMap(
          Map<K, ? extends V> map) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top