Tabnine Logo
IterableUtils.unmodifiableIterable
Code IndexAdd Tabnine to your IDE (free)

How to use
unmodifiableIterable
method
in
org.apache.commons.collections4.IterableUtils

Best Java code snippets using org.apache.commons.collections4.IterableUtils.unmodifiableIterable (Showing top 1 results out of 315)

origin: org.apache.commons/commons-collections4

/**
 * Returns a new FluentIterable whose iterator will return an unmodifiable
 * view of this iterable.
 *
 * @return a new iterable, providing an unmodifiable view of this iterable
 */
public FluentIterable<E> unmodifiable() {
  return of(IterableUtils.unmodifiableIterable(iterable));
}
org.apache.commons.collections4IterableUtilsunmodifiableIterable

Javadoc

Returns an unmodifiable view of the given iterable.

The returned iterable's iterator does not support remove().

Popular methods of IterableUtils

  • find
    Finds the first element in the given iterable which matches the given predicate. A null or empty it
  • get
    Returns the index-th value in the iterable's Iterator, throwing IndexOutOfBoundsException if there i
  • forEach
    Applies the closure to each element of the provided iterable.
  • isEmpty
    Answers true if the provided iterable is empty. A null iterable returns true.
  • matchesAny
    Answers true if a predicate is true for any element of the iterable. A null or empty iterable return
  • countMatches
    Counts the number of elements in the input iterable that match the predicate. A null iterable matche
  • emptyIterable
    Gets an empty iterable. This iterable does not contain any elements.
  • forEachButLast
    Executes the given closure on each but the last element in the iterable. If the input iterable is nu
  • indexOf
    Returns the index of the first element in the specified iterable that matches the given predicate. A
  • toList
    Gets a new list with the contents of the provided iterable.
  • boundedIterable
    Returns a view of the given iterable that contains at most the given number of elements. The returne
  • chainedIterable
    Combines the provided iterables into a single iterable. The returned iterable has an iterator that t
  • boundedIterable,
  • chainedIterable,
  • checkNotNull,
  • collatedIterable,
  • contains,
  • emptyIfNull,
  • emptyIteratorIfNull,
  • filteredIterable,
  • frequency,
  • loopingIterable

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Menu (java.awt)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now