Advertisement
Guest User

Untitled

a guest
May 24th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. //importして呼び出すだけ=依存
  2. import java.math
  3. import taro.Util
  4.  
  5. //所有
  6. //ブログアカウント
  7. //
  8. import taro.BlogEntry
  9. public class BlogAccount {
  10.  
  11. public String getAllContents() {
  12. String[] x[0] = blogentry.getContents();
  13. x[1] = getContents();
  14. //...
  15. String result = for(int i = 0; i<x.length; i++) {
  16. System.out.println(x[i]);
  17. }//x wo zenbu tunageru
  18. }
  19.  
  20. }
  21.  
  22. //ブログ記事クラス
  23. public class BlogEntry {
  24. private Date createdDate;
  25. public String getContents() {
  26. //...some implimentation
  27. }
  28.  
  29. public BlogEntry() {
  30. this.createdDate = DateUtil.getCurrentDate();
  31. //DateUtilはimport sitearu
  32. }
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement