Practice with string and loop

StringParser.ctxt 3.0KB

123456789101112131415161718192021222324252627282930313233
  1. #BlueJ class context
  2. comment0.target=StringParser
  3. comment1.params=s
  4. comment1.target=java.lang.String\ upperCaseString(java.lang.String)
  5. comment10.params=s1\ s2
  6. comment10.target=java.lang.Boolean\ isEqualIgnoreCase(java.lang.String,\ java.lang.String)
  7. comment10.text=\n\ Takes\ in\ two\ strings\ and\ returns\ true\ if\ they\ are\ equal\n\ E.G.\ example\ and\ shelf\ would\ return\ false.\ \n\ cat\ and\ CaT\ would\ return\ true.\ \n\ Dog\ and\ Dog\ would\ return\ true\n\n\ @param\ s1\n\ @param\ s2\n\ @return\ String\n
  8. comment2.params=s
  9. comment2.target=java.lang.String\ lowerCaseString(java.lang.String)
  10. comment2.text=\n\ Takes\ a\ String\ and\ returns\ that\ String\ with\ all\ characters\ lowercased.\n\ E.G.\ MOUSE\ would\ become\ mouse.\ dOnUt\ would\ become\ donut.\n\n\ @param\ s\n\ @return\ String\n
  11. comment3.params=s
  12. comment3.target=java.lang.Character\ getFirstCharacter(java.lang.String)
  13. comment3.text=\n\ Takes\ a\ String\ and\ returns\ the\ first\ character\ of\ that\ string.\n\ E.G.\ cat\ would\ return\ c.\ Embark\ would\ return\ E.\n\n\ @param\ s\n\ @return\ String\n\ \n
  14. comment4.params=s\ n
  15. comment4.target=java.lang.Character\ getNthCharacter(java.lang.String,\ java.lang.Integer)
  16. comment4.text=\n\ Takes\ a\ String\ and\ returns\ the\ character\ at\ index\ n\ of\ that\ string.\n\ E.G.\ cat,\ 2\ would\ return\ t.\ Embark,\ 4\ would\ return\ r.\n\n\ @param\ s\n\ @param\ n\n\ @return\ String\n
  17. comment5.params=s
  18. comment5.target=java.lang.String\ upperCaseFirstCharacter(java.lang.String)
  19. comment5.text=\n\ Takes\ a\ String\ and\ returns\ that\ string\ with\ the\ first\ character\ uppercased.\n\ E.G.\ cat\ would\ return\ Cat.\ cofFee\ would\ return\ CofFee.\n\n\ @param\ s\n\ @return\ String\n
  20. comment6.params=s
  21. comment6.target=java.lang.String\ camelCaseString(java.lang.String)
  22. comment6.text=\n\ Takes\ a\ String\ and\ returns\ that\ string\ with\ the\ first\ character\ of\ each\ word\ in\ it\ uppercased\n\ and\ then\ joined.\n\ E.G.\ dog\ whistle\ would\ return\ DogWhistle.\ adjuNCT\ pRoFessOR\ would\ return\ AdjuctProfessor.\n\n\ @param\ s\n\ @return\ String\n
  23. comment7.params=s
  24. comment7.target=java.lang.String\ snakeCaseString(java.lang.String)
  25. comment7.text=\n\ Takes\ a\ String\ and\ returns\ that\ string\ with\ each\ character\ lowercased\n\ and\ then\ joined\ with\ an\ underscore\n\ E.G.\ dog\ whistle\ would\ return\ dog_whistle.\ adjuNCT\ pRoFessOR\ would\ return\ adjuct_professor.\n\n\ @param\ s\n\ @return\ String\n
  26. comment8.params=s
  27. comment8.target=java.lang.Integer\ getLength(java.lang.String)
  28. comment8.text=\n\ Takes\ a\ String\ and\ returns\ the\ length\ of\ that\ string\n\ E.G.\ cat\ would\ return\ 3.\ extra\ would\ return\ 5.\n\n\ @param\ s\n\ @return\ String\n
  29. comment9.params=s1\ s2
  30. comment9.target=java.lang.Boolean\ isEqual(java.lang.String,\ java.lang.String)
  31. comment9.text=\n\ Takes\ in\ two\ strings\ and\ returns\ true\ if\ they\ are\ equal\n\ E.G.\ example\ and\ shelf\ would\ return\ false.\ \n\ cat\ and\ CaT\ would\ return\ false.\ \n\ Dog\ and\ Dog\ would\ return\ true\n\n\ @param\ s1\n\ @param\ s2\n\ @return\ String\n
  32. numComments=11