- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 68 for Modifier (0.26 sec)
-
guava/src/com/google/common/collect/Iterables.java
: Lists.newArrayList(iterable.iterator()); } /** * Adds all elements in {@code iterable} to {@code collection}. * * @return {@code true} if {@code collection} was modified as a result of this operation. */ @CanIgnoreReturnValue public static <T extends @Nullable Object> boolean addAll( Collection<T> addTo, Iterable<? extends T> elementsToAdd) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* collection. This is a stronger guarantee than that of {@link * Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection * is modified. * <li><b>Null-hostility.</b> This collection will never contain a null element. * <li><b>Deterministic iteration.</b> The iteration order is always well-defined, depending on
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
* }</pre> * * ... yields the substrings {@code [" foo", "", "", " bar ", ""]}. If this is not the desired * behavior, use configuration methods to obtain a <i>new</i> splitter instance with modified * behavior: * * <pre>{@code * private static final Splitter MY_SPLITTER = Splitter.on(',') * .trimResults() * .omitEmptyStrings(); * }</pre> *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 24.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Converter.java
* pass null inputs to LegacyConverter, and it can violate the contract of Converter. * * TODO(cpovirk): Could this be simplified if we modified implementations of LegacyConverter to * override methods (probably called "unsafeDoForward" and "unsafeDoBackward") with the same * signatures as the methods below, rather than overriding the same doForward and doBackward
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Tables.java
* longer, since an iteration across all row keys occurs. * * <p>Note that this implementation is not synchronized. If multiple threads access this table * concurrently and one of the threads modifies the table, it must be synchronized externally. * * <p>The table is serializable if {@code backingMap}, {@code factory}, the maps generated by * {@code factory}, and the table contents are all serializable. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Mar 04 22:45:41 GMT 2024 - 26.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* element (the given list itself). * * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent * collection that is currently being modified by another thread. * * @throws NullPointerException if {@code elements} contains a null element */ public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 27.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* undocumented and subject to change. * * <p>This method is safe to use even when {@code sortedMultiset} is a synchronized or concurrent * collection that is currently being modified by another thread. * * @throws NullPointerException if {@code sortedMultiset} or any of its elements is null */ public static <E> ImmutableSortedMultiset<E> copyOfSorted(SortedMultiset<E> sortedMultiset) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 29.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
public final Optional<@NonNull E> last() { // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE // TODO(kevinb): Support a concurrently modified collection? Iterable<E> iterable = getDelegate(); if (iterable instanceof List) { List<E> list = (List<E>) iterable; if (list.isEmpty()) { return Optional.absent(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
@CanIgnoreReturnValue public static <E extends @Nullable Object> boolean addAll( Collection<E> addTo, Iterable<? extends E> elementsToAdd) { boolean modified = false; for (E e : elementsToAdd) { modified |= addTo.add(e); } return modified; } static <T extends @Nullable Object> Iterable<T> reverse(List<T> list) { return new Iterable<T>() { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 17.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
/** The HTTP {@code If-Match} header field name. */ public static final String IF_MATCH = "If-Match"; /** The HTTP {@code If-Modified-Since} header field name. */ public static final String IF_MODIFIED_SINCE = "If-Modified-Since"; /** The HTTP {@code If-None-Match} header field name. */ public static final String IF_NONE_MATCH = "If-None-Match";
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:08:08 GMT 2024 - 34.3K bytes - Viewed (0)