Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 555 for unchecked (0.14 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        public FileSystemInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the filesystem info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileSystemInformation> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
          MultimapBuilderWithKeys<Comparable> treeKeys) {
        return (MultimapBuilderWithKeys) treeKeys;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static <K extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayMap.java

                final Entry<K, V>[] oldTable = listTable;
                final int newCapacity = oldTable.length * 2 + 1;
                @SuppressWarnings("unchecked")
                final Entry<K, V>[] newMapTable = new Entry[newCapacity];
                @SuppressWarnings("unchecked")
                final Entry<K, V>[] newListTable = new Entry[newCapacity];
                threshold = (int) (newCapacity * LOAD_FACTOR);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          for (Object element : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) element;
            multimap.put(entry.getKey(), entry.getValue());
          }
          return multimap.entries();
        }
    
        abstract Multimap<String, Integer> createMultimap();
    
        @Override
        @SuppressWarnings("unchecked")
        public Entry<String, Integer>[] createArray(int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            return getSystemPropertyAsBoolean(Constants.USE_BROWSER_LOCALE_FOR_SEARCH_PROPERTY, false);
        }
    
        default String[] getDefaultSortValues(final OptionalThing<FessUserBean> userBean) {
            @SuppressWarnings("unchecked")
            List<Pair<String, String>> list = (List<Pair<String, String>>) propMap.get(DEFAULT_SORT_VALUES);
            if (list == null) {
                final String value = getSystemProperty(Constants.DEFAULT_SORT_VALUE_PROPERTY);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            // These come from Entry<K, Collection<V>>> objects somewhere.
            @SuppressWarnings("unchecked")
            K key = (K) entry.getKey();
            keySet.add(key);
            for (Object v : (Collection<?>) entry.getValue()) {
              // These come from Entry<K, Collection<V>>> objects somewhere.
              @SuppressWarnings("unchecked")
              V value = (V) v;
              builder.add(mapEntry(key, value));
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        }
    
        // ----------------------------------------------------------------------
        // Public methods
        // ----------------------------------------------------------------------
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        public Object convert(final TypeLiteral role, final String value) {
            if (value.trim().startsWith("<")) {
                try {
                    final MXParser parser = new MXParser();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * the AbstractIteratorTester<E> part, so it's an unchecked cast. We know, however, that the
             * only possible value for the type parameter is <E>, since otherwise the
             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is safe, even though
             * javac can't tell.
             */
            @SuppressWarnings("unchecked")
            MultiExceptionListIterator multiExceptionListIterator =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Serialization.java

          Map<K, V> map, ObjectInputStream stream, int size)
          throws IOException, ClassNotFoundException {
        for (int i = 0; i < size; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          V value = (V) stream.readObject();
          map.put(key, value);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top