- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for checkCast (0.05 sec)
-
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
* * <p><strong>This .java file should never be consumed by javac.</strong> * * @author Hayward Chan */ final class Platform { // Class.cast is not supported in GWT. static void checkCast(Class<?> clazz, Object obj) {} static <T> T[] clone(T[] array) { return (T[]) Arrays.copyOfRange(array, 0, array.length); } // TODO: Consolidate different copies in one single place.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
*/ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 04 01:39:13 UTC 2022 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Platform.java
*/ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 04 01:39:13 UTC 2022 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
@Override public boolean contains(@Nullable Object object) { if (!allowNulls) { // behave badly if (object == null) { throw new NullPointerException(); } } Platform.checkCast(type, object); // behave badly return asList(contents).contains(object); } @Override public boolean containsAll(Collection<?> collection) { if (!allowNulls) { for (Object object : collection) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
.github/pull_request_template.md
Following this checklist to help us incorporate your contribution quickly and easily: - [ ] Your pull request should address just one issue, without pulling in other changes. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Each commit in the pull request should have a meaningful subject line and body. Note that commits might be squashed by a maintainer on merge.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:30:05 UTC 2025 - 1.5K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE.md
<!--- The issue this PR addresses --> <!-- Fixes #? --> ### Context <!--- Why do you believe many users will benefit from this change? --> <!--- Link to relevant issues or forum discussions here --> ### Contributor Checklist - [ ] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Feb 13 22:36:19 UTC 2024 - 1.7K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE.md
- [ ] New feature (non-breaking change which adds functionality) - [ ] Optimization (provides speedup with no functional changes) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: - [ ] Fixes a regression (If yes, please add `commit-id` or `PR #` here) - [ ] Unit tests added/updated - [ ] Internal documentation updated
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Nov 14 17:29:11 UTC 2023 - 1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.yaml
multiple: true options: - Android - GWT - Java 8 - Java 11 - Java 17 - Java 21 - type: checkboxes attributes: label: Checklist options: - label: > I agree to follow the [code of conduct](https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md). required: true - label: >
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 16 20:08:25 UTC 2024 - 2.9K bytes - Viewed (0) -
.github/bot_config.yml
compiler_assignees: - joker-eph - sanjoy # filesystem path filesystem_path: - tensorflow/c/experimental/filesystem # security path security_path: - tensorflow/security # words checklist segfault_memory: - segfault - memory leaks # assignees filesystem_security_assignee: - mihaimaruseac # Cuda Comment cuda_comment: >
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Jun 30 16:38:59 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
assertTrue(qrList.contains(doc1)); assertFalse(qrList.contains(doc2)); List<Map<String, Object>> checkList = Arrays.asList(doc1); assertTrue(qrList.containsAll(checkList)); checkList = Arrays.asList(doc1, doc2); assertFalse(qrList.containsAll(checkList)); } public void test_listOperations_indexOperations() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 39.7K bytes - Viewed (0)