congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IItemList.findFuzzy
Code IndexAdd Tabnine to your IDE (free)

How to use
findFuzzy
method
in
appeng.api.storage.data.IItemList

Best Java code snippets using appeng.api.storage.data.IItemList.findFuzzy (Showing top 8 results out of 315)

origin: AppliedEnergistics/Applied-Energistics-2

@Override
public Collection<T> findFuzzy( final T input, final FuzzyMode fuzzy )
{
  return this.target.findFuzzy( input, fuzzy );
}
origin: AppliedEnergistics/Applied-Energistics-2

@Override
public boolean isListed( final T input )
{
  final Collection<T> out = this.list.findFuzzy( input, this.mode );
  return out != null && !out.isEmpty();
}
origin: AppliedEnergistics/Applied-Energistics-2

private ItemStack doRemoveItemsFuzzy( final int amount, final ItemStack filter, final IInventoryDestination destination, final Actionable type, final FuzzyMode fuzzyMode )
{
  final IAEItemStack reqFilter = AEItemStack.fromItemStack( filter );
  if( reqFilter == null )
  {
    return ItemStack.EMPTY;
  }
  IAEItemStack out = null;
  for( final IAEItemStack req : ImmutableList.copyOf( this.getList().findFuzzy( reqFilter, fuzzyMode ) ) )
  {
    if( req != null )
    {
      req.setStackSize( amount );
      out = this.target.extractItems( req, type, this.src );
      if( out != null )
      {
        return out.createItemStack();
      }
    }
  }
  return ItemStack.EMPTY;
}
origin: AppliedEnergistics/Applied-Energistics-2

final Collection<IAEItemStack> fuzzyList = monitor.getStorageList().findFuzzy( myStack, fzMode );
for( final IAEItemStack st : fuzzyList )
origin: AppliedEnergistics/Applied-Energistics-2

itemList = this.inventory.getItemList().findFuzzy( input[x], FuzzyMode.IGNORE_ALL );
origin: AppliedEnergistics/Applied-Energistics-2

itemList = inventoryList.findFuzzy( this.what, FuzzyMode.IGNORE_ALL );
origin: AppliedEnergistics/Applied-Energistics-2

for( IAEItemStack fuzz : this.inventory.getItemList().findFuzzy( g, FuzzyMode.IGNORE_ALL ) )
origin: AppliedEnergistics/Applied-Energistics-2

for( final IAEItemStack o : ImmutableList.copyOf( inv.getStorageList().findFuzzy( ais, fzMode ) ) )
appeng.api.storage.dataIItemListfindFuzzy

Popular methods of IItemList

  • add
  • isEmpty
  • findPrecise
  • resetStatus
  • size
  • forEach
  • getFirstItem
  • addCrafting
  • addRequestable
  • addStorage
  • iterator
  • spliterator
  • iterator,
  • spliterator

Popular in Java

  • Finding current android device location
  • onCreateOptionsMenu (Activity)
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top 12 Jupyter Notebook extensions
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