Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1841 - 1850 of 5,478 for newE (0.02 seconds)

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

          return new SampleElements<>(
              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];
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return unmodifiableMultiset(LinkedHashMultiset.create(asList(elements)));
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = new ArrayList<>();
            for (String s : insertionOrder) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

                    this.getReadings().stream().map(reading -> new String[] { reading }).toArray(count -> new String[count][]);
            return new SuggestItem(new String[] { this.getElevateWord() }, readingArray, fields.toArray(new String[fields.size()]), 1, 0,
                    this.getBoost(), this.getTags().toArray(new String[this.getTags().size()]),
                    this.getRoles().toArray(new String[this.getRoles().size()]), null, SuggestItem.Kind.USER);
        }
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
                  public Closeable call(DeferredCloser closer) throws Exception {
                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(
            new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/LinkedHashMultiset.java

        extends AbstractMapBasedMultiset<E> {
    
      /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */
      public static <E extends @Nullable Object> LinkedHashMultiset<E> create() {
        return new LinkedHashMultiset<>();
      }
    
      /**
       * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct
       * elements.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. internal/hash/sha256/sh256.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sha256
    
    import (
    	"crypto/sha256"
    	"hash"
    )
    
    // New initializes a new sha256.New()
    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    // Size is the size of a SHA256 checksum in bytes.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactHashSet} containing those elements (minus duplicates)
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

                    return new BigDecimal(new SimpleDateFormat(pattern).format(o));
                }
                return new BigDecimal(Long.toString(((java.util.Date) o).getTime()));
            } else if (o instanceof String) {
                final String s = (String) o;
                if (StringUtil.isEmpty(s)) {
                    return null;
                }
                return normalize(new BigDecimal(s));
            } else {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                return null;
            }
    
            String contextName = new String(nameBytes, StandardCharsets.US_ASCII);
    
            switch (contextName) {
            case LeaseV1CreateContextRequest.CONTEXT_NAME: // "RqLs"
                return new LeaseV1CreateContextResponse();
            case LeaseV2CreateContextRequest.CONTEXT_NAME: // "RqL2"
                return new LeaseV2CreateContextResponse();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top