Class IntegerLabelFilter
- java.lang.Object
-
- it.unimi.dsi.big.webgraph.labelling.IntegerLabelFilter
-
- All Implemented Interfaces:
Transform.LabelledArcFilter
public class IntegerLabelFilter extends java.lang.Object implements Transform.LabelledArcFilter
-
-
Constructor Summary
Constructors Constructor Description IntegerLabelFilter(java.lang.String... keyAndvalues)IntegerLabelFilter(java.lang.String key, int... value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(long i, long j, Label label)Tells if the arc(i,j)with labellabelhas to be accepted or not.
-
-
-
Method Detail
-
accept
public boolean accept(long i, long j, Label label)Description copied from interface:Transform.LabelledArcFilterTells if the arc(i,j)with labellabelhas to be accepted or not.- Specified by:
acceptin interfaceTransform.LabelledArcFilter- Parameters:
i- the source of the arc.j- the destination of the arc.label- the label of the arc.- Returns:
- if the arc has to be accepted.
-
-