|
Copyright 2008 - 2010 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg This software is released under an open source BSD licence. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfj.function.Strings
public class Strings
Curried string functions.
| Field Summary | |
|---|---|
static F<String,F<String,Boolean>> |
contains
A curried version of String.contains(CharSequence). |
static F<String,Boolean> |
isEmpty
A curried version of String#isEmpty(). |
static F<String,Integer> |
length
A curried version of String.length(). |
static F<String,F<String,Boolean>> |
matches
A curried version of String.matches(String). |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final F<String,Boolean> isEmpty
String#isEmpty().
public static final F<String,Integer> length
String.length().
public static final F<String,F<String,Boolean>> contains
String.contains(CharSequence).
The function returns true if the second argument contains the first.
public static final F<String,F<String,Boolean>> matches
String.matches(String).
The function returns true if the second argument matches the first.
|
Copyright 2008 - 2010 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg This software is released under an open source BSD licence. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||