Home
last modified time | relevance | path

Searched refs:e1 (Results 1 – 25 of 67) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/
DSet.java469 static <E> Set<E> of(E e1) { in of() argument
470 return new ImmutableCollections.Set12<>(e1); in of()
486 static <E> Set<E> of(E e1, E e2) { in of() argument
487 return new ImmutableCollections.Set12<>(e1, e2); in of()
504 static <E> Set<E> of(E e1, E e2, E e3) { in of() argument
505 return new ImmutableCollections.SetN<>(e1, e2, e3); in of()
523 static <E> Set<E> of(E e1, E e2, E e3, E e4) { in of() argument
524 return new ImmutableCollections.SetN<>(e1, e2, e3, e4); in of()
543 static <E> Set<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument
544 return new ImmutableCollections.SetN<>(e1, e2, e3, e4, e5); in of()
[all …]
DList.java955 static <E> List<E> of(E e1) { in of() argument
956 return new ImmutableCollections.List12<>(e1); in of()
972 static <E> List<E> of(E e1, E e2) { in of() argument
973 return new ImmutableCollections.List12<>(e1, e2); in of()
990 static <E> List<E> of(E e1, E e2, E e3) { in of() argument
991 return ImmutableCollections.listFromTrustedArray(e1, e2, e3); in of()
1009 static <E> List<E> of(E e1, E e2, E e3, E e4) { in of() argument
1010 return ImmutableCollections.listFromTrustedArray(e1, e2, e3, e4); in of()
1029 static <E> List<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument
1030 return ImmutableCollections.listFromTrustedArray(e1, e2, e3, e4, e5); in of()
[all …]
DEnumSet.java237 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2) { in of() argument
238 EnumSet<E> result = noneOf(e1.getDeclaringClass()); in of()
239 result.add(e1); in of()
260 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3) { in of() argument
261 EnumSet<E> result = noneOf(e1.getDeclaringClass()); in of()
262 result.add(e1); in of()
285 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4) { in of() argument
286 EnumSet<E> result = noneOf(e1.getDeclaringClass()); in of()
287 result.add(e1); in of()
312 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4, in of() argument
[all …]
DImmutableCollections.java560 private final Object e1; field in List12
566 this.e1 = EMPTY; in List12()
569 List12(E e0, E e1) { in List12() argument
571 this.e1 = Objects.requireNonNull(e1); in List12()
576 return e1 != EMPTY ? 2 : 1; in size()
589 } else if (index == 1 && e1 != EMPTY) { in get()
590 return (E)e1; in get()
600 } else if (e1 != EMPTY && o.equals(e1)) { in indexOf()
610 if (e1 != EMPTY && o.equals(e1)) { in lastIndexOf()
626 if (e1 == EMPTY) { in writeReplace()
[all …]
DDualPivotQuicksort.java228 int e1 = low + step; in sort() local
230 int e3 = (e1 + e5) >>> 1; in sort()
231 int e2 = (e1 + e3) >>> 1; in sort()
248 if (a[e4] < a[e1]) { int t = a[e4]; a[e4] = a[e1]; a[e1] = t; } in sort()
250 if (a[e2] < a[e1]) { int t = a[e2]; a[e2] = a[e1]; a[e1] = t; } in sort()
254 if (a3 < a[e1]) { in sort()
255 a[e3] = a[e2]; a[e2] = a[e1]; a[e1] = a3; in sort()
274 if (a[e1] < a[e2] && a[e2] < a[e3] && a[e3] < a[e4] && a[e4] < a[e5]) { in sort()
281 int pivot1 = a[e1]; in sort()
291 a[e1] = a[lower]; in sort()
[all …]
DAbstractSequentialList.java217 ListIterator<E> e1 = listIterator(index); in addAll() local
219 e1.add(e); in addAll()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetMetaDataTest.java306 } catch (SQLException e1) { in testGetPrecision()
307 System.out.println("ResultSetMetaDataTest.testGetPrecision()"+e1.getMessage()); in testGetPrecision()
308 e1.printStackTrace(); in testGetPrecision()
394 } catch (SQLException e1) { in testGetSchema()
395 fail("ResultSetMetaDataTest.testGetScale()"+e1.getMessage()); in testGetSchema()
396 e1.printStackTrace(); in testGetSchema()
431 } catch (SQLException e1) { in testisAutoIncrement()
432 fail("ResultSetMetaDataTest.testGetScale()"+e1.getMessage()); in testisAutoIncrement()
433 e1.printStackTrace(); in testisAutoIncrement()
469 } catch (SQLException e1) { in testIsCaseSensitive()
[all …]
/libcore/ojluni/src/test/java/util/EnumSet/
DInsertWrongType.java113 static void heterogeneousCopyOf(Enum e1, Enum e2) { in heterogeneousCopyOf() argument
115 list.add(e1); in heterogeneousCopyOf()
123 static void heterogeneousOf2(Enum e1, Enum e2) { in heterogeneousOf2() argument
125 EnumSet.of(e1, e2); in heterogeneousOf2()
130 static void heterogeneousOf3(Enum e1, Enum e2) { in heterogeneousOf3() argument
132 EnumSet.of(e1, e1, e2); in heterogeneousOf3()
137 static void heterogeneousOf4(Enum e1, Enum e2) { in heterogeneousOf4() argument
139 EnumSet.of(e1, e1, e1, e2); in heterogeneousOf4()
144 static void heterogeneousOf5(Enum e1, Enum e2) { in heterogeneousOf5() argument
146 EnumSet.of(e1, e1, e1, e1, e2); in heterogeneousOf5()
[all …]
DJumboRange.java46 static <T extends Enum<T>> void test(Class<T> enumClass, T e0,T e1) { in test() argument
47 EnumSet<T> range = EnumSet.range(e0, e1); in test()
48 Assert.assertEquals(range.size(), e1.ordinal() - e0.ordinal() + 1); in test()
DSmallEnumIteratorRemoveResilience.java45 private enum SmallEnum { e0, e1, e2 } enumConstant
52 set.add(SmallEnum.e1); in testSmallEnumRemoveResilience()
DEnumSetBash.java198 public enum Silly1 { e1 } enumConstant
201 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
206 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
211 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
217 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
225 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
233 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
241 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
253 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
265 e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, enumConstant
[all …]
/libcore/ojluni/annotations/flagged_api/java/util/
DList.annotated.java105 public static <E> java.util.List<E> of(E e1) { throw new RuntimeException("Stub!"); } in of() argument
107 public static <E> java.util.List<E> of(E e1, E e2) { throw new RuntimeException("Stub!"); } in of() argument
109 public static <E> java.util.List<E> of(E e1, E e2, E e3) { throw new RuntimeException("Stub!"); } in of() argument
111 public static <E> java.util.List<E> of(E e1, E e2, E e3, E e4) { throw new RuntimeException("Stub!"… in of() argument
113 public static <E> java.util.List<E> of(E e1, E e2, E e3, E e4, E e5) { throw new RuntimeException("… in of() argument
115 public static <E> java.util.List<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { throw new RuntimeExcep… in of() argument
117 public static <E> java.util.List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) { throw new Runtim… in of() argument
119 public static <E> java.util.List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8) { throw new … in of() argument
121 public static <E> java.util.List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) { thro… in of() argument
123 public static <E> java.util.List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)… in of() argument
/libcore/ojluni/src/test/java/util/Collections/
DCheckedIdentityMap.java56 Map.Entry<Integer, Integer> e1 = m1.entrySet().iterator().next(); in testHashCode() local
59 assertNotEquals(e1, e2); in testHashCode()
60 assertEquals(e1.hashCode(), hashCode(e1)); in testHashCode()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DSet.annotated.java68 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1) { throw new Runtime… in of() argument
70 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
72 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
74 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
76 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
78 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
80 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
82 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
84 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
86 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
DList.annotated.java92 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1) { throw new Runtime… in of() argument
94 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
96 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
98 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
100 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
102 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
104 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
106 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
108 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
110 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
/libcore/ojluni/annotations/hiddenapi/java/util/
DEnumSet.java70 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E e1, E e2) { in of() argument
74 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E e1, E e2, E e3) { in of() argument
78 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E e1, E e2, E e3, E e4) { in of() argument
83 E e1, E e2, E e3, E e4, E e5) { in of() argument
/libcore/ojluni/src/test/java/util/concurrent/tck/
DTreeSubSetTest.java364 Object e1 = q.lower(three); in testLower() local
365 assertEquals(two, e1); in testLower()
382 Object e1 = q.higher(three); in testHigher() local
383 assertEquals(four, e1); in testHigher()
400 Object e1 = q.floor(three); in testFloor() local
401 assertEquals(three, e1); in testFloor()
418 Object e1 = q.ceiling(three); in testCeiling() local
419 assertEquals(three, e1); in testCeiling()
843 Object e1 = q.lower(m3); in testDescendingLower() local
844 assertEquals(m2, e1); in testDescendingLower()
[all …]
DConcurrentSkipListSubSetTest.java367 Object e1 = q.lower(three); in testLower() local
368 assertEquals(two, e1); in testLower()
385 Object e1 = q.higher(three); in testHigher() local
386 assertEquals(four, e1); in testHigher()
403 Object e1 = q.floor(three); in testFloor() local
404 assertEquals(three, e1); in testFloor()
421 Object e1 = q.ceiling(three); in testCeiling() local
422 assertEquals(three, e1); in testCeiling()
857 Object e1 = q.lower(m3); in testDescendingLower() local
858 assertEquals(m2, e1); in testDescendingLower()
[all …]
DTreeSubMapTest.java272 Map.Entry e1 = map.lowerEntry(three);
273 assertEquals(two, e1.getKey());
290 Map.Entry e1 = map.higherEntry(three);
291 assertEquals(four, e1.getKey());
308 Map.Entry e1 = map.floorEntry(three);
309 assertEquals(three, e1.getKey());
326 Map.Entry e1 = map.ceilingEntry(three);
327 assertEquals(three, e1.getKey());
824 Map.Entry e1 = map.lowerEntry(m3);
825 assertEquals(m2, e1.getKey());
[all …]
DTreeMapTest.java386 Map.Entry e1 = map.lowerEntry(three);
387 assertEquals(two, e1.getKey());
404 Map.Entry e1 = map.higherEntry(three);
405 assertEquals(four, e1.getKey());
422 Map.Entry e1 = map.floorEntry(three);
423 assertEquals(three, e1.getKey());
440 Map.Entry e1 = map.ceilingEntry(three);
441 assertEquals(three, e1.getKey());
458 Object e1 = q.lowerKey(three);
459 assertEquals(two, e1);
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSubSetTest.java344 Object e1 = q.lower(three); in testLower() local
345 assertEquals(two, e1); in testLower()
362 Object e1 = q.higher(three); in testHigher() local
363 assertEquals(four, e1); in testHigher()
380 Object e1 = q.floor(three); in testFloor() local
381 assertEquals(three, e1); in testFloor()
398 Object e1 = q.ceiling(three); in testCeiling() local
399 assertEquals(three, e1); in testCeiling()
834 Object e1 = q.lower(m3); in testDescendingLower() local
835 assertEquals(m2, e1); in testDescendingLower()
[all …]
DTreeSubSetTest.java341 Object e1 = q.lower(three); in testLower() local
342 assertEquals(two, e1); in testLower()
359 Object e1 = q.higher(three); in testHigher() local
360 assertEquals(four, e1); in testHigher()
377 Object e1 = q.floor(three); in testFloor() local
378 assertEquals(three, e1); in testFloor()
395 Object e1 = q.ceiling(three); in testCeiling() local
396 assertEquals(three, e1); in testCeiling()
820 Object e1 = q.lower(m3); in testDescendingLower() local
821 assertEquals(m2, e1); in testDescendingLower()
[all …]
DTreeSubMapTest.java249 Map.Entry e1 = map.lowerEntry(three);
250 assertEquals(two, e1.getKey());
267 Map.Entry e1 = map.higherEntry(three);
268 assertEquals(four, e1.getKey());
285 Map.Entry e1 = map.floorEntry(three);
286 assertEquals(three, e1.getKey());
303 Map.Entry e1 = map.ceilingEntry(three);
304 assertEquals(three, e1.getKey());
801 Map.Entry e1 = map.lowerEntry(m3);
802 assertEquals(m2, e1.getKey());
[all …]
DTreeMapTest.java363 Map.Entry e1 = map.lowerEntry(three);
364 assertEquals(two, e1.getKey());
381 Map.Entry e1 = map.higherEntry(three);
382 assertEquals(four, e1.getKey());
399 Map.Entry e1 = map.floorEntry(three);
400 assertEquals(three, e1.getKey());
417 Map.Entry e1 = map.ceilingEntry(three);
418 assertEquals(three, e1.getKey());
435 Object e1 = q.lowerKey(three);
436 assertEquals(two, e1);
[all …]
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java197 } catch (ClassNotFoundException e1) { in loadClass()
199 " not found", e1); in loadClass()

123