Searched refs:CollectionHolder (Results 1 – 3 of 3) sorted by relevance
51 static class CollectionHolder<T extends Collection<?>> { class in ToStringStyleConcurrencyTest54 CollectionHolder(final T collection) { in CollectionHolder() method in ToStringStyleConcurrencyTest.CollectionHolder72 this.testConcurrency(new CollectionHolder<>(new LinkedList<>())); in testLinkedList()77 this.testConcurrency(new CollectionHolder<>(new ArrayList<>())); in testArrayList()82 this.testConcurrency(new CollectionHolder<>(new CopyOnWriteArrayList<>())); in testCopyOnWriteArrayList()85 …private void testConcurrency(final CollectionHolder<List<Integer>> holder) throws InterruptedExcep… in testConcurrency()
55 static class CollectionHolder<T extends Collection<?>> { class in ReflectionToStringBuilderConcurrencyTest58 CollectionHolder(final T collection) { in CollectionHolder() method in ReflectionToStringBuilderConcurrencyTest.CollectionHolder69 this.testConcurrency(new CollectionHolder<>(new LinkedList<>())); in testLinkedList()75 this.testConcurrency(new CollectionHolder<>(new ArrayList<>())); in testArrayList()81 this.testConcurrency(new CollectionHolder<>(new CopyOnWriteArrayList<>())); in testCopyOnWriteArrayList()84 …private void testConcurrency(final CollectionHolder<List<Integer>> holder) throws InterruptedExcep… in testConcurrency()
89 final static class CollectionHolder class in TestValueAnnotations248 CollectionHolder result = MAPPER.readValue in testOverrideClassValid()249 ("{ \"strings\" : [ \"test\" ] }", CollectionHolder.class); in testOverrideClassValid()