public class Path
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Path(java.util.List<Property> properties)
Creates new instances.
|
Path(Property... properties)
Creates new instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Property |
getFirst() |
Property |
getLast() |
java.util.List<Property> |
getProperties()
Returns list of properties.
|
int |
hashCode() |
java.lang.String |
toString() |
public Path(java.util.List<Property> properties)
properties
- a non empty list of propertiesjava.lang.IllegalArgumentException
- if the given list of properties is emptypublic Path(Property... properties)
properties
- public java.util.List<Property> getProperties()
public Property getFirst()
public Property getLast()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.