开发者

Package name for a loop class

I wrote a class that performs an asynchrono开发者_JAVA技巧us loop. It needs a package name. I already have a util package, but feel resistant to put half of my classes in that package. If it really belongs there, I'll put it there, but I'd feel much better if I can find a more appropriate/specific package. What do you think?


peach for parallel each.

 

Shamelessly stolen from the Ruby project with the same name.


A package is normally created for more than one class. If your class uses some helper classes, then it should go in a separate package; differently, you should use the generic package you already have.


I ended up going with "timer" as the package name after finding many similarities with the Timer class that sits in the timer package.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜