- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for something (0.26 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
private MinimalIterable(Iterator<E> iterator) { this.iterator = iterator; } @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable { final Table<R, C, V> delegate = HashBasedTable.create(); public final Object mutex = new Integer(1); // something Serializable @Override public String toString() { assertTrue(Thread.holdsLock(mutex)); return delegate.toString(); } @Override public boolean equals(@Nullable Object o) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
/** * A class that can supply objects of a single type; a pre-Java-8 version of {@link * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory, * generator, builder, closure, or something else entirely. No guarantees are implied by this * interface. * * <p>The {@link Suppliers} class provides common suppliers and related utilities. * * <p>See the Guava User Guide article on <a href=
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable { final Table<R, C, V> delegate = HashBasedTable.create(); public final Object mutex = new Integer(1); // something Serializable @Override public String toString() { assertTrue(Thread.holdsLock(mutex)); return delegate.toString(); } @Override public boolean equals(@Nullable Object o) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 4.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
private MinimalIterable(Iterator<E> iterator) { this.iterator = iterator; } @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
*/ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"}) static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0)