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

public final Class IntPredicates

extends Object
Class Inheritance
Imports
org.eclipse.collections.api.block.predicate.primitive.IntPredicate

Provides a set of common predicates for int values. This file was automatically generated from template file primitivePredicates.stg.

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
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 IntPredicate
private static final IntPredicate
private static final IntPredicates.IntIsEvenPredicate
private static final IntPredicates.IntIsOddPredicate

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static IntPredicate
public static IntPredicate
public static IntPredicate
public static IntPredicate
equal(int expected)

public static IntPredicate
greaterThan(int expected)

public static IntPredicate
public static IntPredicate
public static IntPredicate
lessThan(int expected)

public static IntPredicate
not(IntPredicate negate)

public static IntPredicate
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ALWAYS_FALSEback to summary
private static final IntPredicate ALWAYS_FALSE
ALWAYS_TRUEback to summary
private static final IntPredicate ALWAYS_TRUE
IS_EVENback to summary
private static final IntPredicates.IntIsEvenPredicate IS_EVEN
IS_ODDback to summary
private static final IntPredicates.IntIsOddPredicate IS_ODD

Constructor Detail

IntPredicatesback to summary
private IntPredicates()

Method Detail

alwaysFalseback to summary
public static IntPredicate alwaysFalse()
alwaysTrueback to summary
public static IntPredicate alwaysTrue()
andback to summary
public static IntPredicate and(IntPredicate one, IntPredicate two)
equalback to summary
public static IntPredicate equal(int expected)
Annotations
@SuppressWarnings:MisspelledEquals
greaterThanback to summary
public static IntPredicate greaterThan(int expected)
isEvenback to summary
public static IntPredicate isEven()
isOddback to summary
public static IntPredicate isOdd()
lessThanback to summary
public static IntPredicate lessThan(int expected)
notback to summary
public static IntPredicate not(IntPredicate negate)
orback to summary
public static IntPredicate or(IntPredicate one, IntPredicate two)
org.eclipse.collections.impl.block.factory.primitive back to summary

private final Class IntPredicates.AlwaysFalseIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.AlwaysFalseIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

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 java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

AlwaysFalseIntPredicateback to summary
private AlwaysFalseIntPredicate()

Method Detail

acceptback to summary
public boolean accept(int value)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.AlwaysTrueIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.AlwaysTrueIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

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 java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

AlwaysTrueIntPredicateback to summary
private AlwaysTrueIntPredicate()

Method Detail

acceptback to summary
public boolean accept(int value)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.AndIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.AndIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

Field Summary

Modifier and TypeField and Description
private final IntPredicate
private static final long
private final IntPredicate

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

oneback to summary
private final IntPredicate one
serialVersionUIDback to summary
private static final long serialVersionUID
twoback to summary
private final IntPredicate two

Constructor Detail

AndIntPredicateback to summary
private AndIntPredicate(IntPredicate one, IntPredicate two)

Method Detail

acceptback to summary
public boolean accept(int actual)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.EqualsIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.EqualsIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

Field Summary

Modifier and TypeField and Description
private final int
private static final long

Constructor Summary

AccessConstructor and Description
private
EqualsIntPredicate(int expected)

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

expectedback to summary
private final int expected
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

EqualsIntPredicateback to summary
private EqualsIntPredicate(int expected)

Method Detail

acceptback to summary
public boolean accept(int actual)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.GreaterThanIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.GreaterThanIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

Field Summary

Modifier and TypeField and Description
private final int
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

expectedback to summary
private final int expected
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

GreaterThanIntPredicateback to summary
private GreaterThanIntPredicate(int expected)

Method Detail

acceptback to summary
public boolean accept(int actual)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.IntIsEvenPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.IntIsEvenPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

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 java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IntIsEvenPredicateback to summary
private IntIsEvenPredicate()

Method Detail

acceptback to summary
public boolean accept(int integral)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.IntIsOddPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.IntIsOddPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

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 java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IntIsOddPredicateback to summary
private IntIsOddPredicate()

Method Detail

acceptback to summary
public boolean accept(int integral)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.LessThanIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.LessThanIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

Field Summary

Modifier and TypeField and Description
private final int
private static final long

Constructor Summary

AccessConstructor and Description
private
LessThanIntPredicate(int expected)

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

expectedback to summary
private final int expected
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

LessThanIntPredicateback to summary
private LessThanIntPredicate(int expected)

Method Detail

acceptback to summary
public boolean accept(int actual)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.NotIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.NotIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

Field Summary

Modifier and TypeField and Description
private final IntPredicate
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

negateback to summary
private final IntPredicate negate
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

NotIntPredicateback to summary
private NotIntPredicate(IntPredicate negate)

Method Detail

acceptback to summary
public boolean accept(int actual)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

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

private final Class IntPredicates.OrIntPredicate

extends Object
implements IntPredicate
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.factory.primitive.IntPredicates.OrIntPredicate
All Implemented Interfaces
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, java.io.Serializable, java.util.function.IntPredicate

Field Summary

Modifier and TypeField and Description
private final IntPredicate
private static final long
private final IntPredicate

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

oneback to summary
private final IntPredicate one
serialVersionUIDback to summary
private static final long serialVersionUID
twoback to summary
private final IntPredicate two

Constructor Detail

OrIntPredicateback to summary
private OrIntPredicate(IntPredicate one, IntPredicate two)

Method Detail

acceptback to summary
public boolean accept(int actual)

Implements org.eclipse.collections.api.block.predicate.primitive.IntPredicate.accept.

Annotations
@Override