- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,359 for from (0.29 sec)
-
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testGet() { assertEquals("a", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(0)); assertEquals("b", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(1)); assertEquals("c", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(2)); } public void testGet_outOfBounds() { try { FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(-1); fail();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* only valid values for {@code from} are {@linkplain State#STARTING STARTING} or {@linkplain * State#RUNNING RUNNING}. This occurs when {@link Service#stopAsync} is called. * * @param from The previous state that is being transitioned from. */ public void stopping(State from) {} /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Resources.java
} }); } /** * Copies all bytes from a URL to an output stream. * * @param from the URL to read from * @param to the output stream * @throws IOException if an I/O error occurs */ public static void copy(URL from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 7.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java
class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase { // ---------------------------------------------------------------------- // // p4 inherits from p3 // p3 inherits from p2 // p2 inherits from p1 // p1 inherits from p0 // p0 inherits from super model // // or we can show it graphically as: // // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model //
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java
}; } private boolean addEdge(Path from, Path p, DefaultModelProblemCollector problems) { try { dag.addEdge(from.toString(), p.toString()); return true; } catch (Graph.CycleDetectedException e) { problems.add(new DefaultModelProblem( "Cycle detected between models at " + from + " and " + p, ModelProblem.Severity.FATAL,
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java
+ " It is derived from the main artifact."); } public String getBaseVersion() { return parent.getBaseVersion(); } public void setBaseVersion(String baseVersion) { throw new UnsupportedOperationException("Cannot change the version information for an attached artifact." + " It is derived from the main artifact."); }
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
super(delegate, to, from); } @Override NavigableMap<K, V> createSubMap(SortedMap<K, V> sortedMap, K firstExclusive, K lastExclusive) { NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap; if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { return map.headMap(lastInclusive, true); } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingInputStream.java
/** * An {@link InputStream} that maintains a hash of the data read from it. * * @author Qian Huang * @since 16.0 */ @Beta @ElementTypesAreNonnullByDefault public final class HashingInputStream extends FilterInputStream { private final Hasher hasher; /** * Creates an input stream that hashes using the given {@link HashFunction} and delegates all data * read from it to the underlying {@link InputStream}. *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
+ " even if some elements are null.", getSet().equals(MinimalSet.from(elements))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); Set<E> other = MinimalSet.from(elements); assertFalse(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java
class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase { // ---------------------------------------------------------------------- // // p4 inherits from p3 // p3 inherits from p2 // p2 inherits from p1 // p1 inherits from p0 // p0 inherits from super model // // or we can show it graphically as: // // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model //
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.5K bytes - Viewed (0)