Class Utilities


  • public class Utilities
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Utilities()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean allNulls​(java.lang.String[] actions)  
      static boolean collectionContains​(java.util.Collection<java.lang.String> c, java.lang.String... searches)  
      static java.lang.String fixEndQuote​(java.lang.String input)  
      static java.lang.String fixSpace​(java.lang.String input)  
      static java.lang.String fixStartQuote​(java.lang.String input)  
      static boolean inArray​(int[] searches, int[] numbs)  
      static boolean inArray​(int search, int[] numbs)  
      static boolean inArray​(short[] searches, short[] numbs)  
      static boolean inArray​(short search, short[] numbs)  
      static boolean inArray​(java.lang.String[] search, java.lang.String string)  
      static boolean inArray​(java.lang.String[] searches, java.lang.String[] strings)  
      static boolean inArray​(java.lang.String search, java.lang.String[] strings)  
      static boolean inArrayContains​(java.lang.String[] search, java.lang.String string)  
      static boolean inArrayContains​(java.lang.String[] searches, java.lang.String[] strings)  
      static boolean inArrayContains​(java.lang.String search, java.lang.String[] strings)  
      static <T> java.util.stream.Stream<T> reverse​(java.util.stream.Stream<T> stream)  
      static java.lang.String stripHTMLTags​(java.lang.String input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utilities

        public Utilities()
    • Method Detail

      • inArray

        public static boolean inArray​(int search,
                                      int[] numbs)
      • inArray

        public static boolean inArray​(int[] searches,
                                      int[] numbs)
      • inArray

        public static boolean inArray​(short search,
                                      short[] numbs)
      • inArray

        public static boolean inArray​(short[] searches,
                                      short[] numbs)
      • inArray

        public static boolean inArray​(java.lang.String search,
                                      java.lang.String[] strings)
      • inArray

        public static boolean inArray​(java.lang.String[] search,
                                      java.lang.String string)
      • inArray

        public static boolean inArray​(java.lang.String[] searches,
                                      java.lang.String[] strings)
      • inArrayContains

        public static boolean inArrayContains​(java.lang.String search,
                                              java.lang.String[] strings)
      • inArrayContains

        public static boolean inArrayContains​(java.lang.String[] search,
                                              java.lang.String string)
      • inArrayContains

        public static boolean inArrayContains​(java.lang.String[] searches,
                                              java.lang.String[] strings)
      • collectionContains

        public static boolean collectionContains​(java.util.Collection<java.lang.String> c,
                                                 java.lang.String... searches)
      • stripHTMLTags

        public static java.lang.String stripHTMLTags​(java.lang.String input)
      • fixSpace

        public static java.lang.String fixSpace​(java.lang.String input)
      • fixEndQuote

        public static java.lang.String fixEndQuote​(java.lang.String input)
      • fixStartQuote

        public static java.lang.String fixStartQuote​(java.lang.String input)
      • allNulls

        public static boolean allNulls​(java.lang.String[] actions)
      • reverse

        public static <T> java.util.stream.Stream<T> reverse​(java.util.stream.Stream<T> stream)