Available Methods
- newArrayList ( )
- map ( )
- newHashSet ( )
- filter ( )
- find ( )
- getFirstItem ( )
- addAll ( )
- addIfNotNull ( )
- mapNotNull ( )
- toArray ( )
- exists ( )
- emptyList ( )
- newHashMap ( )
- concat ( )
- isEmpty ( )
- newSmartList ( )
- getLastItem ( )
- list ( )
- sort ( )
- map2Array ( )
- process ( )
- newLinkedHashSet ( )
- sorted ( )
- notNullize ( )
- map2Set ( )
- newTroveSet ( )
- reverse ( )
- newLinkedHashMap ( )
- immutableList ( )
- newConcurrentMap ( )
- newArrayListWithCapacity ( )
- createMaybeSingletonList ( )
- map2Map ( )
- findAll ( )
- findInstance ( )
- intersects ( )
- indexOf ( )
- getOrCreate ( )
- iterateBackward ( )
- union ( )
- groupAndRuns ( )
- addAllNotNull ( )
Related Classes
- java.util.Arrays
- java.io.File
- java.util.Collections
- org.apache.commons.lang.StringUtils
- javax.annotation.Nullable
- javax.annotation.Nonnull
- org.jetbrains.annotations.NotNull
- org.jetbrains.annotations.Nullable
- com.intellij.openapi.project.Project
- com.intellij.openapi.vfs.VirtualFile
- com.intellij.openapi.actionSystem.AnActionEvent
- com.intellij.openapi.application.ApplicationManager
- com.intellij.psi.PsiFile
- com.intellij.openapi.editor.Editor
- com.intellij.psi.PsiElement
- org.jdom.Element
- com.intellij.openapi.editor.Document
- com.intellij.openapi.util.text.StringUtil
- com.intellij.openapi.ui.Messages
- com.intellij.psi.PsiManager
- com.intellij.openapi.util.TextRange
- com.intellij.psi.util.PsiTreeUtil
- com.intellij.psi.search.GlobalSearchScope
- com.intellij.openapi.actionSystem.DataContext
- com.intellij.openapi.module.Module
Java Code Examples for com.intellij.util.containers.ContainerUtil#indexOf()
The following examples show how to use
com.intellij.util.containers.ContainerUtil#indexOf() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CompletionSorterImpl.java From consulo with Apache License 2.0 | 5 votes |
private int idIndex(final String id) { return ContainerUtil.indexOf(myMembers, new Condition<ClassifierFactory<LookupElement>>() { @Override public boolean value(ClassifierFactory<LookupElement> factory) { return id.equals(factory.getId()); } }); }
Example 2
Source File: GraphTableModel.java From consulo with Apache License 2.0 | 4 votes |
public int getRowOfCommit(@Nonnull final Hash hash, @Nonnull VirtualFile root) { final int commitIndex = myLogData.getCommitIndex(hash, root); return ContainerUtil.indexOf(VcsLogUtil.getVisibleCommits(myDataPack.getVisibleGraph()), (Condition<Integer>)i -> i == commitIndex); }
Example 3
Source File: XBreakpointTypeGroup.java From consulo with Apache License 2.0 | 4 votes |
private static int indexOfType(XBreakpointType type) { return ContainerUtil.indexOf(XBreakpointUtil.getBreakpointTypes(), type); }