Skip to content

Commit e54922e

Browse files
committed
Refactor object vs. static method comparison table.
1 parent 3b48b49 commit e54922e

1 file changed

Lines changed: 29 additions & 33 deletions

File tree

README.md

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -326,38 +326,38 @@ final String text = new TextOfDateTime(date).asString();
326326

327327
## Our Objects vs. Their Static Methods
328328

329-
Cactoos | Guava | Apache Commons | JDK 8
330-
------ | ------ | ------ | ------
331-
`And` | `Iterables.all()` | - | -
332-
`Filtered` | `Iterables.filter()` | ? | -
333-
`FormattedText` | - | - | `String.format()`
334-
`IsBlank` | - | `StringUtils.isBlank()`| -
335-
`Joined` | - | - | `String.join()`
336-
`LengthOf` | - | - | `String#length()`
337-
`Lowered` | - | - | `String#toLowerCase()`
338-
`Normalized` | - | `StringUtils.normalize()` | -
339-
`Or` | `Iterables.any()` | - | -
340-
`Repeated` | - | `StringUtils.repeat()` | -
341-
`Replaced` | - | - | `String#replace()`
342-
`Reversed` | - | - | `StringBuilder#reverse()`
343-
`Rotated` | - | `StringUtils.rotate()`| -
344-
`Split` | - | - | `String#split()`
345-
`StickyList` | `Lists.newArrayList()` | ? | `Arrays.asList()`
346-
`Sub` | - | - | `String#substring()`
347-
`SwappedCase` | - | `StringUtils.swapCase()` | -
348-
`TextOf` | ? | `IOUtils.toString()` | -
349-
`TrimmedLeft` | - | `StringUtils.stripStart()` | -
350-
`TrimmedRight` | - | `StringUtils.stripEnd()` | -
351-
`Trimmed` | - | `StringUtils.stripAll()` | `String#trim()`
352-
`Upper` | - | - | `String#toUpperCase()`
329+
| Cactoos | Guava | Apache Commons | JDK 8 |
330+
| ------ | ------ | ------ | ------ |
331+
| `And` | `Iterables.all()` | - | - |
332+
| `Filtered` | `Iterables.filter()` | ? | - |
333+
| `FormattedText` | - | - | `String.format()` |
334+
| `IsBlank` | - | `StringUtils.isBlank()` | - |
335+
| `Joined` | - | - | `String.join()` |
336+
| `LengthOf` | - | - | `String#length()` |
337+
| `Lowered` | - | - | `String#toLowerCase()` |
338+
| `Normalized` | - | `StringUtils.normalize()` | - |
339+
| `Or` | `Iterables.any()` | - | - |
340+
| `Repeated` | - | `StringUtils.repeat()` | - |
341+
| `Replaced` | - | - | `String#replace()` |
342+
| `Reversed` | - | - | `StringBuilder#reverse()` |
343+
| `Rotated` | - | `StringUtils.rotate()` | - |
344+
| `Split` | - | - | `String#split()` |
345+
| `StickyList` | `Lists.newArrayList()` | ? | `Arrays.asList()` |
346+
| `Sub` | - | - | `String#substring()` |
347+
| `SwappedCase` | - | `StringUtils.swapCase()` | - |
348+
| `TextOf` | ? | `IOUtils.toString()` | - |
349+
| `TrimmedLeft` | - | `StringUtils.stripStart()` | - |
350+
| `TrimmedRight` | - | `StringUtils.stripEnd()` | - |
351+
| `Trimmed` | - | `StringUtils.stripAll()` | `String#trim()` |
352+
| `Upper` | - | - | `String#toUpperCase()` |
353353

354354
## Questions
355355

356356
Ask your questions related to cactoos library on
357357
[Stackoverflow](https://stackoverflow.com/questions/ask)
358358
with the [cactoos](https://stackoverflow.com/tags/cactoos/info) tag.
359359

360-
## How to contribute?
360+
## How to Contribute
361361

362362
Just fork the repo and send us a pull request.
363363

@@ -394,18 +394,14 @@ in GitHub precommits.
394394

395395
## Contributors
396396

397-
* [@yegor256](https://github.com/yegor256)
398-
as Yegor Bugayenko ([Blog](http://www.yegor256.com))
399-
* [@g4s8](https://github.com/g4s8)
400-
as [Kirill Che.](mailto:g4s8.public@gmail.com)
397+
* [@yegor256](https://github.com/yegor256) as Yegor Bugayenko ([Blog](http://www.yegor256.com))
398+
* [@g4s8](https://github.com/g4s8) as [Kirill Che.](mailto:g4s8.public@gmail.com)
401399
* [@fabriciofx](https://github.com/fabriciofx) as Fabrício Cabral
402400
* [@englishman](https://github.com/englishman) as Andriy Kryvtsun
403401
* [@VsSekorin](https://github.com/VsSekorin) as Vseslav Sekorin
404402
* [@DronMDF](https://github.com/DronMDF) as Andrey Valyaev
405-
* [@dusan-rychnovsky](https://github.com/dusan-rychnovsky)
406-
as Dušan Rychnovský ([Blog](http://blog.dusanrychnovsky.cz/))
407-
* [@timmeey](https://github.com/timmeey)
408-
as Tim Hinkes ([Blog](https://blog.timmeey.de))
403+
* [@dusan-rychnovsky](https://github.com/dusan-rychnovsky) as Dušan Rychnovský ([Blog](http://blog.dusanrychnovsky.cz/))
404+
* [@timmeey](https://github.com/timmeey) as Tim Hinkes ([Blog](https://blog.timmeey.de))
409405
* [@alex-semenyuk](https://github.com/alex-semenyuk) as Alexey Semenyuk
410406
* [@smallcreep](https://github.com/smallcreep) as Ilia Rogozhin
411407
* [@memoyil](https://github.com/memoyil) as Mehmet Yildirim

0 commit comments

Comments
 (0)