Set<TypeOne> result = new LinkedHashSet<>(FluentIterable
.from(inputListTypeTwo)
.transform(new Function<TypeTwo, TypeOne>() {
@Override
public TypeOne apply(TypeTwo element) {
return new TypeOne(element);
}
}).toList());
我在结果中得到了不同的顺序!?
Guava 14.0.1和Java 7