MCPcopy Index your code

hub / github.com/eclipse-collections/eclipse-collections / functions

Functions31,777 in github.com/eclipse-collections/eclipse-collections

↓ 2,348 callersMethodof
Same as {@link #empty()}.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/factory/bag/MutableBagFactory.java:31
↓ 1,944 callersMethodassertThrows
Runs the {@link Callable} {@code code} and asserts that it throws an {@code Exception} of the type {@code expectedExceptionClass}. <p> {@code Callable
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:2370
↓ 1,868 callersMethodvalueOf
(T each)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/block/function/Function.java:24
↓ 1,856 callersMethodnewListWith
Creates a new list using the passed {@code elements} argument as the backing store. <p> !!! WARNING: This method uses the passed in array, so can be v
eclipse-collections/src/main/java/org/eclipse/collections/impl/list/mutable/FastList.java:184
↓ 1,837 callersMethodget
Locates an object in the pool which is equal to {@code key}. @param key the value to look for @return The object reference in the pool equal to key o
eclipse-collections-api/src/main/java/org/eclipse/collections/api/set/Pool.java:21
↓ 1,651 callersMethodwith
(T element)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/MutableBag.java:94
↓ 1,538 callersMethodassertSerializedForm
(String expectedBase64Form, Object actualObject)
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:2117
↓ 1,331 callersMethodempty
@since 6.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/factory/bag/MutableBagFactory.java:26
↓ 1,306 callersMethodsize
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/set/Pool.java:36
↓ 1,302 callersMethodassertSize
Assert the size of the given array.
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:513
↓ 1,274 callersMethodput
Puts {@code key} into the pool. If there is no existing object that is equal to key, key will be added to the pool and the return value will be the sa
eclipse-collections-api/src/main/java/org/eclipse/collections/api/set/Pool.java:34
↓ 1,078 callersMethodcollect
{@inheritDoc} Implementations are expected to delegate to {@link MutableBiMap#put(Object, Object)}, {@link ImmutableBiMap#newWithKeyValue(Object, Obj
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bimap/BiMap.java:66
↓ 992 callersMethodadd
(Object number)
unit-tests/src/test/java/org/eclipse/collections/impl/math/Sum.java:24
↓ 944 callersMethodtoImmutable
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/Bag.java:215
↓ 942 callersMethodequals
Two bags {@code b1} and {@code b2} are equal if {@code m1.toMapOfItemToCount().equals(m2.toMapOfItemToCount())}. @see Map#equals(Object)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/Bag.java:62
↓ 935 callersMethodtoString
Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets. <pre> Assert.assertEquals("[]",
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:2491
↓ 932 callersMethodpair
(T1 one, T2 two)
eclipse-collections/src/main/java/org/eclipse/collections/impl/tuple/Tuples.java:93
↓ 869 callersMethodtoList
Converts the collection to a MutableList implementation. @since 1.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:2130
↓ 815 callersMethodsize
()
eclipse-collections/src/main/java/org/eclipse/collections/impl/parallel/BatchIterable.java:19
↓ 773 callersMethodoneTo
Returns an Interval starting from 1 to the specified count value with a step value of 1.
eclipse-collections/src/main/java/org/eclipse/collections/impl/list/Interval.java:139
↓ 754 callersMethodvalue
(int each)
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/procedure/primitive/IntProcedure.java:20
↓ 747 callersMethodnewList
()
eclipse-collections/src/main/java/org/eclipse/collections/impl/list/mutable/FastList.java:156
↓ 716 callersMethodreverseNaturalOrder
Uses the natural compareTo methods of the objects which will throw if there are any nulls.
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/factory/Comparators.java:84
↓ 678 callersMethodassertInstanceOf
Assert that the given object is an instanceof expectedClassType.
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:246
↓ 674 callersMethodpair
(T one, boolean two)
eclipse-collections/src/main/java/org/eclipse/collections/impl/tuple/primitive/PrimitiveTuples.java:104
↓ 669 callersMethodremove
@throws UnsupportedOperationException the {@code remove} operation is not supported by this map.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/map/FixedSizeMap.java:46
↓ 635 callersMethodassertEmpty
Assert that the given {@link Iterable} is empty.
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:109
↓ 604 callersMethodgetSimpleName
(Object collection)
performance-tests/src/test/java/org/eclipse/collections/impl/parallel/SerialParallelPerformanceTest.java:396
↓ 582 callersMethodaccept
(int codePoint)
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/predicate/CodePointPredicate.java:26
↓ 578 callersMethodnewSetWith
(K... elements)
eclipse-collections/src/main/java/org/eclipse/collections/impl/set/mutable/UnifiedSet.java:187
↓ 564 callersMethodforEach
(Procedure<? super T> procedure)
eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/Batch.java:28
↓ 535 callersMethodputAll
@throws UnsupportedOperationException the {@code putAll} operation is not supported by this map.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/map/FixedSizeMap.java:40
↓ 521 callersMethodadd
Modification operation similar to put, however, takes the key-value pair as the input. @param keyValuePair key value pair to add in the multimap @see
eclipse-collections-api/src/main/java/org/eclipse/collections/api/multimap/MutableMultimap.java:68
↓ 499 callersMethodkeySet
Returns an unmodifiable {@link SetIterable} of keys with O(1) complexity.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/multimap/Multimap.java:175
↓ 497 callersMethodtoArray
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/LazyIterable.java:76
↓ 469 callersMethodnewSet
()
eclipse-collections/src/main/java/org/eclipse/collections/impl/set/mutable/UnifiedSet.java:151
↓ 466 callersMethodtoSet
Converts the collection to a MutableSet implementation. @since 1.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:2168
↓ 460 callersMethodassertContainsAll
( Iterable<?> iterable, Object... items)
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:1019
↓ 450 callersMethodvalueOf
(char character)
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/function/primitive/CharFunction.java:31
↓ 434 callersMethodselect
(Predicate<? super T> predicate)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/Bag.java:76
↓ 428 callersMethodcontainsAll
Returns true if all elements in source are contained in this collection. @see Collection#containsAll(Collection) @since 1.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:480
↓ 418 callersMethodassertContains
Assert that the given {@code stringToFind} is contained within the {@code stringToSearch}.
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:737
↓ 412 callersMethodtoBag
Converts the collection to the default MutableBag implementation. @since 1.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:2201
↓ 410 callersMethodwithAll
(Iterable<? extends T> elements)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/MutableBag.java:122
↓ 397 callersMethodcomparator
Returns the comparator used to order the elements in this bag, or null if this bag uses the natural ordering of its elements.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/sorted/SortedBag.java:211
↓ 395 callersMethodcontains
Returns true if the iterable has an element which responds true to element.equals(object). @since 1.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:367
↓ 392 callersMethodnewWith
(T... elements)
unit-tests-java8/src/test/java/org/eclipse/collections/test/bag/BagTestCase.java:36
↓ 356 callersMethodintValue
()
unit-tests/src/test/java/org/eclipse/collections/impl/math/MutableByte.java:106
↓ 354 callersMethodaccept
(T each)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/block/procedure/Procedure.java:25
↓ 345 callersMethodstream
@since 9.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/map/MapIterable.java:304
↓ 343 callersMethodnewListWith
(boolean... array)
eclipse-collections/src/main/java/org/eclipse/collections/impl/list/mutable/primitive/BooleanArrayList.java:90
↓ 339 callersMethodassertEqualsAndHashCode
Assert that {@code objectA} and {@code objectB} are equal via the {@link Object#equals(Object)} method, and that they both return the same {@link Obje
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:2208
↓ 339 callersMethodreject
(Predicate<? super T> predicate)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/Bag.java:82
↓ 320 callersMethodassertListsEqual
(List<?> expectedList, List<?> actualList)
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:1044
↓ 318 callersMethodnewWithKeysValues
(K key, V value)
eclipse-collections/src/main/java/org/eclipse/collections/impl/map/mutable/UnifiedMap.java:209
↓ 311 callersMethodgetOne
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/tuple/Pair.java:26
↓ 299 callersMethodgetLock
()
eclipse-collections/src/main/java/org/eclipse/collections/impl/multimap/AbstractSynchronizedMultimap.java:60
↓ 295 callersMethodaddAll
@throws UnsupportedOperationException the {@code addAll} operation is not supported by this collection.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/collection/FixedSizeCollection.java:114
↓ 293 callersMethodasReversed
Returns a reversed view of this ReversibleIterable.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/ordered/ReversibleIterable.java:85
↓ 292 callersMethodnext
()
unit-tests/src/test/java/org/eclipse/collections/impl/iterator/SingletonBooleanIteratorTest.java:36
↓ 291 callersMethodisEmpty
Returns true if this iterable has zero items. @since 1.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:350
↓ 287 callersMethodfail
(String message, Throwable cause)
eclipse-collections-testutils/src/main/java/org/eclipse/collections/impl/test/Verify.java:101
↓ 287 callersMethodgetTwo
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/tuple/Pair.java:28
↓ 285 callersMethodnewWith
(T... littleElements)
unit-tests/src/test/java/org/eclipse/collections/impl/AbstractRichIterableTestCase.java:187
↓ 281 callersMethodmin
(Comparator<? super T> comparator)
eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/Batch.java:40
↓ 279 callersMethodentrySet
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/map/sorted/MutableSortedMap.java:213
↓ 276 callersMethodhashCode
Returns the hash code for this Bag, defined as <em>this.{@link #toMapOfItemToCount()}.hashCode()</em>. @see Map#hashCode()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/Bag.java:70
↓ 271 callersMethodacquireReadLock
This method must be wrapped in a try block.
eclipse-collections/src/main/java/org/eclipse/collections/impl/collection/mutable/AbstractMultiReaderMutableCollection.java:2296
↓ 271 callersMethodasLazy
Returns a lazy (deferred) iterable, most likely implemented by calling LazyIterate.adapt(this). @since 1.0.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:240
↓ 268 callersMethodhasNext
()
unit-tests/src/test/java/org/eclipse/collections/impl/lazy/iterator/TakeWhileIteratorTest.java:62
↓ 267 callersMethodfromTo
Returns an Interval starting from the value from to the specified value to with a step value of 1.
eclipse-collections/src/main/java/org/eclipse/collections/impl/list/Interval.java:173
↓ 267 callersMethodmakeString
(String separator)
eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/Batch.java:38
↓ 257 callersMethodwithInitialCapacity
Same as {@link #empty()}. but takes in initial capacity. @since 11.1.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/factory/bag/MutableBagFactory.java:191
↓ 248 callersMethodparallelStream
@since 9.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/map/MapIterable.java:312
↓ 245 callersMethodgetFirst
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/LazyIterable.java:49
↓ 244 callersMethodnewMap
()
eclipse-collections/src/main/java/org/eclipse/collections/impl/map/mutable/UnifiedMap.java:174
↓ 240 callersMethodmax
(Comparator<? super T> comparator)
eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/Batch.java:42
↓ 237 callersMethodiList
()
eclipse-collections/src/main/java/org/eclipse/collections/impl/factory/Iterables.java:172
↓ 225 callersMethodaddOccurrences
Add number of {@code occurrences} for an {@code item}. If the {@code item} does not exist, then the {@code item} is added to the bag. <p> For Example
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/MutableBagIterable.java:44
↓ 217 callersMethodgroupBy
(Function<? super T, ? extends V> function)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/Bag.java:97
↓ 214 callersMethodappend
(Appendable appendable)
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/factory/Procedures.java:49
↓ 214 callersMethodgetLast
Returns the last element of an iterable. In the case of a List it is the element at the last index. In the case of any other Collection, it is the las
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:578
↓ 214 callersMethodnewWith
(T... littleElements)
unit-tests/src/test/java/org/eclipse/collections/impl/bag/sorted/mutable/AbstractMutableSortedBagTestCase.java:95
↓ 213 callersMethodappendString
Prints a string representation of this collection onto the given {@code Appendable}. Prints the string returned by {@link #makeString()}. @since 1.0
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:2549
↓ 213 callersMethodnewMultimap
(Multimap<? extends K, ? extends V> multimap)
eclipse-collections/src/main/java/org/eclipse/collections/impl/multimap/bag/HashBagMultimap.java:53
↓ 208 callersMethodlessThan
(T object)
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/factory/Predicates.java:335
↓ 203 callersMethodofAll
Same as {@link #withAll(Iterable)}.
eclipse-collections-api/src/main/java/org/eclipse/collections/api/factory/bag/MutableBagFactory.java:166
↓ 203 callersMethodvalues
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/map/sorted/MutableSortedMap.java:234
↓ 202 callersMethodgreaterThan
(T object)
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/factory/Predicates.java:359
↓ 202 callersMethodnewBagWith
(E... elements)
eclipse-collections/src/main/java/org/eclipse/collections/impl/bag/mutable/HashBag.java:82
↓ 200 callersMethodasUnmodifiable
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/MutableBag.java:139
↓ 200 callersMethodcontainsKey
Returns {@code true} if any values are mapped to the specified key. @param key the key to search for
eclipse-collections-api/src/main/java/org/eclipse/collections/api/multimap/Multimap.java:142
↓ 200 callersMethodwithKeyValue
(K key, V value)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/map/MutableMap.java:248
↓ 196 callersMethodcount
(Predicate<? super T> predicate)
eclipse-collections/src/main/java/org/eclipse/collections/impl/lazy/parallel/Batch.java:36
↓ 196 callersMethodforEachWithIndex
Iterates over the iterable passing each element and the current relative int index to the specified instance of ObjectIntProcedure. <p> Example using
eclipse-collections-api/src/main/java/org/eclipse/collections/api/InternalIterable.java:83
↓ 194 callersMethodinjectInto
Returns the final result of evaluating function using each element of the iterable and the previous evaluation result as the parameters. The injected
eclipse-collections-api/src/main/java/org/eclipse/collections/api/RichIterable.java:1735
↓ 192 callersMethodvalue
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/block/function/Function0.java:24
↓ 191 callersMethodasSynchronized
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/bag/MutableBag.java:142
↓ 185 callersMethodremoveAll
(Object key)
eclipse-collections-api/src/main/java/org/eclipse/collections/api/multimap/MutableMultimap.java:102
↓ 184 callersMethodclear
()
eclipse-collections-api/src/main/java/org/eclipse/collections/api/set/Pool.java:23
next →1–100 of 31,777, ranked by callers