Package org.onosproject.net.intent
Class IntentUtils
- java.lang.Object
 - 
- org.onosproject.net.intent.IntentUtils
 
 
- 
public final class IntentUtils extends java.lang.ObjectUtilities for dealing with intents. 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanintentsAreEqual(Intent one, Intent two)Checks if two intents represent the same value. 
 - 
 
- 
- 
Method Detail
- 
intentsAreEqual
public static boolean intentsAreEqual(Intent one, Intent two)
Checks if two intents represent the same value.(
Intent.equals(Object)only checks ID equality)Both intents must be of the same type.
- Parameters:
 one- first intenttwo- second intent- Returns:
 - true if the two intents represent the same value, otherwise false
 
 
 - 
 
 -