Package org.onosproject.net.flow
Class BatchOperationEntry<T extends java.lang.Enum<?>,U>
- java.lang.Object
-
- org.onosproject.net.flow.BatchOperationEntry<T,U>
-
- Direct Known Subclasses:
FlowRuleBatchEntry
public class BatchOperationEntry<T extends java.lang.Enum<?>,U> extends java.lang.ObjectA super class for batch operation entry classes.This is the interface to classes which are maintained by BatchOperation as its entries.
-
-
Constructor Summary
Constructors Constructor Description BatchOperationEntry(T operator, U target)Constructs new instance for the entry of the BatchOperation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()Toperator()Gets the operator of this operation.Utarget()Gets the target object of this operation.java.lang.StringtoString()
-
-
-
Method Detail
-
target
public U target()
Gets the target object of this operation.- Returns:
- the target object of this operation
-
operator
public T operator()
Gets the operator of this operation.- Returns:
- the operator of this operation
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-