Package com.google.common.collect

Examples of com.google.common.collect.ImmutableSet$Builder


      return new TypeToken.ClassSet(TypeToken.this, null);
    }

    protected Set delegate()
    {
      ImmutableSet localImmutableSet = this.types;
      if (localImmutableSet == null)
        return this.types = ImmutableSet.copyOf(Sets.filter(TypeToken.this.findAllTypes(), TypeToken.TypeFilter.IGNORE_TYPE_VARIABLE_OR_WILDCARD));
      return localImmutableSet;
    }
View Full Code Here


    });
  }

  public Optional charset()
  {
    ImmutableSet localImmutableSet = ImmutableSet.copyOf(this.parameters.get("charset"));
    switch (localImmutableSet.size())
    {
    case 0:
      return Optional.absent();
    case 1:
      return Optional.of(Charset.forName((String)Iterables.getOnlyElement(localImmutableSet)));
View Full Code Here

TOP

Related Classes of com.google.common.collect.ImmutableSet$Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.