implement a whole bunch of simple methods.

StringUtilities.ctxt 2.6KB

1234567891011121314151617181920212223242526272829303132333435
  1. #BlueJ class context
  2. comment0.target=StringUtilities
  3. comment0.text=\n\ Created\ by\ dan\ on\ 6/14/17.\n
  4. comment1.params=
  5. comment1.target=java.lang.String\ getHelloWorld()
  6. comment1.text=\n\ @return\ `Hello\ World`\ as\ a\ string\n
  7. comment10.params=stringToReverse
  8. comment10.target=java.lang.String\ reverse(java.lang.String)
  9. comment10.text=\n\ @param\ stringToReverse\n\ @return\ an\ identical\ string\ with\ characters\ in\ reverse\ order.\n
  10. comment2.params=firstSegment\ secondSegment
  11. comment2.target=java.lang.String\ concatenation(java.lang.String,\ java.lang.String)
  12. comment2.text=\n\ @param\ firstSegment\ a\ string\ to\ be\ added\ to\n\ @param\ secondSegment\ a\ string\ to\ add\n\ @return\ the\ concatenation\ of\ two\ strings,\ `firstSegment`,\ and\ `secondSegment`\n
  13. comment3.params=firstSegment\ secondSegment
  14. comment3.target=java.lang.String\ concatenation(int,\ java.lang.String)
  15. comment3.text=\n\ @param\ firstSegment\ a\ string\ to\ be\ added\ to\n\ @param\ secondSegment\ a\ string\ to\ add\n\ @return\ the\ concatenation\ of\ an\ integer,\ `firstSegment`,\ and\ a\ String,\ `secondSegment`\n
  16. comment4.params=input
  17. comment4.target=java.lang.String\ getPrefix(java.lang.String)
  18. comment4.text=\n\ @param\ input\ a\ string\ to\ be\ manipulated\n\ @return\ the\ first\ 3\ characters\ of\ `input`\n
  19. comment5.params=input
  20. comment5.target=java.lang.String\ getSuffix(java.lang.String)
  21. comment5.text=\n\ @param\ input\ a\ string\ to\ be\ manipulated\n\ @return\ the\ last\ 3\ characters\ of\ `input`\n
  22. comment6.params=inputValue\ comparableValue
  23. comment6.target=java.lang.Boolean\ compareTwoStrings(java.lang.String,\ java.lang.String)
  24. comment6.text=\n\ @param\ inputValue\ the\ value\ to\ be\ compared\n\ @param\ comparableValue\ the\ value\ to\ be\ compared\ against\n\ @return\ the\ equivalence\ of\ two\ strings,\ `inputValue`\ and\ `comparableValue`\n
  25. comment7.params=inputValue
  26. comment7.target=java.lang.Character\ getMiddleCharacter(java.lang.String)
  27. comment7.text=\n\ @param\ inputValue\ the\ value\ input\ from\ user\n\ @return\ the\ middle\ character\ of\ `inputValue`\n
  28. comment8.params=spaceDelimitedString
  29. comment8.target=java.lang.String\ getFirstWord(java.lang.String)
  30. comment8.text=\n\ @param\ spaceDelimitedString\ a\ string,\ representative\ of\ a\ sentence,\ containing\ spaces\n\ @return\ the\ first\ sequence\ of\ characters\n
  31. comment9.params=spaceDelimitedString
  32. comment9.target=java.lang.String\ getSecondWord(java.lang.String)
  33. comment9.text=\n\ @param\ spaceDelimitedString\ a\ string\ delimited\ by\ spaces\n\ @return\ the\ second\ word\ of\ a\ string\ delimited\ by\ spaces.\n
  34. numComments=11