Package de.scravy.bedrock
Class Box.IntBox
- All Implemented Interfaces:
ExtendedIterable<Integer>,Function0<Integer>,HasLengthAtLeast,Iterable<Integer>,Consumer<Integer>,Supplier<Integer>
public static class Box.IntBox extends Box<Integer>
-
Nested Class Summary
Nested classes/interfaces inherited from class de.scravy.bedrock.Box
Box.DoubleBox, Box.IntBox, Box.LongBoxNested classes/interfaces inherited from interface de.scravy.bedrock.ExtendedIterable
ExtendedIterable.ForEachWithIndexConsumer<T> -
Constructor Summary
Constructors Constructor Description IntBox() -
Method Summary
Modifier and Type Method Description voidaccept(Integer value)voidadd(int value)voiddec()booleanexists(IntPredicate predicate)Deprecated.Integerget()intgetValue()voidinc()booleanintExists(IntPredicate predicate)voidsetValue(int value)voidsub(int value)intupdate(IntUnaryOperator function)intupdateAtomic(IntUnaryOperator function)Methods inherited from class de.scravy.bedrock.Box
apply, applyAtomic, box, box, contains, doubleBox, doubleBox, exists, intBox, intBox, iterator, longBox, longBox