Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for recurses (0.23 sec)

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

      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshot().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshot().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top