Home
last modified time | relevance | path

Searched refs:toLongArray (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DBitSetTest.java156 assertEquals("[]", Arrays.toString(BitSet.valueOf(new long[0]).toLongArray())); in test_toLongArray()
157 assertEquals("[1]", Arrays.toString(BitSet.valueOf(new long[] { 1 }).toLongArray())); in test_toLongArray()
158 assertEquals("[1, 2]", Arrays.toString(BitSet.valueOf(new long[] { 1, 2 }).toLongArray())); in test_toLongArray()
161 assertEquals("[]", Arrays.toString(new BitSet(128).toLongArray())); in test_toLongArray()
166 assertEquals("[1]", Arrays.toString(bs.toLongArray())); in test_toLongArray()
/libcore/luni/src/main/java/android/compat/
DCompatibility.java162 private static long[] toLongArray(Set<Long> values) { in toLongArray() method in Compatibility.ChangeConfig
172 return toLongArray(enabled); in forceEnabledChangesArray()
176 return toLongArray(disabled); in forceDisabledChangesArray()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DLongNodeTest.java52 nodes.add(tree(toList(array), l -> Nodes.node(toLongArray(l)))); in createSizes()
80 private long[] toLongArray(List<Long> l) { in toLongArray() method in LongNodeTest
/libcore/ojluni/src/main/java/java/util/
DBitSet.java325 public long[] toLongArray() { in toLongArray() method in BitSet