summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:48:04 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:48:04 -0400
commit42f7d379a430aaf2fad169f0170de04072b08b10 (patch)
tree5d46b43b2d9272f4e593820ee147b3ae3f0d82b0 /BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java
parentb65b705c391bb772bc41269bce5243c1cc88969d (diff)
Formatting changes
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java b/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java
index 3358da0..91b2ba3 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalList.java
@@ -286,6 +286,11 @@ public interface IFunctionalList<ContainedType> {
void removeMatching(ContainedType desiredElement);
/**
+ * Reverse the contents of this list in place
+ */
+ void reverse();
+
+ /**
* Perform a binary search for the specified key using the provided
* means of comparing elements. Since this IS a binary search, the list
* must have been sorted before hand.
@@ -311,6 +316,13 @@ public interface IFunctionalList<ContainedType> {
void sort(Comparator<ContainedType> comparator);
/**
+ * Get the tail of this list (the list without the first element
+ *
+ * @return The list without the first element
+ */
+ public IFunctionalList<ContainedType> tail();
+
+ /**
* Convert this list into an array
*
* @param arrType
@@ -325,16 +337,4 @@ public interface IFunctionalList<ContainedType> {
* @return An iterable view onto the list
*/
Iterable<ContainedType> toIterable();
-
- /**
- * Get the tail of this list (the list without the first element
- *
- * @return The list without the first element
- */
- public IFunctionalList<ContainedType> tail();
-
- /**
- * Reverse the contents of this list in place
- */
- void reverse();
} \ No newline at end of file