Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for elseif (0.26 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

              if (!thisIterator.hasNext()) {
                return false;
              }
              current = thisIterator.next();
            } else if (cmp == 0) {
              if (!thatIterator.hasNext()) {
                return true;
              }
              target = thatIterator.next();
    
            } else if (cmp > 0) {
              return false;
            }
          }
        } catch (NullPointerException | ClassCastException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
          table.clear();
          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          try {
            table.clear();
            fail();
          } catch (UnsupportedOperationException expected) {
          }
        }
      }
    
      public void testPut() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

          if (first == second) {
            return 0;
          } else if (first == null) {
            return -1;
          } else if (second == null) {
            return 1;
          } else if (first.length() != second.length()) {
            return first.length() - second.length();
          } else {
            return first.compareTo(second);
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TableCollectors.java

        checkNotNull(value);
        V oldValue = table.get(row, column);
        if (oldValue == null) {
          table.put(row, column, value);
        } else {
          V newValue = mergeFunction.apply(oldValue, value);
          if (newValue == null) {
            table.remove(row, column);
          } else {
            table.put(row, column, newValue);
          }
        }
      }
    
      private TableCollectors() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      private void setSucceeds(int pred, int succ) {
        if (pred == ENDPOINT) {
          firstEntry = succ;
        } else {
          setSuccessor(pred, succ);
        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. guava/pom.xml

          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <!-- Passing `-subpackages com.google.common` breaks things, so we explicitly exclude everything else instead. -->
              <!-- excludePackageNames requires specification of packages separately from "all subpackages".
                   https://issues.apache.org/jira/browse/MJAVADOC-584 -->
              <excludePackageNames>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
          table.clear();
          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          try {
            table.clear();
            fail();
          } catch (UnsupportedOperationException expected) {
          }
        }
      }
    
      public void testPut() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableEnumSet.java

       * Notes on EnumSet and <E extends Enum<E>>:
       *
       * This class isn't an arbitrary ForwardingImmutableSet because we need to
       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
       * immutability. Hence, we support only {@link EnumSet}.
       */
      private final transient EnumSet<E> delegate;
    
      private ImmutableEnumSet(EnumSet<E> delegate) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      ImmutableSortedMultiset<E> getSubMultiset(int from, int to) {
        checkPositionIndexes(from, to, length);
        if (from == to) {
          return emptyMultiset(comparator());
        } else if (from == 0 && to == length) {
          return this;
        } else {
          RegularImmutableSortedSet<E> subElementSet = elementSet.getSubSet(from, to);
          return new RegularImmutableSortedMultiset<>(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MoreCollectors.java

          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);
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top