- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 232 for construct (0.16 sec)
-
guava/src/com/google/common/collect/ImmutableList.java
*/ public static <E> ImmutableList<E> of(E e1, E e2) { return construct(e1, e2); } /** * Returns an immutable list containing the given elements, in order. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of(E e1, E e2, E e3) { return construct(e1, e2, e3); } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* one specified is included. * * @throws NullPointerException if any element is null */ public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) { return construct(Ordering.natural(), 2, e1, e2); } /** * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
return construct(2, e1, e2); } /** * Returns an immutable set containing the given elements, minus duplicates, in the order each was * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except * the first are ignored. */ public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { return construct(3, e1, e2, e3); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
*/ public static <E> ImmutableList<E> of(E element) { return construct(element); } /** * Returns an immutable list containing the given elements, in order. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of(E e1, E e2) { return construct(e1, e2); } /**
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/ImmutableSortedSet.java
* one specified is included. * * @throws NullPointerException if any element is null */ public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) { return construct(Ordering.natural(), 2, e1, e2); } /** * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* * <ul> * <li>The non-private constructor or non-private static factory method with the most parameters * is used to construct the sample instances. In case of tie, the candidate constructors or * factories are tried one after another until one can be used to construct sample * instances. * <li>For the constructor or static factory method used to construct instances, it's checked
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
// requireNonNull is safe because we use indexes that were populated by the constructor. V value = requireNonNull(values[rowIndex][columnIndex]); return cellOf(rowKey, columnKey, value); } @Override V getValue(int index) { // requireNonNull is safe because we use indexes that were populated by the constructor. return requireNonNull(values[cellRowIndices[index]][cellColumnIndices[index]]); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 10K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetFloodingTest.java
QueryOp.create( "contains", (s, o) -> { boolean unused = s.contains(o); }, Math::log))); } /** All the ways to construct an ImmutableSet. */ enum ConstructionPathway implements Construction<Set<Object>> { OF { @Override public ImmutableSet<Object> create(List<?> list) { Object o1 = list.get(0);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
Cell<R, C, V> cell = cellList.get(i); R rowKey = cell.getRowKey(); C columnKey = cell.getColumnKey(); V value = cell.getValue(); /* * These requireNonNull calls are safe because we construct the maps to hold all the provided * cells. */ cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey)); Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* lying about the fields below on the grounds that we always initialize them just after the * constructor -- an example of the kind of lying that our hypothetical bytecode rewriter would * already have to deal with, thanks to DI frameworks that perform field and method injection, * frameworks like Android that define post-construct hooks like Activity.onCreate, etc. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.6K bytes - Viewed (0)