Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 403 for immutable (0.32 seconds)

  1. guava/src/com/google/common/collect/ArrayTable.java

          throw new UnsupportedOperationException();
        }
      }
    
      /**
       * Returns, as an immutable list, the row keys provided when the table was constructed, including
       * those that are mapped to null values only.
       */
      public ImmutableList<R> rowKeyList() {
        return rowList;
      }
    
      /**
       * Returns, as an immutable list, the column keys provided when the table was constructed,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java

    import java.nio.file.Path;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    
    /**
     * An {@link Artifact} that has been resolved, i.e. downloaded to the local repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DownloadedArtifact extends Artifact {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns an empty immutable range set.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable> ImmutableRangeSet<C> of() {
        return (ImmutableRangeSet<C>) EMPTY;
      }
    
      /**
       * Returns an immutable range set containing the specified single range. If {@link Range#isEmpty()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableRangeMap.java

      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
      /** Returns an immutable range map mapping a single range to a single value. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.Map;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.PluginContainer;
    
    /**
     * Represents the packaging of a Maven project.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/MoreCollectors.java

        }
    
        void add(T o) {
          checkNotNull(o);
          if (element == null) {
            this.element = o;
          } else if (extras.isEmpty()) {
            // Replace immutable empty list with mutable list.
            extras = new ArrayList<>(MAX_EXTRAS);
            extras.add(o);
          } else if (extras.size() < MAX_EXTRAS) {
            extras.add(o);
          } else {
            throw multiples(true);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChange.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import groovy.transform.Immutable
    import groovy.transform.ToString
    
    @Immutable @ToString
    class AcceptedApiChange {
        String type
        String member
        String acceptation
        List<String> changes
    
        ApiChange toApiChange() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import java.nio.file.Path;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * <p>The <dfn>local repository</dfn> is a directory on the developer's machine where
     * Maven stores all the downloaded artifacts (such as dependencies, plugins,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Primitives.java

          Map<Class<?>, Class<?>> forward,
          Map<Class<?>, Class<?>> backward,
          Class<?> key,
          Class<?> value) {
        forward.put(key, value);
        backward.put(value, key);
      }
    
      /**
       * Returns an immutable set of all nine primitive types (including {@code void}). Note that a
       * simpler way to test whether a {@code Class} instance is a member of this set is to call {@link
       * Class#isPrimitive}.
       *
       * @since 3.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java

            RelevanceEvaluationResult result = RelevanceEvaluationResult.withRelevantDocs(docIds, indexes);
    
            try {
                result.getRelevantDocIds().add("newDoc");
                fail("DocIds list should be immutable");
            } catch (UnsupportedOperationException e) {
                // Expected
            }
        }
    
        @Test
        public void test_indexesAreImmutable() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top