import com.dexx.collections.immutable.ImmutableList; public class DexxCollectionsExample { public static void main(String[] args) { ImmutableList<Integer> numbers = ImmutableList.of(1, 2, 3, 4, 5); ImmutableList<Integer> newNumbers = numbers.append(6); } } <dependency> <groupId>com.googlecode.dexx</groupId> <artifactId>dexx-collections</artifactId> <version>0.6</version> </dependency>


上一篇:
下一篇:
切换中文