- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 955 for _array (0.2 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
assertSame( "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array)); expectArrayContentsInOrder(getOrderedElements(), array); } public void testToArray_rightSizedArrayOfObject() { Object[] array = new Object[getNumElements()]; assertSame( "toArray(sameSizeObject[]) should return the given array", array, collection.toArray(array));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
assertSame( "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array)); expectArrayContentsInOrder(getOrderedElements(), array); } public void testToArray_rightSizedArrayOfObject() { Object[] array = new Object[getNumElements()]; assertSame( "toArray(sameSizeObject[]) should return the given array", array, collection.toArray(array));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompoundOrdering.java
CompoundOrdering<?> that = (CompoundOrdering<?>) object; return Arrays.equals(this.comparators, that.comparators); } return false; } @Override public int hashCode() { return Arrays.hashCode(comparators); } @Override public String toString() { return "Ordering.compound(" + Arrays.toString(comparators) + ")"; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
T[] result = newArray(array, array.length + 1); result[0] = element; arraycopy(array, 0, result, 1, array.length); return result; } /** * Returns a new array that appends {@code element} to {@code array}. * * @param array the array of elements to prepend * @param element the element to append to the end
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java
} } return merged.toArray(new String[merged.size()]); } /** * Merges two string arrays, maintaining uniqueness and order. */ private static String[] mergeStringArrays(final String[] array1, final String[] array2) { final Set<String> merged = new LinkedHashSet<>(); if (array1 != null) { Collections.addAll(merged, array1);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/FacetInfo.java
/** * Adds a query facet to the existing query array. * If no queries exist, creates a new array with the provided query. * * @param s the query string to add as a facet */ public void addQuery(final String s) { if (query == null) { query = new String[] { s }; } else { final String[] newQuery = Arrays.copyOf(query, query.length + 1);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
final byte[] binary = fromObjectToBinary(obj); return fromBinaryToObject(binary); } /** * Converts an object to a byte array. * * @param obj the object to serialize (must not be {@literal null}) * @return the byte array of the object */ public static byte[] fromObjectToBinary(final Object obj) { assertArgumentNotNull("obj", obj); try {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 8.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/JvmUtil.java
* * @param values the array of JVM options to filter * @return the filtered array of JVM options applicable to the current Java version */ public static String[] filterJvmOptions(final String[] values) { final int version = getJavaVersion(); return Arrays.stream(values).map(s -> { final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java
public class ErrorToWarnRewritePolicy implements RewritePolicy { /** Array of logger name prefixes to apply the ERROR to WARN conversion */ private final String[] loggerNames; /** * Constructs a new ErrorToWarnRewritePolicy with the specified logger names. * * @param loggerNames array of logger name prefixes to convert ERROR to WARN */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
public boolean retainAll(Collection<?> collection) { return standardRetainAll(collection); } @Override public Object[] toArray() { return standardToArray(); } @Override public <T> T[] toArray(T[] array) { return standardToArray(array); } @Override public String toString() { return standardToString(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.8K bytes - Click Count (0)