Top Inners Fields Constructors Methods
org.eclipse.collections.impl.block.factory

public final Class IntegerPredicates

extends Object
Class Inheritance
Imports
org.eclipse.collections.api.block.function.Function

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static final Predicates<Integer>
private static final Predicates<Integer>
private static final Predicates<Integer>
private static final Predicates<Integer>
private static final Predicates<Integer>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T> Predicates<T>
attributeIsEven(Function<? super T, Integer> function)

public static <T> Predicates<T>
attributeIsNegative(Function<? super T, Integer> function)

public static <T> Predicates<T>
attributeIsOdd(Function<? super T, Integer> function)

public static <T> Predicates<T>
attributeIsPositive(Function<? super T, Integer> function)

public static <T> Predicates<T>
attributeIsZero(Function<? super T, Integer> function)

public static Predicates<Integer>
public static Predicates<Integer>
public static Predicates<Integer>
public static Predicates<Integer>
public static Predicates<Integer>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

IS_EVENback to summary
private static final Predicates<Integer> IS_EVEN
IS_NEGATIVEback to summary
private static final Predicates<Integer> IS_NEGATIVE
IS_ODDback to summary
private static final Predicates<Integer> IS_ODD
IS_POSITIVEback to summary
private static final Predicates<Integer> IS_POSITIVE
IS_ZEROback to summary
private static final Predicates<Integer> IS_ZERO

Constructor Detail

IntegerPredicatesback to summary
private IntegerPredicates()

Method Detail

attributeIsEvenback to summary
public static <T> Predicates<T> attributeIsEven(Function<? super T, Integer> function)
attributeIsNegativeback to summary
public static <T> Predicates<T> attributeIsNegative(Function<? super T, Integer> function)
attributeIsOddback to summary
public static <T> Predicates<T> attributeIsOdd(Function<? super T, Integer> function)
attributeIsPositiveback to summary
public static <T> Predicates<T> attributeIsPositive(Function<? super T, Integer> function)
attributeIsZeroback to summary
public static <T> Predicates<T> attributeIsZero(Function<? super T, Integer> function)
isEvenback to summary
public static Predicates<Integer> isEven()
isNegativeback to summary
public static Predicates<Integer> isNegative()
isOddback to summary
public static Predicates<Integer> isOdd()
isPositiveback to summary
public static Predicates<Integer> isPositive()
isZeroback to summary
public static Predicates<Integer> isZero()
org.eclipse.collections.impl.block.factory back to summary

private Class IntegerPredicates.IntegerIsEven

extends Predicates<Integer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from org.eclipse.collections.impl.block.factory.Predicates:
adaptallSatisfyalwaysFalsealwaysTrueandandandandanySatisfyassignableFromattributeAllSatisfyattributeAnySatisfyattributeBetweenExclusiveattributeBetweenInclusiveattributeBetweenInclusiveFromattributeBetweenInclusiveToattributeEqualattributeGreaterThanattributeGreaterThanOrEqualToattributeInattributeIsNullattributeLessThanattributeLessThanOrEqualToattributeNoneSatisfyattributeNotEqualattributeNotInattributeNotNullattributePredicatebetweenExclusivebetweenInclusivebetweenInclusiveFrombetweenInclusiveTobindcastequalgreaterThangreaterThanOrEqualToifFalseifTrueinininstanceOfisNulllessThanlessThanOrEqualToneithernoneOfnoneOfnoneSatisfynotnotnotEqualnotInnotInnotInstanceOfnotNullnotSameAsororororsameAssubClasssuperClasssynchronizedEachthrowingthrowing

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.block.factory.Predicates.serialVersionUID.

Constructor Detail

IntegerIsEvenback to summary
private IntegerIsEven()

Method Detail

acceptback to summary
public boolean accept(Integer i)

Implements org.eclipse.collections.api.block.predicate.Predicate.accept.

Annotations
@Override
org.eclipse.collections.impl.block.factory back to summary

private Class IntegerPredicates.IntegerIsNegative

extends Predicates<Integer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from org.eclipse.collections.impl.block.factory.Predicates:
adaptallSatisfyalwaysFalsealwaysTrueandandandandanySatisfyassignableFromattributeAllSatisfyattributeAnySatisfyattributeBetweenExclusiveattributeBetweenInclusiveattributeBetweenInclusiveFromattributeBetweenInclusiveToattributeEqualattributeGreaterThanattributeGreaterThanOrEqualToattributeInattributeIsNullattributeLessThanattributeLessThanOrEqualToattributeNoneSatisfyattributeNotEqualattributeNotInattributeNotNullattributePredicatebetweenExclusivebetweenInclusivebetweenInclusiveFrombetweenInclusiveTobindcastequalgreaterThangreaterThanOrEqualToifFalseifTrueinininstanceOfisNulllessThanlessThanOrEqualToneithernoneOfnoneOfnoneSatisfynotnotnotEqualnotInnotInnotInstanceOfnotNullnotSameAsororororsameAssubClasssuperClasssynchronizedEachthrowingthrowing

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.block.factory.Predicates.serialVersionUID.

Constructor Detail

IntegerIsNegativeback to summary
private IntegerIsNegative()

Method Detail

acceptback to summary
public boolean accept(Integer i)

Implements org.eclipse.collections.api.block.predicate.Predicate.accept.

Annotations
@Override
org.eclipse.collections.impl.block.factory back to summary

private Class IntegerPredicates.IntegerIsOdd

extends Predicates<Integer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from org.eclipse.collections.impl.block.factory.Predicates:
adaptallSatisfyalwaysFalsealwaysTrueandandandandanySatisfyassignableFromattributeAllSatisfyattributeAnySatisfyattributeBetweenExclusiveattributeBetweenInclusiveattributeBetweenInclusiveFromattributeBetweenInclusiveToattributeEqualattributeGreaterThanattributeGreaterThanOrEqualToattributeInattributeIsNullattributeLessThanattributeLessThanOrEqualToattributeNoneSatisfyattributeNotEqualattributeNotInattributeNotNullattributePredicatebetweenExclusivebetweenInclusivebetweenInclusiveFrombetweenInclusiveTobindcastequalgreaterThangreaterThanOrEqualToifFalseifTrueinininstanceOfisNulllessThanlessThanOrEqualToneithernoneOfnoneOfnoneSatisfynotnotnotEqualnotInnotInnotInstanceOfnotNullnotSameAsororororsameAssubClasssuperClasssynchronizedEachthrowingthrowing

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.block.factory.Predicates.serialVersionUID.

Constructor Detail

IntegerIsOddback to summary
private IntegerIsOdd()

Method Detail

acceptback to summary
public boolean accept(Integer i)

Implements org.eclipse.collections.api.block.predicate.Predicate.accept.

Annotations
@Override
org.eclipse.collections.impl.block.factory back to summary

private Class IntegerPredicates.IntegerIsPositive

extends Predicates<Integer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from org.eclipse.collections.impl.block.factory.Predicates:
adaptallSatisfyalwaysFalsealwaysTrueandandandandanySatisfyassignableFromattributeAllSatisfyattributeAnySatisfyattributeBetweenExclusiveattributeBetweenInclusiveattributeBetweenInclusiveFromattributeBetweenInclusiveToattributeEqualattributeGreaterThanattributeGreaterThanOrEqualToattributeInattributeIsNullattributeLessThanattributeLessThanOrEqualToattributeNoneSatisfyattributeNotEqualattributeNotInattributeNotNullattributePredicatebetweenExclusivebetweenInclusivebetweenInclusiveFrombetweenInclusiveTobindcastequalgreaterThangreaterThanOrEqualToifFalseifTrueinininstanceOfisNulllessThanlessThanOrEqualToneithernoneOfnoneOfnoneSatisfynotnotnotEqualnotInnotInnotInstanceOfnotNullnotSameAsororororsameAssubClasssuperClasssynchronizedEachthrowingthrowing

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.block.factory.Predicates.serialVersionUID.

Constructor Detail

IntegerIsPositiveback to summary
private IntegerIsPositive()

Method Detail

acceptback to summary
public boolean accept(Integer i)

Implements org.eclipse.collections.api.block.predicate.Predicate.accept.

Annotations
@Override
org.eclipse.collections.impl.block.factory back to summary

private Class IntegerPredicates.IntegerIsZero

extends Predicates<Integer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from org.eclipse.collections.impl.block.factory.Predicates:
adaptallSatisfyalwaysFalsealwaysTrueandandandandanySatisfyassignableFromattributeAllSatisfyattributeAnySatisfyattributeBetweenExclusiveattributeBetweenInclusiveattributeBetweenInclusiveFromattributeBetweenInclusiveToattributeEqualattributeGreaterThanattributeGreaterThanOrEqualToattributeInattributeIsNullattributeLessThanattributeLessThanOrEqualToattributeNoneSatisfyattributeNotEqualattributeNotInattributeNotNullattributePredicatebetweenExclusivebetweenInclusivebetweenInclusiveFrombetweenInclusiveTobindcastequalgreaterThangreaterThanOrEqualToifFalseifTrueinininstanceOfisNulllessThanlessThanOrEqualToneithernoneOfnoneOfnoneSatisfynotnotnotEqualnotInnotInnotInstanceOfnotNullnotSameAsororororsameAssubClasssuperClasssynchronizedEachthrowingthrowing

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.block.factory.Predicates.serialVersionUID.

Constructor Detail

IntegerIsZeroback to summary
private IntegerIsZero()

Method Detail

acceptback to summary
public boolean accept(Integer i)

Implements org.eclipse.collections.api.block.predicate.Predicate.accept.

Annotations
@Override