HomeSort by relevance Sort by last modified time
    Searched full:integer (Results 451 - 475 of 21762) sorted by null

<<11121314151617181920>>

  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableListMultimapTest.java 52 ImmutableListMultimap<String, Integer> multimap = new Builder<String, Integer>()
59 Builder<String, Integer> builder = new Builder<String, Integer>();
61 builder.put(Maps.immutableEntry("one", (Integer) null));
77 ImmutableListMultimap.Builder<String, Integer> builder =
78 new Builder<String, Integer>();
81 Entry<String, Integer> entry = new AbstractMapEntry<String, Integer>() {
85 @Override public Integer getValue()
    [all...]
ListsTest.java 51 private static final Collection<Integer> SOME_COLLECTION
54 private static final Iterable<Integer> SOME_ITERABLE = new SomeIterable();
64 private static class SomeIterable implements Iterable<Integer>, Serializable {
66 public Iterator<Integer> iterator() {
72 private static final List<Integer> SOME_LIST
75 private static final List<Integer> SOME_SEQUENTIAL_LIST
106 ArrayList<Integer> list = Lists.newArrayList();
111 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
114 ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
127 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0)
    [all...]
MapConstraintsTest.java 54 private static final Integer TEST_VALUE = 42;
64 static final MapConstraint<String, Integer> TEST_CONSTRAINT
68 implements MapConstraint<String, Integer>, Serializable {
70 public void checkKeyValue(String key, Integer value) {
100 Map<String, Integer> map = Maps.newLinkedHashMap();
101 Map<String, Integer> constrained = MapConstraints.constrainedMap(
124 Map<String, Integer> map = Maps.newLinkedHashMap();
125 Map<String, Integer> constrained = MapConstraints.constrainedMap(
148 BiMap<String, Integer> map = new AbstractBiMap<String, Integer>(
    [all...]
ImmutableSortedMapTest.java 80 public static class MapTests extends AbstractMapTests<String, Integer> {
81 @Override protected SortedMap<String, Integer> makeEmptyMap() {
85 @Override protected SortedMap<String, Integer> makePopulatedMap() {
93 @Override protected Integer getValueNotInPopulatedMap() {
99 extends AbstractMapTests<String, Integer> {
100 @Override protected SortedMap<String, Integer> makePopulatedMap() {
108 @Override protected Integer getValueNotInPopulatedMap() {
113 public static class HeadMapTests extends AbstractMapTests<String, Integer> {
114 @Override protected SortedMap<String, Integer> makePopulatedMap() {
123 @Override protected Integer getValueNotInPopulatedMap()
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableSortedMapTest.java 140 public static class MapTests extends AbstractMapTests<String, Integer> {
141 @Override protected SortedMap<String, Integer> makeEmptyMap() {
145 @Override protected SortedMap<String, Integer> makePopulatedMap() {
153 @Override protected Integer getValueNotInPopulatedMap() {
159 extends AbstractMapTests<String, Integer> {
160 @Override protected SortedMap<String, Integer> makePopulatedMap() {
168 @Override protected Integer getValueNotInPopulatedMap() {
175 extends AbstractMapTests<String, Integer> {
176 @Override protected SortedMap<String, Integer> makePopulatedMap() {
185 @Override protected Integer getValueNotInPopulatedMap()
    [all...]
MapConstraintsTest.java 56 private static final Integer TEST_VALUE = 42;
66 static final MapConstraint<String, Integer> TEST_CONSTRAINT
70 implements MapConstraint<String, Integer>, Serializable {
72 public void checkKeyValue(String key, Integer value) {
102 Map<String, Integer> map = Maps.newLinkedHashMap();
103 Map<String, Integer> constrained = MapConstraints.constrainedMap(
126 Map<String, Integer> map = Maps.newLinkedHashMap();
127 Map<String, Integer> constrained = MapConstraints.constrainedMap(
150 BiMap<String, Integer> map = new AbstractBiMap<String, Integer>(
    [all...]
MapsTest.java 78 private static final Comparator<Integer> SOME_COMPARATOR =
82 HashMap<Integer, Integer> map = Maps.newHashMap();
87 Map<String, Integer> original = new TreeMap<String, Integer>();
91 HashMap<String, Integer> map = Maps.newHashMap(original);
96 Map<String, Integer> original = new TreeMap<String, Integer>();
129 HashMap<Integer, Void> map1 = Maps.newHashMapWithExpectedSize(size);
147 HashMap<Integer, Void> map2 = Maps.newHashMapWithExpectedSize(size)
    [all...]
WellBehavedMapTest.java 34 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap(
35 new EnumMap<Foo, Integer>(Foo.class));
40 assertTrue(map.entrySet().contains(Maps.immutableEntry(Foo.Y, new Integer(2))));
50 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap(
51 new EnumMap<Foo, Integer>(Foo.class));
54 for (Map.Entry<Foo, Integer> entry : map.entrySet()) {
62 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap(
63 new EnumMap<Foo, Integer>(Foo.class));
66 Map.Entry<Foo, Integer> entry1 = Iterables.getOnlyElement(map.entrySet());
67 Map.Entry<Foo, Integer> entry2 = Iterables.getOnlyElement(map.entrySet())
    [all...]
RegularImmutableTableTest.java 29 private static final ImmutableSet<Cell<Character, Integer, String>> CELLS =
38 private static final ImmutableSet<Integer> COLUMN_SPACE =
41 private static final SparseImmutableTable<Character, Integer, String> SPARSE =
42 new SparseImmutableTable<Character, Integer, String>(CELLS.asList(), ROW_SPACE,
45 private static final DenseImmutableTable<Character, Integer, String> DENSE =
46 new DenseImmutableTable<Character, Integer, String>(CELLS.asList(), ROW_SPACE,
49 @Override Iterable<ImmutableTable<Character, Integer, String>>
51 return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE,
56 for (ImmutableTable<Character, Integer, String> testInstance :
63 for (ImmutableTable<Character, Integer, String> testInstance
    [all...]
TreeRangeSetTest.java 36 private static final ImmutableList<Range<Integer>> QUERY_RANGES;
42 ImmutableList.Builder<Range<Integer>> queryBuilder = ImmutableList.builder();
44 queryBuilder.add(Range.<Integer>all());
66 void testViewAgainstExpected(RangeSet<Integer> expected, RangeSet<Integer> view) {
81 testRangesByLowerBounds((TreeRangeSet<Integer>) view, expected.asRanges());
85 private static final ImmutableList<Cut<Integer>> CUTS_TO_TEST;
88 List<Cut<Integer>> cutsToTest = Lists.newArrayList();
93 cutsToTest.add(Cut.<Integer>aboveAll());
94 cutsToTest.add(Cut.<Integer>belowAll())
    [all...]
TransposedTableTest.java 29 @Override protected Table<String, Integer, Character> create(
31 Table<Integer, String, Character> original = HashBasedTable.create();
32 Table<String, Integer, Character> table = Tables.transpose(original);
39 Table<Integer, String, Character> original = HashBasedTable.create();
44 Table<Integer, String, Character> original = HashBasedTable.create();
45 Table<String, Integer, Character> transpose = Tables.transpose(original);
51 Table<Integer, String, Character> original = HashBasedTable.create();
52 Table<String, Integer, Character> transpose = Tables.transpose(original);
58 Table<Integer, String, Character> original = HashBasedTable.create();
59 Table<String, Integer, Character> transpose = Tables.transpose(original)
    [all...]
  /frameworks/base/docs/image_sources/training/game-controllers/
backward-compatible-inputmanager.graffle 6 <integer>0</integer>
21 <integer>2</integer>
37 <integer>0</integer>
41 <integer>1</integer>
51 <integer>8</integer>
    [all...]
game-controller-profiles.graffle 6 <integer>1</integer>
21 <integer>2</integer>
37 <integer>0</integer>
41 <integer>1</integer>
802 <integer>8</integer>
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SortedMapGenerators.java 58 implements TestListGenerator<Entry<String, Integer>> {
61 public SampleElements<Entry<String, Integer>> samples() {
62 return new SampleElements<Entry<String, Integer>>(
72 public Entry<String, Integer>[] createArray(int length) {
77 public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
78 return new Ordering<Entry<String, Integer>>() {
80 public int compare(Entry<String, Integer> left, Entry<String, Integer> right) {
87 public List<Entry<String, Integer>> create(Object... elements)
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/collect/
SortedCopyBenchmark.java 46 @Override void arrange(List<Integer> list) {
51 @Override void arrange(List<Integer> list) {
60 @Override void arrange(List<Integer> list) {}
63 abstract void arrange(List<Integer> list);
66 private ImmutableList<Integer> input;
71 Set<Integer> set = new LinkedHashSet<Integer>(size);
77 List<Integer> list = new ArrayList<Integer>(set);
88 List<Integer> copy = new ArrayList<Integer>(input)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AnimatorUtils.java 44 public static final Property<View, Integer> BACKGROUND_ALPHA =
45 new Property<View, Integer>(Integer.class, "background.alpha") {
47 public Integer get(View view) {
52 public void set(View view, Integer value) {
57 public static final Property<ImageView, Integer> DRAWABLE_ALPHA =
58 new Property<ImageView, Integer>(Integer.class, "drawable.alpha") {
60 public Integer get(ImageView view) {
65 public void set(ImageView view, Integer value)
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary.ascend 14 ATTRIBUTE Ascend-Modem-PortNo 120 integer
15 ATTRIBUTE Ascend-Modem-SlotNo 121 integer
16 ATTRIBUTE Ascend-Modem-ShelfNo 122 integer
17 ATTRIBUTE Ascend-Call-Attempt-Limit 123 integer
18 ATTRIBUTE Ascend-Call-Block-Duration 124 integer
19 ATTRIBUTE Ascend-Maximum-Call-Duration 125 integer
20 ATTRIBUTE Ascend-Temporary-Rtes 126 integer
21 ATTRIBUTE Tunneling-Protocol 127 integer
22 ATTRIBUTE Ascend-Shared-Profile-Enable 128 integer
25 ATTRIBUTE Ascend-Dialout-Allowed 131 integer
    [all...]
  /libcore/ojluni/src/main/java/java/util/stream/
IntPipeline.java 55 extends AbstractPipeline<E_IN, Integer, IntStream>
66 IntPipeline(Supplier<? extends Spliterator<Integer>> source,
79 IntPipeline(Spliterator<Integer> source,
96 * Adapt a {@code Sink<Integer> to an {@code IntConsumer}, ideally simply
99 private static IntConsumer adapt(Sink<Integer> sink) {
106 "using IntStream.adapt(Sink<Integer> s)");
112 * Adapt a {@code Spliterator<Integer>} to a {@code Spliterator.OfInt}.
118 private static Spliterator.OfInt adapt(Spliterator<Integer> s) {
125 "using IntStream.adapt(Spliterator<Integer> s)");
126 throw new UnsupportedOperationException("IntStream.adapt(Spliterator<Integer> s)")
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/
Test_rsub_int.java 58 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE
63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE));
69 * 1: a = Integer.MIN_VALUE, b = 0, b-a = Integer.MIN_VALUE
74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE));
101 * 1: a = Integer.MIN_VALUE, b = Short.MAX_VALUE, b-a = -2147450881
102 * 2: a = Integer.MAX_VALUE, b = Short.MAX_VALUE, b-a = -214745088
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/
Test_rsub_int_lit8.java 58 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE
63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE));
69 * 1: a = Integer.MIN_VALUE, b = 0, b-a = Integer.MIN_VALUE
74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE));
101 * 1: a = Integer.MIN_VALUE, b = Byte.MAX_VALUE, b-a = -2147483521
102 * 2: a = Integer.MAX_VALUE, b = Byte.MAX_VALUE, b-a = -214748352
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DistinctOpTest.java 72 Optional<Integer> oi = Stream.iterate(1, i -> i + 1).unordered().parallel().distinct().findAny();
79 @Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
80 public void testOp(String name, TestData.OfRef<Integer> data) {
81 Collection<Integer> result = exerciseOpsInt(
93 @Test(dataProvider = "withNull:StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
94 public void testOpWithNull(String name, TestData.OfRef<Integer> data) {
95 Collection<Integer> node = exerciseOps(data, Stream::distinct);
107 @Test(dataProvider = "withNull:StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
108 public void testOpWithNullSorted(String name, TestData.OfRef<Integer> data) {
109 ArrayList<Integer> l = new ArrayList<>()
    [all...]
  /frameworks/base/docs/image_sources/resources/
resource_devices_diagram.graffle 6 <integer>5</integer>
28 <integer>2</integer>
46 <integer>1</integer>
56 <integer>6</integer>
68 <integer>224</integer>
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
CollectionsTest.java 141 * {@code Integer.MIN_VALUE} and {@code Integer.MAX_VALUE}.
156 return Integer.MIN_VALUE;
158 return Integer.MAX_VALUE;
165 ArrayList<Integer> list = new ArrayList<Integer>(16);
172 int index = Collections.binarySearch(list, 9, new Comparator<Integer>() {
174 public int compare(Integer lhs, Integer rhs) {
179 return Integer.MIN_VALUE
    [all...]
  /external/guice/extensions/dagger-adapter/test/com/google/inject/daggeradapter/
DaggerAdapterTest.java 43 @dagger.Provides Integer anInteger() {
50 assertEquals((Integer) 1, i.getInstance(Integer.class));
54 @Provides String aString(Integer i) {
68 @dagger.Provides(type=SET) Integer anInteger() {
74 @dagger.Provides(type=SET) Integer anInteger() {
82 assertEquals(ImmutableSet.of(3, 5), i.getInstance(new Key<Set<Integer>>() {}));
87 Multibinder<Integer> mb = Multibinder.newSetBinder(binder, Integer.class);
97 assertEquals(ImmutableSet.of(13, 3, 5, 8), i.getInstance(new Key<Set<Integer>>() {}));
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
ResourceExtractor.java 9 private Map<String, Integer> localResourceStringToId = new HashMap<String, Integer>();
10 private Map<String, Integer> systemResourceStringToId = new HashMap<String, Integer>();
11 private Map<Integer, String> resourceIdToString = new HashMap<Integer, String>();
24 if (field.getType().equals(Integer.TYPE) && Modifier.isStatic(field.getModifiers())) {
50 public Integer getResourceId(String resourceName) {
58 public Integer getLocalResourceId(String value) {
63 public Integer getResourceId(String resourceName, boolean isSystemResource)
    [all...]

Completed in 2304 milliseconds

<<11121314151617181920>>