Class LandMarkGroup
- All Implemented Interfaces:
 Serializable,Cloneable,Iterable<LandMark>,Collection<LandMark>,List<LandMark>,RandomAccess,SequencedCollection<LandMark>
List for storing landmarks.
- Author:
 - Jamie Macaulay
 - See Also:
 
- 
Field Summary
Fields inherited from class java.util.AbstractList
modCount - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclone()Get comment for the groupgetName()Get the name of the groupIf any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.voidsetCommentText(String comment) Set comment for the group.voidsetGroupName(String groupName) Set the name of the groupvoidsetLandMarks(ArrayList<LandMark> landMarks) Set landmarks.toString()voidupdate(LandMarkGroup landMarkGroupList) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed 
- 
Constructor Details
- 
LandMarkGroup
public LandMarkGroup() 
 - 
 - 
Method Details
- 
getName
Get the name of the group- Returns:
 - the name of the group
 
 - 
setGroupName
Set the name of the group- Parameters:
 groupName- - the name of the group.
 - 
clone
 - 
toString
- Overrides:
 toStringin classAbstractCollection<LandMark>
 - 
getComment
Get comment for the group- Returns:
 
 - 
setCommentText
Set comment for the group.- Parameters:
 comment-
 - 
update
 - 
getOriginHeight
If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.- Returns:
 
 - 
getOriginLatLong
If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.- Returns:
 
 - 
setLandMarks
Set landmarks. If null clears the landmarks.- Parameters:
 landMarks-
 
 -