@Override public Collection<T> findFuzzy( final T input, final FuzzyMode fuzzy ) { return this.target.findFuzzy( input, fuzzy ); }
@Override public boolean isListed( final T input ) { final Collection<T> out = this.list.findFuzzy( input, this.mode ); return out != null && !out.isEmpty(); }
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; }
final Collection<IAEItemStack> fuzzyList = monitor.getStorageList().findFuzzy( myStack, fzMode ); for( final IAEItemStack st : fuzzyList )
itemList = this.inventory.getItemList().findFuzzy( input[x], FuzzyMode.IGNORE_ALL );
itemList = inventoryList.findFuzzy( this.what, FuzzyMode.IGNORE_ALL );
for( IAEItemStack fuzz : this.inventory.getItemList().findFuzzy( g, FuzzyMode.IGNORE_ALL ) )
for( final IAEItemStack o : ImmutableList.copyOf( inv.getStorageList().findFuzzy( ais, fzMode ) ) )