Example usage for com.google.common.collect ImmutableList of

List of usage examples for com.google.common.collect ImmutableList of

Introduction

In this page you can find the example usage for com.google.common.collect ImmutableList of.

Prototype

public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) 

Source Link

Usage

From source file:com.android.tools.idea.uibuilder.handlers.EditTextHandler.java

@Override
@NotNull
public List<String> getInspectorProperties() {
    return ImmutableList.of(ATTR_INPUT_TYPE, ATTR_HINT, ATTR_STYLE, ATTR_SINGLE_LINE, ATTR_SELECT_ALL_ON_FOCUS);
}

From source file:com.android.tools.idea.uibuilder.handlers.RatingBarHandler.java

@Override
@NotNull
public List<String> getInspectorProperties() {
    return ImmutableList.of(ATTR_STYLE, ATTR_NUM_STARS, ATTR_RATING, ATTR_STEP_SIZE, ATTR_IS_INDICATOR);
}

From source file:org.graylog2.security.AuthenticationConfig.java

public static AuthenticationConfig defaultInstance() {
    return builder()
            // the built-in default order of authenticators
            .realmOrder(ImmutableList.of(SessionAuthenticator.NAME, AccessTokenAuthenticator.NAME,
                    LdapUserAuthenticator.NAME, PasswordAuthenticator.NAME, RootAccountRealm.NAME))
            .disabledRealms(Collections.emptySet()).build();
}