Package hydra.python.syntax
Class ItemsPattern
- java.lang.Object
-
- hydra.python.syntax.ItemsPattern
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ItemsPattern>
public class ItemsPattern extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ItemsPattern>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classItemsPattern.BuilderA fluent builder forItemsPattern.
-
Constructor Summary
Constructors Constructor Description ItemsPattern(java.util.List<KeyValuePattern> value)Constructs an immutableItemsPattern.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ItemsPattern.Builderbuilder()Creates a new fluent builder forItemsPattern.intcompareTo(ItemsPattern other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.python.syntax.ItemsPatterntype.
-
VALUE
public static final Name VALUE
Name of thehydra.python.syntax.ItemsPattern.valuefield.
-
value
public final java.util.List<KeyValuePattern> value
-
-
Constructor Detail
-
ItemsPattern
public ItemsPattern(java.util.List<KeyValuePattern> value)
Constructs an immutableItemsPattern.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- 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
-
compareTo
public int compareTo(ItemsPattern other)
- Specified by:
compareToin interfacejava.lang.Comparable<ItemsPattern>
-
builder
public static ItemsPattern.Builder builder()
Creates a new fluent builder forItemsPattern.
-
-