All Downloads are FREE. Search and download functionalities are using the official Maven repository.

clojure.string__init.class Maven / Gradle / Ivy

The newest version!
????19clojure/string__initjava/lang/Objectload()Vconst__0Lclojure/lang/Var;		clojure/lang/Var
getRawRoot()Ljava/lang/Object;

clojure/lang/IFnconst__1Lclojure/lang/AFn;	invoke&(Ljava/lang/Object;)Ljava/lang/Object;clojure/lang/Symbolclojure/lang/Namespacefind/(Lclojure/lang/Symbol;)Lclojure/lang/Namespace; 
!clojure/lang/AReference#const__4%	&clojure/lang/IPersistentMap(	resetMeta<(Lclojure/lang/IPersistentMap;)Lclojure/lang/IPersistentMap;*+
$,+clojure/string$loading__7732__auto____12643.0
/13const__55	6equals(Ljava/lang/Object;)Z89
:clojure/string$fn__12645<
=1java/util/concurrent/Callable?clojure/lang/LockingTransactionArunInTransaction3(Ljava/util/concurrent/Callable;)Ljava/lang/Object;CD
BEconst__6G	Hjava/lang/BooleanJTRUELjava/lang/Boolean;LM	KNsetP
Qconst__7S	T	const__18V	WsetMeta (Lclojure/lang/IPersistentMap;)VYZ
[clojure/string$reverse]
^1bindRoot(Ljava/lang/Object;)V`a
b	const__19d	e	const__22g	h#clojure/string$re_quote_replacementj
k1	const__23m	n	const__27p	qclojure/string$replace_bys
t1	const__28v	w	const__31y	zclojure/string$replace|
}1	const__32	?	const__35?	?clojure/string$replace_first_by?
?1	const__36?	?	const__39?	?!clojure/string$replace_first_char?
?1	const__40?	?	const__43?	? clojure/string$replace_first_str?
?1	const__44?	?	const__47?	?clojure/string$replace_first?
?1	const__48?	?	const__51?	?clojure/string$join?
?1	const__52?	?	const__55?	?clojure/string$capitalize?
?1	const__56?	?	const__59?	?clojure/string$upper_case?
?1	const__60?	?	const__63?	?clojure/string$lower_case?
?1	const__64?	?	const__67?	?clojure/string$split?
?1	const__68?	?	const__71?	?clojure/string$split_lines?
?1	const__72?	?	const__75?	?clojure/string$trim?
?1	const__76?	?	const__79?	?clojure/string$triml?
?1	const__80?	?	const__83?	?clojure/string$trimr?
?1	const__84?	?	const__87?	?clojure/string$trim_newline?
?1	const__88?	?	const__91	clojure/string$blank_QMARK_
1	const__92		const__95		
clojure/string$escape

1	const__96		const__99	clojure/string$index_of
1
const__100	
const__103	clojure/string$last_index_of
1
const__104!	"
const__107$	%!clojure/string$starts_with_QMARK_'
(1
const__108*	+
const__111-	.clojure/string$ends_with_QMARK_0
11
const__1123	4
const__1156	7clojure/string$includes_QMARK_9
:1__init0clojure.core=in-ns?clojure/lang/RTAvar8(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Var;CD
BEclojure.stringGintern;(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Symbol;IJ
Kclojure/lang/IObjMdocOkeyword<(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Keyword;QR
BS?Clojure String utilities

It is poor form to (:use clojure.string). Instead, use require
with :as to specify a prefix, e.g.

(ns your.namespace.here
  (:require [clojure.string :as str]))

Design notes for clojure.string:

1. Strings are objects (as opposed to sequences). As such, the
   string being manipulated is the first argument to a function;
   passing nil will result in a NullPointerException unless
   documented otherwise. If you want sequence-y behavior instead,
   use a sequence.

2. Functions are generally not lazy, and call straight to host
   methods where those are available and efficient.

3. Functions take advantage of String implementation details to
   write high-performing loop/recurs instead of using higher-order
   functions. (This is not idiomatic in general-purpose application
   code.)

4. When a function is documented to accept a string argument, it
   will take any implementation of the correct *interface* on the
   host platform. In Java, this is CharSequence, which is more
   general than String. In ordinary usage you will almost always
   pass concrete strings. If you are doing something unusual,
   e.g. passing a mutable implementation of CharSequence, then
   thread-safety is your responsibility.UauthorW,Stuart Sierra, Stuart Halloway, David LiebkeYmap2([Ljava/lang/Object;)Lclojure/lang/IPersistentMap;[\
B]withMeta2(Lclojure/lang/IPersistentMap;)Lclojure/lang/IObj;_`Naclojure/lang/AFnc*warn-on-reflection*ereversegtagijava.lang.StringkclassForName%(Ljava/lang/String;)Ljava/lang/Class;mn
BoarglistsqssCharSequenceuclojure/lang/Tuplewcreate4(Ljava/lang/Object;)Lclojure/lang/IPersistentVector;yz
x{java/util/Arrays}asList%([Ljava/lang/Object;)Ljava/util/List;?
~?clojure/lang/PersistentList?0(Ljava/util/List;)Lclojure/lang/IPersistentList;y?
??'Returns s with its characters reversed.?added?1.2?line?java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??column?file?clojure/string.clj?re-quote-replacement?replacement??Given a replacement string that you wish to be a literal
   replacement for a pattern match in replace or replace-first, do the
   necessary escaping of special characters in the replacement.?1.5?
replace-by?private?re?f?X(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lclojure/lang/IPersistentVector;y?
x?replace?match?0Replaces all instance of match with replacement in s.

   match/replacement can be:

   string / string
   char / char
   pattern / (string or function of match).

   See also replace-first.

   The replacement is literal (i.e. none of its characters are treated
   specially) for all cases above except pattern / string.

   For pattern / string, $1, $2, etc. in the replacement string are
   substituted with the string that matched the corresponding
   parenthesized group in the pattern.  If you wish your replacement
   string r to be used literally, use (re-quote-replacement r) as the
   replacement argument.  See also documentation for
   java.util.regex.Matcher's appendReplacement method.

   Example:
   (clojure.string/replace "Almost Pig Latin" #"\b(\w)(\w+)\b" "$2$1ay")
   -> "lmostAay igPay atinLay"?replace-first-by?Pattern?replace-first-char?	Character?replace-first-str?String?
replace-first?[Replaces the first instance of match with replacement in s.

   match/replacement can be:

   char / char
   string / string
   pattern / (string or function of match).

   See also replace.

   The replacement is literal (i.e. none of its characters are treated
   specially) for all cases above except pattern / string.

   For pattern / string, $1, $2, etc. in the replacement string are
   substituted with the string that matched the corresponding
   parenthesized group in the pattern.  If you wish your replacement
   string r to be used literally, use (re-quote-replacement r) as the
   replacement argument.  See also documentation for
   java.util.regex.Matcher's appendReplacement method.

   Example:
   (clojure.string/replace-first "swap first two words"
                                 #"(\w+)(\s+)(\w+)" "$3$2$1")
   -> "first swap two words"?join?coll?	separator?F(Ljava/lang/Object;Ljava/lang/Object;)Lclojure/lang/IPersistentVector;y?
x?kReturns a string of all elements in coll, as returned by (seq coll),
   separated by an optional separator.?
capitalize?[Converts first character of the string to upper-case, all other
  characters to lower-case.?
upper-case?"Converts string to all upper-case.?
lower-case?"Converts string to all lower-case.?split?limit??Splits string on a regular expression.  Optional argument limit is
  the maximum number of splits. Not lazy. Returns vector of the splits.?split-lines?Splits s on \n or \r\n.?trim?,Removes whitespace from both ends of string.?triml?0Removes whitespace from the left side of string.?trimr?1Removes whitespace from the right side of string.?trim-newline?`Removes all trailing newline \n or return \r characters from
  string.  Similar to Perl's chomp.?blank??5True if s is nil, empty, or contains only whitespace.?escape?cmap??Return a new string, using cmap to escape each character ch
   from s as follows:
   
   If (cmap ch) is nil, append ch to the new string.
   If (cmap ch) is non-nil, append (str (cmap ch)) instead.?index-ofvalue
from-indexlongpReturn index of value (string or char) in s, optionally searching
  forward from from-index or nil if not found.1.8
__init1
last-index-of
vReturn last index of value (string or char) in s, optionally
  searching backward from from-index or nil if not found.starts-with?substrTrue if s starts with substr.
ends-with?True if s ends with substr.	includes?True if s includes substr.<
 
"clojure.string__init$java/lang/Class&getClassLoader()Ljava/lang/ClassLoader;()
'*clojure/lang/Compiler,pushNSandLoader(Ljava/lang/ClassLoader;)V./
-0
2popThreadBindings4
5CodeLineNumberTable!7%5GSVdgmpvy????????????????????????????	!$*-36	7?!??
???????"?$?'?)?-?/Y?2??4???7?;??W?=Y?>?@?FW?I?O?R?UY?X?)?\Y?^Y?_?c?fY?i?)?\Y?kY?l?c?oY?r?)?\Y?tY?u?c?xY?{?)?\Y?}Y?~?c??Y???)?\Y??Y???c??Y???)?\Y??Y???c??Y???)?\Y??Y???c??Y???)?\Y??Y???c??Y???)?\Y??Y???c??Y???)?\Y??Y???c??Y???)?\Y??Y???c??Y???)?\Y??Y?ƶc??Y???)?\Y??Y?϶c??Y???)?\Y??Y?ضc??Y???)?\Y??Y??c??Y???)?\Y??Y??c??Y???)?\Y??Y??c??Y???)?\Y??Y???c??Y??)?\Y?Y??c?Y??)?\Y?
Y??c?Y??)?\Y?Y??c?Y??)?\Y?Y?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SY
??TSY?S?^?d?H??F???Yj?TSYl?pSYr?TSY?Yt?L?N?Yj?TSYv?LS?^?)?b??L??S????SYP?TSY?SY??TSY?SY??TSY	,??SY
??TSY??SY??TSY
?S?^?d?H?F???Yr?TSY?Yt?L?N?Yj?TSYv?LS?^?)?b?L??SYt?L?N?Yj?TSYv?LS?^?)?b?L?L?N?Yj?TSY?LS?^?)?b??S????SYP?TSY	SY??TSYSY??TSY>??SY??TSY	??SY
??TSY?S?^?d??	7?H?F???Yr?TSY?Yt?L?N?Yj?TSYv?LS?^?)?b?L??SYt?L?N?Yj?TSYv?LS?^?)?b?L?L?N?Yj?TSY?LS?^?)?b??S????SYP?TSYSY??TSYSY??TSYS??SY??TSY	??SY
??TSY?S?^?d?H?F??#?Yr?TSY?Yt?L?N?Yj?TSYv?LS?^?)?b?L?N?Yj?TSY??LS?^?)?b??S????SYP?TSYSY??TSYSY??TSYh??SY??TSY	??SY
??TSY?S?^?d?&H?F??,?Yr?TSY?Yt?L?N?Yj?TSYv?LS?^?)?b?L?N?Yj?TSY??LS?^?)?b??S????SYP?TSYSY??TSYSY??TSYn??SY??TSY	??SY
??TSY?S?^?d?/H?F??5?Yr?TSY?Yt?L?N?Yj?TSYv?LS?^?)?b?L?N?Yj?TSYv?LS?^?)?b??S????SYP?TSYSY??TSYSY??TSYt??SY??TSY	??SY
??TSY?S?^?d?8?	74 ?!?#%?p?+?1?3?6??6??




© 2015 - 2025 Weber Informatics LLC | Privacy Policy