OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AnEnum
(Results
1 - 10
of
10
) sorted by null
/external/guava/guava-testlib/src/com/google/common/collect/testing/
TestEnumMapGenerator.java
31
implements TestMapGenerator<
AnEnum
, String> {
34
public SampleElements<Entry<
AnEnum
, String>> samples() {
35
return new SampleElements<Entry<
AnEnum
, String>>(
36
Helpers.mapEntry(
AnEnum
.A, "January"),
37
Helpers.mapEntry(
AnEnum
.B, "February"),
38
Helpers.mapEntry(
AnEnum
.C, "March"),
39
Helpers.mapEntry(
AnEnum
.D, "April"),
40
Helpers.mapEntry(
AnEnum
.E, "May")
45
public final Map<
AnEnum
, String> create(Object... entries) {
47
Entry<
AnEnum
, String>[] array = new Entry[entries.length]
[
all
...]
TestEnumSetGenerator.java
32
public abstract class TestEnumSetGenerator implements TestSetGenerator<
AnEnum
> {
34
public SampleElements<
AnEnum
> samples() {
39
public Set<
AnEnum
> create(Object... elements) {
40
AnEnum
[] array = new
AnEnum
[elements.length];
43
array[i++] = (
AnEnum
) e;
48
protected abstract Set<
AnEnum
> create(
AnEnum
[] elements);
51
public
AnEnum
[] createArray(int length) {
52
return new
AnEnum
[length]
[
all
...]
AnEnum.java
26
public enum
AnEnum
{
SampleElements.java
58
public static class Enums extends SampleElements<
AnEnum
> {
61
super(
AnEnum
.B,
AnEnum
.A,
AnEnum
.C,
AnEnum
.D,
AnEnum
.E);
TestsForMapsInJavaUtil.java
187
@Override protected Map<
AnEnum
, String> create(
188
Entry<
AnEnum
, String>[] entries) {
190
new EnumMap<
AnEnum
, String>(
AnEnum
.class), entries);
TestsForSetsInJavaUtil.java
171
@Override public Set<
AnEnum
> create(
AnEnum
[] elements) {
173
? EnumSet.noneOf(
AnEnum
.class)
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
TestEnumMultisetGenerator.java
21
import com.google.common.collect.testing.
AnEnum
;
36
implements TestMultisetGenerator<
AnEnum
> {
38
public SampleElements<
AnEnum
> samples() {
43
public Multiset<
AnEnum
> create(Object... elements) {
44
AnEnum
[] array = new
AnEnum
[elements.length];
47
array[i++] = (
AnEnum
) e;
52
protected abstract Multiset<
AnEnum
> create(
AnEnum
[] elements);
55
public
AnEnum
[] createArray(int length)
[
all
...]
/external/chromium_org/base/
template_util_unittest.cc
15
enum
AnEnum
{};
73
COMPILE_ASSERT(!is_class<
AnEnum
>::value, IsClass);
/external/guava/guava-tests/test/com/google/common/collect/
MultisetCollectionTest.java
25
import com.google.common.collect.testing.
AnEnum
;
198
@Override protected Multiset<
AnEnum
> create(
AnEnum
[] elements) {
200
? EnumMultiset.create(
AnEnum
.class)
SetsTest.java
35
import com.google.common.collect.testing.
AnEnum
;
162
@Override protected Set<
AnEnum
> create(
AnEnum
[] elements) {
163
AnEnum
[] otherElements = new
AnEnum
[elements.length - 1];
[
all
...]
Completed in 339 milliseconds