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.Object
A 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 boolean
equals(java.lang.Object o)
int
hashCode()
T
operator()
Gets the operator of this operation.U
target()
Gets the target object of this operation.java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-