Code example for FluentIterable

Methods: from

0
 
    return Description.NO_MATCH; 
  } 
 
  private static String formatLockString(Set<GuardedByExpression> locks) {
    ImmutableList<String> sortedUnhandled = FluentIterable.from(locks)
        .transform(Functions.toStringFunction())
        .toSortedList(Ordering.natural());
    return Joiner.on(", ").join(sortedUnhandled);
  } 
 
  private static Optional<ImmutableSet<GuardedByExpression>> parseLockExpressions(
      List<String> lockExpressions, Tree tree, VisitorState state) {
    ImmutableSet.Builder<GuardedByExpression> builder = ImmutableSet.builder();
    for (String lockExpression : lockExpressions) {
      Optional<GuardedByExpression> guard = GuardedByBinder.bindString(
          lockExpression, GuardedBySymbolResolver.from(tree, state));
      if (!guard.isPresent()) {
        return Optional.absent();
      } 
Connect your IDE to all the code out there  Get Codota for Java