blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 7
332
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
50
| license_type
stringclasses 2
values | repo_name
stringlengths 7
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 557
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 5.85k
684M
⌀ | star_events_count
int64 0
77.7k
| fork_events_count
int64 0
48k
| gha_license_id
stringclasses 17
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 82
values | src_encoding
stringclasses 28
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 7
5.41M
| extension
stringclasses 11
values | content
stringlengths 7
5.41M
| authors
listlengths 1
1
| author
stringlengths 0
161
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ed255d24f996566dee42485f1c78e1e0a90d7c4e
|
d2f66dec3aa452c9c14cdd9bccd3a22cfb257dba
|
/ProtoIRC/src/main/java/ircservice/IRCMessageOrBuilder.java
|
adc75e7212f7ccb17c9a00d2f3040876dd87f8d0
|
[] |
no_license
|
michaelaw320/ProtoIRC
|
ddd146a7571bc09ff667594269837fe91012ab3f
|
0b31e7949c0dace370abf57e012f5d9c0436a88d
|
refs/heads/master
| 2021-01-10T06:33:43.117012
| 2016-01-30T14:38:54
| 2016-01-30T14:38:54
| 43,435,437
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| true
| 758
|
java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: irc.proto
package ircservice;
public interface IRCMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:ircservice.IRCMessage)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string nick = 1;</code>
*/
java.lang.String getNick();
/**
* <code>optional string nick = 1;</code>
*/
com.google.protobuf.ByteString
getNickBytes();
/**
* <code>optional string content = 2;</code>
*/
java.lang.String getContent();
/**
* <code>optional string content = 2;</code>
*/
com.google.protobuf.ByteString
getContentBytes();
/**
* <code>optional int64 timestamp = 3;</code>
*/
long getTimestamp();
}
|
[
"michaelaw320@gmail.com"
] |
michaelaw320@gmail.com
|
3c72497b3fc5a2b8041137fc805e575a13b1b722
|
d9f98dd1828e25bc2e8517e5467169830c5ded60
|
/src/main/java/com/alipay/api/request/ZhimaCustomerEpCertificationCertifyRequest.java
|
5a54bde75131c06469e87ae1768ec7d8cfba1000
|
[] |
no_license
|
benhailong/open_kit
|
6c99f3239de6dcd37f594f7927dc8b0e666105dc
|
a45dd2916854ee8000d2fb067b75160b82bc2c04
|
refs/heads/master
| 2021-09-19T18:22:23.628389
| 2018-07-30T08:18:18
| 2018-07-30T08:18:26
| 117,778,328
| 1
| 1
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 3,054
|
java
|
package com.alipay.api.request;
import com.alipay.api.domain.ZhimaCustomerEpCertificationCertifyModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.ZhimaCustomerEpCertificationCertifyResponse;
import com.alipay.api.AlipayObject;
/**
* ALIPAY API: zhima.customer.ep.certification.certify request
*
* @author auto create
* @since 1.0, 2017-11-23 19:13:17
*/
public class ZhimaCustomerEpCertificationCertifyRequest implements AlipayRequest<ZhimaCustomerEpCertificationCertifyResponse> {
private AlipayHashMap udfParams; // add user-defined text parameters
private String apiVersion="1.0";
/**
* 企业认证引导(页面接口)
*/
private String bizContent;
public void setBizContent(String bizContent) {
this.bizContent = bizContent;
}
public String getBizContent() {
return this.bizContent;
}
private String terminalType;
private String terminalInfo;
private String prodCode;
private String notifyUrl;
private String returnUrl;
private boolean needEncrypt=false;
private AlipayObject bizModel=null;
public String getNotifyUrl() {
return this.notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public String getReturnUrl() {
return this.returnUrl;
}
public void setReturnUrl(String returnUrl) {
this.returnUrl = returnUrl;
}
public String getApiVersion() {
return this.apiVersion;
}
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public void setTerminalType(String terminalType){
this.terminalType=terminalType;
}
public String getTerminalType(){
return this.terminalType;
}
public void setTerminalInfo(String terminalInfo){
this.terminalInfo=terminalInfo;
}
public String getTerminalInfo(){
return this.terminalInfo;
}
public void setProdCode(String prodCode) {
this.prodCode=prodCode;
}
public String getProdCode() {
return this.prodCode;
}
public String getApiMethodName() {
return "zhima.customer.ep.certification.certify";
}
public Map<String, String> getTextParams() {
AlipayHashMap txtParams = new AlipayHashMap();
txtParams.put("biz_content", this.bizContent);
if(udfParams != null) {
txtParams.putAll(this.udfParams);
}
return txtParams;
}
public void putOtherTextParam(String key, String value) {
if(this.udfParams == null) {
this.udfParams = new AlipayHashMap();
}
this.udfParams.put(key, value);
}
public Class<ZhimaCustomerEpCertificationCertifyResponse> getResponseClass() {
return ZhimaCustomerEpCertificationCertifyResponse.class;
}
public boolean isNeedEncrypt() {
return this.needEncrypt;
}
public void setNeedEncrypt(boolean needEncrypt) {
this.needEncrypt=needEncrypt;
}
public AlipayObject getBizModel() {
return this.bizModel;
}
public void setBizModel(AlipayObject bizModel) {
this.bizModel=bizModel;
}
}
|
[
"694201656@qq.com"
] |
694201656@qq.com
|
48422066d914e06297fcdcc390ea8e6b7383cb54
|
47275584ee7b9ea7871b0acb15f0cbcaf26adb67
|
/app/build/generated/source/r/debug/com/example/android/matthewjustjava/R.java
|
8bb863ef06e27bcd23e378a460ee047f79100ac1
|
[] |
no_license
|
Pancake1/JustJava
|
b1c5dd20bde99a40adf1697044e5361c532313b5
|
993b3fd705e62a145025010a5a73280e5c1f8c3d
|
refs/heads/master
| 2021-01-10T16:02:59.438224
| 2015-12-17T19:48:42
| 2015-12-17T19:48:42
| 48,194,142
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 371,718
|
java
|
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.example.android.matthewjustjava;
public final class R {
public static final class anim {
public static final int abc_fade_in=0x7f050000;
public static final int abc_fade_out=0x7f050001;
public static final int abc_grow_fade_in_from_bottom=0x7f050002;
public static final int abc_popup_enter=0x7f050003;
public static final int abc_popup_exit=0x7f050004;
public static final int abc_shrink_fade_out_from_bottom=0x7f050005;
public static final int abc_slide_in_bottom=0x7f050006;
public static final int abc_slide_in_top=0x7f050007;
public static final int abc_slide_out_bottom=0x7f050008;
public static final int abc_slide_out_top=0x7f050009;
}
public static final class attr {
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarDivider=0x7f010062;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarItemBackground=0x7f010063;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarPopupTheme=0x7f01005c;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
*/
public static final int actionBarSize=0x7f010061;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarSplitStyle=0x7f01005e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarStyle=0x7f01005d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabBarStyle=0x7f010058;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabStyle=0x7f010057;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabTextStyle=0x7f010059;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTheme=0x7f01005f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarWidgetTheme=0x7f010060;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionButtonStyle=0x7f01007c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionDropDownStyle=0x7f010078;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionLayout=0x7f010033;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionMenuTextAppearance=0x7f010064;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int actionMenuTextColor=0x7f010065;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeBackground=0x7f010068;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCloseButtonStyle=0x7f010067;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCloseDrawable=0x7f01006a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCopyDrawable=0x7f01006c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCutDrawable=0x7f01006b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeFindDrawable=0x7f010070;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModePasteDrawable=0x7f01006d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModePopupWindowStyle=0x7f010072;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeSelectAllDrawable=0x7f01006e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeShareDrawable=0x7f01006f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeSplitBackground=0x7f010069;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeStyle=0x7f010066;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeWebSearchDrawable=0x7f010071;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionOverflowButtonStyle=0x7f01005a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionOverflowMenuStyle=0x7f01005b;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int actionProviderClass=0x7f010035;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int actionViewClass=0x7f010034;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int activityChooserViewStyle=0x7f010084;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogButtonGroupStyle=0x7f0100a6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int alertDialogCenterButtons=0x7f0100a7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogStyle=0x7f0100a5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogTheme=0x7f0100a8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int arrowHeadLength=0x7f01002b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int arrowShaftLength=0x7f01002c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int autoCompleteTextViewStyle=0x7f0100ad;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int background=0x7f01000c;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int backgroundSplit=0x7f01000e;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int backgroundStacked=0x7f01000d;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int backgroundTint=0x7f0100c9;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int backgroundTintMode=0x7f0100ca;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int barLength=0x7f01002d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int borderlessButtonStyle=0x7f010081;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarButtonStyle=0x7f01007e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarNegativeButtonStyle=0x7f0100ab;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarNeutralButtonStyle=0x7f0100ac;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarPositiveButtonStyle=0x7f0100aa;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarStyle=0x7f01007d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonPanelSideLayout=0x7f01001f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonStyle=0x7f0100ae;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonStyleSmall=0x7f0100af;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int buttonTint=0x7f010025;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int buttonTintMode=0x7f010026;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int checkboxStyle=0x7f0100b0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int checkedTextViewStyle=0x7f0100b1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int closeIcon=0x7f01003d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int closeItemLayout=0x7f01001c;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int collapseContentDescription=0x7f0100c0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int collapseIcon=0x7f0100bf;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int color=0x7f010027;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorAccent=0x7f01009e;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorButtonNormal=0x7f0100a2;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlActivated=0x7f0100a0;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlHighlight=0x7f0100a1;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlNormal=0x7f01009f;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorPrimary=0x7f01009c;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorPrimaryDark=0x7f01009d;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorSwitchThumbNormal=0x7f0100a3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int commitIcon=0x7f010042;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetEnd=0x7f010017;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetLeft=0x7f010018;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetRight=0x7f010019;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetStart=0x7f010016;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int controlBackground=0x7f0100a4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int customNavigationLayout=0x7f01000f;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int defaultQueryHint=0x7f01003c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dialogPreferredPadding=0x7f010076;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dialogTheme=0x7f010075;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
*/
public static final int displayOptions=0x7f010005;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int divider=0x7f01000b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dividerHorizontal=0x7f010083;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dividerPadding=0x7f010031;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dividerVertical=0x7f010082;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int drawableSize=0x7f010029;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int drawerArrowStyle=0x7f010000;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dropDownListViewStyle=0x7f010094;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dropdownListPreferredItemHeight=0x7f010079;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int editTextBackground=0x7f01008a;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int editTextColor=0x7f010089;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int editTextStyle=0x7f0100b2;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int elevation=0x7f01001a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int expandActivityOverflowButtonDrawable=0x7f01001e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int gapBetweenBars=0x7f01002a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int goIcon=0x7f01003e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int height=0x7f010001;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int hideOnContentScroll=0x7f010015;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int homeAsUpIndicator=0x7f01007b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int homeLayout=0x7f010010;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int icon=0x7f010009;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int iconifiedByDefault=0x7f01003a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int indeterminateProgressStyle=0x7f010012;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int initialActivityCount=0x7f01001d;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int isLightTheme=0x7f010002;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int itemPadding=0x7f010014;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int layout=0x7f010039;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listChoiceBackgroundIndicator=0x7f01009b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listDividerAlertDialog=0x7f010077;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listItemLayout=0x7f010023;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listLayout=0x7f010020;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listPopupWindowStyle=0x7f010095;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeight=0x7f01008f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeightLarge=0x7f010091;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeightSmall=0x7f010090;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemPaddingLeft=0x7f010092;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemPaddingRight=0x7f010093;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int logo=0x7f01000a;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int logoDescription=0x7f0100c3;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int maxButtonHeight=0x7f0100be;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int measureWithLargestChild=0x7f01002f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int multiChoiceItemLayout=0x7f010021;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int navigationContentDescription=0x7f0100c2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int navigationIcon=0x7f0100c1;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int navigationMode=0x7f010004;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int overlapAnchor=0x7f010037;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingEnd=0x7f0100c7;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingStart=0x7f0100c6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int panelBackground=0x7f010098;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int panelMenuListTheme=0x7f01009a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int panelMenuListWidth=0x7f010099;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupMenuStyle=0x7f010087;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupTheme=0x7f01001b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupWindowStyle=0x7f010088;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int preserveIconSpacing=0x7f010036;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int progressBarPadding=0x7f010013;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int progressBarStyle=0x7f010011;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int queryBackground=0x7f010044;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int queryHint=0x7f01003b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int radioButtonStyle=0x7f0100b3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int ratingBarStyle=0x7f0100b4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchHintIcon=0x7f010040;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchIcon=0x7f01003f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchViewStyle=0x7f01008e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int selectableItemBackground=0x7f01007f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int selectableItemBackgroundBorderless=0x7f010080;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
*/
public static final int showAsAction=0x7f010032;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
*/
public static final int showDividers=0x7f010030;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showText=0x7f01004c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int singleChoiceItemLayout=0x7f010022;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int spinBars=0x7f010028;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int spinnerDropDownItemStyle=0x7f01007a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int spinnerStyle=0x7f0100b5;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int splitTrack=0x7f01004b;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int state_above_anchor=0x7f010038;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int submitBackground=0x7f010045;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int subtitle=0x7f010006;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int subtitleTextAppearance=0x7f0100b8;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int subtitleTextColor=0x7f0100c5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int subtitleTextStyle=0x7f010008;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int suggestionRowLayout=0x7f010043;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int switchMinWidth=0x7f010049;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int switchPadding=0x7f01004a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int switchStyle=0x7f0100b6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int switchTextAppearance=0x7f010048;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
*/
public static final int textAllCaps=0x7f010024;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceLargePopupMenu=0x7f010073;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceListItem=0x7f010096;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceListItemSmall=0x7f010097;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSearchResultSubtitle=0x7f01008c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSearchResultTitle=0x7f01008b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSmallPopupMenu=0x7f010074;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int textColorAlertDialogListItem=0x7f0100a9;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int textColorSearchUrl=0x7f01008d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int theme=0x7f0100c8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int thickness=0x7f01002e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int thumbTextPadding=0x7f010047;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int title=0x7f010003;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginBottom=0x7f0100bd;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginEnd=0x7f0100bb;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginStart=0x7f0100ba;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginTop=0x7f0100bc;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMargins=0x7f0100b9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int titleTextAppearance=0x7f0100b7;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleTextColor=0x7f0100c4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int titleTextStyle=0x7f010007;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int toolbarNavigationButtonStyle=0x7f010086;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int toolbarStyle=0x7f010085;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int track=0x7f010046;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int voiceIcon=0x7f010041;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionBar=0x7f01004d;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionBarOverlay=0x7f01004f;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionModeOverlay=0x7f010050;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedHeightMajor=0x7f010054;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedHeightMinor=0x7f010052;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedWidthMajor=0x7f010051;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedWidthMinor=0x7f010053;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowMinWidthMajor=0x7f010055;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowMinWidthMinor=0x7f010056;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowNoTitle=0x7f01004e;
}
public static final class bool {
public static final int abc_action_bar_embed_tabs=0x7f090002;
public static final int abc_action_bar_embed_tabs_pre_jb=0x7f090000;
public static final int abc_action_bar_expanded_action_views_exclusive=0x7f090003;
public static final int abc_config_actionMenuItemAllCaps=0x7f090004;
public static final int abc_config_allowActionMenuItemTextWithIcon=0x7f090001;
public static final int abc_config_closeDialogWhenTouchOutside=0x7f090005;
public static final int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f090006;
}
public static final class color {
public static final int abc_background_cache_hint_selector_material_dark=0x7f0b003a;
public static final int abc_background_cache_hint_selector_material_light=0x7f0b003b;
public static final int abc_color_highlight_material=0x7f0b003c;
public static final int abc_input_method_navigation_guard=0x7f0b0000;
public static final int abc_primary_text_disable_only_material_dark=0x7f0b003d;
public static final int abc_primary_text_disable_only_material_light=0x7f0b003e;
public static final int abc_primary_text_material_dark=0x7f0b003f;
public static final int abc_primary_text_material_light=0x7f0b0040;
public static final int abc_search_url_text=0x7f0b0041;
public static final int abc_search_url_text_normal=0x7f0b0001;
public static final int abc_search_url_text_pressed=0x7f0b0002;
public static final int abc_search_url_text_selected=0x7f0b0003;
public static final int abc_secondary_text_material_dark=0x7f0b0042;
public static final int abc_secondary_text_material_light=0x7f0b0043;
public static final int accent_material_dark=0x7f0b0004;
public static final int accent_material_light=0x7f0b0005;
public static final int background_floating_material_dark=0x7f0b0006;
public static final int background_floating_material_light=0x7f0b0007;
public static final int background_material_dark=0x7f0b0008;
public static final int background_material_light=0x7f0b0009;
public static final int bright_foreground_disabled_material_dark=0x7f0b000a;
public static final int bright_foreground_disabled_material_light=0x7f0b000b;
public static final int bright_foreground_inverse_material_dark=0x7f0b000c;
public static final int bright_foreground_inverse_material_light=0x7f0b000d;
public static final int bright_foreground_material_dark=0x7f0b000e;
public static final int bright_foreground_material_light=0x7f0b000f;
public static final int button_material_dark=0x7f0b0010;
public static final int button_material_light=0x7f0b0011;
public static final int dim_foreground_disabled_material_dark=0x7f0b0012;
public static final int dim_foreground_disabled_material_light=0x7f0b0013;
public static final int dim_foreground_material_dark=0x7f0b0014;
public static final int dim_foreground_material_light=0x7f0b0015;
public static final int foreground_material_dark=0x7f0b0016;
public static final int foreground_material_light=0x7f0b0017;
public static final int highlighted_text_material_dark=0x7f0b0018;
public static final int highlighted_text_material_light=0x7f0b0019;
public static final int hint_foreground_material_dark=0x7f0b001a;
public static final int hint_foreground_material_light=0x7f0b001b;
public static final int material_blue_grey_800=0x7f0b001c;
public static final int material_blue_grey_900=0x7f0b001d;
public static final int material_blue_grey_950=0x7f0b001e;
public static final int material_deep_teal_200=0x7f0b001f;
public static final int material_deep_teal_500=0x7f0b0020;
public static final int material_grey_100=0x7f0b0021;
public static final int material_grey_300=0x7f0b0022;
public static final int material_grey_50=0x7f0b0023;
public static final int material_grey_600=0x7f0b0024;
public static final int material_grey_800=0x7f0b0025;
public static final int material_grey_850=0x7f0b0026;
public static final int material_grey_900=0x7f0b0027;
public static final int primary_dark_material_dark=0x7f0b0028;
public static final int primary_dark_material_light=0x7f0b0029;
public static final int primary_material_dark=0x7f0b002a;
public static final int primary_material_light=0x7f0b002b;
public static final int primary_text_default_material_dark=0x7f0b002c;
public static final int primary_text_default_material_light=0x7f0b002d;
public static final int primary_text_disabled_material_dark=0x7f0b002e;
public static final int primary_text_disabled_material_light=0x7f0b002f;
public static final int ripple_material_dark=0x7f0b0030;
public static final int ripple_material_light=0x7f0b0031;
public static final int secondary_text_default_material_dark=0x7f0b0032;
public static final int secondary_text_default_material_light=0x7f0b0033;
public static final int secondary_text_disabled_material_dark=0x7f0b0034;
public static final int secondary_text_disabled_material_light=0x7f0b0035;
public static final int switch_thumb_disabled_material_dark=0x7f0b0036;
public static final int switch_thumb_disabled_material_light=0x7f0b0037;
public static final int switch_thumb_material_dark=0x7f0b0044;
public static final int switch_thumb_material_light=0x7f0b0045;
public static final int switch_thumb_normal_material_dark=0x7f0b0038;
public static final int switch_thumb_normal_material_light=0x7f0b0039;
}
public static final class dimen {
public static final int abc_action_bar_content_inset_material=0x7f07000d;
public static final int abc_action_bar_default_height_material=0x7f070003;
public static final int abc_action_bar_default_padding_end_material=0x7f07000e;
public static final int abc_action_bar_default_padding_start_material=0x7f07000f;
public static final int abc_action_bar_icon_vertical_padding_material=0x7f070011;
public static final int abc_action_bar_overflow_padding_end_material=0x7f070012;
public static final int abc_action_bar_overflow_padding_start_material=0x7f070013;
public static final int abc_action_bar_progress_bar_size=0x7f070004;
public static final int abc_action_bar_stacked_max_height=0x7f070014;
public static final int abc_action_bar_stacked_tab_max_width=0x7f070015;
public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f070016;
public static final int abc_action_bar_subtitle_top_margin_material=0x7f070017;
public static final int abc_action_button_min_height_material=0x7f070018;
public static final int abc_action_button_min_width_material=0x7f070019;
public static final int abc_action_button_min_width_overflow_material=0x7f07001a;
public static final int abc_alert_dialog_button_bar_height=0x7f070002;
public static final int abc_button_inset_horizontal_material=0x7f07001b;
public static final int abc_button_inset_vertical_material=0x7f07001c;
public static final int abc_button_padding_horizontal_material=0x7f07001d;
public static final int abc_button_padding_vertical_material=0x7f07001e;
public static final int abc_config_prefDialogWidth=0x7f070007;
public static final int abc_control_corner_material=0x7f07001f;
public static final int abc_control_inset_material=0x7f070020;
public static final int abc_control_padding_material=0x7f070021;
public static final int abc_dialog_list_padding_vertical_material=0x7f070022;
public static final int abc_dialog_min_width_major=0x7f070023;
public static final int abc_dialog_min_width_minor=0x7f070024;
public static final int abc_dialog_padding_material=0x7f070025;
public static final int abc_dialog_padding_top_material=0x7f070026;
public static final int abc_disabled_alpha_material_dark=0x7f070027;
public static final int abc_disabled_alpha_material_light=0x7f070028;
public static final int abc_dropdownitem_icon_width=0x7f070029;
public static final int abc_dropdownitem_text_padding_left=0x7f07002a;
public static final int abc_dropdownitem_text_padding_right=0x7f07002b;
public static final int abc_edit_text_inset_bottom_material=0x7f07002c;
public static final int abc_edit_text_inset_horizontal_material=0x7f07002d;
public static final int abc_edit_text_inset_top_material=0x7f07002e;
public static final int abc_floating_window_z=0x7f07002f;
public static final int abc_list_item_padding_horizontal_material=0x7f070030;
public static final int abc_panel_menu_list_width=0x7f070031;
public static final int abc_search_view_preferred_width=0x7f070032;
public static final int abc_search_view_text_min_width=0x7f070008;
public static final int abc_switch_padding=0x7f070010;
public static final int abc_text_size_body_1_material=0x7f070033;
public static final int abc_text_size_body_2_material=0x7f070034;
public static final int abc_text_size_button_material=0x7f070035;
public static final int abc_text_size_caption_material=0x7f070036;
public static final int abc_text_size_display_1_material=0x7f070037;
public static final int abc_text_size_display_2_material=0x7f070038;
public static final int abc_text_size_display_3_material=0x7f070039;
public static final int abc_text_size_display_4_material=0x7f07003a;
public static final int abc_text_size_headline_material=0x7f07003b;
public static final int abc_text_size_large_material=0x7f07003c;
public static final int abc_text_size_medium_material=0x7f07003d;
public static final int abc_text_size_menu_material=0x7f07003e;
public static final int abc_text_size_small_material=0x7f07003f;
public static final int abc_text_size_subhead_material=0x7f070040;
public static final int abc_text_size_subtitle_material_toolbar=0x7f070005;
public static final int abc_text_size_title_material=0x7f070041;
public static final int abc_text_size_title_material_toolbar=0x7f070006;
public static final int activity_horizontal_margin=0x7f070000;
public static final int activity_vertical_margin=0x7f070001;
public static final int dialog_fixed_height_major=0x7f070009;
public static final int dialog_fixed_height_minor=0x7f07000a;
public static final int dialog_fixed_width_major=0x7f07000b;
public static final int dialog_fixed_width_minor=0x7f07000c;
public static final int disabled_alpha_material_dark=0x7f070042;
public static final int disabled_alpha_material_light=0x7f070043;
public static final int highlight_alpha_material_colored=0x7f070044;
public static final int highlight_alpha_material_dark=0x7f070045;
public static final int highlight_alpha_material_light=0x7f070046;
public static final int notification_large_icon_height=0x7f070047;
public static final int notification_large_icon_width=0x7f070048;
public static final int notification_subtext_size=0x7f070049;
}
public static final class drawable {
public static final int abc_ab_share_pack_mtrl_alpha=0x7f020000;
public static final int abc_action_bar_item_background_material=0x7f020001;
public static final int abc_btn_borderless_material=0x7f020002;
public static final int abc_btn_check_material=0x7f020003;
public static final int abc_btn_check_to_on_mtrl_000=0x7f020004;
public static final int abc_btn_check_to_on_mtrl_015=0x7f020005;
public static final int abc_btn_colored_material=0x7f020006;
public static final int abc_btn_default_mtrl_shape=0x7f020007;
public static final int abc_btn_radio_material=0x7f020008;
public static final int abc_btn_radio_to_on_mtrl_000=0x7f020009;
public static final int abc_btn_radio_to_on_mtrl_015=0x7f02000a;
public static final int abc_btn_rating_star_off_mtrl_alpha=0x7f02000b;
public static final int abc_btn_rating_star_on_mtrl_alpha=0x7f02000c;
public static final int abc_btn_switch_to_on_mtrl_00001=0x7f02000d;
public static final int abc_btn_switch_to_on_mtrl_00012=0x7f02000e;
public static final int abc_cab_background_internal_bg=0x7f02000f;
public static final int abc_cab_background_top_material=0x7f020010;
public static final int abc_cab_background_top_mtrl_alpha=0x7f020011;
public static final int abc_control_background_material=0x7f020012;
public static final int abc_dialog_material_background_dark=0x7f020013;
public static final int abc_dialog_material_background_light=0x7f020014;
public static final int abc_edit_text_material=0x7f020015;
public static final int abc_ic_ab_back_mtrl_am_alpha=0x7f020016;
public static final int abc_ic_clear_mtrl_alpha=0x7f020017;
public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f020018;
public static final int abc_ic_go_search_api_mtrl_alpha=0x7f020019;
public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f02001a;
public static final int abc_ic_menu_cut_mtrl_alpha=0x7f02001b;
public static final int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f02001c;
public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f02001d;
public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f02001e;
public static final int abc_ic_menu_share_mtrl_alpha=0x7f02001f;
public static final int abc_ic_search_api_mtrl_alpha=0x7f020020;
public static final int abc_ic_voice_search_api_mtrl_alpha=0x7f020021;
public static final int abc_item_background_holo_dark=0x7f020022;
public static final int abc_item_background_holo_light=0x7f020023;
public static final int abc_list_divider_mtrl_alpha=0x7f020024;
public static final int abc_list_focused_holo=0x7f020025;
public static final int abc_list_longpressed_holo=0x7f020026;
public static final int abc_list_pressed_holo_dark=0x7f020027;
public static final int abc_list_pressed_holo_light=0x7f020028;
public static final int abc_list_selector_background_transition_holo_dark=0x7f020029;
public static final int abc_list_selector_background_transition_holo_light=0x7f02002a;
public static final int abc_list_selector_disabled_holo_dark=0x7f02002b;
public static final int abc_list_selector_disabled_holo_light=0x7f02002c;
public static final int abc_list_selector_holo_dark=0x7f02002d;
public static final int abc_list_selector_holo_light=0x7f02002e;
public static final int abc_menu_hardkey_panel_mtrl_mult=0x7f02002f;
public static final int abc_popup_background_mtrl_mult=0x7f020030;
public static final int abc_ratingbar_full_material=0x7f020031;
public static final int abc_spinner_mtrl_am_alpha=0x7f020032;
public static final int abc_spinner_textfield_background_material=0x7f020033;
public static final int abc_switch_thumb_material=0x7f020034;
public static final int abc_switch_track_mtrl_alpha=0x7f020035;
public static final int abc_tab_indicator_material=0x7f020036;
public static final int abc_tab_indicator_mtrl_alpha=0x7f020037;
public static final int abc_text_cursor_material=0x7f020038;
public static final int abc_textfield_activated_mtrl_alpha=0x7f020039;
public static final int abc_textfield_default_mtrl_alpha=0x7f02003a;
public static final int abc_textfield_search_activated_mtrl_alpha=0x7f02003b;
public static final int abc_textfield_search_default_mtrl_alpha=0x7f02003c;
public static final int abc_textfield_search_material=0x7f02003d;
public static final int javaicon=0x7f02003e;
public static final int javaicon1=0x7f02003f;
public static final int javaicon2=0x7f020040;
public static final int javaicon3=0x7f020041;
public static final int javalogo=0x7f020042;
public static final int notification_template_icon_bg=0x7f020043;
}
public static final class id {
public static final int action0=0x7f0c0056;
public static final int action_bar=0x7f0c003e;
public static final int action_bar_activity_content=0x7f0c0000;
public static final int action_bar_container=0x7f0c003d;
public static final int action_bar_root=0x7f0c0039;
public static final int action_bar_spinner=0x7f0c0001;
public static final int action_bar_subtitle=0x7f0c0022;
public static final int action_bar_title=0x7f0c0021;
public static final int action_context_bar=0x7f0c003f;
public static final int action_divider=0x7f0c005a;
public static final int action_menu_divider=0x7f0c0002;
public static final int action_menu_presenter=0x7f0c0003;
public static final int action_mode_bar=0x7f0c003b;
public static final int action_mode_bar_stub=0x7f0c003a;
public static final int action_mode_close_button=0x7f0c0023;
public static final int action_settings=0x7f0c0063;
public static final int activity_chooser_view_content=0x7f0c0024;
public static final int alertTitle=0x7f0c002e;
public static final int always=0x7f0c001b;
public static final int beginning=0x7f0c0018;
public static final int buttonPanel=0x7f0c0034;
public static final int cancel_action=0x7f0c0057;
public static final int checkbox=0x7f0c0036;
public static final int chocolate_checkbox=0x7f0c0050;
public static final int chronometer=0x7f0c005d;
public static final int cinnamon_checkbox=0x7f0c0051;
public static final int collapseActionView=0x7f0c001c;
public static final int contentPanel=0x7f0c002f;
public static final int custom=0x7f0c0033;
public static final int customPanel=0x7f0c0032;
public static final int decor_content_parent=0x7f0c003c;
public static final int default_activity_button=0x7f0c0027;
public static final int disableHome=0x7f0c000c;
public static final int edit_query=0x7f0c0040;
public static final int end=0x7f0c0019;
public static final int end_padder=0x7f0c0062;
public static final int expand_activities_button=0x7f0c0025;
public static final int expanded_menu=0x7f0c0035;
public static final int french_vanilla_checkbox=0x7f0c0052;
public static final int home=0x7f0c0004;
public static final int homeAsUp=0x7f0c000d;
public static final int icon=0x7f0c0029;
public static final int ifRoom=0x7f0c001d;
public static final int image=0x7f0c0026;
public static final int info=0x7f0c0061;
public static final int line1=0x7f0c005b;
public static final int line3=0x7f0c005f;
public static final int listMode=0x7f0c0009;
public static final int list_item=0x7f0c0028;
public static final int marsh_mallow_checkbox=0x7f0c0053;
public static final int media_actions=0x7f0c0059;
public static final int middle=0x7f0c001a;
public static final int multiply=0x7f0c0013;
public static final int name_field=0x7f0c004d;
public static final int never=0x7f0c001e;
public static final int none=0x7f0c000e;
public static final int normal=0x7f0c000a;
public static final int order_summary_text_view=0x7f0c0055;
public static final int parentPanel=0x7f0c002b;
public static final int photo_javalogo_jpg=0x7f0c004e;
public static final int progress_circular=0x7f0c0005;
public static final int progress_horizontal=0x7f0c0006;
public static final int quantity_text_view=0x7f0c0054;
public static final int radio=0x7f0c0038;
public static final int screen=0x7f0c0014;
public static final int scrollView=0x7f0c0030;
public static final int search_badge=0x7f0c0042;
public static final int search_bar=0x7f0c0041;
public static final int search_button=0x7f0c0043;
public static final int search_close_btn=0x7f0c0048;
public static final int search_edit_frame=0x7f0c0044;
public static final int search_go_btn=0x7f0c004a;
public static final int search_mag_icon=0x7f0c0045;
public static final int search_plate=0x7f0c0046;
public static final int search_src_text=0x7f0c0047;
public static final int search_voice_btn=0x7f0c004b;
public static final int select_dialog_listview=0x7f0c004c;
public static final int shortcut=0x7f0c0037;
public static final int showCustom=0x7f0c000f;
public static final int showHome=0x7f0c0010;
public static final int showTitle=0x7f0c0011;
public static final int split_action_bar=0x7f0c0007;
public static final int src_atop=0x7f0c0015;
public static final int src_in=0x7f0c0016;
public static final int src_over=0x7f0c0017;
public static final int status_bar_latest_event_content=0x7f0c0058;
public static final int submit_area=0x7f0c0049;
public static final int tabMode=0x7f0c000b;
public static final int text=0x7f0c0060;
public static final int text2=0x7f0c005e;
public static final int textSpacerNoButtons=0x7f0c0031;
public static final int time=0x7f0c005c;
public static final int title=0x7f0c002a;
public static final int title_template=0x7f0c002d;
public static final int topPanel=0x7f0c002c;
public static final int up=0x7f0c0008;
public static final int useLogo=0x7f0c0012;
public static final int whipped_cream_checkbox=0x7f0c004f;
public static final int withText=0x7f0c001f;
public static final int wrap_content=0x7f0c0020;
}
public static final class integer {
public static final int abc_config_activityDefaultDur=0x7f0a0001;
public static final int abc_config_activityShortDur=0x7f0a0002;
public static final int abc_max_action_buttons=0x7f0a0000;
public static final int cancel_button_image_alpha=0x7f0a0003;
public static final int status_bar_notification_info_maxnum=0x7f0a0004;
}
public static final class layout {
public static final int abc_action_bar_title_item=0x7f040000;
public static final int abc_action_bar_up_container=0x7f040001;
public static final int abc_action_bar_view_list_nav_layout=0x7f040002;
public static final int abc_action_menu_item_layout=0x7f040003;
public static final int abc_action_menu_layout=0x7f040004;
public static final int abc_action_mode_bar=0x7f040005;
public static final int abc_action_mode_close_item_material=0x7f040006;
public static final int abc_activity_chooser_view=0x7f040007;
public static final int abc_activity_chooser_view_list_item=0x7f040008;
public static final int abc_alert_dialog_material=0x7f040009;
public static final int abc_dialog_title_material=0x7f04000a;
public static final int abc_expanded_menu_layout=0x7f04000b;
public static final int abc_list_menu_item_checkbox=0x7f04000c;
public static final int abc_list_menu_item_icon=0x7f04000d;
public static final int abc_list_menu_item_layout=0x7f04000e;
public static final int abc_list_menu_item_radio=0x7f04000f;
public static final int abc_popup_menu_item_layout=0x7f040010;
public static final int abc_screen_content_include=0x7f040011;
public static final int abc_screen_simple=0x7f040012;
public static final int abc_screen_simple_overlay_action_mode=0x7f040013;
public static final int abc_screen_toolbar=0x7f040014;
public static final int abc_search_dropdown_item_icons_2line=0x7f040015;
public static final int abc_search_view=0x7f040016;
public static final int abc_select_dialog_material=0x7f040017;
public static final int activity_main=0x7f040018;
public static final int notification_media_action=0x7f040019;
public static final int notification_media_cancel_action=0x7f04001a;
public static final int notification_template_big_media=0x7f04001b;
public static final int notification_template_big_media_narrow=0x7f04001c;
public static final int notification_template_lines=0x7f04001d;
public static final int notification_template_media=0x7f04001e;
public static final int notification_template_part_chronometer=0x7f04001f;
public static final int notification_template_part_time=0x7f040020;
public static final int select_dialog_item_material=0x7f040021;
public static final int select_dialog_multichoice_material=0x7f040022;
public static final int select_dialog_singlechoice_material=0x7f040023;
public static final int support_simple_spinner_dropdown_item=0x7f040024;
}
public static final class menu {
public static final int menu_main=0x7f0d0000;
}
public static final class mipmap {
public static final int ic_launcher=0x7f030000;
}
public static final class string {
public static final int abc_action_bar_home_description=0x7f060000;
public static final int abc_action_bar_home_description_format=0x7f060001;
public static final int abc_action_bar_home_subtitle_description_format=0x7f060002;
public static final int abc_action_bar_up_description=0x7f060003;
public static final int abc_action_menu_overflow_description=0x7f060004;
public static final int abc_action_mode_done=0x7f060005;
public static final int abc_activity_chooser_view_see_all=0x7f060006;
public static final int abc_activitychooserview_choose_application=0x7f060007;
public static final int abc_search_hint=0x7f060008;
public static final int abc_searchview_description_clear=0x7f060009;
public static final int abc_searchview_description_query=0x7f06000a;
public static final int abc_searchview_description_search=0x7f06000b;
public static final int abc_searchview_description_submit=0x7f06000c;
public static final int abc_searchview_description_voice=0x7f06000d;
public static final int abc_shareactionprovider_share_with=0x7f06000e;
public static final int abc_shareactionprovider_share_with_application=0x7f06000f;
public static final int abc_toolbar_collapse_description=0x7f060010;
public static final int action_settings=0x7f060012;
public static final int app_name=0x7f060013;
public static final int chocolate=0x7f060014;
public static final int cinnamon=0x7f060015;
public static final int french_vanilla=0x7f060016;
public static final int marsh_mallow=0x7f060017;
public static final int name=0x7f060018;
public static final int order=0x7f060019;
public static final int quantity=0x7f06001a;
public static final int status_bar_notification_info_overflow=0x7f060011;
public static final int toppings=0x7f06001b;
public static final int whipped_cream=0x7f06001c;
}
public static final class style {
public static final int AlertDialog_AppCompat=0x7f08007b;
public static final int AlertDialog_AppCompat_Light=0x7f08007c;
public static final int Animation_AppCompat_Dialog=0x7f08007d;
public static final int Animation_AppCompat_DropDownUp=0x7f08007e;
/** Customize your theme here.
Customize your theme here.
Customize your theme here.
*/
public static final int AppTheme=0x7f080000;
public static final int Base_AlertDialog_AppCompat=0x7f08007f;
public static final int Base_AlertDialog_AppCompat_Light=0x7f080080;
public static final int Base_Animation_AppCompat_Dialog=0x7f080081;
public static final int Base_Animation_AppCompat_DropDownUp=0x7f080082;
public static final int Base_DialogWindowTitle_AppCompat=0x7f080083;
public static final int Base_DialogWindowTitleBackground_AppCompat=0x7f080084;
public static final int Base_TextAppearance_AppCompat=0x7f08002e;
public static final int Base_TextAppearance_AppCompat_Body1=0x7f08002f;
public static final int Base_TextAppearance_AppCompat_Body2=0x7f080030;
public static final int Base_TextAppearance_AppCompat_Button=0x7f080019;
public static final int Base_TextAppearance_AppCompat_Caption=0x7f080031;
public static final int Base_TextAppearance_AppCompat_Display1=0x7f080032;
public static final int Base_TextAppearance_AppCompat_Display2=0x7f080033;
public static final int Base_TextAppearance_AppCompat_Display3=0x7f080034;
public static final int Base_TextAppearance_AppCompat_Display4=0x7f080035;
public static final int Base_TextAppearance_AppCompat_Headline=0x7f080036;
public static final int Base_TextAppearance_AppCompat_Inverse=0x7f080004;
public static final int Base_TextAppearance_AppCompat_Large=0x7f080037;
public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f080005;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f080038;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f080039;
public static final int Base_TextAppearance_AppCompat_Medium=0x7f08003a;
public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f080006;
public static final int Base_TextAppearance_AppCompat_Menu=0x7f08003b;
public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f080085;
public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f08003c;
public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f08003d;
public static final int Base_TextAppearance_AppCompat_Small=0x7f08003e;
public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f080007;
public static final int Base_TextAppearance_AppCompat_Subhead=0x7f08003f;
public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f080008;
public static final int Base_TextAppearance_AppCompat_Title=0x7f080040;
public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f080009;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f080041;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f080042;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f080043;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f080044;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f080045;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f080046;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f080047;
public static final int Base_TextAppearance_AppCompat_Widget_Button=0x7f080048;
public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f080077;
public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f080086;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f080049;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f08004a;
public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f08004b;
public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f08004c;
public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f080087;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f08004d;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f08004e;
public static final int Base_Theme_AppCompat=0x7f08004f;
public static final int Base_Theme_AppCompat_CompactMenu=0x7f080088;
public static final int Base_Theme_AppCompat_Dialog=0x7f08000a;
public static final int Base_Theme_AppCompat_Dialog_Alert=0x7f080089;
public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f08008a;
public static final int Base_Theme_AppCompat_Dialog_MinWidth=0x7f08008b;
public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f080002;
public static final int Base_Theme_AppCompat_Light=0x7f080050;
public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f08008c;
public static final int Base_Theme_AppCompat_Light_Dialog=0x7f08000b;
public static final int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f08008d;
public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f08008e;
public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f08008f;
public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f080003;
public static final int Base_ThemeOverlay_AppCompat=0x7f080090;
public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f080091;
public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f080092;
public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f080093;
public static final int Base_ThemeOverlay_AppCompat_Light=0x7f080094;
public static final int Base_V11_Theme_AppCompat_Dialog=0x7f08000c;
public static final int Base_V11_Theme_AppCompat_Light_Dialog=0x7f08000d;
public static final int Base_V12_Widget_AppCompat_AutoCompleteTextView=0x7f080015;
public static final int Base_V12_Widget_AppCompat_EditText=0x7f080016;
public static final int Base_V21_Theme_AppCompat=0x7f080051;
public static final int Base_V21_Theme_AppCompat_Dialog=0x7f080052;
public static final int Base_V21_Theme_AppCompat_Light=0x7f080053;
public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f080054;
public static final int Base_V22_Theme_AppCompat=0x7f080075;
public static final int Base_V22_Theme_AppCompat_Light=0x7f080076;
public static final int Base_V23_Theme_AppCompat=0x7f080078;
public static final int Base_V23_Theme_AppCompat_Light=0x7f080079;
public static final int Base_V7_Theme_AppCompat=0x7f080095;
public static final int Base_V7_Theme_AppCompat_Dialog=0x7f080096;
public static final int Base_V7_Theme_AppCompat_Light=0x7f080097;
public static final int Base_V7_Theme_AppCompat_Light_Dialog=0x7f080098;
public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f080099;
public static final int Base_V7_Widget_AppCompat_EditText=0x7f08009a;
public static final int Base_Widget_AppCompat_ActionBar=0x7f08009b;
public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f08009c;
public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f08009d;
public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f080055;
public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f080056;
public static final int Base_Widget_AppCompat_ActionButton=0x7f080057;
public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f080058;
public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f080059;
public static final int Base_Widget_AppCompat_ActionMode=0x7f08009e;
public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f08009f;
public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f080017;
public static final int Base_Widget_AppCompat_Button=0x7f08005a;
public static final int Base_Widget_AppCompat_Button_Borderless=0x7f08005b;
public static final int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f08005c;
public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0800a0;
public static final int Base_Widget_AppCompat_Button_Colored=0x7f08007a;
public static final int Base_Widget_AppCompat_Button_Small=0x7f08005d;
public static final int Base_Widget_AppCompat_ButtonBar=0x7f08005e;
public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0800a1;
public static final int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f08005f;
public static final int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f080060;
public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0800a2;
public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f080001;
public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0800a3;
public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f080061;
public static final int Base_Widget_AppCompat_EditText=0x7f080018;
public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0800a4;
public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0800a5;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0800a6;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f080062;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f080063;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f080064;
public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f080065;
public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f080066;
public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f080067;
public static final int Base_Widget_AppCompat_ListView=0x7f080068;
public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f080069;
public static final int Base_Widget_AppCompat_ListView_Menu=0x7f08006a;
public static final int Base_Widget_AppCompat_PopupMenu=0x7f08006b;
public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f08006c;
public static final int Base_Widget_AppCompat_PopupWindow=0x7f0800a7;
public static final int Base_Widget_AppCompat_ProgressBar=0x7f08000e;
public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f08000f;
public static final int Base_Widget_AppCompat_RatingBar=0x7f08006d;
public static final int Base_Widget_AppCompat_SearchView=0x7f0800a8;
public static final int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0800a9;
public static final int Base_Widget_AppCompat_Spinner=0x7f08006e;
public static final int Base_Widget_AppCompat_Spinner_Underlined=0x7f08006f;
public static final int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f080070;
public static final int Base_Widget_AppCompat_Toolbar=0x7f0800aa;
public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f080071;
public static final int HeaderTextStyle=0x7f0800ab;
public static final int Platform_AppCompat=0x7f080010;
public static final int Platform_AppCompat_Light=0x7f080011;
public static final int Platform_ThemeOverlay_AppCompat=0x7f080072;
public static final int Platform_ThemeOverlay_AppCompat_Dark=0x7f080073;
public static final int Platform_ThemeOverlay_AppCompat_Light=0x7f080074;
public static final int Platform_V11_AppCompat=0x7f080012;
public static final int Platform_V11_AppCompat_Light=0x7f080013;
public static final int Platform_V14_AppCompat=0x7f08001a;
public static final int Platform_V14_AppCompat_Light=0x7f08001b;
public static final int Platform_Widget_AppCompat_Spinner=0x7f080014;
public static final int RtlOverlay_DialogWindowTitle_AppCompat=0x7f080021;
public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f080022;
public static final int RtlOverlay_Widget_AppCompat_ActionButton_Overflow=0x7f080023;
public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f080024;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f080025;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f080026;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f080027;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f080028;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f080029;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f08002a;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f08002b;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f08002c;
public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f08002d;
public static final int TextAppearance_AppCompat=0x7f0800ac;
public static final int TextAppearance_AppCompat_Body1=0x7f0800ad;
public static final int TextAppearance_AppCompat_Body2=0x7f0800ae;
public static final int TextAppearance_AppCompat_Button=0x7f0800af;
public static final int TextAppearance_AppCompat_Caption=0x7f0800b0;
public static final int TextAppearance_AppCompat_Display1=0x7f0800b1;
public static final int TextAppearance_AppCompat_Display2=0x7f0800b2;
public static final int TextAppearance_AppCompat_Display3=0x7f0800b3;
public static final int TextAppearance_AppCompat_Display4=0x7f0800b4;
public static final int TextAppearance_AppCompat_Headline=0x7f0800b5;
public static final int TextAppearance_AppCompat_Inverse=0x7f0800b6;
public static final int TextAppearance_AppCompat_Large=0x7f0800b7;
public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0800b8;
public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0800b9;
public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0800ba;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0800bb;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0800bc;
public static final int TextAppearance_AppCompat_Medium=0x7f0800bd;
public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0800be;
public static final int TextAppearance_AppCompat_Menu=0x7f0800bf;
public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0800c0;
public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0800c1;
public static final int TextAppearance_AppCompat_Small=0x7f0800c2;
public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0800c3;
public static final int TextAppearance_AppCompat_Subhead=0x7f0800c4;
public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0800c5;
public static final int TextAppearance_AppCompat_Title=0x7f0800c6;
public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0800c7;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0800c8;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0800c9;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0800ca;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0800cb;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0800cc;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0800cd;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0800ce;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0800cf;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0800d0;
public static final int TextAppearance_AppCompat_Widget_Button=0x7f0800d1;
public static final int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0800d2;
public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0800d3;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0800d4;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0800d5;
public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0800d6;
public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0800d7;
public static final int TextAppearance_StatusBar_EventContent=0x7f08001c;
public static final int TextAppearance_StatusBar_EventContent_Info=0x7f08001d;
public static final int TextAppearance_StatusBar_EventContent_Line2=0x7f08001e;
public static final int TextAppearance_StatusBar_EventContent_Time=0x7f08001f;
public static final int TextAppearance_StatusBar_EventContent_Title=0x7f080020;
public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0800d8;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0800d9;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0800da;
public static final int Theme_AppCompat=0x7f0800db;
public static final int Theme_AppCompat_CompactMenu=0x7f0800dc;
public static final int Theme_AppCompat_Dialog=0x7f0800dd;
public static final int Theme_AppCompat_Dialog_Alert=0x7f0800de;
public static final int Theme_AppCompat_Dialog_MinWidth=0x7f0800df;
public static final int Theme_AppCompat_DialogWhenLarge=0x7f0800e0;
public static final int Theme_AppCompat_Light=0x7f0800e1;
public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0800e2;
public static final int Theme_AppCompat_Light_Dialog=0x7f0800e3;
public static final int Theme_AppCompat_Light_Dialog_Alert=0x7f0800e4;
public static final int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0800e5;
public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0800e6;
public static final int Theme_AppCompat_Light_NoActionBar=0x7f0800e7;
public static final int Theme_AppCompat_NoActionBar=0x7f0800e8;
public static final int ThemeOverlay_AppCompat=0x7f0800e9;
public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0800ea;
public static final int ThemeOverlay_AppCompat_Dark=0x7f0800eb;
public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0800ec;
public static final int ThemeOverlay_AppCompat_Light=0x7f0800ed;
public static final int Widget_AppCompat_ActionBar=0x7f0800ee;
public static final int Widget_AppCompat_ActionBar_Solid=0x7f0800ef;
public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0800f0;
public static final int Widget_AppCompat_ActionBar_TabText=0x7f0800f1;
public static final int Widget_AppCompat_ActionBar_TabView=0x7f0800f2;
public static final int Widget_AppCompat_ActionButton=0x7f0800f3;
public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0800f4;
public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0800f5;
public static final int Widget_AppCompat_ActionMode=0x7f0800f6;
public static final int Widget_AppCompat_ActivityChooserView=0x7f0800f7;
public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0800f8;
public static final int Widget_AppCompat_Button=0x7f0800f9;
public static final int Widget_AppCompat_Button_Borderless=0x7f0800fa;
public static final int Widget_AppCompat_Button_Borderless_Colored=0x7f0800fb;
public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0800fc;
public static final int Widget_AppCompat_Button_Colored=0x7f0800fd;
public static final int Widget_AppCompat_Button_Small=0x7f0800fe;
public static final int Widget_AppCompat_ButtonBar=0x7f0800ff;
public static final int Widget_AppCompat_ButtonBar_AlertDialog=0x7f080100;
public static final int Widget_AppCompat_CompoundButton_CheckBox=0x7f080101;
public static final int Widget_AppCompat_CompoundButton_RadioButton=0x7f080102;
public static final int Widget_AppCompat_CompoundButton_Switch=0x7f080103;
public static final int Widget_AppCompat_DrawerArrowToggle=0x7f080104;
public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f080105;
public static final int Widget_AppCompat_EditText=0x7f080106;
public static final int Widget_AppCompat_Light_ActionBar=0x7f080107;
public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f080108;
public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f080109;
public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f08010a;
public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f08010b;
public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f08010c;
public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f08010d;
public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f08010e;
public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f08010f;
public static final int Widget_AppCompat_Light_ActionButton=0x7f080110;
public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f080111;
public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f080112;
public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f080113;
public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f080114;
public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f080115;
public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f080116;
public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f080117;
public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f080118;
public static final int Widget_AppCompat_Light_PopupMenu=0x7f080119;
public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f08011a;
public static final int Widget_AppCompat_Light_SearchView=0x7f08011b;
public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f08011c;
public static final int Widget_AppCompat_ListPopupWindow=0x7f08011d;
public static final int Widget_AppCompat_ListView=0x7f08011e;
public static final int Widget_AppCompat_ListView_DropDown=0x7f08011f;
public static final int Widget_AppCompat_ListView_Menu=0x7f080120;
public static final int Widget_AppCompat_PopupMenu=0x7f080121;
public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f080122;
public static final int Widget_AppCompat_PopupWindow=0x7f080123;
public static final int Widget_AppCompat_ProgressBar=0x7f080124;
public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f080125;
public static final int Widget_AppCompat_RatingBar=0x7f080126;
public static final int Widget_AppCompat_SearchView=0x7f080127;
public static final int Widget_AppCompat_SearchView_ActionBar=0x7f080128;
public static final int Widget_AppCompat_Spinner=0x7f080129;
public static final int Widget_AppCompat_Spinner_DropDown=0x7f08012a;
public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f08012b;
public static final int Widget_AppCompat_Spinner_Underlined=0x7f08012c;
public static final int Widget_AppCompat_TextView_SpinnerItem=0x7f08012d;
public static final int Widget_AppCompat_Toolbar=0x7f08012e;
public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f08012f;
}
public static final class styleable {
/** Attributes that can be used with a ActionBar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBar_background com.example.android.matthewjustjava:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit com.example.android.matthewjustjava:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundStacked com.example.android.matthewjustjava:backgroundStacked}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEnd com.example.android.matthewjustjava:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft com.example.android.matthewjustjava:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight com.example.android.matthewjustjava:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart com.example.android.matthewjustjava:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout com.example.android.matthewjustjava:customNavigationLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_displayOptions com.example.android.matthewjustjava:displayOptions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_divider com.example.android.matthewjustjava:divider}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_elevation com.example.android.matthewjustjava:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_height com.example.android.matthewjustjava:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll com.example.android.matthewjustjava:hideOnContentScroll}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeAsUpIndicator com.example.android.matthewjustjava:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeLayout com.example.android.matthewjustjava:homeLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_icon com.example.android.matthewjustjava:icon}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.example.android.matthewjustjava:indeterminateProgressStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_itemPadding com.example.android.matthewjustjava:itemPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_logo com.example.android.matthewjustjava:logo}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_navigationMode com.example.android.matthewjustjava:navigationMode}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_popupTheme com.example.android.matthewjustjava:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarPadding com.example.android.matthewjustjava:progressBarPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle com.example.android.matthewjustjava:progressBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitle com.example.android.matthewjustjava:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle com.example.android.matthewjustjava:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_title com.example.android.matthewjustjava:title}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle com.example.android.matthewjustjava:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionBar_background
@see #ActionBar_backgroundSplit
@see #ActionBar_backgroundStacked
@see #ActionBar_contentInsetEnd
@see #ActionBar_contentInsetLeft
@see #ActionBar_contentInsetRight
@see #ActionBar_contentInsetStart
@see #ActionBar_customNavigationLayout
@see #ActionBar_displayOptions
@see #ActionBar_divider
@see #ActionBar_elevation
@see #ActionBar_height
@see #ActionBar_hideOnContentScroll
@see #ActionBar_homeAsUpIndicator
@see #ActionBar_homeLayout
@see #ActionBar_icon
@see #ActionBar_indeterminateProgressStyle
@see #ActionBar_itemPadding
@see #ActionBar_logo
@see #ActionBar_navigationMode
@see #ActionBar_popupTheme
@see #ActionBar_progressBarPadding
@see #ActionBar_progressBarStyle
@see #ActionBar_subtitle
@see #ActionBar_subtitleTextStyle
@see #ActionBar_title
@see #ActionBar_titleTextStyle
*/
public static final int[] ActionBar = {
0x7f010001, 0x7f010003, 0x7f010004, 0x7f010005,
0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009,
0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d,
0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011,
0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015,
0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019,
0x7f01001a, 0x7f01001b, 0x7f01007b
};
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#background}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:background
*/
public static final int ActionBar_background = 10;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.android.matthewjustjava:backgroundSplit
*/
public static final int ActionBar_backgroundSplit = 12;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#backgroundStacked}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.android.matthewjustjava:backgroundStacked
*/
public static final int ActionBar_backgroundStacked = 11;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetEnd
*/
public static final int ActionBar_contentInsetEnd = 21;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetLeft
*/
public static final int ActionBar_contentInsetLeft = 22;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetRight}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetRight
*/
public static final int ActionBar_contentInsetRight = 23;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetStart}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetStart
*/
public static final int ActionBar_contentInsetStart = 20;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#customNavigationLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:customNavigationLayout
*/
public static final int ActionBar_customNavigationLayout = 13;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#displayOptions}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
@attr name com.example.android.matthewjustjava:displayOptions
*/
public static final int ActionBar_displayOptions = 3;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#divider}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:divider
*/
public static final int ActionBar_divider = 9;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#elevation}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:elevation
*/
public static final int ActionBar_elevation = 24;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#height}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:height
*/
public static final int ActionBar_height = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#hideOnContentScroll}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:hideOnContentScroll
*/
public static final int ActionBar_hideOnContentScroll = 19;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:homeAsUpIndicator
*/
public static final int ActionBar_homeAsUpIndicator = 26;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#homeLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:homeLayout
*/
public static final int ActionBar_homeLayout = 14;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#icon}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:icon
*/
public static final int ActionBar_icon = 7;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#indeterminateProgressStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:indeterminateProgressStyle
*/
public static final int ActionBar_indeterminateProgressStyle = 16;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#itemPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:itemPadding
*/
public static final int ActionBar_itemPadding = 18;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#logo}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:logo
*/
public static final int ActionBar_logo = 8;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#navigationMode}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
@attr name com.example.android.matthewjustjava:navigationMode
*/
public static final int ActionBar_navigationMode = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#popupTheme}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:popupTheme
*/
public static final int ActionBar_popupTheme = 25;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#progressBarPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:progressBarPadding
*/
public static final int ActionBar_progressBarPadding = 17;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#progressBarStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:progressBarStyle
*/
public static final int ActionBar_progressBarStyle = 15;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#subtitle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:subtitle
*/
public static final int ActionBar_subtitle = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:subtitleTextStyle
*/
public static final int ActionBar_subtitleTextStyle = 6;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#title}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:title
*/
public static final int ActionBar_title = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:titleTextStyle
*/
public static final int ActionBar_titleTextStyle = 5;
/** Attributes that can be used with a ActionBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBarLayout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
</table>
@see #ActionBarLayout_android_layout_gravity
*/
public static final int[] ActionBarLayout = {
0x010100b3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #ActionBarLayout} array.
@attr name android:layout_gravity
*/
public static final int ActionBarLayout_android_layout_gravity = 0;
/** Attributes that can be used with a ActionMenuItemView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMenuItemView_android_minWidth android:minWidth}</code></td><td></td></tr>
</table>
@see #ActionMenuItemView_android_minWidth
*/
public static final int[] ActionMenuItemView = {
0x0101013f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #ActionMenuItemView} array.
@attr name android:minWidth
*/
public static final int ActionMenuItemView_android_minWidth = 0;
/** Attributes that can be used with a ActionMenuView.
*/
public static final int[] ActionMenuView = {
};
/** Attributes that can be used with a ActionMode.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMode_background com.example.android.matthewjustjava:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit com.example.android.matthewjustjava:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout com.example.android.matthewjustjava:closeItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_height com.example.android.matthewjustjava:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle com.example.android.matthewjustjava:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle com.example.android.matthewjustjava:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionMode_background
@see #ActionMode_backgroundSplit
@see #ActionMode_closeItemLayout
@see #ActionMode_height
@see #ActionMode_subtitleTextStyle
@see #ActionMode_titleTextStyle
*/
public static final int[] ActionMode = {
0x7f010001, 0x7f010007, 0x7f010008, 0x7f01000c,
0x7f01000e, 0x7f01001c
};
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#background}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:background
*/
public static final int ActionMode_background = 3;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionMode} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.android.matthewjustjava:backgroundSplit
*/
public static final int ActionMode_backgroundSplit = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#closeItemLayout}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:closeItemLayout
*/
public static final int ActionMode_closeItemLayout = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#height}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:height
*/
public static final int ActionMode_height = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:subtitleTextStyle
*/
public static final int ActionMode_subtitleTextStyle = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:titleTextStyle
*/
public static final int ActionMode_titleTextStyle = 1;
/** Attributes that can be used with a ActivityChooserView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActivityChooserView_expandActivityOverflowButtonDrawable com.example.android.matthewjustjava:expandActivityOverflowButtonDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #ActivityChooserView_initialActivityCount com.example.android.matthewjustjava:initialActivityCount}</code></td><td></td></tr>
</table>
@see #ActivityChooserView_expandActivityOverflowButtonDrawable
@see #ActivityChooserView_initialActivityCount
*/
public static final int[] ActivityChooserView = {
0x7f01001d, 0x7f01001e
};
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#expandActivityOverflowButtonDrawable}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:expandActivityOverflowButtonDrawable
*/
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#initialActivityCount}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:initialActivityCount
*/
public static final int ActivityChooserView_initialActivityCount = 0;
/** Attributes that can be used with a AlertDialog.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AlertDialog_android_layout android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_buttonPanelSideLayout com.example.android.matthewjustjava:buttonPanelSideLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listItemLayout com.example.android.matthewjustjava:listItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listLayout com.example.android.matthewjustjava:listLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_multiChoiceItemLayout com.example.android.matthewjustjava:multiChoiceItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_singleChoiceItemLayout com.example.android.matthewjustjava:singleChoiceItemLayout}</code></td><td></td></tr>
</table>
@see #AlertDialog_android_layout
@see #AlertDialog_buttonPanelSideLayout
@see #AlertDialog_listItemLayout
@see #AlertDialog_listLayout
@see #AlertDialog_multiChoiceItemLayout
@see #AlertDialog_singleChoiceItemLayout
*/
public static final int[] AlertDialog = {
0x010100f2, 0x7f01001f, 0x7f010020, 0x7f010021,
0x7f010022, 0x7f010023
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #AlertDialog} array.
@attr name android:layout
*/
public static final int AlertDialog_android_layout = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonPanelSideLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonPanelSideLayout
*/
public static final int AlertDialog_buttonPanelSideLayout = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:listItemLayout
*/
public static final int AlertDialog_listItemLayout = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:listLayout
*/
public static final int AlertDialog_listLayout = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#multiChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:multiChoiceItemLayout
*/
public static final int AlertDialog_multiChoiceItemLayout = 3;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#singleChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:singleChoiceItemLayout
*/
public static final int AlertDialog_singleChoiceItemLayout = 4;
/** Attributes that can be used with a AppCompatTextView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatTextView_android_textAppearance android:textAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextView_textAllCaps com.example.android.matthewjustjava:textAllCaps}</code></td><td></td></tr>
</table>
@see #AppCompatTextView_android_textAppearance
@see #AppCompatTextView_textAllCaps
*/
public static final int[] AppCompatTextView = {
0x01010034, 0x7f010024
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #AppCompatTextView} array.
@attr name android:textAppearance
*/
public static final int AppCompatTextView_android_textAppearance = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAllCaps}
attribute's value can be found in the {@link #AppCompatTextView} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name com.example.android.matthewjustjava:textAllCaps
*/
public static final int AppCompatTextView_textAllCaps = 1;
/** Attributes that can be used with a CompoundButton.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CompoundButton_android_button android:button}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTint com.example.android.matthewjustjava:buttonTint}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTintMode com.example.android.matthewjustjava:buttonTintMode}</code></td><td></td></tr>
</table>
@see #CompoundButton_android_button
@see #CompoundButton_buttonTint
@see #CompoundButton_buttonTintMode
*/
public static final int[] CompoundButton = {
0x01010107, 0x7f010025, 0x7f010026
};
/**
<p>This symbol is the offset where the {@link android.R.attr#button}
attribute's value can be found in the {@link #CompoundButton} array.
@attr name android:button
*/
public static final int CompoundButton_android_button = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonTint}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:buttonTint
*/
public static final int CompoundButton_buttonTint = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonTintMode}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.example.android.matthewjustjava:buttonTintMode
*/
public static final int CompoundButton_buttonTintMode = 2;
/** Attributes that can be used with a DrawerArrowToggle.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowHeadLength com.example.android.matthewjustjava:arrowHeadLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength com.example.android.matthewjustjava:arrowShaftLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_barLength com.example.android.matthewjustjava:barLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color com.example.android.matthewjustjava:color}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize com.example.android.matthewjustjava:drawableSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.example.android.matthewjustjava:gapBetweenBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars com.example.android.matthewjustjava:spinBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness com.example.android.matthewjustjava:thickness}</code></td><td></td></tr>
</table>
@see #DrawerArrowToggle_arrowHeadLength
@see #DrawerArrowToggle_arrowShaftLength
@see #DrawerArrowToggle_barLength
@see #DrawerArrowToggle_color
@see #DrawerArrowToggle_drawableSize
@see #DrawerArrowToggle_gapBetweenBars
@see #DrawerArrowToggle_spinBars
@see #DrawerArrowToggle_thickness
*/
public static final int[] DrawerArrowToggle = {
0x7f010027, 0x7f010028, 0x7f010029, 0x7f01002a,
0x7f01002b, 0x7f01002c, 0x7f01002d, 0x7f01002e
};
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#arrowHeadLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:arrowHeadLength
*/
public static final int DrawerArrowToggle_arrowHeadLength = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#arrowShaftLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:arrowShaftLength
*/
public static final int DrawerArrowToggle_arrowShaftLength = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#barLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:barLength
*/
public static final int DrawerArrowToggle_barLength = 6;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#color}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:color
*/
public static final int DrawerArrowToggle_color = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#drawableSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:drawableSize
*/
public static final int DrawerArrowToggle_drawableSize = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#gapBetweenBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:gapBetweenBars
*/
public static final int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#spinBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:spinBars
*/
public static final int DrawerArrowToggle_spinBars = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#thickness}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:thickness
*/
public static final int DrawerArrowToggle_thickness = 7;
/** Attributes that can be used with a LinearLayoutCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_divider com.example.android.matthewjustjava:divider}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.example.android.matthewjustjava:dividerPadding}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.example.android.matthewjustjava:measureWithLargestChild}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_showDividers com.example.android.matthewjustjava:showDividers}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_android_baselineAligned
@see #LinearLayoutCompat_android_baselineAlignedChildIndex
@see #LinearLayoutCompat_android_gravity
@see #LinearLayoutCompat_android_orientation
@see #LinearLayoutCompat_android_weightSum
@see #LinearLayoutCompat_divider
@see #LinearLayoutCompat_dividerPadding
@see #LinearLayoutCompat_measureWithLargestChild
@see #LinearLayoutCompat_showDividers
*/
public static final int[] LinearLayoutCompat = {
0x010100af, 0x010100c4, 0x01010126, 0x01010127,
0x01010128, 0x7f01000b, 0x7f01002f, 0x7f010030,
0x7f010031
};
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAligned}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAligned
*/
public static final int LinearLayoutCompat_android_baselineAligned = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAlignedChildIndex}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAlignedChildIndex
*/
public static final int LinearLayoutCompat_android_baselineAlignedChildIndex = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:gravity
*/
public static final int LinearLayoutCompat_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:orientation
*/
public static final int LinearLayoutCompat_android_orientation = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#weightSum}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:weightSum
*/
public static final int LinearLayoutCompat_android_weightSum = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#divider}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:divider
*/
public static final int LinearLayoutCompat_divider = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#dividerPadding}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:dividerPadding
*/
public static final int LinearLayoutCompat_dividerPadding = 8;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#measureWithLargestChild}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:measureWithLargestChild
*/
public static final int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#showDividers}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
@attr name com.example.android.matthewjustjava:showDividers
*/
public static final int LinearLayoutCompat_showDividers = 7;
/** Attributes that can be used with a LinearLayoutCompat_Layout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_height android:layout_height}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_weight android:layout_weight}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_Layout_android_layout_gravity
@see #LinearLayoutCompat_Layout_android_layout_height
@see #LinearLayoutCompat_Layout_android_layout_weight
@see #LinearLayoutCompat_Layout_android_layout_width
*/
public static final int[] LinearLayoutCompat_Layout = {
0x010100b3, 0x010100f4, 0x010100f5, 0x01010181
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_gravity
*/
public static final int LinearLayoutCompat_Layout_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_height}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_height
*/
public static final int LinearLayoutCompat_Layout_android_layout_height = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_weight}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_weight
*/
public static final int LinearLayoutCompat_Layout_android_layout_weight = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_width}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_width
*/
public static final int LinearLayoutCompat_Layout_android_layout_width = 1;
/** Attributes that can be used with a ListPopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr>
</table>
@see #ListPopupWindow_android_dropDownHorizontalOffset
@see #ListPopupWindow_android_dropDownVerticalOffset
*/
public static final int[] ListPopupWindow = {
0x010102ac, 0x010102ad
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownHorizontalOffset
*/
public static final int ListPopupWindow_android_dropDownHorizontalOffset = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownVerticalOffset
*/
public static final int ListPopupWindow_android_dropDownVerticalOffset = 1;
/** Attributes that can be used with a MenuGroup.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></td></tr>
</table>
@see #MenuGroup_android_checkableBehavior
@see #MenuGroup_android_enabled
@see #MenuGroup_android_id
@see #MenuGroup_android_menuCategory
@see #MenuGroup_android_orderInCategory
@see #MenuGroup_android_visible
*/
public static final int[] MenuGroup = {
0x0101000e, 0x010100d0, 0x01010194, 0x010101de,
0x010101df, 0x010101e0
};
/**
<p>This symbol is the offset where the {@link android.R.attr#checkableBehavior}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:checkableBehavior
*/
public static final int MenuGroup_android_checkableBehavior = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:enabled
*/
public static final int MenuGroup_android_enabled = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:id
*/
public static final int MenuGroup_android_id = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:menuCategory
*/
public static final int MenuGroup_android_menuCategory = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:orderInCategory
*/
public static final int MenuGroup_android_orderInCategory = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:visible
*/
public static final int MenuGroup_android_visible = 2;
/** Attributes that can be used with a MenuItem.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuItem_actionLayout com.example.android.matthewjustjava:actionLayout}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass com.example.android.matthewjustjava:actionProviderClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionViewClass com.example.android.matthewjustjava:actionViewClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_showAsAction com.example.android.matthewjustjava:showAsAction}</code></td><td></td></tr>
</table>
@see #MenuItem_actionLayout
@see #MenuItem_actionProviderClass
@see #MenuItem_actionViewClass
@see #MenuItem_android_alphabeticShortcut
@see #MenuItem_android_checkable
@see #MenuItem_android_checked
@see #MenuItem_android_enabled
@see #MenuItem_android_icon
@see #MenuItem_android_id
@see #MenuItem_android_menuCategory
@see #MenuItem_android_numericShortcut
@see #MenuItem_android_onClick
@see #MenuItem_android_orderInCategory
@see #MenuItem_android_title
@see #MenuItem_android_titleCondensed
@see #MenuItem_android_visible
@see #MenuItem_showAsAction
*/
public static final int[] MenuItem = {
0x01010002, 0x0101000e, 0x010100d0, 0x01010106,
0x01010194, 0x010101de, 0x010101df, 0x010101e1,
0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5,
0x0101026f, 0x7f010032, 0x7f010033, 0x7f010034,
0x7f010035
};
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionLayout}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionLayout
*/
public static final int MenuItem_actionLayout = 14;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionProviderClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:actionProviderClass
*/
public static final int MenuItem_actionProviderClass = 16;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionViewClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:actionViewClass
*/
public static final int MenuItem_actionViewClass = 15;
/**
<p>This symbol is the offset where the {@link android.R.attr#alphabeticShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:alphabeticShortcut
*/
public static final int MenuItem_android_alphabeticShortcut = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#checkable}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checkable
*/
public static final int MenuItem_android_checkable = 11;
/**
<p>This symbol is the offset where the {@link android.R.attr#checked}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checked
*/
public static final int MenuItem_android_checked = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:enabled
*/
public static final int MenuItem_android_enabled = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:icon
*/
public static final int MenuItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:id
*/
public static final int MenuItem_android_id = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:menuCategory
*/
public static final int MenuItem_android_menuCategory = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#numericShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:numericShortcut
*/
public static final int MenuItem_android_numericShortcut = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#onClick}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:onClick
*/
public static final int MenuItem_android_onClick = 12;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:orderInCategory
*/
public static final int MenuItem_android_orderInCategory = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#title}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:title
*/
public static final int MenuItem_android_title = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#titleCondensed}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:titleCondensed
*/
public static final int MenuItem_android_titleCondensed = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:visible
*/
public static final int MenuItem_android_visible = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#showAsAction}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
@attr name com.example.android.matthewjustjava:showAsAction
*/
public static final int MenuItem_showAsAction = 13;
/** Attributes that can be used with a MenuView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuView_android_headerBackground android:headerBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_preserveIconSpacing com.example.android.matthewjustjava:preserveIconSpacing}</code></td><td></td></tr>
</table>
@see #MenuView_android_headerBackground
@see #MenuView_android_horizontalDivider
@see #MenuView_android_itemBackground
@see #MenuView_android_itemIconDisabledAlpha
@see #MenuView_android_itemTextAppearance
@see #MenuView_android_verticalDivider
@see #MenuView_android_windowAnimationStyle
@see #MenuView_preserveIconSpacing
*/
public static final int[] MenuView = {
0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e,
0x0101012f, 0x01010130, 0x01010131, 0x7f010036
};
/**
<p>This symbol is the offset where the {@link android.R.attr#headerBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:headerBackground
*/
public static final int MenuView_android_headerBackground = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#horizontalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:horizontalDivider
*/
public static final int MenuView_android_horizontalDivider = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemBackground
*/
public static final int MenuView_android_itemBackground = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemIconDisabledAlpha}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemIconDisabledAlpha
*/
public static final int MenuView_android_itemIconDisabledAlpha = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemTextAppearance
*/
public static final int MenuView_android_itemTextAppearance = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#verticalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:verticalDivider
*/
public static final int MenuView_android_verticalDivider = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:windowAnimationStyle
*/
public static final int MenuView_android_windowAnimationStyle = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#preserveIconSpacing}
attribute's value can be found in the {@link #MenuView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:preserveIconSpacing
*/
public static final int MenuView_preserveIconSpacing = 7;
/** Attributes that can be used with a PopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindow_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #PopupWindow_overlapAnchor com.example.android.matthewjustjava:overlapAnchor}</code></td><td></td></tr>
</table>
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x7f010037
};
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #PopupWindow} array.
@attr name android:popupBackground
*/
public static final int PopupWindow_android_popupBackground = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#overlapAnchor}
attribute's value can be found in the {@link #PopupWindow} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:overlapAnchor
*/
public static final int PopupWindow_overlapAnchor = 1;
/** Attributes that can be used with a PopupWindowBackgroundState.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindowBackgroundState_state_above_anchor com.example.android.matthewjustjava:state_above_anchor}</code></td><td></td></tr>
</table>
@see #PopupWindowBackgroundState_state_above_anchor
*/
public static final int[] PopupWindowBackgroundState = {
0x7f010038
};
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#state_above_anchor}
attribute's value can be found in the {@link #PopupWindowBackgroundState} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:state_above_anchor
*/
public static final int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a SearchView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_closeIcon com.example.android.matthewjustjava:closeIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_commitIcon com.example.android.matthewjustjava:commitIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_defaultQueryHint com.example.android.matthewjustjava:defaultQueryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_goIcon com.example.android.matthewjustjava:goIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault com.example.android.matthewjustjava:iconifiedByDefault}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_layout com.example.android.matthewjustjava:layout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryBackground com.example.android.matthewjustjava:queryBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryHint com.example.android.matthewjustjava:queryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchHintIcon com.example.android.matthewjustjava:searchHintIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchIcon com.example.android.matthewjustjava:searchIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_submitBackground com.example.android.matthewjustjava:submitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout com.example.android.matthewjustjava:suggestionRowLayout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_voiceIcon com.example.android.matthewjustjava:voiceIcon}</code></td><td></td></tr>
</table>
@see #SearchView_android_focusable
@see #SearchView_android_imeOptions
@see #SearchView_android_inputType
@see #SearchView_android_maxWidth
@see #SearchView_closeIcon
@see #SearchView_commitIcon
@see #SearchView_defaultQueryHint
@see #SearchView_goIcon
@see #SearchView_iconifiedByDefault
@see #SearchView_layout
@see #SearchView_queryBackground
@see #SearchView_queryHint
@see #SearchView_searchHintIcon
@see #SearchView_searchIcon
@see #SearchView_submitBackground
@see #SearchView_suggestionRowLayout
@see #SearchView_voiceIcon
*/
public static final int[] SearchView = {
0x010100da, 0x0101011f, 0x01010220, 0x01010264,
0x7f010039, 0x7f01003a, 0x7f01003b, 0x7f01003c,
0x7f01003d, 0x7f01003e, 0x7f01003f, 0x7f010040,
0x7f010041, 0x7f010042, 0x7f010043, 0x7f010044,
0x7f010045
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:focusable
*/
public static final int SearchView_android_focusable = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#imeOptions}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:imeOptions
*/
public static final int SearchView_android_imeOptions = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#inputType}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:inputType
*/
public static final int SearchView_android_inputType = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:maxWidth
*/
public static final int SearchView_android_maxWidth = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#closeIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:closeIcon
*/
public static final int SearchView_closeIcon = 8;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#commitIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:commitIcon
*/
public static final int SearchView_commitIcon = 13;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#defaultQueryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:defaultQueryHint
*/
public static final int SearchView_defaultQueryHint = 7;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#goIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:goIcon
*/
public static final int SearchView_goIcon = 9;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#iconifiedByDefault}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:iconifiedByDefault
*/
public static final int SearchView_iconifiedByDefault = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#layout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:layout
*/
public static final int SearchView_layout = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#queryBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:queryBackground
*/
public static final int SearchView_queryBackground = 15;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#queryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:queryHint
*/
public static final int SearchView_queryHint = 6;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#searchHintIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:searchHintIcon
*/
public static final int SearchView_searchHintIcon = 11;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#searchIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:searchIcon
*/
public static final int SearchView_searchIcon = 10;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#submitBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:submitBackground
*/
public static final int SearchView_submitBackground = 16;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#suggestionRowLayout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:suggestionRowLayout
*/
public static final int SearchView_suggestionRowLayout = 14;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#voiceIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:voiceIcon
*/
public static final int SearchView_voiceIcon = 12;
/** Attributes that can be used with a Spinner.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_prompt android:prompt}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_popupTheme com.example.android.matthewjustjava:popupTheme}</code></td><td></td></tr>
</table>
@see #Spinner_android_dropDownWidth
@see #Spinner_android_popupBackground
@see #Spinner_android_prompt
@see #Spinner_popupTheme
*/
public static final int[] Spinner = {
0x01010176, 0x0101017b, 0x01010262, 0x7f01001b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownWidth}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownWidth
*/
public static final int Spinner_android_dropDownWidth = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:popupBackground
*/
public static final int Spinner_android_popupBackground = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#prompt}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:prompt
*/
public static final int Spinner_android_prompt = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#popupTheme}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:popupTheme
*/
public static final int Spinner_popupTheme = 3;
/** Attributes that can be used with a SwitchCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SwitchCompat_android_textOff android:textOff}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_showText com.example.android.matthewjustjava:showText}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack com.example.android.matthewjustjava:splitTrack}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchMinWidth com.example.android.matthewjustjava:switchMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding com.example.android.matthewjustjava:switchPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance com.example.android.matthewjustjava:switchTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding com.example.android.matthewjustjava:thumbTextPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_track com.example.android.matthewjustjava:track}</code></td><td></td></tr>
</table>
@see #SwitchCompat_android_textOff
@see #SwitchCompat_android_textOn
@see #SwitchCompat_android_thumb
@see #SwitchCompat_showText
@see #SwitchCompat_splitTrack
@see #SwitchCompat_switchMinWidth
@see #SwitchCompat_switchPadding
@see #SwitchCompat_switchTextAppearance
@see #SwitchCompat_thumbTextPadding
@see #SwitchCompat_track
*/
public static final int[] SwitchCompat = {
0x01010124, 0x01010125, 0x01010142, 0x7f010046,
0x7f010047, 0x7f010048, 0x7f010049, 0x7f01004a,
0x7f01004b, 0x7f01004c
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textOff}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOff
*/
public static final int SwitchCompat_android_textOff = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textOn}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOn
*/
public static final int SwitchCompat_android_textOn = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#thumb}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:thumb
*/
public static final int SwitchCompat_android_thumb = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#showText}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:showText
*/
public static final int SwitchCompat_showText = 9;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#splitTrack}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:splitTrack
*/
public static final int SwitchCompat_splitTrack = 8;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#switchMinWidth}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:switchMinWidth
*/
public static final int SwitchCompat_switchMinWidth = 6;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#switchPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:switchPadding
*/
public static final int SwitchCompat_switchPadding = 7;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#switchTextAppearance}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:switchTextAppearance
*/
public static final int SwitchCompat_switchTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#thumbTextPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:thumbTextPadding
*/
public static final int SwitchCompat_thumbTextPadding = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#track}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:track
*/
public static final int SwitchCompat_track = 3;
/** Attributes that can be used with a TextAppearance.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TextAppearance_android_textColor android:textColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textSize android:textSize}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textStyle android:textStyle}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_typeface android:typeface}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_textAllCaps com.example.android.matthewjustjava:textAllCaps}</code></td><td></td></tr>
</table>
@see #TextAppearance_android_textColor
@see #TextAppearance_android_textSize
@see #TextAppearance_android_textStyle
@see #TextAppearance_android_typeface
@see #TextAppearance_textAllCaps
*/
public static final int[] TextAppearance = {
0x01010095, 0x01010096, 0x01010097, 0x01010098,
0x7f010024
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textColor
*/
public static final int TextAppearance_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textSize
*/
public static final int TextAppearance_android_textSize = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textStyle
*/
public static final int TextAppearance_android_textStyle = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#typeface}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:typeface
*/
public static final int TextAppearance_android_typeface = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAllCaps}
attribute's value can be found in the {@link #TextAppearance} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name com.example.android.matthewjustjava:textAllCaps
*/
public static final int TextAppearance_textAllCaps = 4;
/** Attributes that can be used with a Theme.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Theme_actionBarDivider com.example.android.matthewjustjava:actionBarDivider}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarItemBackground com.example.android.matthewjustjava:actionBarItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarPopupTheme com.example.android.matthewjustjava:actionBarPopupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarSize com.example.android.matthewjustjava:actionBarSize}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarSplitStyle com.example.android.matthewjustjava:actionBarSplitStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarStyle com.example.android.matthewjustjava:actionBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabBarStyle com.example.android.matthewjustjava:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabStyle com.example.android.matthewjustjava:actionBarTabStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabTextStyle com.example.android.matthewjustjava:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTheme com.example.android.matthewjustjava:actionBarTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarWidgetTheme com.example.android.matthewjustjava:actionBarWidgetTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionButtonStyle com.example.android.matthewjustjava:actionButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionDropDownStyle com.example.android.matthewjustjava:actionDropDownStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionMenuTextAppearance com.example.android.matthewjustjava:actionMenuTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionMenuTextColor com.example.android.matthewjustjava:actionMenuTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeBackground com.example.android.matthewjustjava:actionModeBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCloseButtonStyle com.example.android.matthewjustjava:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCloseDrawable com.example.android.matthewjustjava:actionModeCloseDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCopyDrawable com.example.android.matthewjustjava:actionModeCopyDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCutDrawable com.example.android.matthewjustjava:actionModeCutDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeFindDrawable com.example.android.matthewjustjava:actionModeFindDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModePasteDrawable com.example.android.matthewjustjava:actionModePasteDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModePopupWindowStyle com.example.android.matthewjustjava:actionModePopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeSelectAllDrawable com.example.android.matthewjustjava:actionModeSelectAllDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeShareDrawable com.example.android.matthewjustjava:actionModeShareDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeSplitBackground com.example.android.matthewjustjava:actionModeSplitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeStyle com.example.android.matthewjustjava:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeWebSearchDrawable com.example.android.matthewjustjava:actionModeWebSearchDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionOverflowButtonStyle com.example.android.matthewjustjava:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionOverflowMenuStyle com.example.android.matthewjustjava:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_activityChooserViewStyle com.example.android.matthewjustjava:activityChooserViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogButtonGroupStyle com.example.android.matthewjustjava:alertDialogButtonGroupStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogCenterButtons com.example.android.matthewjustjava:alertDialogCenterButtons}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogStyle com.example.android.matthewjustjava:alertDialogStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogTheme com.example.android.matthewjustjava:alertDialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_autoCompleteTextViewStyle com.example.android.matthewjustjava:autoCompleteTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_borderlessButtonStyle com.example.android.matthewjustjava:borderlessButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarButtonStyle com.example.android.matthewjustjava:buttonBarButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarNegativeButtonStyle com.example.android.matthewjustjava:buttonBarNegativeButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarNeutralButtonStyle com.example.android.matthewjustjava:buttonBarNeutralButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarPositiveButtonStyle com.example.android.matthewjustjava:buttonBarPositiveButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarStyle com.example.android.matthewjustjava:buttonBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonStyle com.example.android.matthewjustjava:buttonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonStyleSmall com.example.android.matthewjustjava:buttonStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_checkboxStyle com.example.android.matthewjustjava:checkboxStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_checkedTextViewStyle com.example.android.matthewjustjava:checkedTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorAccent com.example.android.matthewjustjava:colorAccent}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorButtonNormal com.example.android.matthewjustjava:colorButtonNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlActivated com.example.android.matthewjustjava:colorControlActivated}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlHighlight com.example.android.matthewjustjava:colorControlHighlight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlNormal com.example.android.matthewjustjava:colorControlNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorPrimary com.example.android.matthewjustjava:colorPrimary}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorPrimaryDark com.example.android.matthewjustjava:colorPrimaryDark}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorSwitchThumbNormal com.example.android.matthewjustjava:colorSwitchThumbNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_controlBackground com.example.android.matthewjustjava:controlBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dialogPreferredPadding com.example.android.matthewjustjava:dialogPreferredPadding}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dialogTheme com.example.android.matthewjustjava:dialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dividerHorizontal com.example.android.matthewjustjava:dividerHorizontal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dividerVertical com.example.android.matthewjustjava:dividerVertical}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dropDownListViewStyle com.example.android.matthewjustjava:dropDownListViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dropdownListPreferredItemHeight com.example.android.matthewjustjava:dropdownListPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextBackground com.example.android.matthewjustjava:editTextBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextColor com.example.android.matthewjustjava:editTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextStyle com.example.android.matthewjustjava:editTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_homeAsUpIndicator com.example.android.matthewjustjava:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listChoiceBackgroundIndicator com.example.android.matthewjustjava:listChoiceBackgroundIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listDividerAlertDialog com.example.android.matthewjustjava:listDividerAlertDialog}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPopupWindowStyle com.example.android.matthewjustjava:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeight com.example.android.matthewjustjava:listPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightLarge com.example.android.matthewjustjava:listPreferredItemHeightLarge}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightSmall com.example.android.matthewjustjava:listPreferredItemHeightSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingLeft com.example.android.matthewjustjava:listPreferredItemPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingRight com.example.android.matthewjustjava:listPreferredItemPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelBackground com.example.android.matthewjustjava:panelBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelMenuListTheme com.example.android.matthewjustjava:panelMenuListTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelMenuListWidth com.example.android.matthewjustjava:panelMenuListWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_popupMenuStyle com.example.android.matthewjustjava:popupMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_popupWindowStyle com.example.android.matthewjustjava:popupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_radioButtonStyle com.example.android.matthewjustjava:radioButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_ratingBarStyle com.example.android.matthewjustjava:ratingBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_searchViewStyle com.example.android.matthewjustjava:searchViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_selectableItemBackground com.example.android.matthewjustjava:selectableItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_selectableItemBackgroundBorderless com.example.android.matthewjustjava:selectableItemBackgroundBorderless}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_spinnerDropDownItemStyle com.example.android.matthewjustjava:spinnerDropDownItemStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_spinnerStyle com.example.android.matthewjustjava:spinnerStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_switchStyle com.example.android.matthewjustjava:switchStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceLargePopupMenu com.example.android.matthewjustjava:textAppearanceLargePopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItem com.example.android.matthewjustjava:textAppearanceListItem}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItemSmall com.example.android.matthewjustjava:textAppearanceListItemSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultSubtitle com.example.android.matthewjustjava:textAppearanceSearchResultSubtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultTitle com.example.android.matthewjustjava:textAppearanceSearchResultTitle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSmallPopupMenu com.example.android.matthewjustjava:textAppearanceSmallPopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textColorAlertDialogListItem com.example.android.matthewjustjava:textColorAlertDialogListItem}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textColorSearchUrl com.example.android.matthewjustjava:textColorSearchUrl}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_toolbarNavigationButtonStyle com.example.android.matthewjustjava:toolbarNavigationButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_toolbarStyle com.example.android.matthewjustjava:toolbarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionBar com.example.android.matthewjustjava:windowActionBar}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionBarOverlay com.example.android.matthewjustjava:windowActionBarOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionModeOverlay com.example.android.matthewjustjava:windowActionModeOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedHeightMajor com.example.android.matthewjustjava:windowFixedHeightMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedHeightMinor com.example.android.matthewjustjava:windowFixedHeightMinor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedWidthMajor com.example.android.matthewjustjava:windowFixedWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedWidthMinor com.example.android.matthewjustjava:windowFixedWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowMinWidthMajor com.example.android.matthewjustjava:windowMinWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowMinWidthMinor com.example.android.matthewjustjava:windowMinWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowNoTitle com.example.android.matthewjustjava:windowNoTitle}</code></td><td></td></tr>
</table>
@see #Theme_actionBarDivider
@see #Theme_actionBarItemBackground
@see #Theme_actionBarPopupTheme
@see #Theme_actionBarSize
@see #Theme_actionBarSplitStyle
@see #Theme_actionBarStyle
@see #Theme_actionBarTabBarStyle
@see #Theme_actionBarTabStyle
@see #Theme_actionBarTabTextStyle
@see #Theme_actionBarTheme
@see #Theme_actionBarWidgetTheme
@see #Theme_actionButtonStyle
@see #Theme_actionDropDownStyle
@see #Theme_actionMenuTextAppearance
@see #Theme_actionMenuTextColor
@see #Theme_actionModeBackground
@see #Theme_actionModeCloseButtonStyle
@see #Theme_actionModeCloseDrawable
@see #Theme_actionModeCopyDrawable
@see #Theme_actionModeCutDrawable
@see #Theme_actionModeFindDrawable
@see #Theme_actionModePasteDrawable
@see #Theme_actionModePopupWindowStyle
@see #Theme_actionModeSelectAllDrawable
@see #Theme_actionModeShareDrawable
@see #Theme_actionModeSplitBackground
@see #Theme_actionModeStyle
@see #Theme_actionModeWebSearchDrawable
@see #Theme_actionOverflowButtonStyle
@see #Theme_actionOverflowMenuStyle
@see #Theme_activityChooserViewStyle
@see #Theme_alertDialogButtonGroupStyle
@see #Theme_alertDialogCenterButtons
@see #Theme_alertDialogStyle
@see #Theme_alertDialogTheme
@see #Theme_android_windowAnimationStyle
@see #Theme_android_windowIsFloating
@see #Theme_autoCompleteTextViewStyle
@see #Theme_borderlessButtonStyle
@see #Theme_buttonBarButtonStyle
@see #Theme_buttonBarNegativeButtonStyle
@see #Theme_buttonBarNeutralButtonStyle
@see #Theme_buttonBarPositiveButtonStyle
@see #Theme_buttonBarStyle
@see #Theme_buttonStyle
@see #Theme_buttonStyleSmall
@see #Theme_checkboxStyle
@see #Theme_checkedTextViewStyle
@see #Theme_colorAccent
@see #Theme_colorButtonNormal
@see #Theme_colorControlActivated
@see #Theme_colorControlHighlight
@see #Theme_colorControlNormal
@see #Theme_colorPrimary
@see #Theme_colorPrimaryDark
@see #Theme_colorSwitchThumbNormal
@see #Theme_controlBackground
@see #Theme_dialogPreferredPadding
@see #Theme_dialogTheme
@see #Theme_dividerHorizontal
@see #Theme_dividerVertical
@see #Theme_dropDownListViewStyle
@see #Theme_dropdownListPreferredItemHeight
@see #Theme_editTextBackground
@see #Theme_editTextColor
@see #Theme_editTextStyle
@see #Theme_homeAsUpIndicator
@see #Theme_listChoiceBackgroundIndicator
@see #Theme_listDividerAlertDialog
@see #Theme_listPopupWindowStyle
@see #Theme_listPreferredItemHeight
@see #Theme_listPreferredItemHeightLarge
@see #Theme_listPreferredItemHeightSmall
@see #Theme_listPreferredItemPaddingLeft
@see #Theme_listPreferredItemPaddingRight
@see #Theme_panelBackground
@see #Theme_panelMenuListTheme
@see #Theme_panelMenuListWidth
@see #Theme_popupMenuStyle
@see #Theme_popupWindowStyle
@see #Theme_radioButtonStyle
@see #Theme_ratingBarStyle
@see #Theme_searchViewStyle
@see #Theme_selectableItemBackground
@see #Theme_selectableItemBackgroundBorderless
@see #Theme_spinnerDropDownItemStyle
@see #Theme_spinnerStyle
@see #Theme_switchStyle
@see #Theme_textAppearanceLargePopupMenu
@see #Theme_textAppearanceListItem
@see #Theme_textAppearanceListItemSmall
@see #Theme_textAppearanceSearchResultSubtitle
@see #Theme_textAppearanceSearchResultTitle
@see #Theme_textAppearanceSmallPopupMenu
@see #Theme_textColorAlertDialogListItem
@see #Theme_textColorSearchUrl
@see #Theme_toolbarNavigationButtonStyle
@see #Theme_toolbarStyle
@see #Theme_windowActionBar
@see #Theme_windowActionBarOverlay
@see #Theme_windowActionModeOverlay
@see #Theme_windowFixedHeightMajor
@see #Theme_windowFixedHeightMinor
@see #Theme_windowFixedWidthMajor
@see #Theme_windowFixedWidthMinor
@see #Theme_windowMinWidthMajor
@see #Theme_windowMinWidthMinor
@see #Theme_windowNoTitle
*/
public static final int[] Theme = {
0x01010057, 0x010100ae, 0x7f01004d, 0x7f01004e,
0x7f01004f, 0x7f010050, 0x7f010051, 0x7f010052,
0x7f010053, 0x7f010054, 0x7f010055, 0x7f010056,
0x7f010057, 0x7f010058, 0x7f010059, 0x7f01005a,
0x7f01005b, 0x7f01005c, 0x7f01005d, 0x7f01005e,
0x7f01005f, 0x7f010060, 0x7f010061, 0x7f010062,
0x7f010063, 0x7f010064, 0x7f010065, 0x7f010066,
0x7f010067, 0x7f010068, 0x7f010069, 0x7f01006a,
0x7f01006b, 0x7f01006c, 0x7f01006d, 0x7f01006e,
0x7f01006f, 0x7f010070, 0x7f010071, 0x7f010072,
0x7f010073, 0x7f010074, 0x7f010075, 0x7f010076,
0x7f010077, 0x7f010078, 0x7f010079, 0x7f01007a,
0x7f01007b, 0x7f01007c, 0x7f01007d, 0x7f01007e,
0x7f01007f, 0x7f010080, 0x7f010081, 0x7f010082,
0x7f010083, 0x7f010084, 0x7f010085, 0x7f010086,
0x7f010087, 0x7f010088, 0x7f010089, 0x7f01008a,
0x7f01008b, 0x7f01008c, 0x7f01008d, 0x7f01008e,
0x7f01008f, 0x7f010090, 0x7f010091, 0x7f010092,
0x7f010093, 0x7f010094, 0x7f010095, 0x7f010096,
0x7f010097, 0x7f010098, 0x7f010099, 0x7f01009a,
0x7f01009b, 0x7f01009c, 0x7f01009d, 0x7f01009e,
0x7f01009f, 0x7f0100a0, 0x7f0100a1, 0x7f0100a2,
0x7f0100a3, 0x7f0100a4, 0x7f0100a5, 0x7f0100a6,
0x7f0100a7, 0x7f0100a8, 0x7f0100a9, 0x7f0100aa,
0x7f0100ab, 0x7f0100ac, 0x7f0100ad, 0x7f0100ae,
0x7f0100af, 0x7f0100b0, 0x7f0100b1, 0x7f0100b2,
0x7f0100b3, 0x7f0100b4, 0x7f0100b5, 0x7f0100b6
};
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarDivider}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarDivider
*/
public static final int Theme_actionBarDivider = 23;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarItemBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarItemBackground
*/
public static final int Theme_actionBarItemBackground = 24;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarPopupTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarPopupTheme
*/
public static final int Theme_actionBarPopupTheme = 17;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarSize}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
@attr name com.example.android.matthewjustjava:actionBarSize
*/
public static final int Theme_actionBarSize = 22;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarSplitStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarSplitStyle
*/
public static final int Theme_actionBarSplitStyle = 19;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarStyle
*/
public static final int Theme_actionBarStyle = 18;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarTabBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarTabBarStyle
*/
public static final int Theme_actionBarTabBarStyle = 13;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarTabStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarTabStyle
*/
public static final int Theme_actionBarTabStyle = 12;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarTabTextStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarTabTextStyle
*/
public static final int Theme_actionBarTabTextStyle = 14;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarTheme
*/
public static final int Theme_actionBarTheme = 20;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionBarWidgetTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionBarWidgetTheme
*/
public static final int Theme_actionBarWidgetTheme = 21;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionButtonStyle
*/
public static final int Theme_actionButtonStyle = 49;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionDropDownStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionDropDownStyle
*/
public static final int Theme_actionDropDownStyle = 45;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionMenuTextAppearance}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionMenuTextAppearance
*/
public static final int Theme_actionMenuTextAppearance = 25;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionMenuTextColor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.android.matthewjustjava:actionMenuTextColor
*/
public static final int Theme_actionMenuTextColor = 26;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeBackground
*/
public static final int Theme_actionModeBackground = 29;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeCloseButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeCloseButtonStyle
*/
public static final int Theme_actionModeCloseButtonStyle = 28;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeCloseDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeCloseDrawable
*/
public static final int Theme_actionModeCloseDrawable = 31;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeCopyDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeCopyDrawable
*/
public static final int Theme_actionModeCopyDrawable = 33;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeCutDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeCutDrawable
*/
public static final int Theme_actionModeCutDrawable = 32;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeFindDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeFindDrawable
*/
public static final int Theme_actionModeFindDrawable = 37;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModePasteDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModePasteDrawable
*/
public static final int Theme_actionModePasteDrawable = 34;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModePopupWindowStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModePopupWindowStyle
*/
public static final int Theme_actionModePopupWindowStyle = 39;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeSelectAllDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeSelectAllDrawable
*/
public static final int Theme_actionModeSelectAllDrawable = 35;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeShareDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeShareDrawable
*/
public static final int Theme_actionModeShareDrawable = 36;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeSplitBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeSplitBackground
*/
public static final int Theme_actionModeSplitBackground = 30;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeStyle
*/
public static final int Theme_actionModeStyle = 27;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionModeWebSearchDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionModeWebSearchDrawable
*/
public static final int Theme_actionModeWebSearchDrawable = 38;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionOverflowButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionOverflowButtonStyle
*/
public static final int Theme_actionOverflowButtonStyle = 15;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#actionOverflowMenuStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:actionOverflowMenuStyle
*/
public static final int Theme_actionOverflowMenuStyle = 16;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#activityChooserViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:activityChooserViewStyle
*/
public static final int Theme_activityChooserViewStyle = 57;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#alertDialogButtonGroupStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:alertDialogButtonGroupStyle
*/
public static final int Theme_alertDialogButtonGroupStyle = 91;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#alertDialogCenterButtons}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:alertDialogCenterButtons
*/
public static final int Theme_alertDialogCenterButtons = 92;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#alertDialogStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:alertDialogStyle
*/
public static final int Theme_alertDialogStyle = 90;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#alertDialogTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:alertDialogTheme
*/
public static final int Theme_alertDialogTheme = 93;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #Theme} array.
@attr name android:windowAnimationStyle
*/
public static final int Theme_android_windowAnimationStyle = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowIsFloating}
attribute's value can be found in the {@link #Theme} array.
@attr name android:windowIsFloating
*/
public static final int Theme_android_windowIsFloating = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#autoCompleteTextViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:autoCompleteTextViewStyle
*/
public static final int Theme_autoCompleteTextViewStyle = 98;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#borderlessButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:borderlessButtonStyle
*/
public static final int Theme_borderlessButtonStyle = 54;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonBarButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonBarButtonStyle
*/
public static final int Theme_buttonBarButtonStyle = 51;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonBarNegativeButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonBarNegativeButtonStyle
*/
public static final int Theme_buttonBarNegativeButtonStyle = 96;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonBarNeutralButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonBarNeutralButtonStyle
*/
public static final int Theme_buttonBarNeutralButtonStyle = 97;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonBarPositiveButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonBarPositiveButtonStyle
*/
public static final int Theme_buttonBarPositiveButtonStyle = 95;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonBarStyle
*/
public static final int Theme_buttonBarStyle = 50;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonStyle
*/
public static final int Theme_buttonStyle = 99;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#buttonStyleSmall}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:buttonStyleSmall
*/
public static final int Theme_buttonStyleSmall = 100;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#checkboxStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:checkboxStyle
*/
public static final int Theme_checkboxStyle = 101;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#checkedTextViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:checkedTextViewStyle
*/
public static final int Theme_checkedTextViewStyle = 102;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorAccent}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorAccent
*/
public static final int Theme_colorAccent = 83;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorButtonNormal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorButtonNormal
*/
public static final int Theme_colorButtonNormal = 87;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorControlActivated}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorControlActivated
*/
public static final int Theme_colorControlActivated = 85;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorControlHighlight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorControlHighlight
*/
public static final int Theme_colorControlHighlight = 86;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorControlNormal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorControlNormal
*/
public static final int Theme_colorControlNormal = 84;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorPrimary}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorPrimary
*/
public static final int Theme_colorPrimary = 81;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorPrimaryDark}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorPrimaryDark
*/
public static final int Theme_colorPrimaryDark = 82;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#colorSwitchThumbNormal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:colorSwitchThumbNormal
*/
public static final int Theme_colorSwitchThumbNormal = 88;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#controlBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:controlBackground
*/
public static final int Theme_controlBackground = 89;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#dialogPreferredPadding}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:dialogPreferredPadding
*/
public static final int Theme_dialogPreferredPadding = 43;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#dialogTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:dialogTheme
*/
public static final int Theme_dialogTheme = 42;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#dividerHorizontal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:dividerHorizontal
*/
public static final int Theme_dividerHorizontal = 56;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#dividerVertical}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:dividerVertical
*/
public static final int Theme_dividerVertical = 55;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#dropDownListViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:dropDownListViewStyle
*/
public static final int Theme_dropDownListViewStyle = 73;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#dropdownListPreferredItemHeight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:dropdownListPreferredItemHeight
*/
public static final int Theme_dropdownListPreferredItemHeight = 46;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#editTextBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:editTextBackground
*/
public static final int Theme_editTextBackground = 63;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#editTextColor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.android.matthewjustjava:editTextColor
*/
public static final int Theme_editTextColor = 62;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#editTextStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:editTextStyle
*/
public static final int Theme_editTextStyle = 103;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:homeAsUpIndicator
*/
public static final int Theme_homeAsUpIndicator = 48;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listChoiceBackgroundIndicator}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:listChoiceBackgroundIndicator
*/
public static final int Theme_listChoiceBackgroundIndicator = 80;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listDividerAlertDialog}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:listDividerAlertDialog
*/
public static final int Theme_listDividerAlertDialog = 44;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listPopupWindowStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:listPopupWindowStyle
*/
public static final int Theme_listPopupWindowStyle = 74;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listPreferredItemHeight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:listPreferredItemHeight
*/
public static final int Theme_listPreferredItemHeight = 68;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listPreferredItemHeightLarge}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:listPreferredItemHeightLarge
*/
public static final int Theme_listPreferredItemHeightLarge = 70;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listPreferredItemHeightSmall}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:listPreferredItemHeightSmall
*/
public static final int Theme_listPreferredItemHeightSmall = 69;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listPreferredItemPaddingLeft}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:listPreferredItemPaddingLeft
*/
public static final int Theme_listPreferredItemPaddingLeft = 71;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#listPreferredItemPaddingRight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:listPreferredItemPaddingRight
*/
public static final int Theme_listPreferredItemPaddingRight = 72;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#panelBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:panelBackground
*/
public static final int Theme_panelBackground = 77;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#panelMenuListTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:panelMenuListTheme
*/
public static final int Theme_panelMenuListTheme = 79;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#panelMenuListWidth}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:panelMenuListWidth
*/
public static final int Theme_panelMenuListWidth = 78;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#popupMenuStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:popupMenuStyle
*/
public static final int Theme_popupMenuStyle = 60;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#popupWindowStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:popupWindowStyle
*/
public static final int Theme_popupWindowStyle = 61;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#radioButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:radioButtonStyle
*/
public static final int Theme_radioButtonStyle = 104;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#ratingBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:ratingBarStyle
*/
public static final int Theme_ratingBarStyle = 105;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#searchViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:searchViewStyle
*/
public static final int Theme_searchViewStyle = 67;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#selectableItemBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:selectableItemBackground
*/
public static final int Theme_selectableItemBackground = 52;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#selectableItemBackgroundBorderless}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:selectableItemBackgroundBorderless
*/
public static final int Theme_selectableItemBackgroundBorderless = 53;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#spinnerDropDownItemStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:spinnerDropDownItemStyle
*/
public static final int Theme_spinnerDropDownItemStyle = 47;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#spinnerStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:spinnerStyle
*/
public static final int Theme_spinnerStyle = 106;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#switchStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:switchStyle
*/
public static final int Theme_switchStyle = 107;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAppearanceLargePopupMenu}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:textAppearanceLargePopupMenu
*/
public static final int Theme_textAppearanceLargePopupMenu = 40;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAppearanceListItem}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:textAppearanceListItem
*/
public static final int Theme_textAppearanceListItem = 75;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAppearanceListItemSmall}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:textAppearanceListItemSmall
*/
public static final int Theme_textAppearanceListItemSmall = 76;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAppearanceSearchResultSubtitle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:textAppearanceSearchResultSubtitle
*/
public static final int Theme_textAppearanceSearchResultSubtitle = 65;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAppearanceSearchResultTitle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:textAppearanceSearchResultTitle
*/
public static final int Theme_textAppearanceSearchResultTitle = 64;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textAppearanceSmallPopupMenu}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:textAppearanceSmallPopupMenu
*/
public static final int Theme_textAppearanceSmallPopupMenu = 41;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textColorAlertDialogListItem}
attribute's value can be found in the {@link #Theme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.android.matthewjustjava:textColorAlertDialogListItem
*/
public static final int Theme_textColorAlertDialogListItem = 94;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#textColorSearchUrl}
attribute's value can be found in the {@link #Theme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.android.matthewjustjava:textColorSearchUrl
*/
public static final int Theme_textColorSearchUrl = 66;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#toolbarNavigationButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:toolbarNavigationButtonStyle
*/
public static final int Theme_toolbarNavigationButtonStyle = 59;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#toolbarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:toolbarStyle
*/
public static final int Theme_toolbarStyle = 58;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowActionBar}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowActionBar
*/
public static final int Theme_windowActionBar = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowActionBarOverlay}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowActionBarOverlay
*/
public static final int Theme_windowActionBarOverlay = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowActionModeOverlay}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowActionModeOverlay
*/
public static final int Theme_windowActionModeOverlay = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowFixedHeightMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowFixedHeightMajor
*/
public static final int Theme_windowFixedHeightMajor = 9;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowFixedHeightMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowFixedHeightMinor
*/
public static final int Theme_windowFixedHeightMinor = 7;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowFixedWidthMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowFixedWidthMajor
*/
public static final int Theme_windowFixedWidthMajor = 6;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowFixedWidthMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowFixedWidthMinor
*/
public static final int Theme_windowFixedWidthMinor = 8;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowMinWidthMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowMinWidthMajor
*/
public static final int Theme_windowMinWidthMajor = 10;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowMinWidthMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowMinWidthMinor
*/
public static final int Theme_windowMinWidthMinor = 11;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#windowNoTitle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:windowNoTitle
*/
public static final int Theme_windowNoTitle = 3;
/** Attributes that can be used with a Toolbar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseContentDescription com.example.android.matthewjustjava:collapseContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon com.example.android.matthewjustjava:collapseIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd com.example.android.matthewjustjava:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft com.example.android.matthewjustjava:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight com.example.android.matthewjustjava:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart com.example.android.matthewjustjava:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logo com.example.android.matthewjustjava:logo}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logoDescription com.example.android.matthewjustjava:logoDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight com.example.android.matthewjustjava:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription com.example.android.matthewjustjava:navigationContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationIcon com.example.android.matthewjustjava:navigationIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_popupTheme com.example.android.matthewjustjava:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitle com.example.android.matthewjustjava:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance com.example.android.matthewjustjava:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextColor com.example.android.matthewjustjava:subtitleTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_title com.example.android.matthewjustjava:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom com.example.android.matthewjustjava:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd com.example.android.matthewjustjava:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart com.example.android.matthewjustjava:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop com.example.android.matthewjustjava:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins com.example.android.matthewjustjava:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance com.example.android.matthewjustjava:titleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextColor com.example.android.matthewjustjava:titleTextColor}</code></td><td></td></tr>
</table>
@see #Toolbar_android_gravity
@see #Toolbar_android_minHeight
@see #Toolbar_collapseContentDescription
@see #Toolbar_collapseIcon
@see #Toolbar_contentInsetEnd
@see #Toolbar_contentInsetLeft
@see #Toolbar_contentInsetRight
@see #Toolbar_contentInsetStart
@see #Toolbar_logo
@see #Toolbar_logoDescription
@see #Toolbar_maxButtonHeight
@see #Toolbar_navigationContentDescription
@see #Toolbar_navigationIcon
@see #Toolbar_popupTheme
@see #Toolbar_subtitle
@see #Toolbar_subtitleTextAppearance
@see #Toolbar_subtitleTextColor
@see #Toolbar_title
@see #Toolbar_titleMarginBottom
@see #Toolbar_titleMarginEnd
@see #Toolbar_titleMarginStart
@see #Toolbar_titleMarginTop
@see #Toolbar_titleMargins
@see #Toolbar_titleTextAppearance
@see #Toolbar_titleTextColor
*/
public static final int[] Toolbar = {
0x010100af, 0x01010140, 0x7f010003, 0x7f010006,
0x7f01000a, 0x7f010016, 0x7f010017, 0x7f010018,
0x7f010019, 0x7f01001b, 0x7f0100b7, 0x7f0100b8,
0x7f0100b9, 0x7f0100ba, 0x7f0100bb, 0x7f0100bc,
0x7f0100bd, 0x7f0100be, 0x7f0100bf, 0x7f0100c0,
0x7f0100c1, 0x7f0100c2, 0x7f0100c3, 0x7f0100c4,
0x7f0100c5
};
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:gravity
*/
public static final int Toolbar_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:minHeight
*/
public static final int Toolbar_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#collapseContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:collapseContentDescription
*/
public static final int Toolbar_collapseContentDescription = 19;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#collapseIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:collapseIcon
*/
public static final int Toolbar_collapseIcon = 18;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetEnd
*/
public static final int Toolbar_contentInsetEnd = 6;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetLeft
*/
public static final int Toolbar_contentInsetLeft = 7;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetRight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetRight
*/
public static final int Toolbar_contentInsetRight = 8;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#contentInsetStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:contentInsetStart
*/
public static final int Toolbar_contentInsetStart = 5;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#logo}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:logo
*/
public static final int Toolbar_logo = 4;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#logoDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:logoDescription
*/
public static final int Toolbar_logoDescription = 22;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#maxButtonHeight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:maxButtonHeight
*/
public static final int Toolbar_maxButtonHeight = 17;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#navigationContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:navigationContentDescription
*/
public static final int Toolbar_navigationContentDescription = 21;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#navigationIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:navigationIcon
*/
public static final int Toolbar_navigationIcon = 20;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#popupTheme}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:popupTheme
*/
public static final int Toolbar_popupTheme = 9;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#subtitle}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:subtitle
*/
public static final int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#subtitleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:subtitleTextAppearance
*/
public static final int Toolbar_subtitleTextAppearance = 11;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#subtitleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:subtitleTextColor
*/
public static final int Toolbar_subtitleTextColor = 24;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#title}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:title
*/
public static final int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleMarginBottom}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:titleMarginBottom
*/
public static final int Toolbar_titleMarginBottom = 16;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleMarginEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:titleMarginEnd
*/
public static final int Toolbar_titleMarginEnd = 14;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleMarginStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:titleMarginStart
*/
public static final int Toolbar_titleMarginStart = 13;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleMarginTop}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:titleMarginTop
*/
public static final int Toolbar_titleMarginTop = 15;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleMargins}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:titleMargins
*/
public static final int Toolbar_titleMargins = 12;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:titleTextAppearance
*/
public static final int Toolbar_titleTextAppearance = 10;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#titleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:titleTextColor
*/
public static final int Toolbar_titleTextColor = 23;
/** Attributes that can be used with a View.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingEnd com.example.android.matthewjustjava:paddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingStart com.example.android.matthewjustjava:paddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #View_theme com.example.android.matthewjustjava:theme}</code></td><td></td></tr>
</table>
@see #View_android_focusable
@see #View_android_theme
@see #View_paddingEnd
@see #View_paddingStart
@see #View_theme
*/
public static final int[] View = {
0x01010000, 0x010100da, 0x7f0100c6, 0x7f0100c7,
0x7f0100c8
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #View} array.
@attr name android:focusable
*/
public static final int View_android_focusable = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#theme}
attribute's value can be found in the {@link #View} array.
@attr name android:theme
*/
public static final int View_android_theme = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#paddingEnd}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:paddingEnd
*/
public static final int View_paddingEnd = 3;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#paddingStart}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:paddingStart
*/
public static final int View_paddingStart = 2;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#theme}
attribute's value can be found in the {@link #View} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.android.matthewjustjava:theme
*/
public static final int View_theme = 4;
/** Attributes that can be used with a ViewBackgroundHelper.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewBackgroundHelper_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTint com.example.android.matthewjustjava:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode com.example.android.matthewjustjava:backgroundTintMode}</code></td><td></td></tr>
</table>
@see #ViewBackgroundHelper_android_background
@see #ViewBackgroundHelper_backgroundTint
@see #ViewBackgroundHelper_backgroundTintMode
*/
public static final int[] ViewBackgroundHelper = {
0x010100d4, 0x7f0100c9, 0x7f0100ca
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
@attr name android:background
*/
public static final int ViewBackgroundHelper_android_background = 0;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#backgroundTint}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.android.matthewjustjava:backgroundTint
*/
public static final int ViewBackgroundHelper_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link com.example.android.matthewjustjava.R.attr#backgroundTintMode}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.example.android.matthewjustjava:backgroundTintMode
*/
public static final int ViewBackgroundHelper_backgroundTintMode = 2;
/** Attributes that can be used with a ViewStubCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></td></tr>
</table>
@see #ViewStubCompat_android_id
@see #ViewStubCompat_android_inflatedId
@see #ViewStubCompat_android_layout
*/
public static final int[] ViewStubCompat = {
0x010100d0, 0x010100f2, 0x010100f3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:id
*/
public static final int ViewStubCompat_android_id = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#inflatedId}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:inflatedId
*/
public static final int ViewStubCompat_android_inflatedId = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:layout
*/
public static final int ViewStubCompat_android_layout = 1;
};
}
|
[
"mv1700@gmailcom"
] |
mv1700@gmailcom
|
79c05dac441d1ee80a9520f49e6ac98cb1db0fbf
|
3adff95369515e42aa6a7822a2f57afa7ccf00d9
|
/src/main/resources/archetype-resources/src/main/java/launch/TomcatEmbeddedBootstrap.java
|
26f0674a9004e72ff76974fcdc720083a69c8e03
|
[] |
no_license
|
Johnny850807/maven-tomcat-embedded-archetype
|
a2bdb8b5391e022e18184bb5fffa06e136c70c08
|
5368bf44826a924b94b8fcb825166cb076bf1d7e
|
refs/heads/master
| 2021-06-19T11:06:00.486849
| 2019-12-28T13:44:43
| 2019-12-28T13:44:43
| 205,090,405
| 1
| 0
| null | 2021-06-16T17:55:11
| 2019-08-29T05:52:31
|
Java
|
UTF-8
|
Java
| false
| false
| 1,760
|
java
|
package ${package}.launch;
import org.apache.catalina.LifecycleException;
import org.apache.catalina.WebResourceRoot;
import org.apache.catalina.core.StandardContext;
import org.apache.catalina.startup.Tomcat;
import org.apache.catalina.webresources.DirResourceSet;
import org.apache.catalina.webresources.StandardRoot;
import javax.servlet.ServletException;
import java.io.File;
public class TomcatEmbeddedBootstrap {
private static final String WEBAPP_DIR_PATH = "src/main/webapp";
private static final String PORT = "8080";
private static final String CLASS_PATH = "target/classes";
public static void main(String[] args) throws LifecycleException, ServletException {
Tomcat tomcat = new Tomcat();
//The port that we should run on can be set into an environment variable
//Look for that variable and default to 8080 if it isn't there.
String webPort = System.getenv("PORT");
if(webPort == null || webPort.isEmpty()) {
webPort = PORT;
}
tomcat.setPort(Integer.valueOf(webPort));
StandardContext ctx = (StandardContext) tomcat.addWebapp("", new File(WEBAPP_DIR_PATH).getAbsolutePath());
System.out.println("configuring app with basedir: " + new File("./" + WEBAPP_DIR_PATH).getAbsolutePath());
// Declare an alternative location for your "WEB-INF/classes" dir
// Servlet 3.0 annotation will work
WebResourceRoot resources = new StandardRoot(ctx);
resources.addPreResources(new DirResourceSet(resources, "/WEB-INF/classes",
CLASS_PATH, "/"));
ctx.setResources(resources);
tomcat.start();
System.out.println("The tomcat is started.");
tomcat.getServer().await();
}
}
|
[
"johnny850807@gmail.com"
] |
johnny850807@gmail.com
|
1b15033a16109798e6db2cf8a12094bdc1763875
|
97f94bf882096dd072f5680e0ce3ce6b1b904cac
|
/jadx-cli/app-release/sources/com/android/volley/toolbox/JsonArrayRequest.java
|
d1717bbc927b4f56906b48462d0bb01bbd1e8fb1
|
[
"Apache-2.0",
"BSD-3-Clause",
"LGPL-2.1-only",
"EPL-1.0",
"CC-BY-2.5",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] |
permissive
|
expensivecow/jadx
|
79666b16da41704562c16e897460e2cb064b939e
|
3d25dcd35adb3feb6fcd24e00ce2cee016618c19
|
refs/heads/master
| 2020-03-24T15:32:39.246593
| 2018-12-26T01:19:51
| 2018-12-26T01:19:51
| 142,793,647
| 0
| 0
|
Apache-2.0
| 2018-07-29T20:36:51
| 2018-07-29T20:36:51
| null |
UTF-8
|
Java
| false
| false
| 1,235
|
java
|
package com.android.volley.toolbox;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Response;
import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import org.json.JSONArray;
public class JsonArrayRequest extends JsonRequest<JSONArray> {
public JsonArrayRequest(String str, Listener<JSONArray> listener, ErrorListener errorListener) {
super(0, str, null, listener, errorListener);
}
public JsonArrayRequest(int i, String str, JSONArray jSONArray, Listener<JSONArray> listener, ErrorListener errorListener) {
super(i, str, jSONArray == null ? null : jSONArray.toString(), listener, errorListener);
}
protected Response<JSONArray> parseNetworkResponse(NetworkResponse networkResponse) {
try {
return Response.success(new JSONArray(new String(networkResponse.data, HttpHeaderParser.parseCharset(networkResponse.headers, "utf-8"))), HttpHeaderParser.parseCacheHeaders(networkResponse));
} catch (Throwable e) {
return Response.error(new ParseError(e));
} catch (Throwable e2) {
return Response.error(new ParseError(e2));
}
}
}
|
[
"michael.cao@alumni.ubc.ca"
] |
michael.cao@alumni.ubc.ca
|
994a9bcfc4d8467e55c5fc964b4eecf5656ca13b
|
6e28d6180ed803cb9465a08c7d354bb1bd7b80e9
|
/src/test/java/edina/geocrosswalk/service/DefaultFormatProviderServiceTest.java
|
f3318e2eebe1f9a45db254437efee44941426418
|
[] |
no_license
|
colingor/unlock-places-api
|
b93547e15927e0d722d14608ad074c78cd5c92a2
|
5607a257f5860a67f397f9a80acff8de5b08e357
|
refs/heads/master
| 2021-01-12T20:15:19.811564
| 2014-08-11T09:38:33
| 2014-08-11T09:38:33
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 5,032
|
java
|
package edina.geocrosswalk.service;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import java.io.StringReader;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import org.jdom.Document;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import org.junit.Before;
import org.junit.Test;
import org.postgis.Geometry;
import org.postgis.PGgeometry;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import edina.geocrosswalk.domain.Feature;
import edina.geocrosswalk.domain.FeatureType;
import edina.geocrosswalk.domain.Footprint;
import edina.geocrosswalk.domain.IFeature;
import edina.geocrosswalk.domain.IFeatureType;
import edina.geocrosswalk.domain.IFootprint;
import edina.geocrosswalk.service.plugins.GXWFormat;
import edina.geocrosswalk.service.plugins.IFormatProviderPlugin;
import edina.geocrosswalk.service.plugins.IFormatProviderPluginRegistry;
/**
* @author Brian O'Hare
* @version $Rev:$, $Date:$
*/
@ContextConfiguration(locations = { "classpath:spring/testPluginsContext.xml" })
public class DefaultFormatProviderServiceTest extends AbstractJUnit4SpringContextTests {
private DefaultFormatProviderService formatProviderService;
DefaultResult result;
Feature testFeature;
List<IFeature> testFeatures;
IFormatProviderPluginRegistry<IFormatProviderPlugin> registry;
String callback = null;
String key = null;
@SuppressWarnings("unchecked")
@Before
public void onSetUp() throws Exception {
formatProviderService = new DefaultFormatProviderService();
registry = (IFormatProviderPluginRegistry<IFormatProviderPlugin>) applicationContext.getBean("formatProviderPluginRegistry");
formatProviderService.setFormatPluginRegistry(registry);
result = new DefaultResult();
testFeature = new Feature();
testFeature.setIdentifier(8);
testFeature.setNameOptimised("durhamcounty");
testFeature.setName("Durham County");
testFeature.setGazetteer("Boundary-Line");
testFeature.setFeatureType("county");
testFeature.setXmin(new Double("-2.354266881942749"));
testFeature.setXmax(new Double("-1.2380768060684204"));
testFeature.setYmin(new Double("54.45132827758789"));
testFeature.setYmax(new Double("54.918609619140625"));
testFeatures = new LinkedList<IFeature>();
testFeatures.add(testFeature);
result.setFeatures(testFeatures);
result.setTotalResultsCount(100);
}
@Test
public void testGetFormatForFeatures() throws Exception {
assertNotNull(formatProviderService.getFormatPluginRegistry());
List<IFormatProviderPlugin> plugins = formatProviderService.getFormatPluginRegistry()
.getFormatProviderPlugins();
assertNotNull(plugins);
assertEquals(5, plugins.size());
String output = formatProviderService.getFormatForFeatures(result, GXWFormat.GXW, callback, key);
assertNotNull(output);
}
@Test
public void testGetContentTypeForFormat() {
String contentType = formatProviderService.getContentTypeForFormat(GXWFormat.GXW, callback);
assertEquals("text/xml;charset=utf-8", contentType);
}
@Test
public void testGetFormatForFootprint() throws Exception {
Footprint footprint = new Footprint();
PGgeometry geometry = new PGgeometry("POINT(6 10)");
footprint.setGeometry(geometry);
footprint.setIdentifier(8);
List<IFootprint> footprints = new ArrayList<IFootprint>();
footprints.add(footprint);
result.setFootprints(footprints);
String output = formatProviderService.getFormatForFootprint(result, GXWFormat.GXW, callback, key);
assertNotNull(output);
}
@Test
public void testGetFormatForFeatureTypes() throws Exception {
FeatureType featureType = new FeatureType();
featureType.setFeatureCode("BAABBLAAH");
featureType.setHierarchyLevel(2);
featureType.setName("TestFeature");
List<IFeatureType> featureTypes = new ArrayList<IFeatureType>();
featureTypes.add(featureType);
result.setFeatureTypes(featureTypes);
String output = formatProviderService.getFormatForFeatureTypes(result, GXWFormat.GXW, callback);
assertNotNull(output);
}
@Test
public void testGetFormatForDeepAttestation() throws Exception {
Document deepDocument = null;
String attestation = "<?xml version='1.0' encoding='UTF-8'?><attestations><attestation variantID='epns-deep-02-b-name-w665'>"
+ "<date begin='1242' end='1242' subtype='simple'>1242</date><source id='bu37' style=''>Fees</source><item>873</item></attestation></attestations>";
try {
deepDocument = new SAXBuilder().build(new StringReader(attestation));
} catch (JDOMException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
result.setDeepAttestations(deepDocument);
String output = formatProviderService.getFormatForDeepAttestation(result, GXWFormat.GXW, null);
assertNotNull(output);
}
}
|
[
"colin.gormley@ed.ac.uk"
] |
colin.gormley@ed.ac.uk
|
0813c2c3514b86e86725d0efc5c87fb39c05cb68
|
b30f5a4cd4745db12754f77e85231685c66059e4
|
/designPatterns/src/main/java/com/example/android/designpatterns/structural/adapter/GameClassReporter.java
|
d74f529c356e41f15d0a36d096509834c6a6face
|
[] |
no_license
|
rgreen88/SensorLibTest
|
8731163fd3f1d2c91ba254f67205d229405bcee3
|
a36d880442383e769dd8cd72fa7d83f5bb52005d
|
refs/heads/master
| 2021-04-15T15:27:06.993291
| 2018-03-25T20:17:35
| 2018-03-25T20:17:35
| 126,388,921
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 521
|
java
|
package com.example.android.designpatterns.structural.adapter;
/**
* Created by rynel on 3/24/2018.
*/
public class GameClassReporter extends GameReporter implements GameInfo{
@Override
public String getGameName() {
return gameName; //Game Reporter class object variable
}
@Override
public void setGameName(String gameName) {
}
@Override
public String getGameGenre() {
return gameGenre;
}
@Override
public void setGameGenre(String gameGenre) {
}
}
|
[
"rynelgreen@gmail.com"
] |
rynelgreen@gmail.com
|
ff81c9507e9c81845dd2ebe32132f6f2f09703c1
|
b14fc3eb2178203863054ffaef9fbc865363661e
|
/Compiler/src/fr/ambox/compiler/parser/nonTerminals/NtWhileStatement.java
|
fc6136e923e77ca2c30cf9f458a40e73d04e27f8
|
[] |
no_license
|
amm0nite/AmmoniteScript
|
f2842e97a9b6297429136a924df8603f81f48529
|
ce880ddf9de53052dfbfc2765da175cc927af7ef
|
refs/heads/master
| 2020-03-27T02:06:40.562024
| 2018-08-22T22:13:02
| 2018-08-22T22:13:02
| 145,767,436
| 2
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 691
|
java
|
package fr.ambox.compiler.parser.nonTerminals;
import fr.ambox.compiler.parser.Grammar;
import fr.ambox.compiler.parser.NonTerminal;
import fr.ambox.compiler.parser.Terminal;
import fr.ambox.lexer.TokenClassName;
public class NtWhileStatement extends NonTerminal {
@Override
public void defineProductions(Grammar grammar) {
this.newProduction()
.add(new Terminal(TokenClassName.KeywordWhile))
.add(grammar.nt("expression"))
.add(grammar.nt("block"));
}
@Override
public void defineTemplate(Grammar grammar) {
this.makeTemplate().call("blstart").child(1).call("blstop").allAfter(1).call("while");
}
}
|
[
"ammonite.myfox@gmail.com"
] |
ammonite.myfox@gmail.com
|
a4bc5adbb9a3d107a9e576464372ff29f04c842a
|
ac4b4f95c81567510825ed2dd11f998d11223b62
|
/src/gobblets/data/Piece.java
|
77fea1902d70685219c67c686e02fe8652c95570
|
[] |
no_license
|
Fo0xx/Gobblets-Gobblers-Java
|
13f4e71d60acc22a13c15c20b12e81a185433d48
|
3630ff028f5040f0687ff16329e9cc4d63e30129
|
refs/heads/master
| 2023-02-24T13:04:59.283192
| 2021-02-01T21:31:21
| 2021-02-01T21:31:21
| 335,089,127
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 376
|
java
|
package gobblets.data;
public class Piece {
private Taille tail;
private Couleur cou;
public Piece(Taille tail){
this.tail=tail;
}
public Taille getTaille(){
return this.tail;
}
public Couleur getCouleur(){
return this.cou;
}
public void setCouleur(Couleur cou){
this.cou=cou;
}
public boolean appartienA(Joueur j){
return j.getCouleur()==this.cou;
}
}
|
[
"21902424@etu.unicaen.fr"
] |
21902424@etu.unicaen.fr
|
4ea3e57dd010d5e48909e1510074f43a972358be
|
98d9e5fb6f7992bbeaf663dfe28729a22a9c9837
|
/CICLO_II/Componentes_Prácticos/sesion_11/App.java
|
9f7e7ae84a404a4d81c2208f28dfdba629d3d154
|
[] |
no_license
|
MISIONTIC-UN-2022/CICLO_II
|
b913f922ad7ae333c67cc04bd813b70e4657c760
|
40b2c1d4fa9efd97600874d4182a352f3b43d992
|
refs/heads/master
| 2023-07-20T10:46:54.484178
| 2021-08-25T23:34:45
| 2021-08-25T23:34:45
| 399,983,308
| 1
| 2
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 11,034
|
java
|
import java.util.Scanner;
public class App {
public static void main(String[] args) throws Exception {
Calzado[] productosC = new Calzado[100];
Prenda[] productosP = new Prenda[100];
Scanner leer = new Scanner(System.in);
System.out.println("Digite la cantidad de productos de calzado");
int nc = Integer.parseInt(leer.nextLine());
System.out.println("Digite la cantidad de productos de prendas");
int np = Integer.parseInt(leer.nextLine());
for(int i = 0; i < nc; i++){
System.out.println("Digite el codigo del producto de calzado: ");
int cod = Integer.parseInt(leer.nextLine());
System.out.println("Digite el precio de compra del producto: ");
int valor = Integer.parseInt(leer.nextLine());
System.out.println("Digite el precio de venta del producto: ");
int vVenta = Integer.parseInt(leer.nextLine());
System.out.println("Digite la cantidad en bodega del producto: ");
int cantB = Integer.parseInt(leer.nextLine());
System.out.println("Digite la cantidad minima requerida en bodega: ");
int cMin = Integer.parseInt(leer.nextLine());
System.out.println("Digite la cantidad maxima permitida en bodega: ");
int cMPer = Integer.parseInt(leer.nextLine());
System.out.println("Digite la descripcion del prodcuto: ");
String desc = leer.nextLine();
System.out.println("Digite la cantidad la talla del producto: ");
int talla = Integer.parseInt(leer.nextLine());
productosC[i] = new Calzado(cod, desc, valor, vVenta, cantB, cMin, cMPer, talla);
}
for(int i = 0; i < np; i++){
System.out.println("Digite el codigo del producto de prendas: ");
int cod = Integer.parseInt(leer.nextLine());
System.out.println("Digite el precio de compra del producto: ");
int valor = Integer.parseInt(leer.nextLine());
System.out.println("Digite el precio de venta del producto: ");
int vVenta = Integer.parseInt(leer.nextLine());
System.out.println("Digite la cantidad en bodega del producto: ");
int cantB = Integer.parseInt(leer.nextLine());
System.out.println("Digite la cantidad minima requerida en bodega: ");
int cMin = Integer.parseInt(leer.nextLine());
System.out.println("Digite la cantidad maxima permitida en bodega: ");
int cMPer = Integer.parseInt(leer.nextLine());
System.out.println("Digite la descripcion del prodcuto: ");
String desc = leer.nextLine();
System.out.println("Digite la talla del prodcuto: ");
String talla = leer.nextLine();
System.out.println("Digite 1 si se puede planchar el producto, 0 en caso contrario: ");
String pla = leer.nextLine();
if(pla.equalsIgnoreCase("1")){
productosP[i] = new Prenda(cod, desc, valor, vVenta, cantB, cMin, cMPer, talla, true);
}else{
productosP[i] = new Prenda(cod, desc, valor, vVenta, cantB, cMin, cMPer, talla, false);
}
}
/*
1) Verificar productos a pedir: recorrer los vectores de productos y arrojar una alerta en caso
tal se deba solicitar el pedido al proveedor.
2) Calzado con mayor cantidad de unidades: indicar cuál es el código del producto que tiene mayor
cantidad de unidades en bodega, si hay varios que cumplen con la condición,
indicar el primero de ellos.
3) Prenda con mayor cantidad de unidades: indicar cuál es el código del producto que tiene mayor
cantidad de unidades en bodega, si hay varios que cumplen con la condición, indicar el primero de ellos.
4) Modificar cantidad mínima requerida en bodega: leer código de producto, el tipo (calzado o prenda)
y el nuevo valor para la cantidad de unidades mínimas requeridas, validar en el método set de la
variable correspondiente que la nueva cantidad no sea menor a 0, en caso de serlo establecer la
cantidad mínima como 0.
5) Vender producto: solicite el código de un producto a vender, el tipo (calzado o prenda),
y las unidades correspondientes, calcule el valor de la factura con descuento y sin descuento.
Validar que existan las unidades necesarias para la venta y modificar las unidades existentes
después de la venta utilizando el método set de la variable correspondiente.
*/
System.out.println("Menú de opciones");
System.out.println("Opcion 1: Consultar producto");
System.out.println("Opcion 2: Verificar productos a pedir de calzado y prendas");
System.out.println("Opcion 3: Calzado con mayor cantidad de unidades");
System.out.println("Opcion 4: Prenda con mayor cantidad de unidades");
System.out.println("Opcion 5: Modificar cantidad mínima requerida en bodega");
System.out.println("Opcion 6: Vender producto");
System.out.println("Digite la opción deseada: ");
int op = Integer.parseInt(leer.nextLine());
switch(op){
case 1:
System.out.println("Digite el codigo del producto: ");
int cp = Integer.parseInt(leer.nextLine());
System.out.println("Digite el tipo de producto (P: prenda, C: calzado): ");
String t = leer.nextLine();
System.out.println("Digite las unidades a vender: ");
int cv = Integer.parseInt(leer.nextLine());
if(t.equalsIgnoreCase("p")){
for(int i = 0; i < np; i++){
if(cp == productosP[i].getCodigo()){
productosP[i].mostrar();
}
}
}else{
for(int i = 0; i < nc; i++){
if(cp == productosC[i].getCodigo()){
productosC[i].mostrar();
}
}
}
break;
case 2:
for(int i = 0; i < nc; i++){
if(productosC[i].solicitar()){
System.out.println("Alerta Generada para el código de calzado " + productosC[i].getCodigo());
}else{
System.out.println("No se solicitara producto de calzado de código " + productosC[i].getCodigo());
}
}
for(int i = 0; i < np; i++){
if(productosP[i].solicitar()){
System.out.println("Alerta Generada para el código de prenda " + productosP[i].getCodigo());
}else{
System.out.println("No se solicitara producto de prenda de código " + productosP[i].getCodigo());
}
}
break;
case 3:
int may = -1;
Producto pMen = productosC[0];
for(int i = 0; i < nc; i++){
if(productosC[i].getcBodega() > may){
may = productosC[i].getcBodega();
pMen = productosC[i];
}
}
System.out.println("El codigo del producto de calzado con el mayor numero de unidades en bodega es " + pMen.getCodigo());
break;
case 4:
int mayP = -1;
Producto pMenP = productosP[0];
for(int i = 0; i < np; i++){
if(productosP[i].getcBodega() > mayP){
mayP = productosP[i].getcBodega();
pMenP = productosP[i];
}
}
System.out.println("El codigo del producto de prenda con el mayor numero de unidades en bodega es " + pMenP.getCodigo());
break;
case 5:
System.out.println("Digite el codigo del producto: ");
cp = Integer.parseInt(leer.nextLine());
System.out.println("Digite el tipo de producto (P: prenda, C: calzado): ");
t = leer.nextLine();
System.out.println("Digite la nueva cantidad minima requerida en bodega para el producto: ");
int cmn = Integer.parseInt(leer.nextLine());
if(t.equalsIgnoreCase("p")){
for(int i = 0; i < np; i++){
if(productosP[i].getCodigo() == cp){
productosP[i].setcMinRequerida(cmn);
}
}
}else{
for(int i = 0; i < nc; i++){
if(productosC[i].getCodigo() == cp){
productosC[i].setcMinRequerida(cmn);
}
}
}
break;
case 6:
System.out.println("Digite el codigo del producto: ");
cp = Integer.parseInt(leer.nextLine());
System.out.println("Digite el tipo de producto (P: prenda, C: calzado): ");
t = leer.nextLine();
System.out.println("Digite las unidades a vender: ");
cv = Integer.parseInt(leer.nextLine());
if(t.equalsIgnoreCase("p")){
for(int i = 0; i < np; i++){
if(cp == productosP[i].getCodigo() && cv <= productosP[i].getcBodega()){
double tvSD = cv * productosP[i].getpVenta();
double tvCD = cv * (productosP[i].getpVenta() * Producto.pDescuento);
System.out.println("Valor de factura con descuento: " + tvCD);
System.out.println("Valor de factura sin descuento: " + tvSD);
productosP[i].setcBodega(productosP[i].getcBodega() - cv );
}
}
}else{
for(int i = 0; i < nc; i++){
if(cp == productosC[i].getCodigo() && cv <= productosC[i].getcBodega()){
double tvSD = cv * productosC[i].getpVenta();
double tvCD = cv * (productosC[i].getpVenta() * Producto.pDescuento);
System.out.println("Valor de factura con descuento: " + tvCD);
System.out.println("Valor de factura sin descuento: " + tvSD);
productosC[i].setcBodega(productosC[i].getcBodega() - cv );
}
}
}
break;
}
}
}
|
[
"karena@uninorte.edu.co"
] |
karena@uninorte.edu.co
|
55d64e6d8cfa9564adf13f24751a60aa5cb12cee
|
13a533b14db7699b1564e6cbf24ec8c981d1b497
|
/collections_42/ComparableInterFaceDemo1.java
|
868ab04a4d1199afe9b41506c1d8592769ede93b
|
[] |
no_license
|
Deepu206/Core-java
|
f8e23c3e72a1fbf57431f282b8527d7557a3ab01
|
98ac096c4be5901f5a4071a8d30c81a2963032c7
|
refs/heads/master
| 2020-03-30T07:48:28.665291
| 2019-12-22T06:49:56
| 2019-12-22T06:49:56
| 150,967,877
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 339
|
java
|
package collections_42;
public class ComparableInterFaceDemo1 {
public static void main(String[] args) {
System.out.println("A".compareTo("Z"));
System.out.println("Z".compareTo("B"));
System.out.println("A".compareTo("A"));
System.out.println("A".compareTo(null));//java.lang.NullPointerExceptionl
}
}
|
[
"noreply@github.com"
] |
noreply@github.com
|
fbb5ab02c1bae35f99729960511218e85d05a62c
|
094c12b58fe58b220d7d972eedd1f2eaa3338ecc
|
/WordFinder/src/Filter/HashTableProcess2.java
|
2c7608114a053c5bdc09e73c8c190af198d4b367
|
[] |
no_license
|
robertdoo/csc-good-sniffer
|
c2a8fad5fd505249d7287ecb444b3d0068501666
|
1730589804b73e4e162fa18c8960a65e7009d31d
|
refs/heads/master
| 2021-01-10T05:17:11.180738
| 2012-06-10T05:56:27
| 2012-06-10T05:56:27
| 48,877,887
| 0
| 0
| null | null | null | null |
GB18030
|
Java
| false
| false
| 1,683
|
java
|
package Filter;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.util.BitSet;
public class HashTableProcess2{
// 测试函数 用来建立空的哈希表
public static void main(String[] args) {
HashTableProcess htp = new HashTableProcess(1000000);
htp.createHashTable();
}
int HashTableLength;
int[] hash = new int[8];
private BitSet bs0;
private BitSet bs1;
private BitSet bs2;
private BitSet bs3;
private BitSet bs4;
private BitSet bs5;
private BitSet bs6;
private BitSet bs7;
public HashTableProcess2(int length,BitSet b0, BitSet b1, BitSet b2, BitSet b3,
BitSet b4, BitSet b5, BitSet b6, BitSet b7) {
HashTableLength = length;
bs0 = new BitSet(length);
bs1 = new BitSet(length);
bs2 = new BitSet(length);
bs3 = new BitSet(length);
bs4 = new BitSet(length);
bs5 = new BitSet(length);
bs6 = new BitSet(length);
bs7 = new BitSet(length);
}
// 保存哈希表的函数(预留)
public Boolean saveHashTable2() {
return true;
}
// 创建哈希表操作
public Boolean createHashTable2() {
try {
BufferedWriter bw = new BufferedWriter(new FileWriter(
"HashTable2.txt"));
for (int i = 0; i < HashTableLength; i++) {
String line = bs0.get(i) + "," + bs1.get(i) + "," + bs2.get(i)
+ "," + bs3.get(i) + "," + bs4.get(i) + ","
+ bs5.get(i) + "," + bs6.get(i) + "," + bs7.get(i);
bw.write(line);
bw.newLine();
}
bw.flush();
bw.close();
System.out.println("哈希表创建完毕!");
return true;
} catch (Exception e) {
e.printStackTrace();
return false;
}
}
}
|
[
"techirdliu@gmail.com"
] |
techirdliu@gmail.com
|
5c66b6bb59d9adaed3d05dbee5d9b0359b4089b6
|
e0439244e6016f31eff1bec7f97249122b40927a
|
/uetool-base/src/main/java/me/ele/uetool/base/db/ElementBean.java
|
691bf123327238a946411195c4385107cae28d6b
|
[] |
no_license
|
chengzijian/VirtualUETool
|
6982f00b44e81f4ad82e1432812eeaf3f96d577b
|
97079dc59ad95e3c874f53cb4af4ba2ebd478711
|
refs/heads/master
| 2022-11-25T09:10:25.450476
| 2020-07-29T13:02:36
| 2020-07-29T13:02:36
| 276,645,870
| 0
| 0
| null | 2020-07-02T12:54:35
| 2020-07-02T12:54:35
| null |
UTF-8
|
Java
| false
| false
| 5,206
|
java
|
package me.ele.uetool.base.db;
import android.graphics.PointF;
import android.graphics.Rect;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import com.lody.virtual.helper.utils.MD5Utils;
import com.lody.virtual.helper.utils.Reflect;
import java.io.Serializable;
import me.ele.uetool.base.Element;
/**
* @author zijian.cheng
* @date 2020/7/20
*/
public class ElementBean implements Serializable {
private String currentPage;
private int sort;
private String resId;
private String text;
private String resName;
private String className;
private String clickable;
private String viewClickClass;
private Rect rect;
private long stepDelay = 800;
private PointF fromPoint = new PointF();
private PointF toPoint = new PointF();
private long scrollDuration;
private long listStartItem;
private long listEndItem;
private long listLoopCount;
public static ElementBean createElementBean(Element element) {
View view = element.getView();
ElementBean currentElement = new ElementBean();
String resId = Reflect.on("me.ele.uetool.Util").call("getResId", view.getId()).get();
currentElement.setResId(resId);
String resourceName = Reflect.on("me.ele.uetool.Util").call("getResourceName", view.getId()).get();
currentElement.setResName(resourceName);
currentElement.setClassName(view.getClass().getName());
currentElement.setClickable(Boolean.toString(view.isClickable()).toUpperCase());
String clickListener = Reflect.on("me.ele.uetool.Util").call("getViewClickListener", view).get();
currentElement.setViewClickListener(clickListener);
currentElement.setRect(element.getRect());
if (view instanceof TextView) {
currentElement.setText(((TextView) view).getText().toString());
}
return currentElement;
}
public String getUniqueId() {
StringBuilder stringBuffer = new StringBuilder();
stringBuffer.append(text);
stringBuffer.append(resName);
stringBuffer.append(className);
stringBuffer.append(clickable);
stringBuffer.append(viewClickClass);
if (TextUtils.isEmpty(text) && TextUtils.isEmpty(resName) && rect != null) {
stringBuffer.append(rect.toShortString());
}
return MD5Utils.get32MD5String(stringBuffer.toString());
}
public void setCurrentPage(String currentPage) {
this.currentPage = currentPage;
}
public String getClickable() {
return clickable;
}
public void setViewClickClass(String viewClickClass) {
this.viewClickClass = viewClickClass;
}
public void setFromPoint(PointF fromPoint) {
this.fromPoint = fromPoint;
}
public void setToPoint(PointF toPoint) {
this.toPoint = toPoint;
}
public PointF getFromPoint() {
return fromPoint;
}
public PointF getToPoint() {
return toPoint;
}
public long getScrollDuration() {
return scrollDuration;
}
public void setScrollDuration(long scrollDuration) {
this.scrollDuration = scrollDuration;
}
public void setListEndItem(long listEndItem) {
this.listEndItem = listEndItem;
}
public void setListStartItem(long listStartItem) {
this.listStartItem = listStartItem;
}
public long getListEndItem() {
return listEndItem;
}
public long getListStartItem() {
return listStartItem;
}
public void setListLoopCount(long listLoopCount) {
this.listLoopCount = listLoopCount;
}
public long getListLoopCount() {
return listLoopCount;
}
public long getStepDelay() {
return stepDelay;
}
public void setStepDelay(long stepDelay) {
this.stepDelay = stepDelay;
}
public String getText() {
return text;
}
public ElementBean() {
}
public ElementBean(String currentPage) {
this.currentPage = currentPage;
}
public void setRect(Rect rect) {
this.rect = rect;
}
public String getCurrentPage() {
return currentPage;
}
public String getViewClickClass() {
return viewClickClass;
}
public String getResId() {
return resId;
}
public Rect getRect() {
return rect;
}
public String getResName() {
return resName;
}
public String getClassName() {
return className;
}
public void setSort(int sort) {
this.sort = sort;
}
public int getSort() {
return sort;
}
public void setResId(String resId) {
this.resId = resId;
}
public void setResName(String resName) {
this.resName = resName;
}
public void setClassName(String name) {
this.className = name;
}
public void setClickable(String clickable) {
this.clickable = clickable;
}
public void setViewClickListener(String viewClickClass) {
this.viewClickClass = viewClickClass;
}
public void setText(String text) {
this.text = text;
}
}
|
[
"chengzj@ibobei.cn"
] |
chengzj@ibobei.cn
|
05e3b019224d63d11a648ead350fb44ecf4126dd
|
628badfb4dc4585dccaca6258a2276c0ec620e80
|
/trading-common/src/main/java/ru/gustos/trading/global/MomentData.java
|
57ee02b30d17c888f3963b5a8b35f70a1a6edc94
|
[] |
no_license
|
eamosov/tetris
|
90040837194accc9e8ab0aee6ee1a800b37d66e0
|
a401947a1b9410022d6a67157446af4355c2f922
|
refs/heads/master
| 2022-06-19T15:15:07.573779
| 2021-02-24T19:12:17
| 2021-02-24T19:12:17
| 122,873,118
| 0
| 0
| null | 2022-05-20T20:52:06
| 2018-02-25T20:21:45
|
Java
|
UTF-8
|
Java
| false
| false
| 452
|
java
|
package ru.gustos.trading.global;
import java.io.Serializable;
public class MomentData implements MomentDataProvider, Serializable {
public double[] values;
public long whenWillKnow;
public double weight = 1;
public double weight2 = 1;
public boolean ignore = false;
public MomentData(int size) {
values = new double[size];
}
@Override
public MomentData getMomentData() {
return this;
}
}
|
[
"zushiwarigan@gmail.com"
] |
zushiwarigan@gmail.com
|
d43914c14f4518af1c432f56d09c753a37fc0180
|
0bffcdd8c5f803627956bd7cec7b28d1cea00dc3
|
/src/main/java/com/parse/ParseApacheHttpClient.java
|
b0cb8971ec4ba9d2fb113b4ff39b863bb0a418b5
|
[] |
no_license
|
sinzua/baseApk
|
eb5d8c28cdb385ec49413217151ebba7c2fbb723
|
9011fb631ed84b1747561244cc08fff38205e97c
|
refs/heads/master
| 2021-01-21T17:39:20.367401
| 2017-05-21T18:06:26
| 2017-05-21T18:06:26
| 91,977,496
| 3
| 2
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 6,850
|
java
|
package com.parse;
import android.net.SSLCertificateSocketFactory;
import android.net.SSLSessionCache;
import android.net.http.AndroidHttpClient;
import com.parse.ParseHttpResponse.Builder;
import com.parse.ParseRequest.Method;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpPut;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.client.params.HttpClientParams;
import org.apache.http.conn.params.ConnManagerParams;
import org.apache.http.conn.params.ConnPerRouteBean;
import org.apache.http.conn.scheme.PlainSocketFactory;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.entity.InputStreamEntity;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
class ParseApacheHttpClient extends ParseHttpClient<HttpUriRequest, HttpResponse> {
private DefaultHttpClient apacheClient;
private static class ParseApacheHttpEntity extends InputStreamEntity {
private ParseHttpBody parseBody;
public ParseApacheHttpEntity(ParseHttpBody parseBody) {
super(parseBody.getContent(), (long) parseBody.getContentLength());
super.setContentType(parseBody.getContentType());
this.parseBody = parseBody;
}
public void writeTo(OutputStream out) throws IOException {
this.parseBody.writeTo(out);
}
}
public ParseApacheHttpClient(int socketOperationTimeout, SSLSessionCache sslSessionCache) {
HttpParams params = new BasicHttpParams();
HttpConnectionParams.setStaleCheckingEnabled(params, false);
HttpConnectionParams.setConnectionTimeout(params, socketOperationTimeout);
HttpConnectionParams.setSoTimeout(params, socketOperationTimeout);
HttpConnectionParams.setSocketBufferSize(params, 8192);
HttpClientParams.setRedirecting(params, false);
SchemeRegistry schemeRegistry = new SchemeRegistry();
schemeRegistry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
schemeRegistry.register(new Scheme("https", SSLCertificateSocketFactory.getHttpSocketFactory(socketOperationTimeout, sslSessionCache), 443));
String maxConnectionsStr = System.getProperty("http.maxConnections");
if (maxConnectionsStr != null) {
int maxConnections = Integer.parseInt(maxConnectionsStr);
ConnManagerParams.setMaxConnectionsPerRoute(params, new ConnPerRouteBean(maxConnections));
ConnManagerParams.setMaxTotalConnections(params, maxConnections);
}
String host = System.getProperty("http.proxyHost");
String portString = System.getProperty("http.proxyPort");
if (!(host == null || host.length() == 0 || portString == null || portString.length() == 0)) {
params.setParameter("http.route.default-proxy", new HttpHost(host, Integer.parseInt(portString), "http"));
}
this.apacheClient = new DefaultHttpClient(new ThreadSafeClientConnManager(params, schemeRegistry), params);
}
ParseHttpResponse executeInternal(ParseHttpRequest parseRequest) throws IOException {
return getResponse(this.apacheClient.execute(getRequest(parseRequest)));
}
ParseHttpResponse getResponse(HttpResponse apacheResponse) throws IOException {
if (apacheResponse == null) {
throw new IllegalArgumentException("HttpResponse passed to getResponse should not be null.");
}
int statusCode = apacheResponse.getStatusLine().getStatusCode();
InputStream content = AndroidHttpClient.getUngzippedContent(apacheResponse.getEntity());
int totalSize = -1;
Header[] contentLengthHeader = apacheResponse.getHeaders("Content-Length");
if (contentLengthHeader.length > 0) {
totalSize = Integer.parseInt(contentLengthHeader[0].getValue());
}
String reasonPhrase = apacheResponse.getStatusLine().getReasonPhrase();
Map<String, String> headers = new HashMap();
for (Header header : apacheResponse.getAllHeaders()) {
headers.put(header.getName(), header.getValue());
}
String contentType = null;
HttpEntity entity = apacheResponse.getEntity();
if (!(entity == null || entity.getContentType() == null)) {
contentType = entity.getContentType().getValue();
}
return ((Builder) ((Builder) ((Builder) ((Builder) ((Builder) ((Builder) new Builder().setStatusCode(statusCode)).setContent(content)).setTotalSize(totalSize)).setReasonPhase(reasonPhrase)).setHeaders(headers)).setContentType(contentType)).build();
}
HttpUriRequest getRequest(ParseHttpRequest parseRequest) throws IOException {
if (parseRequest == null) {
throw new IllegalArgumentException("ParseHttpRequest passed to getApacheRequest should not be null.");
}
HttpUriRequest apacheRequest;
Method method = parseRequest.getMethod();
String url = parseRequest.getUrl();
switch (method) {
case GET:
apacheRequest = new HttpGet(url);
break;
case DELETE:
apacheRequest = new HttpDelete(url);
break;
case POST:
apacheRequest = new HttpPost(url);
break;
case PUT:
apacheRequest = new HttpPut(url);
break;
default:
throw new IllegalStateException("Unsupported http method " + method.toString());
}
for (Entry<String, String> entry : parseRequest.getAllHeaders().entrySet()) {
apacheRequest.setHeader((String) entry.getKey(), (String) entry.getValue());
}
AndroidHttpClient.modifyRequestToAcceptGzipResponse(apacheRequest);
ParseHttpBody body = parseRequest.getBody();
switch (method) {
case POST:
((HttpPost) apacheRequest).setEntity(new ParseApacheHttpEntity(body));
break;
case PUT:
((HttpPut) apacheRequest).setEntity(new ParseApacheHttpEntity(body));
break;
}
return apacheRequest;
}
}
|
[
"sinzua@gmail.com"
] |
sinzua@gmail.com
|
504d2eb7bba66b843fcaa6a735d75397444a2f9b
|
6641ddc3c8d532c1cd23819a92bc4869dd49ae1f
|
/src/interfaz/PanelMuebles.java
|
cd17ea955c6d197f4840160fcc3a2437553bf9a5
|
[] |
no_license
|
jhmesa/LabMuebleDeLosAlpes
|
6b44a2b8a5b5cb49f05a316def2c13095f838d1d
|
bb4dbaba7b53b70d5c9ac0c8d5861377023bbda0
|
refs/heads/master
| 2021-01-20T09:12:47.705541
| 2017-09-02T03:02:25
| 2017-09-02T03:02:25
| 101,451,077
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 5,171
|
java
|
/**
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* $Id: PanelMuebles.java,v 1.1 Exp $
* Universidad de los Andes (Bogotá - Colombia)
* Departamento de Ingeniería de Sistemas y Computación
* Licenciado bajo el esquema Academic Free License version 2.1
*
* Ejercicio: Taller 1 - anotaciones
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
package interfaz;
import anotaciones.Driver;
import java.awt.BorderLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import mundo.ManejadorMuebles;
import mundo.Mueble;
/**
* Panel encargado de mostrar los muebles
*/
public class PanelMuebles extends JPanel implements ActionListener{
static final String NUEVO = "NUEVO";
static final String ELIMINAR = "ELIMINAR";
static final String REINICIAR = "REINICIAR";
/**
* Manejador de los muebles
*/
private ManejadorMuebles manager;
/**
* Entidad encargada de contener el modelo de la tabla de muebles
*/
private myTableModel dtmMuebles = new myTableModel(new String[]{"Id","Nombre","Precio"});
/**
* Entidad encarga de visualizar la tabla de muebles
*/
private JTable tablaMuebles;
/**
* Método constructor del panel encargado de mostrar los muebles de MLA
* @param manager Entidad encargada de manejar la lista de muebles de MLA
*/
public PanelMuebles(ManejadorMuebles manager) {
super(new BorderLayout());
this.manager=manager;
tablaMuebles = new JTable(dtmMuebles);
JScrollPane jspMuebles = new JScrollPane(tablaMuebles);
add(jspMuebles,BorderLayout.CENTER);
JPanel opcionesMueble = new JPanel(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
gbc.gridx=0;
gbc.gridy=-1;
gbc.insets=new Insets(10,10,10,10);
gbc.fill=GridBagConstraints.BOTH;
gbc.anchor=GridBagConstraints.NORTH;
JButton nuevoMueble = new JButton("Nuevo");
nuevoMueble.addActionListener(this);
nuevoMueble.setActionCommand(NUEVO);
JButton eliminarMueble = new JButton("Eliminar");
eliminarMueble.addActionListener(this);
eliminarMueble.setActionCommand(ELIMINAR);
JButton reiniciarmueble = new JButton("Reiniciar");
reiniciarmueble.addActionListener(this);
reiniciarmueble.setActionCommand(REINICIAR);
opcionesMueble.add(nuevoMueble,gbc);
opcionesMueble.add(eliminarMueble,gbc);
opcionesMueble.add(reiniciarmueble,gbc);
JPanel temporal = new JPanel(new BorderLayout());
temporal.add(opcionesMueble,BorderLayout.NORTH);
add(temporal,BorderLayout.EAST);
}
@Override
public void actionPerformed(ActionEvent e) {
if(e.getActionCommand().equals(NUEVO)){
// Se crea un nuevo mueble y se añade al modelo de la tabla de vendedores
Mueble c = manager.nuevoMueble();
Object[] data = {c.getId(),""+c.getNombre(),c.getPrecio()};
dtmMuebles.addRow(data);
}
else if(e.getActionCommand().equals(ELIMINAR)){
int s = tablaMuebles.getSelectedRow();
if(s!=-1){
// Se obtiene el ID del mueble seleccionado y luego se elimina
manager.eliminarMueble((Integer)dtmMuebles.getValueAt(s,0));
dtmMuebles.removeRow(s);
tablaMuebles.revalidate();
}
}
else if(e.getActionCommand().equals(REINICIAR)){
int s = tablaMuebles.getSelectedRow();
if(s!=-1){
// Se obtiene el ID del mueble seleccionado y luego se reinicia
Mueble m = manager.findMueble((Integer)dtmMuebles.getValueAt(s,0));
m.reiniciar();
dtmMuebles.setValueAt(m.getId(),s,0);
dtmMuebles.setValueAt(m.getNombre(),s,1);
dtmMuebles.setValueAt(m.getPrecio(),s,2);
}
}
}
/**
* Clase encargada de manejar el modelo de la tabla de muebles
*/
public class myTableModel extends DefaultTableModel{
public myTableModel(String[] columns) {
super(columns,0);
}
@Override
public void setValueAt(Object aValue, int row, int column) {
Mueble mueble = manager.findMueble((Integer)dtmMuebles.getValueAt(row,0));
if(column==1){
mueble.setNombre(""+aValue);
super.setValueAt(mueble.getNombre(), row, column);
}
else if(column==2){
try{
mueble.setPrecio(Double.parseDouble(""+aValue));
super.setValueAt(mueble.getPrecio(), row, column);
}catch(Exception e){
}
}
}
}
}
|
[
"jh.mesa@uniandes.edu.co"
] |
jh.mesa@uniandes.edu.co
|
8dfc5bdde87b22aa7a5f5329eefecb39e184edff
|
4a2d903ce0c73bc86a30b85667bd89a1d901842a
|
/SeleniumTask/src/com/PageTest/back/NewsNewsTest.java
|
d15ac78485c4ce7d68d0fddc9f03e21f7dfda3df
|
[] |
no_license
|
zhhanhan/Selenium-task
|
3264a0ebd416c18ee88f9f0f4435b0e80237abf8
|
b183707d1bec135cb3874e23eea781da2340d887
|
refs/heads/master
| 2021-08-29T20:48:22.757547
| 2017-12-14T23:56:38
| 2017-12-14T23:56:38
| 111,065,824
| 0
| 0
| null | null | null | null |
GB18030
|
Java
| false
| false
| 2,507
|
java
|
package com.PageTest.back;
import org.testng.annotations.Test;
import com.PageLogin.BackLoginPage;
import com.webtest.core.BaseTest;
import com.webtest.dataprovider.NSDataProvicer;
public class NewsNewsTest extends BaseTest{
@Test
public void Login() throws Exception{
webtest.open("http://localhost:8032/zl_shop/admin.php/Login/index.html");
BackLoginPage LG=new BackLoginPage(webtest);
LG.LoginSucceed();
Thread.sleep(5000);
}
@Test
public void News() throws InterruptedException{
webtest.click("xpath=//span[contains(.,' 新闻管理 ')]");
Thread.sleep(3000);
webtest.click("xpath=//a[@href='/zl_shop/admin.php/News/index']");
Thread.sleep(3000);
webtest.click("xpath=//a[@href='/zl_shop/admin.php/News/add']");
Thread.sleep(3000);
}
@Test(dependsOnMethods="News")
public void News1() throws InterruptedException{
webtest.click("xpath=//button[@type='submit']");
Thread.sleep(3000);
}
@Test(dependsOnMethods="News")
public void News2() throws InterruptedException{
webtest.type("xpath=//input[@placeholder='请输入新闻标题']","标题");
webtest.click("xpath=//button[@type='submit']");
Thread.sleep(3000);
}
@Test(dependsOnMethods="News")
public void News3() throws InterruptedException{
webtest.click("xpath=//*[@id='main-container']/div/div[2]/div[2]/div[2]/div/form/div[3]/div/input[1]");
webtest.click("xpath=//button[@type='submit']");
Thread.sleep(3000);
}
@Test(dependsOnMethods="News")
public void News4() throws InterruptedException{
webtest.type("xpath=//textarea[@name='content']","aaaaaa");
webtest.click("xpath=//button[@type='submit']");
Thread.sleep(3000);
}
@Test(dependsOnMethods="News",dataProvider="s1",dataProviderClass=NSDataProvicer.class)
public void News5(String title,String content) throws InterruptedException{
webtest.type("xpath=//input[@placeholder='请输入新闻标题']", title);
webtest.click("xpath=//*[@id='main-container']/div/div[2]/div[2]/div[2]/div/form/div[3]/div/input[1]");
webtest.type("xpath=//textarea[@name='content']", content);
webtest.click("xpath=//button[@type='submit']");
Thread.sleep(3000);
}
@Test(dependsOnMethods="News")
public void News6() throws InterruptedException{
webtest.type("xpath=//input[@placeholder='请输入新闻标题']", "aaaa");
webtest.click("xpath=//button[@type='reset']");
webtest.type("xpath=//input[@placeholder='请输入新闻标题']", "bbbb");
webtest.click("xpath=//button[@type='submit']");
Thread.sleep(3000);
}
}
|
[
"1013272209@qq.com"
] |
1013272209@qq.com
|
698a2b6e4577ec2a56817d867cf37718a69f676c
|
7540b9ed8fc9dc2539eca94761d2d0ceeb823d00
|
/academy/src/Homework2/Task4.java
|
bbf69a2a17ac5c8697bf9f4b0bc9b3ef970e55de
|
[] |
no_license
|
KuhtaQQ/Artem6721
|
bea620f447b28696621146d487076580053e2ed8
|
50d14ec5582139ab6939de0e55896494e47b1c00
|
refs/heads/master
| 2023-03-26T09:04:42.225592
| 2021-03-23T20:57:20
| 2021-03-23T20:57:20
| 330,203,352
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,513
|
java
|
package Homework2;
import java.util.Scanner;
public class Task4 {
public static void main(String[] args) {
int cardforPlayer = 5;
int players = 0;
String[] mast = { "Пика", "Буба", "Крести", "Чирва" };
String[] cards = { "2", "3", "4", "5", "6", "7", "8", "9", "10", "Валет", "Дама", "Король", "Tуз" };
int x = mast.length * cards.length;
Scanner s = new Scanner(System.in);
System.out.println("Введите число игроков");
if (s.hasNextInt()) {
players = s.nextInt();
if (players * cardforPlayer <= x) {
if (0 >= players) {
System.out.println("Мало игроков");
return;
}
} else {
System.out.println("Игроков слишком много");
return;
}
} else {
System.out.println("Вы ввели не число или оно очень большое");
return;
}
String[] koloda = new String[x];
int z = 0;
for (String masti : mast) {
for (String card : cards) {
koloda[z] = new String(card + " " + masti);
z++;
}
}
for (int i = 0; i < x; i++) {
int r = i + (int) (Math.random() * (x - i));
String t = koloda[r];
koloda[r] = koloda[i];
koloda[i] = t;
}
for (int i = 0; i < players * cardforPlayer; i++) {
System.out.printf("%-3s ", koloda[i]);
if (i % cardforPlayer == cardforPlayer - 1) {
System.out.println();
System.out.println();
}
}
s.close();
}
}
|
[
"User@WIN-BKNIN6UR0BM"
] |
User@WIN-BKNIN6UR0BM
|
178dec7440f648d53b141153ecffb5c28e2fe4ea
|
518668334d9e46f328aeda47eae3a8bc949b2364
|
/src/com/dv183222m/pki/desktop/Main.java
|
5692b118973bca2b44ee51f754779f82dd3720b8
|
[] |
no_license
|
Wasa94/PKI-Desktop
|
db03b49a85397cf290f2cfea7d150734d3037d28
|
19b53d8cad5431366000ae7dbc8f520170c92b14
|
refs/heads/master
| 2020-04-17T14:11:28.541581
| 2019-10-16T11:00:54
| 2019-10-16T11:00:54
| 166,647,153
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 786
|
java
|
package com.dv183222m.pki.desktop;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
public static Stage PRIMARY_STAGE;
@Override
public void start(Stage primaryStage) throws Exception{
Parent root = FXMLLoader.load(getClass().getResource("login.fxml"));
primaryStage.setTitle("ClientWorker App");
primaryStage.sizeToScene();
primaryStage.setScene(new Scene(root, 800, 600));
primaryStage.setResizable(false);
primaryStage.show();
PRIMARY_STAGE = primaryStage;
}
public static void main(String[] args) {
launch(args);
}
}
|
[
"dolicvasilije@gmail.com"
] |
dolicvasilije@gmail.com
|
3d20bddc4c5b18639b9d0051eafe9a392b63c783
|
b88bbd316177c73faa0c06b5902119e0353c02df
|
/SubServers.Console/src/net/ME1312/SubServers/Console/Library/Metrics.java
|
1a8299a72a342c97447ceab71ed944b80c3b2168
|
[
"Apache-2.0"
] |
permissive
|
DuckCaller/SubServers-2
|
90b2100b442a90d135f60ccfde33096ccf36cc99
|
0a1c469df254c4431276d8908356851744776c8d
|
refs/heads/master
| 2020-09-03T19:10:53.351701
| 2020-07-10T16:34:01
| 2020-07-10T16:34:01
| 129,326,674
| 1
| 0
|
Apache-2.0
| 2018-04-13T00:37:57
| 2018-04-13T00:37:57
| null |
UTF-8
|
Java
| false
| false
| 17,979
|
java
|
package net.ME1312.SubServers.Console.Library;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import net.ME1312.SubServers.Console.ConsolePlugin;
import net.ME1312.SubServers.Console.ConsoleWindow;
import net.md_5.bungee.config.Configuration;
import net.md_5.bungee.config.ConfigurationProvider;
import net.md_5.bungee.config.YamlConfiguration;
import javax.net.ssl.HttpsURLConnection;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.net.URL;
import java.nio.file.Path;
import java.util.*;
import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.zip.GZIPOutputStream;
/**
* bStats collects some data for plugin authors.
*
* Check out https://bStats.org/ to learn more about bStats!
*/
public class Metrics {
static {
// You can use the property to disable the check in your test environment
if (System.getProperty("bstats.relocatecheck") == null || !System.getProperty("bstats.relocatecheck").equals("false")) {
// Maven's Relocate is clever and changes strings, too. So we have to use this little "trick" ... :D
final String defaultPackage = new String(
new byte[]{'o', 'r', 'g', '.', 'b', 's', 't', 'a', 't', 's', '.', 'b', 'u', 'n', 'g', 'e', 'e', 'c', 'o', 'r', 'd'});
final String examplePackage = new String(new byte[]{'y', 'o', 'u', 'r', '.', 'p', 'a', 'c', 'k', 'a', 'g', 'e'});
// We want to make sure nobody just copy & pastes the example and use the wrong package names
if (Metrics.class.getPackage().getName().equals(defaultPackage) || Metrics.class.getPackage().getName().equals(examplePackage)) {
throw new IllegalStateException("bStats Metrics class has not been relocated correctly!");
}
}
}
// The version of this bStats class
public static final int B_STATS_VERSION = 1;
// The url to which the data is sent
private static final String URL = "https://bStats.org/submitData/bungeecord";
// The plugin
private final ConsolePlugin plugin;
// Is bStats enabled on this server?
private boolean enabled;
// The uuid of the server
private String serverUUID;
// Should failed requests be logged?
private boolean logFailedRequests = false;
// A list with all known metrics class objects including this one
private static final List<Object> knownMetricsInstances = new ArrayList<>();
public Metrics(ConsolePlugin plugin) {
this.plugin = plugin;
try {
loadConfig();
} catch (IOException e) {
// Failed to load configuration
plugin.getLogger().log(Level.WARNING, "Failed to load bStats config!", e);
return;
}
// We are not allowed to send data about this server :(
if (!enabled) {
return;
}
Class<?> usedMetricsClass = getFirstBStatsClass();
if (usedMetricsClass == null) {
// Failed to get first metrics class
return;
}
if (usedMetricsClass == getClass()) {
// We are the first! :)
linkMetrics(this);
startSubmitting();
} else {
// We aren't the first so we link to the first metrics class
try {
usedMetricsClass.getMethod("linkMetrics", Object.class).invoke(null,this);
} catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException e) {
if (logFailedRequests) {
plugin.getLogger().log(Level.WARNING, "Failed to link to first metrics class " + usedMetricsClass.getName() + "!", e);
}
}
}
}
/**
* Links an other metrics class with this class.
* This method is called using Reflection.
*
* @param metrics An object of the metrics class to link.
*/
public static void linkMetrics(Object metrics) {
knownMetricsInstances.add(metrics);
}
/**
* Gets the plugin specific data.
* This method is called using Reflection.
*
* @return The plugin specific data.
*/
public JsonObject getPluginData() {
JsonObject data = new JsonObject();
String pluginName = "SubServers Console";
String pluginVersion = plugin.getDescription().getVersion();
data.addProperty("pluginName", pluginName);
data.addProperty("pluginVersion", pluginVersion);
JsonArray customCharts = new JsonArray();
customCharts.add(new SingleLineChart("managed_hosts", new Callable<Integer>() {
@Override
public Integer call() throws Exception {
return plugin.getProxy().api.getHosts().size();
}
}).getRequestJsonObject(plugin.getLogger(), logFailedRequests));
customCharts.add(new SingleLineChart("open_windows", new Callable<Integer>() {
@Override
public Integer call() throws Exception {
int i = 0;
for (ConsoleWindow window : plugin.cCurrent.values()) if (window.isOpen()) i++;
for (ConsoleWindow window : plugin.sCurrent.values()) if (window.isOpen()) i++;
return i;
}
}).getRequestJsonObject(plugin.getLogger(), logFailedRequests));
customCharts.add(new SimplePie("subservers_version", new Callable<String>() {
@Override
public String call() throws Exception {
return plugin.getProxy().version.toString();
}
}).getRequestJsonObject(plugin.getLogger(), logFailedRequests));
data.add("customCharts", customCharts);
return data;
}
private void startSubmitting() {
new Timer("SubServers.Console::Metrics_Uploader").schedule( new TimerTask() {
@Override
public void run() {
// The data collection is async, as well as sending the data
// Bungeecord does not have a main thread, everything is async
submitData();
}
}, TimeUnit.MINUTES.toMillis(2), TimeUnit.MINUTES.toMillis(30));
// Submit the data every 30 minutes, first time after 2 minutes to give other plugins enough time to start
// WARNING: Changing the frequency has no effect but your plugin WILL be blocked/deleted!
// WARNING: Just don't do it!
}
/**
* Gets the server specific data.
*
* @return The server specific data.
*/
private JsonObject getServerData() {
// Minecraft specific data
int playerAmount = plugin.getProxy().getOnlineCount();
playerAmount = playerAmount > 500 ? 500 : playerAmount;
int onlineMode = plugin.getProxy().getConfig().isOnlineMode() ? 1 : 0;
String bungeecordVersion = (plugin.getProxy().getName().equals("SubServers Platform"))?"SubServers-Bungee-Patched":plugin.getProxy().getVersion();
int managedServers = plugin.getProxy().getServers().size();
// OS/Java specific data
String javaVersion = System.getProperty("java.version");
String osName = System.getProperty("os.name");
String osArch = System.getProperty("os.arch");
String osVersion = System.getProperty("os.version");
int coreCount = Runtime.getRuntime().availableProcessors();
JsonObject data = new JsonObject();
data.addProperty("serverUUID", serverUUID);
data.addProperty("playerAmount", playerAmount);
data.addProperty("managedServers", managedServers);
data.addProperty("onlineMode", onlineMode);
data.addProperty("bungeecordVersion", bungeecordVersion);
data.addProperty("javaVersion", javaVersion);
data.addProperty("osName", osName);
data.addProperty("osArch", osArch);
data.addProperty("osVersion", osVersion);
data.addProperty("coreCount", coreCount);
return data;
}
/**
* Collects the data and sends it afterwards.
*/
private void submitData() {
final JsonObject data = getServerData();
final JsonArray pluginData = new JsonArray();
// Search for all other bStats Metrics classes to get their plugin data
for (Object metrics : knownMetricsInstances) {
try {
Object plugin = metrics.getClass().getMethod("getPluginData").invoke(metrics);
if (plugin instanceof JsonObject) {
pluginData.add((JsonObject) plugin);
}
} catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException ignored) { }
}
data.add("plugins", pluginData);
try {
// Send the data
sendData(data);
} catch (Exception e) {
// Something went wrong! :(
if (logFailedRequests) {
plugin.getLogger().log(Level.WARNING, "Could not submit plugin stats!", e);
}
}
}
/**
* Loads the bStats configuration.
*
* @throws IOException If something did not work :(
*/
private void loadConfig() throws IOException {
Path configPath = new File(plugin.getProxy().dir, "plugins").toPath().resolve("bStats");
configPath.toFile().mkdirs();
File configFile = new File(configPath.toFile(), "config.yml");
if (!configFile.exists()) {
writeFile(configFile,
"#bStats collects some data for plugin authors like how many servers are using their plugins.",
"#To honor their work, you should not disable it.",
"#This has nearly no effect on the server performance!",
"#Check out https://bStats.org/ to learn more :)",
"enabled: true",
"serverUuid: \"" + UUID.randomUUID().toString() + "\"",
"logFailedRequests: false");
}
Configuration configuration = ConfigurationProvider.getProvider(YamlConfiguration.class).load(configFile);
// Load configuration
enabled = configuration.getBoolean("enabled", true);
serverUUID = configuration.getString("serverUuid");
logFailedRequests = configuration.getBoolean("logFailedRequests", false);
}
/**
* Gets the first bStat Metrics class.
*
* @return The first bStats metrics class.
*/
private Class<?> getFirstBStatsClass() {
Path configPath = new File(plugin.getProxy().dir, "plugins").toPath().resolve("bStats");
configPath.toFile().mkdirs();
File tempFile = new File(configPath.toFile(), "temp.txt");
try {
String className = readFile(tempFile);
if (className != null) {
try {
// Let's check if a class with the given name exists.
return Class.forName(className);
} catch (ClassNotFoundException ignored) { }
}
writeFile(tempFile, getClass().getName());
return getClass();
} catch (IOException e) {
if (logFailedRequests) {
plugin.getLogger().log(Level.WARNING, "Failed to get first bStats class!", e);
}
return null;
}
}
/**
* Reads the first line of the file.
*
* @param file The file to read. Cannot be null.
* @return The first line of the file or <code>null</code> if the file does not exist or is empty.
* @throws IOException If something did not work :(
*/
private String readFile(File file) throws IOException {
if (!file.exists()) {
return null;
}
try (
FileReader fileReader = new FileReader(file);
BufferedReader bufferedReader = new BufferedReader(fileReader);
) {
return bufferedReader.readLine();
}
}
/**
* Writes a String to a file. It also adds a note for the user,
*
* @param file The file to write to. Cannot be null.
* @param lines The lines to write.
* @throws IOException If something did not work :(
*/
private void writeFile(File file, String... lines) throws IOException {
if (!file.exists()) {
file.createNewFile();
}
try (
FileWriter fileWriter = new FileWriter(file);
BufferedWriter bufferedWriter = new BufferedWriter(fileWriter)
) {
for (String line : lines) {
bufferedWriter.write(line);
bufferedWriter.newLine();
}
}
}
/**
* Sends the data to the bStats server.
*
* @param data The data to send.
* @throws Exception If the request failed.
*/
private static void sendData(JsonObject data) throws Exception {
if (data == null) {
throw new IllegalArgumentException("Data cannot be null");
}
HttpsURLConnection connection = (HttpsURLConnection) new URL(URL).openConnection();
// Compress the data to save bandwidth
byte[] compressedData = compress(data.toString());
// Add headers
connection.setRequestMethod("POST");
connection.addRequestProperty("Accept", "application/json");
connection.addRequestProperty("Connection", "close");
connection.addRequestProperty("Content-Encoding", "gzip"); // We gzip our request
connection.addRequestProperty("Content-Length", String.valueOf(compressedData.length));
connection.setRequestProperty("Content-Type", "application/json"); // We send our data in JSON format
connection.setRequestProperty("User-Agent", "MC-Server/" + B_STATS_VERSION);
// Send data
connection.setDoOutput(true);
DataOutputStream outputStream = new DataOutputStream(connection.getOutputStream());
outputStream.write(compressedData);
outputStream.flush();
outputStream.close();
connection.getInputStream().close(); // We don't care about the response - Just send our data :)
}
/**
* Gzips the given String.
*
* @param str The string to gzip.
* @return The gzipped String.
* @throws IOException If the compression failed.
*/
private static byte[] compress(final String str) throws IOException {
if (str == null) {
return null;
}
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
GZIPOutputStream gzip = new GZIPOutputStream(outputStream);
gzip.write(str.getBytes("UTF-8"));
gzip.close();
return outputStream.toByteArray();
}
/**
* Represents a custom chart.
*/
private static abstract class CustomChart {
// The id of the chart
private final String chartId;
/**
* Class constructor.
*
* @param chartId The id of the chart.
*/
CustomChart(String chartId) {
if (chartId == null || chartId.isEmpty()) {
throw new IllegalArgumentException("ChartId cannot be null or empty!");
}
this.chartId = chartId;
}
JsonObject getRequestJsonObject(Logger logger, boolean logFailedRequests) {
JsonObject chart = new JsonObject();
chart.addProperty("chartId", chartId);
try {
JsonObject data = getChartData();
if (data == null) {
// If the data is null we don't send the chart.
return null;
}
chart.add("data", data);
} catch (Throwable t) {
if (logFailedRequests) {
logger.log(Level.WARNING, "Failed to get data for custom chart with id " + chartId, t);
}
return null;
}
return chart;
}
protected abstract JsonObject getChartData() throws Exception;
}
/**
* Represents a custom single line chart.
*/
private static class SingleLineChart extends CustomChart {
private final Callable<Integer> callable;
/**
* Class constructor.
*
* @param chartId The id of the chart.
* @param callable The callable which is used to request the chart data.
*/
public SingleLineChart(String chartId, Callable<Integer> callable) {
super(chartId);
this.callable = callable;
}
@Override
protected JsonObject getChartData() throws Exception {
JsonObject data = new JsonObject();
int value = callable.call();
if (value == 0) {
// Null = skip the chart
return null;
}
data.addProperty("value", value);
return data;
}
}
/**
* Represents a custom simple pie.
*/
private static class SimplePie extends CustomChart {
private final Callable<String> callable;
/**
* Class constructor.
*
* @param chartId The id of the chart.
* @param callable The callable which is used to request the chart data.
*/
public SimplePie(String chartId, Callable<String> callable) {
super(chartId);
this.callable = callable;
}
@Override
protected JsonObject getChartData() throws Exception {
JsonObject data = new JsonObject();
String value = callable.call();
if (value == null || value.isEmpty()) {
// Null = skip the chart
return null;
}
data.addProperty("value", value);
return data;
}
}
}
|
[
"admin@me1312.net"
] |
admin@me1312.net
|
e98aced592dba855246222ae44238b0e14daf56f
|
77557b49dbe5ba533261a8b2ab0f5db722bc22f9
|
/app/src/main/java/com/fivos/thesuperherosquadmaker/data/ComicsResponse.java
|
50cadd51572dfc47c4d76b2ad9cbbbaf37effcd0
|
[] |
no_license
|
Foivos-Stamopoulos/TheSuperheroSquadMaker
|
e712d10fefe3356fa24b375600643a33ce7ab442
|
9e808ef6a43db84610311eeae4ad3361e635d292
|
refs/heads/master
| 2022-12-12T11:36:20.637319
| 2020-09-15T06:42:05
| 2020-09-15T06:42:05
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 845
|
java
|
package com.fivos.thesuperherosquadmaker.data;
import java.util.List;
public class ComicsResponse {
private int code;
private Data data;
public ComicsResponse(int code, Data data) {
this.code = code;
this.data = data;
}
public int getCode() {
return code;
}
public Data getData() {
return data;
}
public class Data {
private int total;
private int count;
private List<Comic> results;
public Data(int count, List<Comic> results) {
this.count = count;
this.results = results;
}
public int getCount() {
return count;
}
public List<Comic> getResults() {
return results;
}
public int getTotal() {
return total;
}
}
}
|
[
"f.stamopoulos@pobuca.com"
] |
f.stamopoulos@pobuca.com
|
c94ab36a8a740638c4dd7d6fd53d9381ef7ee4a9
|
54d0028864114c523a18f4803c2a87ea0cc8644b
|
/src/main/java/com/example/drCarangoBack/Repository/UsuarioRepostiroty.java
|
cc589bef75a3b2b2ee379ab081dc97972d2d8e72
|
[] |
no_license
|
rjsr1/drCarangoBack
|
3bdb6b3dd2387eb899047e70141acc1df7df4117
|
f1a839409fc95b0cb30b139776336130d111401f
|
refs/heads/master
| 2020-04-11T07:07:42.387001
| 2018-12-17T09:40:48
| 2018-12-17T09:40:48
| 161,602,060
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,472
|
java
|
package com.example.drCarangoBack.Repository;
import com.example.drCarangoBack.entities.Usuario;
import lombok.Data;
import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
@Data
public class UsuarioRepostiroty {
public static ArrayList<Usuario> usuarios;
public static void addUsuario(Usuario usuario){
usuarios.add(usuario);
}
public static void initUsuarios(){
if(usuarios==null){
usuarios=new ArrayList<>();
Usuario user = new Usuario("rodolfo@gmail.com","1234",1,"rodolfo");
usuarios.add(user);
}
}
public static Usuario getUsuario(int ID){
for (Usuario user :
usuarios) {
if (user.getId()==ID) {
return user;
}
};
return null;
}
public static Usuario ValidLogin(String email,String senha) {
for (Usuario user :
usuarios) {
if (Objects.equals(user.getEmail(), email) && Objects.equals(user.getSenha(), senha)) {
return user;
}
};
return null;
}
public static void AddUsuario(String email, String senha) {
usuarios.add(new Usuario(email,senha,usuarios.size()+1,buildNome(email)));
}
private static String buildNome(String email){
String[] splitName=email.split("@");
return splitName[0];
}
}
|
[
"rodolfojoserocha@gmail.com"
] |
rodolfojoserocha@gmail.com
|
d861b09402c82ebec28b3166d424722ea41dd10e
|
3dfd87536f19013b0b55c61f79b45e3ca9673f08
|
/src/fr/epita/quiz/manager/doujana/services/data/QuizQuestionJDBCDAO.java
|
e555849a2fc1c55ff484ac7a5583a9ae569a4521
|
[] |
no_license
|
doujana/EPITA-Quiz-Manager-Fundamental
|
33a87d5a162e697a316049954a02cbf401a4dc73
|
02355360754fe57bd758b5201c9bf1a59db7fb9e
|
refs/heads/master
| 2020-06-15T11:26:57.943476
| 2019-07-04T22:13:42
| 2019-07-04T22:13:42
| 195,286,806
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 7,012
|
java
|
package fr.epita.quiz.manager.doujana.services.data;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import fr.epita.quiz.manager.doujana.datamodel.QuestionType;
import fr.epita.quiz.manager.doujana.datamodel.QuizQuestion;
import fr.epita.quiz.manager.doujana.exception.CreateFailedException;
import fr.epita.quiz.manager.doujana.exception.SearchFailedException;
import fr.epita.quiz.manager.doujana.services.ConfigurationService;
public class QuizQuestionJDBCDAO {
private static final String SEARCH_QUERY = "select ID,question_id,quiz_id from QUIZQUESTION where ID = ? or question_id=?,quiz_id=?";
private static final String INSERT_QUERY = "INSERT into QUIZQUESTION (question_id,quiz_id) values(?,?)";
private static final String UPDATE_QUERY = "UPDATE QUIZQUESTION SET question_id=?,quiz_id=? WHERE ID = ?";
private static final String DELETE_QUERY = "DELETE FROM QUIZQUESTION WHERE ID = ?";
private String url;
private String password;
private String username;
public QuizQuestionJDBCDAO()
{
ConfigurationService conf = ConfigurationService.getInstance();
this.username = conf.getConfigurationValue("db.username", "");
this.password = conf.getConfigurationValue("db.password", "");
this.url = conf.getConfigurationValue("db.url", "");
}
private Connection getConnection() throws SQLException
{
Connection connection = DriverManager.getConnection(this.url, this.username, this.password);
return connection;
}
/**
* Creates a QuizQuestion in the database, if a problem occurs then it throws an
* {@link CreateFailedException} usage example: QuizQuestionJDBCDAO dao = new ... try{
* dao.create(QuizQuestionInstance); }catch(CreateFailed e){ //log exception }
*
* @param quizquestion
* @throws CreateFailedException
*/
public void create(QuizQuestion quizquestion ) throws CreateFailedException{
try (Connection connection = getConnection();
PreparedStatement pstmt = connection.prepareStatement(INSERT_QUERY);) {
pstmt.setInt(1,quizquestion.getQuestion_id());
pstmt.setInt(2,quizquestion.getQuiz_id());
pstmt.execute();
} catch (SQLException sqle) {
System.out.print("the error is"+sqle.getMessage());
throw new CreateFailedException(quizquestion);
}
}
/**
* <b>another function to create/insert a record in the database</b>
* Creates a quizquestion in the database, if a problem occurs then it throws an
* {@link CreateFailedException} usage example: quizquestionJDBCDAO dao = new ... try{
* dao.create(quizquestionInstance); }catch(CreateFailed e){ //log exception }
*
* @param quizquestion
* @throws CreateFailedException
*/
public boolean createRecord(QuizQuestion quizquestion)throws CreateFailedException{
boolean status = false;
try (Connection connection = getConnection();
PreparedStatement pstmt = connection.prepareStatement(INSERT_QUERY);) {
pstmt.setInt(1,quizquestion.getQuestion_id());
pstmt.setInt(2,quizquestion.getQuiz_id());
status = pstmt.execute();
} catch (SQLException sqle) {
throw new CreateFailedException(quizquestion);
}
return status;
}
/**
* updates a quizquestion in the database, if a problem occurs then it throws an
* {@link Exception} usage example: quizquestionJDBCDAO dao = new ... try{
* dao.update(quizquestionInstance); }catch(SQLException sqle){ //log exception }
*
* @param questiontype
* @throws SQLException
*/
public void update(QuizQuestion quizquestion) {
try (Connection connection = getConnection();
PreparedStatement pstmt = connection.prepareStatement(UPDATE_QUERY);) {
pstmt.setInt(1,quizquestion.getQuestion_id());
pstmt.setInt(2, quizquestion.getQuiz_id());
pstmt.setInt(3,quizquestion.getId());
pstmt.execute();
} catch (SQLException sqle) {
// TODO transform into UpdateFailedException
}
}
/**
*
* updates a quizquestion in the database, if a problem occurs then it throws an
* {@link Exception} usage example: quizquestionJDBCDAO dao = new ... try{
* dao.update(quizquestionInstance); }catch(SQLException sqle){ //log exception }
*
* @param quizquestion
* @throws SQLException
*/
public int updateRecord(QuizQuestion quizquestion) {
int status = 0;
try (Connection connection = getConnection();
PreparedStatement pstmt = connection.prepareStatement(UPDATE_QUERY);) {
pstmt.setInt(1,quizquestion.getQuestion_id());
pstmt.setInt(2, quizquestion.getQuiz_id());
pstmt.setInt(3,quizquestion.getId());
status = pstmt.executeUpdate();
} catch (SQLException sqle) {
//
}
return status;
}
/**
* Delete a quizquestion in the database, if a problem occurs then it throws an
* {@link Exception} usage example: quizquestionJDBCDAO dao = new ... try{
* dao.delete(quizquestionInstance); }catch(SQLException sqle){ //log exception }
*
* @param quizquestion
* @throws SQLException
*/
public void delete(QuizQuestion quizquestion) {
try (Connection connection = getConnection();
PreparedStatement pstmt = connection.prepareStatement(DELETE_QUERY);) {
pstmt.setInt(1, quizquestion.getId());
pstmt.execute();
} catch (SQLException sqle) {
System.out.printf("Delete error happend",sqle.getMessage());
}
}
/**
* get a quizquestion in the database, if a problem occurs then it throws an
* {@link Exception} usage example: quizquestionJDBCDAO dao = new ... try{
* dao.getbyid(quizquestionInstance); }catch(SQLException sqle){ //log exception }
*
* @param id
* @throws SQLException
*/
public QuestionType getById(int id) {
return null;
}
/**
* Search for a quizquestion in the database, if a problem occurs then it throws an
* {@link SearchFailedException} usage example: quizquestionJDBCDAO dao = new ... try{
* dao.search(quizquestionInstance); }catch(SQLException sqle){ //log exception }
*
* @param quizquestionCriterion
* @throws SearchFailedException
*/
public List<QuizQuestion>search(QuizQuestion quizquestionCriterion) throws SearchFailedException {
List<QuizQuestion> quizquestionList = new ArrayList<>();
try (Connection connection = getConnection();
PreparedStatement pstmt = connection.prepareStatement(SEARCH_QUERY)) {
pstmt.setInt(1, quizquestionCriterion.getId());
pstmt.setInt(2, quizquestionCriterion.getQuestion_id());
pstmt.setInt(3, quizquestionCriterion.getQuiz_id());
ResultSet rs = pstmt.executeQuery();
while (rs.next()) {
QuizQuestion quizquestion = new QuizQuestion();
quizquestion.setQuestion_id(rs.getInt("question_id"));
quizquestion.setId(rs.getInt("id"));
quizquestion.setQuiz_id(rs.getInt("quiz id"));
quizquestionList.add(quizquestion);
}
rs.close();
} catch (SQLException e) {
throw new SearchFailedException(quizquestionCriterion);
}
return quizquestionList;
}
}
|
[
"doujanaalhabib95@gmail.com"
] |
doujanaalhabib95@gmail.com
|
771b891e0a52783525d35cd0974ffbc65f3884cd
|
0af8b92686a58eb0b64e319b22411432aca7a8f3
|
/large-multiproject/project71/src/main/java/org/gradle/test/performance71_1/Production71_12.java
|
a94d54e85f7f642545f9c8f4a9c08dcdda95478e
|
[] |
no_license
|
gradle/performance-comparisons
|
b0d38db37c326e0ce271abebdb3c91769b860799
|
e53dc7182fafcf9fedf07920cbbea8b40ee4eef4
|
refs/heads/master
| 2023-08-14T19:24:39.164276
| 2022-11-24T05:18:33
| 2022-11-24T05:18:33
| 80,121,268
| 17
| 15
| null | 2022-09-30T08:04:35
| 2017-01-26T14:25:33
| null |
UTF-8
|
Java
| false
| false
| 302
|
java
|
package org.gradle.test.performance71_1;
public class Production71_12 extends org.gradle.test.performance16_1.Production16_12 {
private final String property;
public Production71_12() {
this.property = "foo";
}
public String getProperty() {
return property;
}
}
|
[
"cedric.champeau@gmail.com"
] |
cedric.champeau@gmail.com
|
fe50ed01acf64e09890a4974cbc5c833f78dd425
|
d1ca2c6cbbf65d14f64ee71dcd27c3e216b04651
|
/app/src/main/java/xyz/creeperdch/testme/net/UserResult.java
|
c99dec286f7acded08f79f1f6adb47bdf5b8f5d3
|
[] |
no_license
|
CREEPERDCH/TestMe
|
e774e050f60a5a756dcbbc15526b43f9db002e2c
|
da71145e10e80c91e0d3815e7f14e7b309457834
|
refs/heads/master
| 2021-08-09T02:15:06.738171
| 2018-12-18T06:54:59
| 2018-12-18T06:54:59
| 148,309,777
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 578
|
java
|
package xyz.creeperdch.testme.net;
/**
* Created by creeper on 2018/9/19
* Hint:
* Email: wwwwyn4240@gmail.com
*/
public class UserResult<T> {
private int ret;
private T data;
private String msg;
public int getRet() {
return ret;
}
public void setRet(int ret) {
this.ret = ret;
}
public T getData() {
return data;
}
public void setData(T data) {
this.data = data;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}
|
[
"wwwwyn4240@gmail.com"
] |
wwwwyn4240@gmail.com
|
bba6e270e45b6685926574e58ff6cb1d232358b4
|
41ae94ff51daa7233f86b13ada16d3124e27025b
|
/src/main/java/zbsmirnova/isotopicRatioParser/service/PbService.java
|
ffb9dcf8579d137b470d0f0fe854cf63c4dccb03
|
[] |
no_license
|
zbsmirnova/isotopicRatioParser
|
a05bff158bf794d005612e80b834b6f511ae9e7e
|
1f95ff828fdbc5378f196eeb07dc4549bc6c16f9
|
refs/heads/master
| 2020-04-02T13:28:45.588110
| 2018-10-27T18:26:45
| 2018-10-27T18:26:45
| 154,482,946
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,149
|
java
|
package zbsmirnova.isotopicRatioParser.service;
import zbsmirnova.isotopicRatioParser.model.AbstractPb;
import zbsmirnova.isotopicRatioParser.model.ConcentrationPb;
import zbsmirnova.isotopicRatioParser.model.IsotopicPb;
import java.time.LocalDate;
import java.util.List;
public interface PbService {
AbstractPb save(AbstractPb pb);
boolean delete(int id);
boolean delete(String sampleName);
boolean deleteIsotopic(String sampleName);
boolean deleteConcentration(String sampleName);
IsotopicPb getIsotopic(int id);
ConcentrationPb getConcentration(int id);
IsotopicPb getIsotopic(String sampleName);
ConcentrationPb getConcentration(String sampleName);
// ORDERED dateTime desc
List<IsotopicPb> getBetweenIsotopic(LocalDate startDate, LocalDate endDate);
// ORDERED dateTime desc
List<ConcentrationPb> getBetweenConcentration(LocalDate startDate, LocalDate endDate);
List<IsotopicPb> getByDateIsotopic(LocalDate date);
List<ConcentrationPb> getByDateConcentration(LocalDate date);
List<IsotopicPb> getAllIsotopic();
List<ConcentrationPb> getAllConcentration();
}
|
[
"zbsmmirnova@gmail.com"
] |
zbsmmirnova@gmail.com
|
233bc3d7685526d802eff17939586de55b12df76
|
0eb00ccdb14e43955fab705b49922752123c9909
|
/src/main/java/com/example/itau/catapi/CatBreed.java
|
1899a2b8eaf1db0ae6c5e5e119efcc7b4b9419d4
|
[] |
no_license
|
sabiomito/catApi
|
fa045e8da55d9bd48e7de35f5df641fb819805d6
|
7374957f04262453339e7b0aab35efa05ad8ed25
|
refs/heads/master
| 2023-01-23T16:06:06.262079
| 2020-12-03T13:16:46
| 2020-12-03T13:37:53
| 316,599,330
| 1
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,304
|
java
|
package com.example.itau.catapi;
import java.io.Serializable;
public class CatBreed implements Serializable {
private String origin;
private String name;
private String temperament;
private String id;
public CatBreed()
{
origin = "";
name = "";
temperament = "";
}
public CatBreed(String origin, String name, String temperament) {
this.origin = origin;
this.name = name;
this.temperament = temperament;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getOrigin() {
return origin;
}
public void setOrigin(String origin) {
this.origin = origin;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTemperament() {
return temperament;
}
public void setTemperament(String temperament) {
this.temperament = temperament;
}
@Override
public String toString() {
return "CatBreed{" +
"origin='" + origin + '\'' +
", name='" + name + '\'' +
", temperament='" + temperament + '\'' +
'}';
}
}
|
[
"cwspires@id.uff.br"
] |
cwspires@id.uff.br
|
d9991e3025fe84c2cdb6363ca1b2581521b691b9
|
746b2ce286932c0aa8bf30025d225f88ee85380f
|
/android/app/src/main/java/com/transporteris/MainActivity.java
|
4acaaf2ff1f736c4469759d4cf5190676fefa150
|
[] |
no_license
|
modestasjurcius/Transporteris
|
1aca9e24ed44e7c8374de1f0f6ff635183f2d8b7
|
3913b93c4a5742a504f2386d0ddd0e49a0d31d2c
|
refs/heads/master
| 2023-02-04T01:17:04.789575
| 2020-12-23T09:35:05
| 2020-12-23T09:35:05
| 323,749,789
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,412
|
java
|
package com.transporteris;
import android.os.Bundle;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
import expo.modules.splashscreen.singletons.SplashScreen;
import expo.modules.splashscreen.SplashScreenImageResizeMode;
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// SplashScreen.show(...) has to be called after super.onCreate(...)
// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);
}
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainComponentName() {
return "main";
}
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
return new ReactActivityDelegate(this, getMainComponentName()) {
@Override
protected ReactRootView createRootView() {
return new RNGestureHandlerEnabledRootView(MainActivity.this);
}
};
}
}
|
[
"modesjur@gmail.com"
] |
modesjur@gmail.com
|
60b42a35e0e0dab4e1e62f4e309941c98d00265e
|
d3ab2e2f894ac04cd75431f677fefc22c70e04bc
|
/course-api-data/src/main/java/io/Springbootapp/springbootstarter/course/CourseController.java
|
3071cc1156ff9e08976e30978a3bad6e5f134792
|
[] |
no_license
|
nikhil15097/Course_api_springBoot_application
|
c324d0fd7e03945397db99c003bdade8987550f9
|
f0b5394bd7f6c5e33d825f5137c9548142e9ea89
|
refs/heads/master
| 2022-04-18T18:55:40.653391
| 2020-04-14T12:31:01
| 2020-04-14T12:31:01
| 255,534,347
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,662
|
java
|
package io.Springbootapp.springbootstarter.course;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import io.Springbootapp.springbootstarter.topic.Topic;
@RestController
public class CourseController {
@Autowired
private CourseService courseService;
@RequestMapping("/topics/{id}/courses")
public List<Course> getAllCourses(@PathVariable String id) {
return courseService.getAllCourses(id);
}
@RequestMapping("/topics/{topicId}/courses/{id}")
public Course getCourse(@PathVariable String id) {
return courseService.getCourse(id);
}
@RequestMapping(method=RequestMethod.POST ,value="/topics/{topicId}/Courses")
public void addCourse(@RequestBody Course course,@PathVariable String topicId) {
course.setTopic(new Topic(topicId, "", ""));
courseService.addCourse(course);
}
@RequestMapping(method=RequestMethod.PUT ,value="/topics/{topicId}/courses/{id}")
public void updateCourse(@RequestBody Course course,@PathVariable String topicId, @PathVariable String id) {
course.setTopic(new Topic(topicId, "", ""));
courseService.updateCourse(course);
}
@RequestMapping(method=RequestMethod.DELETE, value="/topics/{topicId}/courses/{id}")
public void deleteCourse(@PathVariable String id) {
courseService.deleteCourse(id);
}
}
|
[
"Nraj@MP19XWJX200114.huronconsultinggroup.com"
] |
Nraj@MP19XWJX200114.huronconsultinggroup.com
|
6575830b234f00fa4c24da02818c7b4c1de25732
|
e18e21c0782f76522097fef93757790040a8c43b
|
/src/main/java/org/snaker/engine/SnakerEngine.java
|
976375c0a0631cc060e90225907f93ca5276d4a8
|
[
"Apache-2.0"
] |
permissive
|
woodennail/snaker-core
|
e2029b93303157182af20315cf012697bb299b9b
|
ecd5451a05b887882f1688d95bdc0f0bb48256f2
|
refs/heads/master
| 2020-12-11T01:46:22.223188
| 2014-02-26T01:04:35
| 2014-02-26T01:04:35
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 4,487
|
java
|
/* Copyright 2012-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.snaker.engine;
import java.util.List;
import java.util.Map;
import org.snaker.engine.cfg.Configuration;
import org.snaker.engine.core.Execution;
import org.snaker.engine.entity.Order;
import org.snaker.engine.entity.Task;
import org.snaker.engine.model.WorkModel;
/**
* 流程引擎接口
* @author yuqs
* @version 1.0
*/
public interface SnakerEngine {
public static final String ADMIN = "snaker.admin";
/**
* 根据Configuration对象配置实现类
* @param config 全局配置对象
* @return SnakerEngine 流程引擎
*/
public SnakerEngine configure(Configuration config);
/**
* 获取process服务
* @return IProcessService 流程定义服务
*/
public IProcessService process();
/**
* 获取查询服务
* @return IQueryService 常用查询服务
*/
public IQueryService query();
/**
* 获取实例服务
* @return IQueryService 流程实例服务
*/
public IOrderService order();
/**
* 获取任务服务
* @return ITaskService 任务服务
*/
public ITaskService task();
/**
* 根据流程定义ID启动流程实例
* @param id 流程定义ID
* @return Order 流程实例
* @see #startInstanceById(String, String, Map)
*/
public Order startInstanceById(String id);
/**
* 根据流程定义ID,操作人ID启动流程实例
* @param id 流程定义ID
* @param operator 操作人ID
* @return Order 流程实例
* @see #startInstanceById(String, String, Map)
*/
public Order startInstanceById(String id, String operator);
/**
* 根据流程定义ID,操作人ID,参数列表启动流程实例
* @param id 流程定义ID
* @param operator 操作人ID
* @param args 参数列表
* @return Order 流程实例
*/
public Order startInstanceById(String id, String operator, Map<String, Object> args);
/**
* 根据父执行对象启动子流程实例
* @param execution 执行对象
* @return Order 流程实例
*/
public Order startInstanceByExecution(Execution execution);
/**
* 根据任务主键ID执行任务
* @param taskId 任务主键ID
* @return List<Task> 任务集合
* @see #executeTask(String, String, Map)
*/
public List<Task> executeTask(String taskId);
/**
* 根据任务主键ID,操作人ID执行任务
* @param taskId 任务主键ID
* @param operator 操作人主键ID
* @return List<Task> 任务集合
* @see #executeTask(String, String, Map)
*/
public List<Task> executeTask(String taskId, String operator);
/**
* 根据任务主键ID,操作人ID,参数列表执行任务
* @param taskId 任务主键ID
* @param operator 操作人主键ID
* @param args 参数列表
* @return List<Task> 任务集合
*/
public List<Task> executeTask(String taskId, String operator, Map<String, Object> args);
/**
* 根据任务主键ID,操作人ID,参数列表执行任务,并且根据nodeName跳转到任意节点
* 1、nodeName为null时,则跳转至上一步处理
* 2、nodeName不为null时,则任意跳转,即动态创建转移
* @param taskId 任务主键ID
* @param operator 操作人主键ID
* @param args 参数列表
* @param nodeName 跳转的节点名称
* @return List<Task> 任务集合
*/
public List<Task> executeAndJumpTask(String taskId, String operator, Map<String, Object> args, String nodeName);
/**
* 根据流程实例ID,操作人ID,参数列表按照节点模型model创建新的自由任务
* @param orderId 流程实例id
* @param operator 操作人id
* @param args 参数列表
* @param model 节点模型
* @return List<Task> 任务集合
*/
public List<Task> createFreeTask(String orderId, String operator, Map<String, Object> args, WorkModel model);
}
|
[
"snakerflow@163.com"
] |
snakerflow@163.com
|
a245ed9da82ab7c5759ef31716edb2f59ffa44fa
|
823905e6652821941ef98f459d85535bac5452ef
|
/nem-client-api/src/main/java/org/nem/ncc/services/TradingTransactionsServices.java
|
869b7946eb8f3c889e1ade1850bf9f3c5009629e
|
[
"MIT"
] |
permissive
|
akang/NemCommunityClient
|
a6e90eb45525f130aa66003da1b909a141b2ae6f
|
aa6cf2053c4ee51eaccfe80679562a0734d0814b
|
refs/heads/master
| 2021-01-22T17:05:48.006752
| 2016-10-14T16:37:22
| 2016-10-14T16:37:22
| 63,232,419
| 0
| 0
| null | 2016-07-13T09:18:08
| 2016-07-13T09:18:07
| null |
UTF-8
|
Java
| false
| false
| 902
|
java
|
package org.nem.ncc.services;
import org.nem.ncc.trading.storage.*;
import java.util.*;
import org.nem.core.model.ncc.*;
public interface TradingTransactionsServices
{
List<TransactionMetaDataPair> getDepositTxs(final TradingStorageName p0);
List<TransactionMetaDataPair> getWithdrawTxs(final TradingStorageName p0);
List<TransactionMetaDataPair> getBtcEscrowRequestTxs(final TradingStorageName p0);
List<TransactionMetaDataPair> getBtcEscrowResponseTxs(final TradingStorageName p0);
List<TransactionMetaDataPair> getUserDetailsSetupTxs(final TradingStorageName p0);
List<TransactionMetaDataPair> getUserDetailsUpdateTxs(final TradingStorageName p0);
List<TransactionMetaDataPair> getXemWithdrawalAccountSetTxs(final TradingStorageName p0);
List<TransactionMetaDataPair> getBtcWithdrawalAccountSetTxs(final TradingStorageName p0);
}
|
[
"traansphong@gmail.com"
] |
traansphong@gmail.com
|
5ecd787e69697f8f3ea6cf7285ff293583d43297
|
02a93dc672de18827fdfdb094a108ea1aecd271c
|
/app/src/androidTest/java/com/example/model2/ExampleInstrumentedTest.java
|
b486adc3117309fbf71a1ec6048bf508696e8ada
|
[] |
no_license
|
mrmAadil/MobileCourseWeb
|
caf5ecf3c95402a1875f3ac2c9b21931a69621c6
|
4f8603fad29530faeb7cb330f137c38f1b5e4d67
|
refs/heads/master
| 2020-08-11T04:13:15.877165
| 2019-10-11T17:05:05
| 2019-10-11T17:05:05
| 214,488,668
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 707
|
java
|
package com.example.model2;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.example.model2", appContext.getPackageName());
}
}
|
[
"mohamedaadilrizam@gmail.com"
] |
mohamedaadilrizam@gmail.com
|
1c83f4c46b1e69a3b09307ee2d9a1ee8dd69fd85
|
2ae17f6d9061b20aee0fc36ed4f9fbc9e15e3ea4
|
/gdai/src/main/java/es/udc/fic/manoelfolgueira/gdai/model/userstoryservice/UserStoryDetails.java
|
bbbbba77985dd70ca6c47085043964333df33d35
|
[] |
no_license
|
manoelfolgueira-udc/gdai
|
1dc215f4138f247e2310a848368d6ff1640894ef
|
52925b7c5dd432a2cfdef533a48c53219f9bbcae
|
refs/heads/FIX/DOC_BACK
| 2023-07-18T17:43:38.258474
| 2019-05-07T20:38:16
| 2019-05-07T20:38:16
| 323,099,622
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,537
|
java
|
package es.udc.fic.manoelfolgueira.gdai.model.userstoryservice;
import java.util.Calendar;
import java.util.LinkedList;
import es.udc.fic.manoelfolgueira.gdai.model.project.Project;
public class UserStoryDetails {
private String userStoryName;
private Calendar startDate = null;
private Calendar endDate = null;
private Calendar creationDate = Calendar.getInstance();
private LinkedList<Project> projects;
public UserStoryDetails(String userStoryName, Calendar startDate, Calendar endDate, Calendar creationDate,
LinkedList<Project> projects) {
this.userStoryName = userStoryName;
this.startDate = startDate;
this.endDate = endDate;
this.creationDate = creationDate;
this.projects = projects;
}
public String getUserStoryName() {
return userStoryName;
}
public void setUserStoryName(String userStoryName) {
this.userStoryName = userStoryName;
}
public Calendar getStartDate() {
return startDate;
}
public void setStartDate(Calendar startDate) {
this.startDate = startDate;
}
public Calendar getEndDate() {
return endDate;
}
public void setEndDate(Calendar endDate) {
this.endDate = endDate;
}
public LinkedList<Project> getProjects() {
return projects;
}
public void setProjects(LinkedList<Project> projects) {
this.projects = projects;
}
public void addProject(Project project) {
this.projects.add(project);
}
public void removeProject(Project project) {
this.projects.remove(project);
}
public Calendar getCreationDate() {
return creationDate;
}
}
|
[
"manoel.folgueira@udc.es"
] |
manoel.folgueira@udc.es
|
b23a592ce33b71d7e710690f6a7f1122921136a0
|
47ca8c1ce68a76eb2dd119c54c40ee2427d5e02f
|
/chapter1/section2/Date.java
|
c8f876522e8d5c69c97fc7ca4234208aeaf2f4aa
|
[] |
no_license
|
zzzmfps/Algorithms4th
|
e5a1d42896ada7cbf75f2511852ee6ba6c146548
|
c86a2c7c3902f0be7a22609e9d04166db5ebaaaa
|
refs/heads/master
| 2023-09-04T16:02:16.069122
| 2021-11-19T14:23:31
| 2021-11-19T14:23:31
| 385,857,632
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,694
|
java
|
package chapter1.section2;
import java.util.LinkedList;
import java.util.List;
import edu.princeton.cs.algs4.StdIn;
public class Date {
private final int year;
private final int month;
private final int day;
public Date(final int y, final int m, final int d) {
this.year = y;
this.month = m;
this.day = d;
}
public Date(final String date) {
final String[] fields = date.split("/");
this.year = Integer.parseInt(fields[0]);
this.month = Integer.parseInt(fields[1]);
this.day = Integer.parseInt(fields[2]);
}
public int year() {
return this.year;
}
public int month() {
return this.month;
}
public int day() {
return this.day;
}
public static Date[] readDates() {
final List<Date> list = new LinkedList<>();
while (!StdIn.isEmpty()) {
final String in = StdIn.readLine();
list.add(new Date(in));
}
final Date[] res = new Date[list.size()];
for (int i = 0; i < list.size(); ++i) {
res[i] = list.get(i);
}
return res; // ClassCastException with `(Date[]) list.toArray()`
}
@Override
public boolean equals(final Object o) {
if (this == o) {
return true;
}
if (null == o || this.getClass() != o.getClass()) {
return false;
}
final Date that = (Date) o;
return this.year == that.year && this.month == that.month && this.day == that.day;
}
@Override
public String toString() {
return "Date [day=" + day + ", month=" + month + ", year=" + year + "]";
}
}
|
[
"zzz100826@gmail.com"
] |
zzz100826@gmail.com
|
2de88baf86239b6188b78bf876fb03a1c080f6e1
|
dae5a8ab34d08ee25c666080454ee9f72c01220b
|
/sx/src/main/java/xxu/sx/entity/Task.java
|
cc000e3523f51c845e6936875f5fa233d1305e1e
|
[] |
no_license
|
chenjianbiao/sx
|
ec8800ad93a9af8de421058c6caa6f4f4b78463e
|
c0bba1515a06fd1d85386d23dd334393576fbb91
|
refs/heads/master
| 2021-05-07T19:09:16.049311
| 2017-10-31T23:42:22
| 2017-10-31T23:42:22
| 108,849,043
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,346
|
java
|
package xxu.sx.entity;
import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
/**
* The persistent class for the t_tasks database table.
*
*/
@Entity
@Table(name="t_tasks")
@NamedQuery(name="Task.findAll", query="SELECT t FROM Task t")
public class Task implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private int id;
@Temporal(TemporalType.TIMESTAMP)
@Column(name="date_created")
private Date dateCreated;
private String description;
private boolean finished;
private String name;
public Task() {
}
public int getId() {
return this.id;
}
public void setId(int id) {
this.id = id;
}
public Date getDateCreated() {
return this.dateCreated;
}
public void setDateCreated(Date dateCreated) {
this.dateCreated = dateCreated;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public boolean getFinished() {
return this.finished;
}
public void setFinished(boolean finished) {
this.finished = finished;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
|
[
"hnxxpd@126.com"
] |
hnxxpd@126.com
|
519bb1b1cad0c9673f8a518c070fe707679441b7
|
f2ef8f5fa6712978998a4f9e4e409b72cb007ac4
|
/src/main/java/groupware/dispatcher/service/model/OrderDescriptiveInfo.java
|
d39b8ca5e615b6bdbb59713031cff67b9f7adb9e
|
[] |
no_license
|
sabinamp/groupware_dispatcher
|
b37d1a277ec1784c35cbfe73ba30a1fc28285ef0
|
572962a900387f4b13997f13cee9130878cd2604
|
refs/heads/master
| 2022-12-23T12:45:36.944166
| 2020-09-19T15:34:17
| 2020-09-19T15:34:17
| 274,439,736
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 7,765
|
java
|
package groupware.dispatcher.service.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
public class OrderDescriptiveInfo {
@JsonProperty("orderId")
private String orderId = null;
@JsonProperty("customerName")
private String customerName = null;
@JsonProperty("weightUnitOfMeasureCode")
private WeightUnitOfMeasureCode weightUnitOfMeasureCode = null;
@JsonProperty("timeZone")
private String timeZone = null;
@JsonProperty("currencyCode")
private String currencyCode = null;
@JsonProperty("orderInfo")
private OrderInfo orderInfo = null;
@JsonProperty("contactInfos")
private List<ContactInfo> contactInfos = null;
@JsonProperty("finalDestinationContactInfos")
private List<ContactInfo> finalDestinationContactInfos = null;
@JsonProperty("deliveryInfos")
private LinkedList<DeliveryStep> deliveryInfos = null;
public OrderDescriptiveInfo orderId(String orderId) {
this.orderId = orderId;
return this;
}
/**
* The order ID.
* @return orderId
**/
public String getOrderId() {
return orderId;
}
public OrderDescriptiveInfo customerName(String customerName) {
this.customerName = customerName;
return this;
}
public OrderDescriptiveInfo weightUnitOfMeasureCode(WeightUnitOfMeasureCode weightUnitOfMeasureCode) {
this.weightUnitOfMeasureCode = weightUnitOfMeasureCode;
return this;
}
public WeightUnitOfMeasureCode getWeightUnitOfMeasureCode() {
return weightUnitOfMeasureCode;
}
public void setWeightUnitOfMeasureCode(WeightUnitOfMeasureCode weightUnitOfMeasureCode) {
this.weightUnitOfMeasureCode = weightUnitOfMeasureCode;
}
public OrderDescriptiveInfo timeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}
public String getTimeZone() {
return timeZone;
}
public void setTimeZone(String timeZone) {
this.timeZone = timeZone;
}
public OrderDescriptiveInfo currencyCode(String currencyCode) {
this.currencyCode = currencyCode;
return this;
}
public String getCurrencyCode() {
return currencyCode;
}
public void setCurrencyCode(String currencyCode) {
this.currencyCode = currencyCode;
}
public OrderDescriptiveInfo orderInfo(OrderInfo orderInfo) {
this.orderInfo = orderInfo;
return this;
}
public OrderInfo getOrderInfo() {
return orderInfo;
}
public void setOrderInfo(OrderInfo orderInfo) {
this.orderInfo = orderInfo;
}
public OrderDescriptiveInfo contactInfos(List<ContactInfo> contactInfos) {
this.contactInfos = contactInfos;
return this;
}
public OrderDescriptiveInfo addContactInfosItem(ContactInfo contactInfosItem) {
if (this.contactInfos == null) {
this.contactInfos = new ArrayList<>();
}
this.contactInfos.add(contactInfosItem);
return this;
}
public List<ContactInfo> getContactInfos() {
return contactInfos;
}
public void setContactInfos(List<ContactInfo> contactInfos) {
this.contactInfos = contactInfos;
}
public OrderDescriptiveInfo finalDestinationContactInfos(List<ContactInfo> contactInfos) {
this.finalDestinationContactInfos = contactInfos;
return this;
}
public OrderDescriptiveInfo addFinalDestinationContactInfosItem(ContactInfo contactInfosItem) {
if (this.finalDestinationContactInfos == null) {
this.finalDestinationContactInfos = new ArrayList<>();
}
this.contactInfos.add(contactInfosItem);
return this;
}
public List<ContactInfo> getFinalDestinationContactInfos() {
return this.finalDestinationContactInfos;
}
public void setFinalDestinationContactInfos(List<ContactInfo> finalDestinationContactInfos) {
this.finalDestinationContactInfos = contactInfos;
}
public OrderDescriptiveInfo deliveryInfos(LinkedList<DeliveryStep> deliveryInfos) {
this.deliveryInfos = deliveryInfos;
return this;
}
public OrderDescriptiveInfo addDeliveryInfosItem(DeliveryStep deliveryStep) {
if (this.deliveryInfos == null) {
this.deliveryInfos = new LinkedList<>();
}
this.deliveryInfos.add(deliveryStep);
return this;
}
public LinkedList<DeliveryStep> getDeliveryInfos() {
return deliveryInfos;
}
public void setDeliveryInfos(LinkedList<DeliveryStep> deliveryInfos) {
this.deliveryInfos = deliveryInfos;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
OrderDescriptiveInfo orderDescriptiveInfo = (OrderDescriptiveInfo) o;
return Objects.equals(this.orderId, orderDescriptiveInfo.orderId) &&
Objects.equals(this.customerName, orderDescriptiveInfo.customerName) &&
Objects.equals(this.timeZone, orderDescriptiveInfo.timeZone) &&
Objects.equals(this.weightUnitOfMeasureCode, orderDescriptiveInfo.weightUnitOfMeasureCode) &&
Objects.equals(this.currencyCode, orderDescriptiveInfo.currencyCode) &&
Objects.equals(this.orderInfo, orderDescriptiveInfo.orderInfo) &&
Objects.equals(this.contactInfos, orderDescriptiveInfo.contactInfos) &&
Objects.equals(this.finalDestinationContactInfos, orderDescriptiveInfo.finalDestinationContactInfos) &&
Objects.equals(this.deliveryInfos, orderDescriptiveInfo.deliveryInfos);
}
@Override
public int hashCode() {
return Objects.hash(orderId, customerName, timeZone, weightUnitOfMeasureCode, currencyCode, orderInfo,
contactInfos, finalDestinationContactInfos, deliveryInfos);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OrderDescriptiveInfo {\n");
sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n");
sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n");
sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
sb.append(" weightUnitOfMeasureCode: ").append(toIndentedString(weightUnitOfMeasureCode)).append("\n");
sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
sb.append(" orderInfo: ").append(toIndentedString(orderInfo)).append("\n");
sb.append(" contactInfos: ").append(toIndentedString(contactInfos)).append("\n");
sb.append(" finalDestinationContactInfos: ").append(toIndentedString(finalDestinationContactInfos)).append("\n");
sb.append(" deliveryInfos: ").append(toIndentedString(deliveryInfos)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
|
[
"sabina.borbely@students.fhnw.ch"
] |
sabina.borbely@students.fhnw.ch
|
8ce3a803523788e15df92d358bec13ea0b0993bc
|
94fc868bc525e6a6480658969729b6f1b5e91448
|
/src/main/java/org/broadinstitute/hellbender/tools/walkers/annotator/UniqueAltReadCount.java
|
756ea39299eccffcfa6bbabd967b8fffcf332835
|
[
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
mirounga/gatk
|
ccc28e474eb69f03a77c7f3b8eaecece5b676f65
|
97acbbc1d9f220e9faeeef2fa13db3e74fb6a06a
|
refs/heads/master
| 2022-07-08T14:29:04.632003
| 2022-06-24T16:11:11
| 2022-06-24T16:11:11
| 156,261,726
| 2
| 0
|
BSD-3-Clause
| 2021-08-17T04:33:01
| 2018-11-05T18:11:13
|
Java
|
UTF-8
|
Java
| false
| false
| 3,841
|
java
|
package org.broadinstitute.hellbender.tools.walkers.annotator;
import com.google.common.collect.ImmutableMap;
import htsjdk.variant.variantcontext.Allele;
import htsjdk.variant.variantcontext.VariantContext;
import htsjdk.variant.vcf.VCFInfoHeaderLine;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.broadinstitute.barclay.help.DocumentedFeature;
import org.broadinstitute.hellbender.engine.ReferenceContext;
import org.broadinstitute.hellbender.tools.walkers.annotator.allelespecific.AlleleSpecificAnnotation;
import org.broadinstitute.hellbender.utils.genotyper.AlleleLikelihoods;
import org.broadinstitute.hellbender.utils.help.HelpConstants;
import org.broadinstitute.hellbender.utils.read.GATKRead;
import org.broadinstitute.hellbender.utils.variant.GATKVCFConstants;
import org.broadinstitute.hellbender.utils.variant.GATKVCFHeaderLines;
import picard.sam.markduplicates.MarkDuplicates;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* Finds a lower bound on the number of unique reads at a locus that support a non-reference allele.
*
* <p>Multiple reads with the same start position and fragment length are grouped and counted only once as they are
* likely duplicates. In most cases such reads should be filtered using a tool such as {@link MarkDuplicates}. This annotation
* is designed for use with unique molecular identifiers (UMIs), in which case reads with the same start and fragment length but different
* UMIs would appear to be independent. This is not a default annotation of any GATK tool but can be enabled on the command line
* with --annotation UniqueAltReadCount.</p>
*
* <p>Although these reads have different UMIs, sometimes they really are PCR duplicates.
* We now believe that these duplicates are the result of a false-priming event that occurs during PCR amplification
* in which excess adapter remains after the ligation step and fails to be completely
* cleaned up during SPRI. This excess adapter is thought to act as a PCR primer during amplification, which leads to
* the synthesis of a molecule with the wrong UMI.</p>
*
* <p>This annotation does not require or use any BAM file duplicate flags or UMI information, just the read alignments.</p>
*/
@DocumentedFeature(groupName=HelpConstants.DOC_CAT_ANNOTATORS, groupSummary=HelpConstants.DOC_CAT_ANNOTATORS_SUMMARY, summary="Number of non-duplicate-insert ALT reads (AS_UNIQ_ALT_READ_COUNT)")
public class UniqueAltReadCount implements InfoFieldAnnotation, AlleleSpecificAnnotation {
public static final String KEY = GATKVCFConstants.AS_UNIQUE_ALT_READ_SET_COUNT_KEY;
@Override
public List<String> getKeyNames() {
return Collections.singletonList(KEY);
}
@Override
public Map<String, Object> annotate(final ReferenceContext ref,
final VariantContext vc,
final AlleleLikelihoods<GATKRead, Allele> likelihoods) {
List<Integer> uniqueCountsPerAllele = vc.getAlternateAlleles().stream().map(altAllele -> {
// Build a map from the (Start Position, Fragment Size) tuple to the count of reads with that
// start position and fragment size
Map<ImmutablePair<Integer, Integer>, Long> duplicateReadMap = likelihoods.bestAllelesBreakingTies().stream()
.filter(ba -> ba.allele.equals(altAllele) && ba.isInformative())
.map(ba -> new ImmutablePair<>(ba.evidence.getStart(), ba.evidence.getFragmentLength()))
.collect(Collectors.groupingBy(x -> x, Collectors.counting()));
return duplicateReadMap.size();
}).collect(Collectors.toList());
return ImmutableMap.of(KEY, AnnotationUtils.encodeAnyASListWithRawDelim(uniqueCountsPerAllele));
}
}
|
[
"noreply@github.com"
] |
noreply@github.com
|
34b68aaec190562e4718b0c37486723b3f4fde7d
|
29ad83b71e4164341fe57bb712610690e3f1d1b4
|
/src/japa/parser/ASTParserConstants.java
|
a66147c2db2bc6c5545d94df67b12f7dde67fc28
|
[] |
no_license
|
iostres/JavaCallGrapher
|
a3cda03d58c875fe9e742eb9ccaa122855872ea1
|
527596d31f2aeb329722bc63a616055286d7a810
|
refs/heads/master
| 2020-05-16T02:41:39.756902
| 2011-12-16T08:39:27
| 2011-12-16T08:39:27
| 2,988,323
| 0
| 0
| null | null | null | null |
WINDOWS-1250
|
Java
| false
| false
| 9,786
|
java
|
/* Generated By:JavaCC: Do not edit this line. ASTParserConstants.java */
/*
* Copyright (C) 2008 Júlio Vilmar Gesser.
*
* This file is part of Java 1.5 parser and Abstract Syntax Tree.
*
* Java 1.5 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Java 1.5 parser and Abstract Syntax Tree is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Java 1.5 parser and Abstract Syntax Tree. If not, see <http://www.gnu.org/licenses/>.
*/
package japa.parser;
/**
* Token literal values and constants.
* Generated by org.javacc.parser.OtherFilesGen#start()
*/
public interface ASTParserConstants {
/** End of File. */
int EOF = 0;
/** RegularExpression Id. */
int SINGLE_LINE_COMMENT = 6;
/** RegularExpression Id. */
int JAVA_DOC_COMMENT = 9;
/** RegularExpression Id. */
int MULTI_LINE_COMMENT = 10;
/** RegularExpression Id. */
int ABSTRACT = 12;
/** RegularExpression Id. */
int ASSERT = 13;
/** RegularExpression Id. */
int BOOLEAN = 14;
/** RegularExpression Id. */
int BREAK = 15;
/** RegularExpression Id. */
int BYTE = 16;
/** RegularExpression Id. */
int CASE = 17;
/** RegularExpression Id. */
int CATCH = 18;
/** RegularExpression Id. */
int CHAR = 19;
/** RegularExpression Id. */
int CLASS = 20;
/** RegularExpression Id. */
int CONST = 21;
/** RegularExpression Id. */
int CONTINUE = 22;
/** RegularExpression Id. */
int _DEFAULT = 23;
/** RegularExpression Id. */
int DO = 24;
/** RegularExpression Id. */
int DOUBLE = 25;
/** RegularExpression Id. */
int ELSE = 26;
/** RegularExpression Id. */
int ENUM = 27;
/** RegularExpression Id. */
int EXTENDS = 28;
/** RegularExpression Id. */
int FALSE = 29;
/** RegularExpression Id. */
int FINAL = 30;
/** RegularExpression Id. */
int FINALLY = 31;
/** RegularExpression Id. */
int FLOAT = 32;
/** RegularExpression Id. */
int FOR = 33;
/** RegularExpression Id. */
int GOTO = 34;
/** RegularExpression Id. */
int IF = 35;
/** RegularExpression Id. */
int IMPLEMENTS = 36;
/** RegularExpression Id. */
int IMPORT = 37;
/** RegularExpression Id. */
int INSTANCEOF = 38;
/** RegularExpression Id. */
int INT = 39;
/** RegularExpression Id. */
int INTERFACE = 40;
/** RegularExpression Id. */
int LONG = 41;
/** RegularExpression Id. */
int NATIVE = 42;
/** RegularExpression Id. */
int NEW = 43;
/** RegularExpression Id. */
int NULL = 44;
/** RegularExpression Id. */
int PACKAGE = 45;
/** RegularExpression Id. */
int PRIVATE = 46;
/** RegularExpression Id. */
int PROTECTED = 47;
/** RegularExpression Id. */
int PUBLIC = 48;
/** RegularExpression Id. */
int RETURN = 49;
/** RegularExpression Id. */
int SHORT = 50;
/** RegularExpression Id. */
int STATIC = 51;
/** RegularExpression Id. */
int STRICTFP = 52;
/** RegularExpression Id. */
int SUPER = 53;
/** RegularExpression Id. */
int SWITCH = 54;
/** RegularExpression Id. */
int SYNCHRONIZED = 55;
/** RegularExpression Id. */
int THIS = 56;
/** RegularExpression Id. */
int THROW = 57;
/** RegularExpression Id. */
int THROWS = 58;
/** RegularExpression Id. */
int TRANSIENT = 59;
/** RegularExpression Id. */
int TRUE = 60;
/** RegularExpression Id. */
int TRY = 61;
/** RegularExpression Id. */
int VOID = 62;
/** RegularExpression Id. */
int VOLATILE = 63;
/** RegularExpression Id. */
int WHILE = 64;
/** RegularExpression Id. */
int LONG_LITERAL = 65;
/** RegularExpression Id. */
int INTEGER_LITERAL = 66;
/** RegularExpression Id. */
int DECIMAL_LITERAL = 67;
/** RegularExpression Id. */
int HEX_LITERAL = 68;
/** RegularExpression Id. */
int OCTAL_LITERAL = 69;
/** RegularExpression Id. */
int FLOATING_POINT_LITERAL = 70;
/** RegularExpression Id. */
int DECIMAL_FLOATING_POINT_LITERAL = 71;
/** RegularExpression Id. */
int DECIMAL_EXPONENT = 72;
/** RegularExpression Id. */
int HEXADECIMAL_FLOATING_POINT_LITERAL = 73;
/** RegularExpression Id. */
int HEXADECIMAL_EXPONENT = 74;
/** RegularExpression Id. */
int CHARACTER_LITERAL = 75;
/** RegularExpression Id. */
int STRING_LITERAL = 76;
/** RegularExpression Id. */
int IDENTIFIER = 77;
/** RegularExpression Id. */
int LETTER = 78;
/** RegularExpression Id. */
int PART_LETTER = 79;
/** RegularExpression Id. */
int LPAREN = 80;
/** RegularExpression Id. */
int RPAREN = 81;
/** RegularExpression Id. */
int LBRACE = 82;
/** RegularExpression Id. */
int RBRACE = 83;
/** RegularExpression Id. */
int LBRACKET = 84;
/** RegularExpression Id. */
int RBRACKET = 85;
/** RegularExpression Id. */
int SEMICOLON = 86;
/** RegularExpression Id. */
int COMMA = 87;
/** RegularExpression Id. */
int DOT = 88;
/** RegularExpression Id. */
int AT = 89;
/** RegularExpression Id. */
int ASSIGN = 90;
/** RegularExpression Id. */
int LT = 91;
/** RegularExpression Id. */
int BANG = 92;
/** RegularExpression Id. */
int TILDE = 93;
/** RegularExpression Id. */
int HOOK = 94;
/** RegularExpression Id. */
int COLON = 95;
/** RegularExpression Id. */
int EQ = 96;
/** RegularExpression Id. */
int LE = 97;
/** RegularExpression Id. */
int GE = 98;
/** RegularExpression Id. */
int NE = 99;
/** RegularExpression Id. */
int SC_OR = 100;
/** RegularExpression Id. */
int SC_AND = 101;
/** RegularExpression Id. */
int INCR = 102;
/** RegularExpression Id. */
int DECR = 103;
/** RegularExpression Id. */
int PLUS = 104;
/** RegularExpression Id. */
int MINUS = 105;
/** RegularExpression Id. */
int STAR = 106;
/** RegularExpression Id. */
int SLASH = 107;
/** RegularExpression Id. */
int BIT_AND = 108;
/** RegularExpression Id. */
int BIT_OR = 109;
/** RegularExpression Id. */
int XOR = 110;
/** RegularExpression Id. */
int REM = 111;
/** RegularExpression Id. */
int LSHIFT = 112;
/** RegularExpression Id. */
int PLUSASSIGN = 113;
/** RegularExpression Id. */
int MINUSASSIGN = 114;
/** RegularExpression Id. */
int STARASSIGN = 115;
/** RegularExpression Id. */
int SLASHASSIGN = 116;
/** RegularExpression Id. */
int ANDASSIGN = 117;
/** RegularExpression Id. */
int ORASSIGN = 118;
/** RegularExpression Id. */
int XORASSIGN = 119;
/** RegularExpression Id. */
int REMASSIGN = 120;
/** RegularExpression Id. */
int LSHIFTASSIGN = 121;
/** RegularExpression Id. */
int RSIGNEDSHIFTASSIGN = 122;
/** RegularExpression Id. */
int RUNSIGNEDSHIFTASSIGN = 123;
/** RegularExpression Id. */
int ELLIPSIS = 124;
/** RegularExpression Id. */
int RUNSIGNEDSHIFT = 125;
/** RegularExpression Id. */
int RSIGNEDSHIFT = 126;
/** RegularExpression Id. */
int GT = 127;
/** Lexical state. */
int DEFAULT = 0;
/** Lexical state. */
int IN_JAVA_DOC_COMMENT = 1;
/** Lexical state. */
int IN_MULTI_LINE_COMMENT = 2;
/** Literal token values. */
String[] tokenImage = {
"<EOF>",
"\" \"",
"\"\\t\"",
"\"\\n\"",
"\"\\r\"",
"\"\\f\"",
"<SINGLE_LINE_COMMENT>",
"<token of kind 7>",
"\"/*\"",
"\"*/\"",
"\"*/\"",
"<token of kind 11>",
"\"abstract\"",
"\"assert\"",
"\"boolean\"",
"\"break\"",
"\"byte\"",
"\"case\"",
"\"catch\"",
"\"char\"",
"\"class\"",
"\"const\"",
"\"continue\"",
"\"default\"",
"\"do\"",
"\"double\"",
"\"else\"",
"\"enum\"",
"\"extends\"",
"\"false\"",
"\"final\"",
"\"finally\"",
"\"float\"",
"\"for\"",
"\"goto\"",
"\"if\"",
"\"implements\"",
"\"import\"",
"\"instanceof\"",
"\"int\"",
"\"interface\"",
"\"long\"",
"\"native\"",
"\"new\"",
"\"null\"",
"\"package\"",
"\"private\"",
"\"protected\"",
"\"public\"",
"\"return\"",
"\"short\"",
"\"static\"",
"\"strictfp\"",
"\"super\"",
"\"switch\"",
"\"synchronized\"",
"\"this\"",
"\"throw\"",
"\"throws\"",
"\"transient\"",
"\"true\"",
"\"try\"",
"\"void\"",
"\"volatile\"",
"\"while\"",
"<LONG_LITERAL>",
"<INTEGER_LITERAL>",
"<DECIMAL_LITERAL>",
"<HEX_LITERAL>",
"<OCTAL_LITERAL>",
"<FLOATING_POINT_LITERAL>",
"<DECIMAL_FLOATING_POINT_LITERAL>",
"<DECIMAL_EXPONENT>",
"<HEXADECIMAL_FLOATING_POINT_LITERAL>",
"<HEXADECIMAL_EXPONENT>",
"<CHARACTER_LITERAL>",
"<STRING_LITERAL>",
"<IDENTIFIER>",
"<LETTER>",
"<PART_LETTER>",
"\"(\"",
"\")\"",
"\"{\"",
"\"}\"",
"\"[\"",
"\"]\"",
"\";\"",
"\",\"",
"\".\"",
"\"@\"",
"\"=\"",
"\"<\"",
"\"!\"",
"\"~\"",
"\"?\"",
"\":\"",
"\"==\"",
"\"<=\"",
"\">=\"",
"\"!=\"",
"\"||\"",
"\"&&\"",
"\"++\"",
"\"--\"",
"\"+\"",
"\"-\"",
"\"*\"",
"\"/\"",
"\"&\"",
"\"|\"",
"\"^\"",
"\"%\"",
"\"<<\"",
"\"+=\"",
"\"-=\"",
"\"*=\"",
"\"/=\"",
"\"&=\"",
"\"|=\"",
"\"^=\"",
"\"%=\"",
"\"<<=\"",
"\">>=\"",
"\">>>=\"",
"\"...\"",
"\">>>\"",
"\">>\"",
"\">\"",
"\"\\u001a\"",
};
}
|
[
"iostres@live.com"
] |
iostres@live.com
|
efc5399abdd78d02c35c4698bce3f2d7ecf0d421
|
7945a564139774a55f162e6cfe496524db0f5915
|
/Golbatch.java
|
6bbb8fe4f9df1c3cda8fbe82ea4ac6c2292e6841
|
[] |
no_license
|
dashjuvi/Parser
|
95940c276b9f7da6790cc073f166b41f26d94b2a
|
fe38d540913a35acefef4737b626c45ea0e89880
|
refs/heads/master
| 2020-04-02T19:57:13.334137
| 2019-02-10T02:20:46
| 2019-02-10T02:20:46
| 154,752,403
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,305
|
java
|
public class Solution {
public ArrayList<Integer> primesum(int n) {
boolean[] isPrime = new boolean[n];
for (int i = 2; i < n; i++)
isPrime[i] = true;
// determine primes < n using Sieve of Eratosthenes
for (int factor = 2; factor*factor < n; factor++) {
if (isPrime[factor]) {
for (int j = factor; factor*j < n; j++)
isPrime[factor*j] = false;
}
}
// count primes
int primes = 0;
for (int i = 2; i < n; i++)
if (isPrime[i]) primes++;
// store primes in list
int[] list = new int[primes];
int count = 0;
for (int i = 0; i < n; i++)
if (isPrime[i]) list[count++] = i;
// check if n can be expressed as sum of two primes
int left = 0, right = count-1;
while (left <= right) {
if (list[left] + list[right] == n) break;
else if (list[left] + list[right] < n) left++;
else right--;
}
ArrayList<Integer> cosa = new ArrayList<Integer>();
for (int i : list)
{
cosa.add(i);
}
ArrayList<Integer> lmao = new ArrayList<Integer>();
lmao.add(list[left]);
lmao.add(list[right]);
return lmao;
}
}
|
[
"noreply@github.com"
] |
noreply@github.com
|
7dfa5881441067504771e8a5d304a36a0eabc4b1
|
b55340d57a4ce9fabd7abb5d0c5f878fb4bb46e1
|
/src/com/newview/bysj/initialize/domain/User2Role.java
|
7f0c3e4c5833c325e6a4b97820a16e87c9770320
|
[] |
no_license
|
refactbysj/bysjrefactor
|
94655d8a23550279ca77aa3273b369a82e3a62f6
|
f32d7e090f4a335781199a35c9c0776ceb9c4cd5
|
refs/heads/master
| 2021-01-20T07:42:43.739838
| 2017-07-18T00:55:02
| 2017-07-18T00:55:02
| 90,032,511
| 1
| 1
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 520
|
java
|
package com.newview.bysj.initialize.domain;
import java.io.Serializable;
public class User2Role implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer user;
private Integer role;
public Integer getUser() {
return user;
}
public void setUser(Integer user) {
this.user = user;
}
public Integer getRole() {
return role;
}
public void setRole(Integer role) {
this.role = role;
}
}
|
[
"1140439898@qq.com"
] |
1140439898@qq.com
|
70a0dbf53383a062c5afc59d1f8c3447885191fa
|
9a70b2209999d33898cb80680ded06856de863bc
|
/src/main/java/isel/leic/pg/console/test/MiscTest.java
|
331bdd12f2f62fe0abae0d836b118fbb037fb5a3
|
[] |
no_license
|
xploitedd/ConsoleView
|
937fc734184c684f3291594610797b59373b85ff
|
142973cc23ee2513b222e4c486c54beb5b1998d6
|
refs/heads/master
| 2020-05-15T18:56:20.410680
| 2019-04-20T17:32:55
| 2019-04-20T17:32:55
| 182,441,338
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,031
|
java
|
package isel.leic.pg.console.test;
import isel.leic.pg.Console;
import java.awt.*;
import java.util.Random;
public class MiscTest {
public static void main(String[] args) {
int i = 0;
Console.open("Demo Stars",20,40);
//Console.clear();
Random rnd = new Random();
Console.println("Hello World");
Console.println('a');
Console.print(new Point(50, 0), new Point(305, 200), 4);
//Console.startMusic("stars");
/*while (i++ != Integer.MAX_VALUE) {
String txt = "Iterations: " + i;
Console.cursor(19, 39 - txt.length());
Console.color(BLACK, WHITE);
Console.print(txt);
Console.cursor(rnd.nextInt(19),rnd.nextInt(40));
Console.setForeground(rnd.nextInt(Console.MAX_COLORS));
if (rnd.nextInt(20)==0) {
Console.print('*');
Console.sleep(100);
}
else Console.print(' ');
}*/
Console.stopMusic();
}
}
|
[
"kryfor@outlook.com"
] |
kryfor@outlook.com
|
ccbf91221f6263ce55164fc2b7ee1a7454e955a7
|
07bd7613fe758060ace00d8d35a48731cb8a0040
|
/protected-method-scheduled-job/spring-sec-31/src/main/java/net/petrikainulainen/spring/trenches/scheduling/job/ScheduledJobOne.java
|
fe35c7fc14b7acf73dca34b568cce8eaadca1571
|
[
"Apache-2.0"
] |
permissive
|
beginsmauel/spring-from-the-trenches
|
5ebf0f80d2dd4795587acb9dd61fef5d8631cb4d
|
da57ba1469bbce78125c7ffbe225acfa3453eea7
|
refs/heads/master
| 2021-01-11T16:03:35.957046
| 2017-10-13T04:12:58
| 2017-10-13T04:12:58
| 79,996,327
| 0
| 0
| null | 2017-01-25T08:31:59
| 2017-01-25T08:31:59
| null |
UTF-8
|
Java
| false
| false
| 1,134
|
java
|
package net.petrikainulainen.spring.trenches.scheduling.job;
import net.petrikainulainen.spring.trenches.scheduling.service.MessageService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
/**
* @author Petri Kainulainen
*/
@Component
public class ScheduledJobOne {
private static final Logger LOGGER = LoggerFactory.getLogger(ScheduledJobOne.class);
private final MessageService messageService;
@Autowired
public ScheduledJobOne(MessageService messageService) {
this.messageService = messageService;
}
@Scheduled(cron = "${scheduling.job.cron}")
public void run() {
LOGGER.debug("Starting scheduled job 1.");
AuthenticationUtil.configureAuthentication("ROLE_USER");
String message = messageService.getMessage();
LOGGER.debug("Received message 1: {}", message);
AuthenticationUtil.clearAuthentication();
LOGGER.debug("Scheduled job 1 is finished.");
}
}
|
[
"petri.kainulainen@gmail.com"
] |
petri.kainulainen@gmail.com
|
a2c29137a4806b8cdfc4b9afed278fb53d627266
|
c390536d9b64fef880bb469044687db2324676f3
|
/app/src/main/java/com/a8android888/bocforandroid/Adapter/SportsAdapter.java
|
449d7beb0249cf90bf1545e42ed808bdecc0d94a
|
[] |
no_license
|
ttlinux/pp_888
|
3d0bef4c934942f4c4b5921874d78bf564aac29b
|
3ce8a0d4381f41249ed5b7eaafc6e5cb8cc664b3
|
refs/heads/master
| 2021-08-26T09:45:38.118232
| 2017-11-23T04:59:22
| 2017-11-23T04:59:22
| 111,508,170
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 53,760
|
java
|
package com.a8android888.bocforandroid.Adapter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.text.Html;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.SpannableStringBuilder;
import android.text.TextUtils;
import android.text.style.BackgroundColorSpan;
import android.text.style.ForegroundColorSpan;
import android.text.style.ImageSpan;
import android.util.SparseArray;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.LinearInterpolator;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TableRow;
import android.widget.TextView;
import com.a8android888.bocforandroid.BaseParent.BaseApplication;
import com.a8android888.bocforandroid.BaseParent.BaseFragment;
import com.a8android888.bocforandroid.Bean.BKBean_Guoguan;
import com.a8android888.bocforandroid.Bean.BKBean_Normal;
import com.a8android888.bocforandroid.Bean.FootBallHq;
import com.a8android888.bocforandroid.Bean.FootBallRuQiu;
import com.a8android888.bocforandroid.Bean.FootBallbodan;
import com.a8android888.bocforandroid.Bean.SportsFootBallBean_Guoguan;
import com.a8android888.bocforandroid.Bean.SportsFootBallBean_Normal;
import com.a8android888.bocforandroid.Bean.SportsOrderBean;
import com.a8android888.bocforandroid.R;
import com.a8android888.bocforandroid.activity.main.Sports.SportOrderActivity;
import com.a8android888.bocforandroid.activity.main.Sports.Sports_MainActivity;
import com.a8android888.bocforandroid.activity.user.LoginActivity;
import com.a8android888.bocforandroid.util.BundleTag;
import com.a8android888.bocforandroid.util.LogTools;
import com.a8android888.bocforandroid.util.ScreenUtils;
import com.a8android888.bocforandroid.util.ToastUtil;
import com.a8android888.bocforandroid.view.AnimatedExpandableListView;
import com.google.gson.Gson;
import java.util.ArrayList;
/**
* Created by Administrator on 2017/4/6.
*/
public class SportsAdapter extends AnimatedExpandableListView.AnimatedExpandableListAdapter {
private Context context;
private ArrayList<?> sportdatas;
int type;
String[] hbodan;
String[] bodan;
String[] hqtitles;
String[] ruqiu;
String[] rtype;
String[] hqtitles_tag;
String[] ruqiu_tag;
Drawable shadow;
int screenWidth;
SparseArray<View> sparsearray = new SparseArray<View>();
public SportsAdapter(Context context, ArrayList<?> sportdatas, int type) {
this.context = context;
this.sportdatas = sportdatas;
this.type = type;
hbodan = context.getResources().getStringArray(R.array.hbodan);
bodan = context.getResources().getStringArray(R.array.bodan);
shadow = context.getResources().getDrawable(R.drawable.shadow_item);
hqtitles = context.getResources().getStringArray(R.array.hqtitles);
rtype = context.getResources().getStringArray(R.array.rtype);
ruqiu = context.getResources().getStringArray(R.array.ruqiu);
hqtitles_tag = context.getResources().getStringArray(R.array.hqtitles_tag);
ruqiu_tag = context.getResources().getStringArray(R.array.ruqiu_tag);
screenWidth = ScreenUtils.getScreenWH((Activity) context)[0];
}
private String getTimetype() {
int index = ((Sports_MainActivity) context).GetCurrentPage();
switch (index) {
case 0:
return "roll";
case 1:
return "today";
case 2:
return "tom";
}
return "";
}
private String getRtype() {
return rtype[type];
}
public void NotifyAdapter(ArrayList<?> sportdatas, int type) {
if (sportdatas == null)
this.sportdatas.clear();
else
{
this.sportdatas =(ArrayList)sportdatas.clone();
}
if (this.type != type)
sparsearray.clear();
this.type = type;
LogTools.e("NotifyAdapter", sportdatas.size()+"");
notifyDataSetChanged();
}
@Override
public View getRealChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) {
if (sparsearray.get(groupPosition + childPosition) == null) {
if (type == BaseFragment.BALL_TYPE.FootBall_GuoGuan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_Normal.value()
|| type == BaseFragment.BALL_TYPE.FootBall_Re.value()
) {
LogTools.e("layout", "1111111111111");
convertView = View.inflate(context, R.layout.item_football, null);
} else if (type == BaseFragment.BALL_TYPE.BasketBall_Normal.value()
|| type == BaseFragment.BALL_TYPE.BasketBall_GuoGuan.value()
|| type == BaseFragment.BALL_TYPE.BasketBall_Re_Main.value()
) {
LogTools.e("layout", "222222222222222");
convertView = View.inflate(context, R.layout.item_basketball, null);
} else if (type == BaseFragment.BALL_TYPE.FootBall_HBoDan.value() || type == BaseFragment.BALL_TYPE.FootBall_BoDan.value()) {
LogTools.e("layout", "333333333333333");
convertView = View.inflate(context, R.layout.item_sport_football_bodan, null);
} else if (type == BaseFragment.BALL_TYPE.FootBall_BanQuan.value() || type == BaseFragment.BALL_TYPE.FootBall_ZongRuQiu.value()) {
LogTools.e("layout", "44444444444444444");
convertView = View.inflate(context, R.layout.item_sport_football_ruqiu, null);
}
sparsearray.put(groupPosition + childPosition, convertView);
} else {
convertView = sparsearray.get(groupPosition + childPosition);
}
if (type == BaseFragment.BALL_TYPE.FootBall_Normal.value() || type == BaseFragment.BALL_TYPE.FootBall_Re.value())//足球单式
{
FootBallHandler_Normal(convertView, groupPosition, childPosition);
} else if (type == BaseFragment.BALL_TYPE.FootBall_GuoGuan.value())//足球过关
{
FootBallHandler_GuoGuan(convertView, groupPosition, childPosition);
} else if (type == BaseFragment.BALL_TYPE.FootBall_BoDan.value())//足球波胆
{
FootBallHandler_Bodan(convertView, groupPosition, childPosition, false);
} else if (type == BaseFragment.BALL_TYPE.FootBall_HBoDan.value())//足球半场波胆
{
FootBallHandler_Bodan(convertView, groupPosition, childPosition, true);
} else if (type == BaseFragment.BALL_TYPE.FootBall_ZongRuQiu.value())//足球 总入球
{
FootBallHandler_Ruqiu(convertView, groupPosition, childPosition);
} else if (type == BaseFragment.BALL_TYPE.FootBall_BanQuan.value())//足球 半场/全场
{
FootBallHandler_HQ(convertView, groupPosition, childPosition);
} else if (type == BaseFragment.BALL_TYPE.BasketBall_Normal.value() || type == BaseFragment.BALL_TYPE.BasketBall_Re_Main.value())//篮球单式
{
BasketBallHandler_NorMal(convertView, groupPosition, childPosition);
} else if (type == BaseFragment.BALL_TYPE.BasketBall_GuoGuan.value())//篮球过关
{
BasketBallHandler_GuoGuan(convertView, groupPosition, childPosition);
}
return convertView;
}
@Override
public int getRealChildrenCount(int groupPosition) {
if (type == BaseFragment.BALL_TYPE.FootBall_GuoGuan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_Normal.value()
|| type == BaseFragment.BALL_TYPE.FootBall_BoDan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_HBoDan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_ZongRuQiu.value()
|| type == BaseFragment.BALL_TYPE.FootBall_BanQuan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_Re.value()
) {
if (sportdatas.get(groupPosition) instanceof SportsFootBallBean_Normal) {
SportsFootBallBean_Normal bean = (SportsFootBallBean_Normal) sportdatas.get(groupPosition);
return bean.getSportsFootBallBeanNormals().size();
} else if (sportdatas.get(groupPosition) instanceof SportsFootBallBean_Guoguan) {
SportsFootBallBean_Guoguan bean = (SportsFootBallBean_Guoguan) sportdatas.get(groupPosition);
return bean.getFootBallBean_guoguan_items().size();
} else if (sportdatas.get(groupPosition) instanceof FootBallHq) {
FootBallHq bean = (FootBallHq) sportdatas.get(groupPosition);
return bean.getFootBallHq_items().size();
} else if (sportdatas.get(groupPosition) instanceof FootBallRuQiu) {
FootBallRuQiu bean = (FootBallRuQiu) sportdatas.get(groupPosition);
return bean.getFootBallRuQiu_items().size();
} else if (sportdatas.get(groupPosition) instanceof FootBallbodan) {
FootBallbodan bean = (FootBallbodan) sportdatas.get(groupPosition);
return bean.getFootBallbodan_items().size();
}
}
if (type == BaseFragment.BALL_TYPE.BasketBall_Normal.value()
|| type == BaseFragment.BALL_TYPE.BasketBall_GuoGuan.value()
|| type == BaseFragment.BALL_TYPE.BasketBall_Re_Main.value()
) {
if (sportdatas.get(groupPosition) instanceof BKBean_Guoguan) {
BKBean_Guoguan bean = (BKBean_Guoguan) sportdatas.get(groupPosition);
return bean.getbKitemBeans().size();
}
if (sportdatas.get(groupPosition) instanceof BKBean_Normal) {
BKBean_Normal bean = (BKBean_Normal) sportdatas.get(groupPosition);
return bean.getBkBean_normal_items().size();
}
}
return 0;
}
@Override
public int getGroupCount() {
LogTools.e("getGroupCount", sportdatas.size()+"");
return sportdatas.size();
}
@Override
public Object getGroup(int groupPosition) {
return null;
}
@Override
public Object getChild(int groupPosition, int childPosition) {
return null;
}
@Override
public long getGroupId(int groupPosition) {
return groupPosition;
}
@Override
public long getChildId(int groupPosition, int childPosition) {
return childPosition;
}
@Override
public boolean hasStableIds() {
return true;
}
@Override
public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) {
if (convertView == null)
convertView = View.inflate(context, R.layout.item_sports_maintitle, null);
ImageView imageView=(ImageView)convertView.findViewById(R.id.triangle);
if(isExpanded)
{
imageView.setImageDrawable(context.getResources().getDrawable(R.drawable.small_triangle_bot_selected));
}
else
{
imageView.setImageDrawable(context.getResources().getDrawable(R.drawable.small_triangle_right_selected));
}
TextView title = (TextView) convertView.findViewById(R.id.title);
ImageView football = (ImageView) convertView.findViewById(R.id.football);
if (type == BaseFragment.BALL_TYPE.FootBall_GuoGuan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_Normal.value()
|| type == BaseFragment.BALL_TYPE.FootBall_BanQuan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_HBoDan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_BoDan.value()
|| type == BaseFragment.BALL_TYPE.FootBall_ZongRuQiu.value()
|| type == BaseFragment.BALL_TYPE.FootBall_Re.value()
) {
if (sportdatas.get(groupPosition) instanceof SportsFootBallBean_Guoguan) {
SportsFootBallBean_Guoguan bean = (SportsFootBallBean_Guoguan) sportdatas.get(groupPosition);
title.setText(bean.getTitle());
} else if (sportdatas.get(groupPosition) instanceof SportsFootBallBean_Normal) {
SportsFootBallBean_Normal bean = (SportsFootBallBean_Normal) sportdatas.get(groupPosition);
title.setText(bean.getTitle());
} else if (sportdatas.get(groupPosition) instanceof FootBallbodan) {
FootBallbodan bean = (FootBallbodan) sportdatas.get(groupPosition);
title.setText(bean.getTitle());
} else if (sportdatas.get(groupPosition) instanceof FootBallHq) {
FootBallHq bean = (FootBallHq) sportdatas.get(groupPosition);
title.setText(bean.getTitle());
} else if (sportdatas.get(groupPosition) instanceof FootBallRuQiu) {
FootBallRuQiu bean = (FootBallRuQiu) sportdatas.get(groupPosition);
title.setText(bean.getTitle());
}
football.setImageDrawable(context.getResources().getDrawable(R.drawable.football));
}
if (type == BaseFragment.BALL_TYPE.BasketBall_Normal.value()
|| type == BaseFragment.BALL_TYPE.BasketBall_GuoGuan.value()
|| type == BaseFragment.BALL_TYPE.BasketBall_Re_Main.value()
) {
if (sportdatas.get(groupPosition) instanceof BKBean_Guoguan) {
BKBean_Guoguan bean = (BKBean_Guoguan) sportdatas.get(groupPosition);
title.setText(bean.getTitle());
} else if (sportdatas.get(groupPosition) instanceof BKBean_Normal) {
BKBean_Normal bean = (BKBean_Normal) sportdatas.get(groupPosition);
title.setText(bean.getTitle());
}
football.setImageDrawable(context.getResources().getDrawable(R.drawable.basketball));
}
return convertView;
}
@Override
public boolean isChildSelectable(int groupPosition, int childPosition) {
return true;
}
private String ToHtml(String color[], String... str) {
if (str.length < 2) return "";
StringBuilder sb = new StringBuilder();
sb.append("<HTML>");
for (int i = 0; i < color.length; i++) {
sb.append("<font color=\"#" + color[i] + "\">" + " " + str[i] + "</font>");
}
sb.append("</HTML>");
// LogTools.e("ToHtml", sb.toString());
return sb.toString();
}
private String ToHtml(String color, String str) {
if (str.equalsIgnoreCase("")) return str;
StringBuilder sb = new StringBuilder();
sb.append("<HTML>");
sb.append("<font color=\"#" + color + "\">" + " " + str + "</font>");
sb.append("</HTML>");
return sb.toString();
}
private void FootBallHandler_Normal(View convertView, int groupPosition, int childPosition)//足球 单式 滚球 ko
{
LogTools.e("FootBallHandler_Normal", "FootBallHandler_Normal");
TextView time = (TextView) convertView.findViewById(R.id.time);
TextView Hteam = (TextView) convertView.findViewById(R.id.Hteam);
TextView Cteam = (TextView) convertView.findViewById(R.id.Cteam);
ImageView gun_icon=(ImageView)convertView.findViewById(R.id.gun_icon);
String value[] = null;
String value2[] = null;
ArrayList<SportsOrderBean> sportsOrderBeans = new ArrayList<SportsOrderBean>();
ArrayList<SportsOrderBean> sportsOrderBeans2 = new ArrayList<SportsOrderBean>();
if (sportdatas.get(groupPosition) instanceof SportsFootBallBean_Normal) {
SportsFootBallBean_Normal bean = (SportsFootBallBean_Normal) sportdatas.get(groupPosition);
SportsFootBallBean_Normal.SportsFootBallBean_Normal_Item ballBean = bean.getSportsFootBallBeanNormals().get(childPosition);
// LogTools.e("比分比分比分", bean.getSportsFootBallBeanNormals().get(childPosition).getRoll()+"");
Object roll=bean.getSportsFootBallBeanNormals().get(childPosition).getRoll();
if(roll!=null && Integer.valueOf(roll+"")>0)//是不是滚球
{
gun_icon.clearAnimation();
gun_icon.setVisibility(View.VISIBLE);
Animation circle_anim = AnimationUtils.loadAnimation(context, R.anim.anim_round_rotate);
LinearInterpolator interpolator = new LinearInterpolator(); //设置匀速旋转,在xml文件中设置会出现卡顿
circle_anim.setInterpolator(interpolator);
gun_icon.startAnimation(circle_anim);
}
else
{
gun_icon.clearAnimation();
gun_icon.setVisibility(View.GONE);
}
if (BaseFragment.BALL_TYPE.FootBall_Re.value()==type)
{
time.setText(Html.fromHtml(ballBean.getRetimeset()));
time.append(" 比分:" + ballBean.getScoreH() + "-" + ballBean.getScoreC());
}
else
time.setText(ballBean.getMatchTime());
// vsteam.setText(ballBean.getTeamH() + " VS " + ballBean.getTeamC());
int RecardC=0;
if(!ballBean.getRedcardC().equalsIgnoreCase(""))
{
int temp=Integer.valueOf(ballBean.getRedcardC());
if(temp>0)
RecardC=temp;
}
int RecardH=0;
if(!ballBean.getRedcardH().equalsIgnoreCase(""))
{
int temp=Integer.valueOf(ballBean.getRedcardH());
if(temp>0)
RecardH=temp;
}
Addicon(Hteam,Cteam,ballBean.getTeamH(),ballBean.getTeamC(),RecardH,RecardC);
value = SportsFootBallBean_Normal.InitTexthomeTeam(ballBean, groupPosition, childPosition);
value2 = SportsFootBallBean_Normal.InitTextguestTeam(ballBean, groupPosition, childPosition);
sportsOrderBeans = SportsFootBallBean_Normal.InitTextHomeTeamTag(ballBean, getTimetype(), getRtype());
sportsOrderBeans2 = SportsFootBallBean_Normal.InitTextguestTeamTag(ballBean, getTimetype(), getRtype());
} else {
return;
}
String color[] = {"000000", "eb3d00"};
/////////////////////////////////////////////////////////////////////
if (value != null && value.length == 12) {
LinearLayout AllMatch = (LinearLayout) convertView.findViewById(R.id.AllMatch);
for (int i = 0; i < AllMatch.getChildCount(); i++) {
TableRow tableRow = (TableRow) AllMatch.getChildAt(i);
for (int j = 0; j < tableRow.getChildCount(); j++) {//多了个主客和
TextView textView = (TextView) tableRow.getChildAt(j);//多了个主客和
textView.setTag(sportsOrderBeans.get(i * 4 + j));
textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 13);
String temp = value[i * 4 + j];
if (temp.contains("#@")) {
textView.setText(Html.fromHtml(ToHtml(color, temp.split("#@"))));
} else {
textView.setText(Html.fromHtml(ToHtml("eb3d00", temp)));
}
if (!textView.getText().toString().equalsIgnoreCase(""))
textView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textView",new Gson().toJson(v.getTag()));
StartActivity(v, false);
}
});
}
}
}
/////////////////////////////////////////////////////////////////////
if (value2 != null && value2.length == 12) {
LinearLayout HALFMatch = (LinearLayout) convertView.findViewById(R.id.HALFMatch);
for (int i = 0; i < HALFMatch.getChildCount(); i++) {
TableRow tableRow = (TableRow) HALFMatch.getChildAt(i);
for (int j = 0; j < tableRow.getChildCount(); j++) {//多了个主客和
TextView textView = (TextView) tableRow.getChildAt(j);//多了个主客和
textView.setTag(sportsOrderBeans2.get(i * 4 + j));
textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 13);
String temp = value2[i * 4 + j];
if (temp.contains("#@")) {
textView.setText(Html.fromHtml(ToHtml(color, temp.split("#@"))));
} else {
textView.setText(Html.fromHtml(ToHtml("eb3d00", temp)));
}
if (!textView.getText().toString().equalsIgnoreCase(""))
textView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textView",new Gson().toJson(v.getTag()));
StartActivity(v, false);
}
});
}
}
}
/////////////////////////////////////////////////////////////////////
}
private void FootBallHandler_GuoGuan(View convertView, int groupPosition, int childPosition)//足球 过关 ko
{
TextView time = (TextView) convertView.findViewById(R.id.time);
TextView Hteam = (TextView) convertView.findViewById(R.id.Hteam);
TextView Cteam = (TextView) convertView.findViewById(R.id.Cteam);
ImageView gun_icon=(ImageView)convertView.findViewById(R.id.gun_icon);
String value[] = null;
String value2[] = null;
ArrayList<SportsOrderBean> sportsOrderBeans = new ArrayList<SportsOrderBean>();
ArrayList<SportsOrderBean> sportsOrderBeans2 = new ArrayList<SportsOrderBean>();
if (sportdatas.get(groupPosition) instanceof SportsFootBallBean_Guoguan) {
SportsFootBallBean_Guoguan bean = (SportsFootBallBean_Guoguan) sportdatas.get(groupPosition);
SportsFootBallBean_Guoguan.FootBallBean_Guoguan_item ballBean = bean.getFootBallBean_guoguan_items().get(childPosition);
time.setText(ballBean.getMatchTime());
Object roll=bean.getFootBallBean_guoguan_items().get(childPosition).getRoll();
if(roll!=null && Integer.valueOf(roll+"")>0)//是不是滚球
{
Animation circle_anim = AnimationUtils.loadAnimation(context, R.anim.anim_round_rotate);
LinearInterpolator interpolator = new LinearInterpolator(); //设置匀速旋转,在xml文件中设置会出现卡顿
circle_anim.setInterpolator(interpolator);
gun_icon.setVisibility(View.VISIBLE);
gun_icon.startAnimation(circle_anim);
}
else
{
gun_icon.clearAnimation();
gun_icon.setVisibility(View.GONE);
}
// vsteam.setText(ballBean.getTeamH() + " VS " + ballBean.getTeamC());
Addicon(Hteam,Cteam,ballBean.getTeamH(),ballBean.getTeamC(),0,0);
value = SportsFootBallBean_Guoguan.InitTexthomeTeam(ballBean, groupPosition, childPosition);
value2 = SportsFootBallBean_Guoguan.InitTextguestTeam(ballBean, groupPosition, childPosition);
sportsOrderBeans = SportsFootBallBean_Guoguan.InitTextHomeTeamTag(ballBean, getTimetype(), getRtype());
sportsOrderBeans2 = SportsFootBallBean_Guoguan.InitTextguestTeamTag(ballBean, getTimetype(), getRtype());
}
String color[] = {"000000", "eb3d00"};
/////////////////////////////////////////////////////////////////////
if (value != null && value.length == 12) {
LinearLayout AllMatch = (LinearLayout) convertView.findViewById(R.id.AllMatch);
for (int i = 0; i < AllMatch.getChildCount(); i++) {
TableRow tableRow = (TableRow) AllMatch.getChildAt(i);
for (int j = 0; j < tableRow.getChildCount(); j++) {//多了个主客和 -1
TextView textView = (TextView) tableRow.getChildAt(j);//多了个主客和 +1
textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 13);
String temp = value[i * 4 + j];
if (temp.contains("#@")) {
textView.setText(Html.fromHtml(ToHtml(color, temp.split("#@"))));
} else {
textView.setText(Html.fromHtml(ToHtml("eb3d00", temp)));
}
textView.setTag(sportsOrderBeans.get(i * 4 + j));
if (!textView.getText().toString().equalsIgnoreCase("")) {
textView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textView",new Gson().toJson(v.getTag()));
StartActivity(v, true);
}
});
}
}
}
}
/////////////////////////////////////////////////////////////////////
if (value2 != null && value2.length == 12) {
LinearLayout HALFMatch = (LinearLayout) convertView.findViewById(R.id.HALFMatch);
for (int i = 0; i < HALFMatch.getChildCount(); i++) {
TableRow tableRow = (TableRow) HALFMatch.getChildAt(i);
for (int j = 0; j < tableRow.getChildCount(); j++) {//多了个主客和 -1
TextView textView = (TextView) tableRow.getChildAt(j);//多了个主客和+1
textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 13);
String temp = value2[i * 4 + j];
if (temp.contains("#@")) {
textView.setText(Html.fromHtml(ToHtml(color, temp.split("#@"))));
} else {
textView.setText(Html.fromHtml(ToHtml("eb3d00", temp)));
}
textView.setTag(sportsOrderBeans2.get(i * 4 + j));
if (!textView.getText().toString().equalsIgnoreCase("")) {
textView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textView", new Gson().toJson(v.getTag()));
StartActivity(v, true);
}
});
}
}
}
}
/////////////////////////////////////////////////////////////////////
}
private void BasketBallHandler_GuoGuan(View convertView, int groupPosition, int childPosition)//篮球 过关 ko
{
String color[] = {"000000", "eb3d00"};
TextView time = (TextView) convertView.findViewById(R.id.time);
TextView Hteam = (TextView) convertView.findViewById(R.id.Hteam);
TextView Cteam = (TextView) convertView.findViewById(R.id.Cteam);
ImageView gun_icon=(ImageView)convertView.findViewById(R.id.gun_icon);
String strs[] = null;
ArrayList<SportsOrderBean> sportsOrderBeans = new ArrayList<SportsOrderBean>();
if (sportdatas.get(groupPosition) instanceof BKBean_Guoguan) {
BKBean_Guoguan bean = (BKBean_Guoguan) sportdatas.get(groupPosition);
BKBean_Guoguan.BKitemBean bKitemBean = bean.getbKitemBeans().get(childPosition);
Object roll=bean.getbKitemBeans().get(childPosition).getRoll();
if(roll!=null && Integer.valueOf(roll+"")>0)//是不是滚球
{
Animation circle_anim = AnimationUtils.loadAnimation(context, R.anim.anim_round_rotate);
LinearInterpolator interpolator = new LinearInterpolator(); //设置匀速旋转,在xml文件中设置会出现卡顿
circle_anim.setInterpolator(interpolator);
gun_icon.setVisibility(View.VISIBLE);
gun_icon.startAnimation(circle_anim);
}
else
{
gun_icon.clearAnimation();
gun_icon.setVisibility(View.GONE);
}
time.setText(bKitemBean.getMatchTime());
// vsteam.setText(bKitemBean.getTeamH() + " VS " + bKitemBean.getTeamC());
Addicon(Hteam,Cteam,bKitemBean.getTeamH(),bKitemBean.getTeamC(),0,0);
strs = BKBean_Guoguan.GetBasketBallList(bKitemBean);
sportsOrderBeans = BKBean_Guoguan.GetBasketBallListTAG(bKitemBean, getTimetype(), getRtype());
}
if (strs == null || strs.length < 1) return;
ArrayList<TextView> textViews = new ArrayList<TextView>();
TableRow tableRow = (TableRow) convertView.findViewById(R.id.bkitem1);
TableRow tableRow2 = (TableRow) convertView.findViewById(R.id.bkitem2);
for (int i = 0; i < tableRow.getChildCount(); i++) {
LinearLayout lintemp = (LinearLayout) tableRow.getChildAt(i);
for (int k = 0; k < lintemp.getChildCount(); k++) {
textViews.add((TextView) lintemp.getChildAt(k));
}
}
textViews.remove(0);
int index = textViews.size();
for (int i = 0; i < tableRow2.getChildCount(); i++) {
LinearLayout lintemp = (LinearLayout) tableRow2.getChildAt(i);
for (int k = 0; k < lintemp.getChildCount(); k++) {
textViews.add((TextView) lintemp.getChildAt(k));
}
}
textViews.remove(index);
for (int i = 0; i < textViews.size(); i++) {
String value = "";
if (strs[i].contains("#@")) {
value = ToHtml(color, strs[i].split("#@"));
} else {
value = ToHtml("eb3d00", strs[i]);
}
textViews.get(i).setText(Html.fromHtml(value));
textViews.get(i).setTag(sportsOrderBeans.get(i));
if (!textViews.get(i).getText().toString().equalsIgnoreCase("")) {
textViews.get(i).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textView",new Gson().toJson(v.getTag()));
StartActivity(v, true);
}
});
}
}
}
private void BasketBallHandler_NorMal(View convertView, int groupPosition, int childPosition)//篮球 单式 ko
{
String color[] = {"000000", "eb3d00"};
TextView time = (TextView) convertView.findViewById(R.id.time);
TextView Hteam = (TextView) convertView.findViewById(R.id.Hteam);
TextView Cteam = (TextView) convertView.findViewById(R.id.Cteam);
ImageView gun_icon=(ImageView)convertView.findViewById(R.id.gun_icon);
String strs[] = null;
ArrayList<SportsOrderBean> sportsOrderBeans = new ArrayList<SportsOrderBean>();
if (sportdatas.get(groupPosition) instanceof BKBean_Normal) {
BKBean_Normal bean = (BKBean_Normal) sportdatas.get(groupPosition);
BKBean_Normal.BkBean_Normal_item bKitemBean = bean.getBkBean_normal_items().get(childPosition);
Object roll=bean.getBkBean_normal_items().get(childPosition).getRoll();
if(roll!=null && Integer.valueOf(roll+"")>0)//是不是滚球
{
Animation circle_anim = AnimationUtils.loadAnimation(context, R.anim.anim_round_rotate);
LinearInterpolator interpolator = new LinearInterpolator(); //设置匀速旋转,在xml文件中设置会出现卡顿
circle_anim.setInterpolator(interpolator);
gun_icon.setVisibility(View.VISIBLE);
gun_icon.startAnimation(circle_anim);
}
else
{
gun_icon.clearAnimation();
gun_icon.setVisibility(View.GONE);
}
if(BaseFragment.BALL_TYPE.BasketBall_Re_Main.value()==type)
{
String nowsession=bKitemBean.getNowsession();
String lasttime=bKitemBean.getLasttime();
String ScoreH=bKitemBean.getScoreH();
String ScoreC=bKitemBean.getScoreC();
if(TextUtils.isEmpty(nowsession) && TextUtils.isEmpty(lasttime)
&& TextUtils.isEmpty(ScoreH) && TextUtils.isEmpty(ScoreC))
{
time.setVisibility(View.GONE);
}
else
{
time.setText(Html.fromHtml(bKitemBean.getNowsession() + bKitemBean.getLasttime()));
time.append(" 比分" + bKitemBean.getScoreH() + " : " + bKitemBean.getScoreC());
}
}
else
time.setText(bKitemBean.getMatchTime());
// vsteam.setText(bKitemBean.getTeamH() + " VS " + bKitemBean.getTeamC());
Addicon(Hteam,Cteam,bKitemBean.getTeamH(),bKitemBean.getTeamC(),0,0);
strs = BKBean_Normal.GetBasketBallList(bKitemBean);
sportsOrderBeans = BKBean_Normal.GetBasketBallListTAG(bKitemBean, getTimetype(), getRtype());
} else {
return;
}
if (strs == null || strs.length < 10) return;
ArrayList<TextView> textViews = new ArrayList<TextView>();
TableRow tableRow = (TableRow) convertView.findViewById(R.id.bkitem1);
TableRow tableRow2 = (TableRow) convertView.findViewById(R.id.bkitem2);
if (tableRow == null || tableRow2 == null) {
LogTools.e("提示", "tableRow是空");
return;
}
for (int i = 0; i < tableRow.getChildCount(); i++) {
LinearLayout lintemp = (LinearLayout) tableRow.getChildAt(i);
for (int k = 0; k < lintemp.getChildCount(); k++) {
textViews.add((TextView) lintemp.getChildAt(k));
}
}
textViews.remove(0);
int index = textViews.size();
for (int i = 0; i < tableRow2.getChildCount(); i++) {
LinearLayout lintemp = (LinearLayout) tableRow2.getChildAt(i);
for (int k = 0; k < lintemp.getChildCount(); k++) {
textViews.add((TextView) lintemp.getChildAt(k));
}
}
textViews.remove(index);
for (int i = 0; i < textViews.size(); i++) {
String value = "";
if (strs[i].contains("#@")) {
value = ToHtml(color, strs[i].split("#@"));
} else {
value = ToHtml("eb3d00", strs[i]);
}
textViews.get(i).setText(Html.fromHtml(value));
textViews.get(i).setTag(sportsOrderBeans.get(i));
if (!textViews.get(i).getText().toString().equalsIgnoreCase("")) {
textViews.get(i).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textView",new Gson().toJson(v.getTag()));
StartActivity(v, false);
}
});
}
}
}
private void FootBallHandler_Bodan(View convertView, int groupPosition, int childPosition, boolean ishalf)//足球 波胆 半波胆
{
TextView time = (TextView) convertView.findViewById(R.id.time);
TextView Hteam = (TextView) convertView.findViewById(R.id.Hteam);
TextView Cteam = (TextView) convertView.findViewById(R.id.Cteam);
TextView hteam = (TextView) convertView.findViewById(R.id.hteam);
TextView cteam = (TextView) convertView.findViewById(R.id.cteam);
LinearLayout mainview = (LinearLayout) convertView.findViewById(R.id.mainview);
FootBallbodan.FootBallbodan_item bKitemBean = null;
if (sportdatas.get(groupPosition) instanceof FootBallbodan) {
FootBallbodan bean = (FootBallbodan) sportdatas.get(groupPosition);
bKitemBean = bean.getFootBallbodan_items().get(childPosition);
time.setText(bKitemBean.getMatchTime());
// vsteam.setText(bKitemBean.getTeamH() + " VS " + bKitemBean.getTeamC());
Addicon(Hteam,Cteam,bKitemBean.getTeamH(),bKitemBean.getTeamC(),0,0);
hteam.setText(bKitemBean.getTeamH());
cteam.setText(bKitemBean.getTeamC());
} else {
return;
}
if (mainview.getChildCount() == 0 || (mainview.getChildCount() > 17 && ishalf) || (mainview.getChildCount() < 26 && !ishalf)) {
mainview.removeAllViews();
ArrayList<TextView> textViews = new ArrayList<TextView>();
if (ishalf) {
//6 个后单条
for (int i = 0; i < hbodan.length; i++) {
if (i > 5) {
mainview.addView(GetLinearView(false, textViews, hbodan[i]));
} else {
mainview.addView(GetLinearView(true, textViews, hbodan[i]));
}
ImageView imageview = new ImageView(context);
imageview.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, 1));
imageview.setBackgroundColor(context.getResources().getColor(R.color.line));
mainview.addView(imageview);
}
} else {
//10 个后单条
for (int i = 0; i < bodan.length; i++) {
if (i > 9) {
mainview.addView(GetLinearView(false, textViews, bodan[i]));
} else {
mainview.addView(GetLinearView(true, textViews, bodan[i]));
}
ImageView imageview = new ImageView(context);
imageview.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, 1));
imageview.setBackgroundColor(context.getResources().getColor(R.color.line));
mainview.addView(imageview);
}
}
mainview.setTag(textViews);
}
ArrayList<TextView> textviews = (ArrayList<TextView>) mainview.getTag();
ArrayList<SportsOrderBean> arrayList = null;
String str[] = null;
if (bKitemBean != null) {
if (ishalf) {
str = FootBallbodan.GetHbodanData(bKitemBean);
arrayList = FootBallbodan.GetHbodanDataTAG(hbodan, str, bKitemBean, getTimetype(), getRtype());
} else {
str = FootBallbodan.GetbodanData(bKitemBean);
arrayList = FootBallbodan.GetbodanDataTAG(bodan, str, bKitemBean, getTimetype(), getRtype());
}
}
if (str != null && str.length > 0) {
for (int i = 0; i < str.length; i++) {
textviews.get(i).setText(str[i]);
textviews.get(i).setTextColor(0xffeb3d00);
textviews.get(i).setTag(arrayList.get(i));
if (!textviews.get(i).getText().toString().equalsIgnoreCase("")) {
textviews.get(i).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textview",new Gson().toJson(v.getTag()));
StartActivity(v, false);
}
});
}
}
}
}
private void FootBallHandler_HQ(View convertView, int groupPosition, int childPosition)//足球 全场/半场
{
TextView time = (TextView) convertView.findViewById(R.id.time);
TextView Hteam = (TextView) convertView.findViewById(R.id.Hteam);
TextView Cteam = (TextView) convertView.findViewById(R.id.Cteam);
LinearLayout mainview = (LinearLayout) convertView.findViewById(R.id.mainview);
String strs[] = null;
ArrayList<SportsOrderBean> sportsOrderBeans = null;
if (sportdatas.get(groupPosition) instanceof FootBallHq) {
FootBallHq foothq = (FootBallHq) sportdatas.get(groupPosition);
FootBallHq.FootBallHq_item item = foothq.getFootBallHq_items().get(childPosition);
time.setText(item.getMatchTime());
// vsteam.setText(item.getTeamH() + " VS " + item.getTeamC());
Addicon(Hteam,Cteam,item.getTeamH(),item.getTeamC(),0,0);
strs = FootBallHq.GetBasketBallList(item);
sportsOrderBeans = FootBallHq.GetBasketBallListTAG(item, hqtitles_tag, strs, getTimetype(), getRtype());
}
if (mainview.getChildCount() == 0) {
ArrayList<TextView> textviews = new ArrayList<TextView>();
for (int i = 0; i < 6; i++) {
if (i % 2 == 0) {
int k = (i / 2) * 3;
String temp[] = {hqtitles[k], hqtitles[k + 1], hqtitles[k + 2]};
mainview.addView(GetLinearView(null, shadow, 3, temp));//标题
} else {
mainview.addView(GetLinearView(textviews, null, 3, null));//显示值
}
}
ImageView imageview = new ImageView(context);
imageview.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, 1));
imageview.setBackgroundColor(context.getResources().getColor(R.color.line));
mainview.addView(imageview);
mainview.setTag(textviews);
}
ArrayList<TextView> textviews = (ArrayList<TextView>) mainview.getTag();
if (strs != null && strs.length == 9) {
for (int i = 0; i < strs.length; i++) {
textviews.get(i).setText(strs[i]);
textviews.get(i).setTextColor(0xffeb3d00);
// textviews.get(i).setTextColor(context.getResources().getColor(R.color.colorPrimary));
textviews.get(i).setTag(sportsOrderBeans.get(i));
if (!textviews.get(i).getText().toString().equalsIgnoreCase("")) {
textviews.get(i).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textview",new Gson().toJson(v.getTag()));
StartActivity(v, false);
}
});
}
}
}
}
private void FootBallHandler_Ruqiu(View convertView, int groupPosition, int childPosition)//足球 总入球
{
TextView time = (TextView) convertView.findViewById(R.id.time);
TextView Hteam = (TextView) convertView.findViewById(R.id.Hteam);
TextView Cteam = (TextView) convertView.findViewById(R.id.Cteam);
LinearLayout mainview = (LinearLayout) convertView.findViewById(R.id.mainview);
String strs[] = null;
ArrayList<SportsOrderBean> sportsOrderBeans = null;
if (sportdatas.get(groupPosition) instanceof FootBallRuQiu) {
FootBallRuQiu foothq = (FootBallRuQiu) sportdatas.get(groupPosition);
FootBallRuQiu.FootBallRuQiu_item item = foothq.getFootBallRuQiu_items().get(childPosition);
time.setText(item.getMatchTime());
// vsteam.setText(item.getTeamH() + " VS " + item.getTeamC());
Addicon(Hteam,Cteam,item.getTeamH(),item.getTeamC(),0,0);
strs = FootBallRuQiu.GetBasketBallList(item);
sportsOrderBeans = FootBallRuQiu.GetBasketBallListTAG(item, ruqiu_tag, strs, getTimetype(), getRtype());
}
if (mainview.getChildCount() == 0) {
ArrayList<TextView> textviews = new ArrayList<TextView>();
for (int i = 0; i < 2; i++) {
if (i % 2 == 0) {
int k = (i % 2) * 4;
String temp[] = {ruqiu[k], ruqiu[k + 1], ruqiu[k + 2], ruqiu[k + 3]};
mainview.addView(GetLinearView(null, shadow, 4, temp));//标题
} else {
mainview.addView(GetLinearView(textviews, null, 4, null));//显示值
}
}
ImageView imageview = new ImageView(context);
imageview.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, 1));
imageview.setBackgroundColor(context.getResources().getColor(R.color.line));
mainview.addView(imageview);
mainview.setTag(textviews);
}
ArrayList<TextView> textviews = (ArrayList<TextView>) mainview.getTag();
if (strs != null && strs.length == 4) {
for (int i = 0; i < strs.length; i++) {
textviews.get(i).setText(strs[i]);
textviews.get(i).setTextColor(0xffeb3d00);
textviews.get(i).setTag(sportsOrderBeans.get(i));
if (!textviews.get(i).getText().toString().equalsIgnoreCase("")) {
textviews.get(i).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// LogTools.e("textview",new Gson().toJson(v.getTag()));
StartActivity(v, false);
}
});
}
}
}
}
private LinearLayout GetLinearView(boolean isfull, ArrayList<TextView> textViews, String title) {
LinearLayout linearLayout = new LinearLayout(context);
linearLayout.setOrientation(LinearLayout.HORIZONTAL);
linearLayout.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
if (isfull)//多字段的
{
TextView textView1 = MakeTextView(0.5f / 5.1f, "");
TextView textView2 = MakeTextView(0.8f / 5.1f, title);
TextView textView3 = MakeTextView(1.5f / 5.1f, "");
textViews.add(textView3);
TextView textView4 = MakeTextView(0.8f / 5.1f, "");
TextView textView5 = MakeTextView(1.5f / 5.1f, "");
textViews.add(textView5);
linearLayout.addView(textView1);
linearLayout.addView(textView2);
linearLayout.addView(textView3);
linearLayout.addView(textView4);
linearLayout.addView(textView5);
} else//只有一个字段的
{
TextView textView1 = MakeTextView(0.5f / 5.1f, "");
TextView textView2 = MakeTextView(0.8f / 5.1f, title);
TextView textView3 = MakeTextView(3.8f / 5.1f, "");
textViews.add(textView3);
linearLayout.addView(textView1);
linearLayout.addView(textView2);
linearLayout.addView(textView3);
}
return linearLayout;
}
private LinearLayout GetLinearView(ArrayList<TextView> textViews, Drawable able, int count, String title[]) {
LinearLayout linearLayout = new LinearLayout(context);
linearLayout.setOrientation(LinearLayout.HORIZONTAL);
linearLayout.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
if (able != null)
linearLayout.setBackground(able);
for (int i = 0; i < count; i++) {
if (title != null && title.length > i) {
TextView editview = MakeTextView(1f / count, title[i]);
linearLayout.addView(editview);
} else {
TextView editview = MakeTextView(1f / count, "");
linearLayout.addView(editview);
if (textViews != null) {
textViews.add(editview);
}
}
}
return linearLayout;
}
private TextView MakeTextView(float weight, String str) {
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams((int) (screenWidth * weight), ViewGroup.LayoutParams.WRAP_CONTENT);
// layoutParams.weight=weight;
// layoutParams.leftMargin=2;
TextView textView1 = new TextView(context);
textView1.setLayoutParams(layoutParams);
textView1.setTextSize(TypedValue.COMPLEX_UNIT_SP, 13);
textView1.setText(str);
textView1.setGravity(Gravity.CENTER);
textView1.setPadding(0, ScreenUtils.getDIP2PX(context, 7), 0, ScreenUtils.getDIP2PX(context, 7));
// textView1.setBackgroundColor(0x77123456 );
return textView1;
}
private void StartActivity(View v, boolean iscontinue) {
BaseApplication baseApplication = (BaseApplication) ((Activity) context).getApplication();
if (baseApplication.getBaseapplicationUsername() == null || baseApplication.getBaseapplicationUsername().equalsIgnoreCase("")) {
ToastUtil.showMessage(context, context.getString(R.string.pleaselongin2));
context.startActivity(new Intent(context, LoginActivity.class));
return;
}
Intent intent = new Intent();
intent.setClass(context, SportOrderActivity.class);
SportsOrderBean sportsOrderBean=(SportsOrderBean) v.getTag();
int balltype=1;//按照标题的顺序 1是足球
if(type==BaseFragment.BALL_TYPE.BasketBall_Re_Main.value() || type==BaseFragment.BALL_TYPE.BasketBall_Normal.value()
|| type==BaseFragment.BALL_TYPE.BasketBall_GuoGuan.value())
{
balltype=0;
}
sportsOrderBean.setBallType(balltype);
sportsOrderBean.setCreatetime(System.currentTimeMillis());
intent.putExtra(BundleTag.OrderJson, new Gson().toJson(sportsOrderBean));
intent.putExtra(BundleTag.Continue, iscontinue);
context.startActivity(intent);
}
private void Addicon(TextView textView,TextView textView2,String Hteam,String Cteam,int RedCardH,int RedCardC)
{
Drawable drawable= context.getResources().getDrawable(R.drawable.zu);
drawable.setBounds(0, 0, ScreenUtils.sp2px(context, 16f), ScreenUtils.sp2px(context, 16f));
textView.setCompoundDrawables(drawable, null, null, null); //设置左图标
SpannableStringBuilder builder2;
String RedCardH_str="";
if(RedCardH>0)
{
RedCardH_str=" "+String.valueOf(RedCardH)+" ";
}
builder2 = new SpannableStringBuilder(RedCardH_str+Hteam+" VS ");
if(RedCardH>0) {
ForegroundColorSpan whiteSpan2 = new ForegroundColorSpan(Color.WHITE);
builder2.setSpan(whiteSpan2, 0, 3, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
BackgroundColorSpan redSpan2 = new BackgroundColorSpan(0xffB91514);
builder2.setSpan(redSpan2, 0, 5, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
}
textView.setCompoundDrawablePadding(10);
textView.setText(builder2);
///////////////////////////////////////////////////////////////////////////////
Drawable ke= context.getResources().getDrawable(R.drawable.ke);
ke.setBounds(0, 0, ScreenUtils.sp2px(context, 16f), ScreenUtils.sp2px(context, 16f));
textView2.setCompoundDrawables(ke, null, null, null); //设置左图标
SpannableStringBuilder builder3;
String RedCardC_str="";
if(RedCardC>0)
{
RedCardC_str=String.valueOf(" "+RedCardC+" ");
}
builder3 = new SpannableStringBuilder(RedCardC_str+Cteam);
if(RedCardC>0)
{
ForegroundColorSpan whiteSpan3 = new ForegroundColorSpan(Color.WHITE);
builder3.setSpan(whiteSpan3, 0, 3, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
BackgroundColorSpan redSpan3 = new BackgroundColorSpan(0xffB91514);
builder3.setSpan(redSpan3, 0, 5, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
}
textView2.setCompoundDrawablePadding(10);
textView2.setText(builder3);
}
}
|
[
"877149699@qq.com"
] |
877149699@qq.com
|
049eee9b86dc2927463070e086e88b70cce85e09
|
59cff09b993d21133b4396f95ec66859adb8d736
|
/7-Oct-19/Lab 2/Fibonacci.java
|
ecf4beec4c9dab33225c0bd4f55dde62a4c86fca
|
[] |
no_license
|
ManishPandeyOO7/JavaFSD
|
98040c5076aa87d623544f96ac1e2255f9747cc4
|
62ec33c3dd06a83acc42deace1054d9b5d30428b
|
refs/heads/master
| 2020-08-07T04:50:52.407293
| 2019-11-18T06:39:31
| 2019-11-18T06:39:31
| 213,303,748
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 977
|
java
|
public class Fibonacci {
public static void main(String[] args) {
int fib1 = 1, fib2 = 1;
java.util.Scanner sc = new java.util.Scanner(System.in);
System.out.print("Enter the max limit for fibonacci series: ");
int number = sc.nextInt();
//Non-recursive method
System.out.println("Non-recursive method: ");
for(int i = 1; i <= number; ++i)
{
System.out.print(fib1 + " ") ;
int temp = fib1 + fib2;
fib1 = fib2;
fib2 = temp;
}
System.out.println("");
System.out.println("\nRecursive method: ");
//Recursive method
for(int i=1; i<=number; i++){
System.out.print(recursiveFib(i) +" ");
}
}
static int recursiveFib(int number){
if(number == 1 || number == 2){
return 1;
}
return recursiveFib(number-1) + recursiveFib(number -2);
}
}
|
[
"noreply@github.com"
] |
noreply@github.com
|
66dd0e96b9ec67f9185951940b298c0189bb73ab
|
28d0a264b37c7dc45d89911fa06f56586a264f2e
|
/Symetrie.java
|
2cdd17eb17dc8d4491aa7e4c90caeddcb6889085
|
[] |
no_license
|
kanouni-hub/battlecode
|
c8efc3f510d343bf8e3fce1b67bcf89606b8a89e
|
035fd76f1362459854a51d94c6cbbb270fb2b96a
|
refs/heads/master
| 2022-04-02T17:22:11.641044
| 2020-01-23T23:47:02
| 2020-01-23T23:47:02
| 233,099,444
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 2,706
|
java
|
package test;
import battlecode.common.*;
public class Symetrie extends RobotPlayer{
;
static MapLocation g ;
int c ;
int a ;
// symetrie x
public static MapLocation verticale( MapLocation h) {
int xprime;
int a = rc.getMapWidth() - 2*(h.x) ;
int u = h.x +a-1;
if(u>rc.getMapWidth()) {
xprime = h.x -a-1 ;}
else { xprime =u;}
MapLocation hprime = new MapLocation(xprime,h.y);
return hprime ;}
// symetrie y
public static MapLocation horizantal( MapLocation h) {
int yprime;
int a = rc.getMapHeight() - 2*(h.y) ;
int u = h.y +a-1;
if(u>rc.getMapHeight()) {
yprime = h.y -a-1 ;}
else { yprime =u;}
MapLocation hprime = new MapLocation(h.x,yprime);
return hprime ; }
// symetrie y=x
public static MapLocation Diagonale(MapLocation h) {
MapLocation hprime = new MapLocation(h.y,h.x);
return hprime ;}
// symetrie inverse diagonale
public static MapLocation InvDiagonale(MapLocation h) {
int yprime;
int xprime ;
int b = rc.getMapHeight()*(1-(h.x)/rc.getMapWidth());
int a = rc.getMapWidth()*(1-(h.y)/rc.getMapHeight());
if (h.y > b) { yprime = h.y - (h.y - b);}
else {yprime = h.y + (b-h.y);}
if(h.x>a) { xprime = h.x -(h.x-a);}
else {xprime=h.x+(a-h.x);}
MapLocation hprime = new MapLocation(xprime,yprime);
return hprime ;}
public static MapLocation [] Allsymetries(MapLocation u) {
MapLocation[] h = {verticale(u), horizantal(verticale(u)),horizantal(u),Diagonale(u)};
return h;
}
public static boolean FindHQ(MapLocation h) throws GameActionException {
MapLocation[] Possible = {verticale(h), horizantal(verticale(h)),horizantal(h),Diagonale(h)};
for(MapLocation u : Possible) {
System.out.println("u "+u);
if(!Pathfind.going(u)) {
System.out.println("HQ not found" +u);
MapLocation me= rc.getLocation();
int d = me.distanceSquaredTo(u);
if(d<=rc.getCurrentSensorRadiusSquared()) {
if ( (rc.senseRobotAtLocation(u))!=null){
if(rc.senseRobotAtLocation(u).getType()==RobotType.HQ && rc.senseRobotAtLocation(u).getTeam()!=rc.getTeam()) {
opHQ=u;
Message.broadcastennemyHQ();
System.out.println("ennemy HQ"+opHQ);
break ;}
}
}
}
else {
if ( (rc.senseRobotAtLocation(u))!=null){
if(rc.senseRobotAtLocation(u).getType()==RobotType.HQ && rc.senseRobotAtLocation(u).getTeam()!=rc.getTeam()) {
opHQ=u;
Message.broadcastennemyHQ();
System.out.println("ennemy HQ"+opHQ);
break ;
}}
}
}
return true ;}
}
|
[
"noreply@github.com"
] |
noreply@github.com
|
06f0aa32e20fa0d0692835bdb760869348bc90d6
|
702674cd6456486025a08a9a081a41aff6fdfb09
|
/app/src/main/java/com/tsyc/tianshengyoucai/vo/BossMineVo.java
|
d2520e77c002f633061a75558113442b8e86cc8e
|
[] |
no_license
|
yufeilong92/2019-9-12
|
b9730b128e6bdf37bc7dd007559e0ec15e4c46ed
|
ac9c14467ea6e513c057062880da2b193b4eff86
|
refs/heads/master
| 2020-07-24T12:58:51.588137
| 2019-09-12T02:08:21
| 2019-09-12T02:08:21
| 207,935,624
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 3,341
|
java
|
package com.tsyc.tianshengyoucai.vo;
import com.tsyc.tianshengyoucai.model.bean.NormalBean;
/**
* @Author : YFL is Creating a porject in PC$
* @Email : yufeilong92@163.com
* @Time :2019/9/4 09:49
* @Purpose :
*/
public class BossMineVo extends NormalBean {
/**
* result : {"boss":{"avatar":"http://tsyc.jiefutong.net/uploads/home/membertag/201909/8_2019090318004962880.jpg","id":1,"user_id":3,"username":"game over"},"cv_sends":{"interview":0,"others":6,"send":1}}
*/
private ResultBean result;
public ResultBean getResult() {
return result;
}
public void setResult(ResultBean result) {
this.result = result;
}
public static class ResultBean {
/**
* boss : {"avatar":"http://tsyc.jiefutong.net/uploads/home/membertag/201909/8_2019090318004962880.jpg","id":1,"user_id":3,"username":"game over"}
* cv_sends : {"interview":0,"others":6,"send":1}
*/
private BossBean boss;
private CvSendsBean cv_sends;
public BossBean getBoss() {
return boss;
}
public void setBoss(BossBean boss) {
this.boss = boss;
}
public CvSendsBean getCv_sends() {
return cv_sends;
}
public void setCv_sends(CvSendsBean cv_sends) {
this.cv_sends = cv_sends;
}
public static class BossBean {
/**
* avatar : http://tsyc.jiefutong.net/uploads/home/membertag/201909/8_2019090318004962880.jpg
* id : 1
* user_id : 3
* username : game over
*/
private String avatar;
private int id;
private int user_id;
private String username;
public String getAvatar() {
return avatar;
}
public void setAvatar(String avatar) {
this.avatar = avatar;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getUser_id() {
return user_id;
}
public void setUser_id(int user_id) {
this.user_id = user_id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
}
public static class CvSendsBean {
/**
* interview : 0
* others : 6
* send : 1
*/
private int interview;
private int others;
private int send;
public int getInterview() {
return interview;
}
public void setInterview(int interview) {
this.interview = interview;
}
public int getOthers() {
return others;
}
public void setOthers(int others) {
this.others = others;
}
public int getSend() {
return send;
}
public void setSend(int send) {
this.send = send;
}
}
}
}
|
[
"931697478@qq.com"
] |
931697478@qq.com
|
307005c723f1d8cd802ac604a9dbaa18c56a4933
|
cbea23d5e087a862edcf2383678d5df7b0caab67
|
/aws-java-sdk-connectwisdom/src/main/java/com/amazonaws/services/connectwisdom/model/transform/StartContentUploadResultJsonUnmarshaller.java
|
79431e5e0188b97365ce24d1e385a03321d9d826
|
[
"Apache-2.0"
] |
permissive
|
phambryan/aws-sdk-for-java
|
66a614a8bfe4176bf57e2bd69f898eee5222bb59
|
0f75a8096efdb4831da8c6793390759d97a25019
|
refs/heads/master
| 2021-12-14T21:26:52.580137
| 2021-12-03T22:50:27
| 2021-12-03T22:50:27
| 4,263,342
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 3,749
|
java
|
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.connectwisdom.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.connectwisdom.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import static com.fasterxml.jackson.core.JsonToken.*;
/**
* StartContentUploadResult JSON Unmarshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class StartContentUploadResultJsonUnmarshaller implements Unmarshaller<StartContentUploadResult, JsonUnmarshallerContext> {
public StartContentUploadResult unmarshall(JsonUnmarshallerContext context) throws Exception {
StartContentUploadResult startContentUploadResult = new StartContentUploadResult();
int originalDepth = context.getCurrentDepth();
String currentParentElement = context.getCurrentParentElement();
int targetDepth = originalDepth + 1;
JsonToken token = context.getCurrentToken();
if (token == null)
token = context.nextToken();
if (token == VALUE_NULL) {
return startContentUploadResult;
}
while (true) {
if (token == null)
break;
if (token == FIELD_NAME || token == START_OBJECT) {
if (context.testExpression("headersToInclude", targetDepth)) {
context.nextToken();
startContentUploadResult.setHeadersToInclude(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context
.getUnmarshaller(String.class)).unmarshall(context));
}
if (context.testExpression("uploadId", targetDepth)) {
context.nextToken();
startContentUploadResult.setUploadId(context.getUnmarshaller(String.class).unmarshall(context));
}
if (context.testExpression("url", targetDepth)) {
context.nextToken();
startContentUploadResult.setUrl(context.getUnmarshaller(String.class).unmarshall(context));
}
if (context.testExpression("urlExpiry", targetDepth)) {
context.nextToken();
startContentUploadResult.setUrlExpiry(DateJsonUnmarshallerFactory.getInstance("unixTimestamp").unmarshall(context));
}
} else if (token == END_ARRAY || token == END_OBJECT) {
if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
if (context.getCurrentDepth() <= originalDepth)
break;
}
}
token = context.nextToken();
}
return startContentUploadResult;
}
private static StartContentUploadResultJsonUnmarshaller instance;
public static StartContentUploadResultJsonUnmarshaller getInstance() {
if (instance == null)
instance = new StartContentUploadResultJsonUnmarshaller();
return instance;
}
}
|
[
""
] | |
99e4f653778e87c6358157066893ec9a5c023332
|
20240a61b712e13bff98c2055317a8500e08c3ca
|
/ca/ca-cmp/src/main/java/org/xipki/ca/cmp/client/type/EnrollCertResultEntryType.java
|
0bbd0d392bd640ec539d52a009c96adc54046f72
|
[] |
no_license
|
tempbottle/xipki
|
fc215ffea193dd07480a995c372eea7a16f72a24
|
aaf69c31f77dc71f1297ddfb671b565f9c20dca6
|
refs/heads/master
| 2021-01-18T05:09:20.408000
| 2014-10-16T18:45:31
| 2014-10-16T18:45:31
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 790
|
java
|
/*
* Copyright (c) 2014 Lijun Liao
*
* TO-BE-DEFINE
*
*/
package org.xipki.ca.cmp.client.type;
import org.bouncycastle.asn1.cmp.CMPCertificate;
import org.bouncycastle.asn1.cmp.PKIStatus;
/**
* @author Lijun Liao
*/
public class EnrollCertResultEntryType extends ResultEntryType
{
private final CMPCertificate cert;
private final int status;
public EnrollCertResultEntryType(String id, CMPCertificate cert)
{
this(id, cert, PKIStatus.GRANTED);
}
public EnrollCertResultEntryType(String id, CMPCertificate cert, int status)
{
super(id);
this.cert = cert;
this.status = status;
}
public CMPCertificate getCert()
{
return cert;
}
public int getStatus()
{
return status;
}
}
|
[
"lijun.liao@gmail.com"
] |
lijun.liao@gmail.com
|
86ae930433882e82f788c041f010f9e990638cec
|
08213fa9b9a30bad8ba020df9281dacc557fd5d6
|
/src/Homework/TC3.java
|
ae37c0f532e845fd008be76d82f441eb7ec667ed
|
[] |
no_license
|
HILALKAL/SeleniumBasics
|
db1a1361751b6d27cbed50599e1c228aeca7fc1e
|
a52050e0d404b2bf7bb3d8bb6580f83d9d648252
|
refs/heads/master
| 2021-08-08T21:10:35.687299
| 2020-06-20T19:40:25
| 2020-06-20T19:40:25
| 193,567,624
| 0
| 0
| null | null | null | null |
WINDOWS-1252
|
Java
| false
| false
| 1,584
|
java
|
package Homework;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import utils.CommonMethods;
public class TC3 extends CommonMethods{
/*
* Table headers and rows verification
* 1.Open chrome browser
* 2.Go to “https://jqueryui.com/”
* 3.Click on “Datepicker”
* 4.Select August 10 of 2019
* 5.Verify date “08/10/2019” has been entered succesfully
* 6.Close browser
*/
public static void main(String[] args) {
setUpDriver("chrome","https://jqueryui.com/");
driver.findElement(By.xpath("//a[text()='Datepicker']")).click();
//Click on “Datepicker”
switchToFrame(0);
driver.findElement(By.cssSelector("input#datepicker")).click();
//Select August 10 of 2019
while(!driver.findElement(By.cssSelector("span.ui-datepicker-month")).getText().contains("August 2019")) {
driver.findElement(By.xpath("//span[text()='Next']")).click();
}
List<WebElement> days=driver.findElements(By.xpath("//table[@class='ui-datepicker-calendar']/tbody/tr/td"));
for(int i=0; i<days.size();i++) {
String day= days.get(i).getText();
if(day.equalsIgnoreCase("10")) {
}
}
//Verify date “08/10/2019” has been entered succesfully
String vrf=driver.findElement(By.cssSelector("input#datepicker")).getAttribute("value");
if(vrf.equals("08/10/2019")) {
System.out.println("succesfully");
}else {
System.out.println("Please try again!");
}
driver.close();
}
}
|
[
"[hilalkal1501@gmail.com]"
] |
[hilalkal1501@gmail.com]
|
e0d4aed6d4c85057bbcc3956807cf87ee6449611
|
8c86b49bd1f4082b407f962e592f0b4f1971b9be
|
/src/main/java/app/entity/Abastecimento.java
|
3a49d54b83fe40d3b2c0e708cd99631a258dcd97
|
[] |
no_license
|
cronapptreina/appDanca
|
9079ed139580b8a64d366d91e0732d499b3d7a7a
|
66656b433d94e92ad32e8b826f14f190dcc96748
|
refs/heads/master
| 2021-07-25T05:44:32.735045
| 2017-11-06T13:58:40
| 2017-11-06T13:58:40
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 4,569
|
java
|
package app.entity;
import java.io.*;
import javax.persistence.*;
import java.util.*;
import javax.xml.bind.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonFilter;
import cronapi.rest.security.CronappSecurity;
/**
* Classe que representa a tabela ABASTECIMENTO
* @generated
*/
@Entity
@Table(name = "\"ABASTECIMENTO\"")
@XmlRootElement
@CronappSecurity
@JsonFilter("app.entity.Abastecimento")
public class Abastecimento implements Serializable {
/**
* UID da classe, necessário na serialização
* @generated
*/
private static final long serialVersionUID = 1L;
/**
* @generated
*/
@Id
@Column(name = "id", nullable = false, insertable=true, updatable=true)
private java.lang.String id = UUID.randomUUID().toString().toUpperCase();
/**
* @generated
*/
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "data", nullable = true, unique = false, insertable=true, updatable=true)
private java.util.Date data = new Date();
/**
* @generated
*/
@Column(name = "km", nullable = true, unique = false, precision=6, scale=2, insertable=true, updatable=true)
private java.lang.Double km;
/**
* @generated
*/
@Column(name = "valor", nullable = true, unique = false, precision=6, scale=2, insertable=true, updatable=true)
private java.lang.Double valor;
/**
* @generated
*/
@Column(name = "precoLitro", nullable = true, unique = false, precision=4, scale=2, insertable=true, updatable=true)
private java.lang.Double precoLitro;
/**
* @generated
*/
@ManyToOne
@JoinColumn(name="fk_carro", nullable = true, referencedColumnName = "id", insertable=true, updatable=true)
private Carro carro;
/**
* @generated
*/
@ManyToOne
@JoinColumn(name="fk_posto", nullable = true, referencedColumnName = "id", insertable=true, updatable=true)
private Posto posto;
/**
* Construtor
* @generated
*/
public Abastecimento(){
}
/**
* Obtém id
* return id
* @generated
*/
public java.lang.String getId(){
return this.id;
}
/**
* Define id
* @param id id
* @generated
*/
public Abastecimento setId(java.lang.String id){
this.id = id;
return this;
}
/**
* Obtém data
* return data
* @generated
*/
public java.util.Date getData(){
return this.data;
}
/**
* Define data
* @param data data
* @generated
*/
public Abastecimento setData(java.util.Date data){
this.data = data;
return this;
}
/**
* Obtém km
* return km
* @generated
*/
public java.lang.Double getKm(){
return this.km;
}
/**
* Define km
* @param km km
* @generated
*/
public Abastecimento setKm(java.lang.Double km){
this.km = km;
return this;
}
/**
* Obtém valor
* return valor
* @generated
*/
public java.lang.Double getValor(){
return this.valor;
}
/**
* Define valor
* @param valor valor
* @generated
*/
public Abastecimento setValor(java.lang.Double valor){
this.valor = valor;
return this;
}
/**
* Obtém precoLitro
* return precoLitro
* @generated
*/
public java.lang.Double getPrecoLitro(){
return this.precoLitro;
}
/**
* Define precoLitro
* @param precoLitro precoLitro
* @generated
*/
public Abastecimento setPrecoLitro(java.lang.Double precoLitro){
this.precoLitro = precoLitro;
return this;
}
/**
* Obtém carro
* return carro
* @generated
*/
public Carro getCarro(){
return this.carro;
}
/**
* Define carro
* @param carro carro
* @generated
*/
public Abastecimento setCarro(Carro carro){
this.carro = carro;
return this;
}
/**
* Obtém posto
* return posto
* @generated
*/
public Posto getPosto(){
return this.posto;
}
/**
* Define posto
* @param posto posto
* @generated
*/
public Abastecimento setPosto(Posto posto){
this.posto = posto;
return this;
}
/**
* @generated
*/
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null || getClass() != obj.getClass()) return false;
Abastecimento object = (Abastecimento)obj;
if (id != null ? !id.equals(object.id) : object.id != null) return false;
return true;
}
/**
* @generated
*/
@Override
public int hashCode() {
int result = 1;
result = 31 * result + ((id == null) ? 0 : id.hashCode());
return result;
}
}
|
[
"cronapptreina@gmail.com"
] |
cronapptreina@gmail.com
|
37166b256dde572d8a2bf45293c512af89845a0c
|
8799ac7be9e0fe8a80ea2ae002beb7a68a1a4392
|
/Algorithm/BaekJoon Algorithm/BJ1068.java
|
b0bd96c184d15d9e8a2d6ba330b1faf9796fdf5b
|
[] |
no_license
|
jeon9825/TIP
|
c45f73db7e1f9dffc8edf5a4268f0d7ee14e6709
|
fc8067e4597189b1762453ed29ba91d000e03160
|
refs/heads/master
| 2021-08-18T10:00:26.373784
| 2021-08-05T13:52:42
| 2021-08-05T13:52:42
| 174,329,195
| 1
| 2
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,580
|
java
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
public class BJ1068 {
static int[] tree;
static ArrayList<Integer> list[];
static int delete;
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(reader.readLine());
StringTokenizer tokenizer = new StringTokenizer(reader.readLine());
tree = new int[n];
list = new ArrayList[n];
for (int i = 0; i < list.length; i++) {
list[i] = new ArrayList<>();
}
int root = 0;
for (int i = 0; i < tree.length; i++) {
tree[i] = Integer.parseInt(tokenizer.nextToken());
if (tree[i] != -1)
list[tree[i]].add(i);
else
root = i;
}
delete = Integer.parseInt(reader.readLine());
tree[delete] = -1;
list[delete].clear();
for (int i = 0; i < list.length; i++) {
if (list[i].contains(delete))
list[i].remove(new Integer(delete));
}
if (delete == root)
System.out.println(0);
else
System.out.println(BFS(root));
}
static int BFS(int root) {
Queue<Integer> q = new LinkedList<>();
q.add(root);
int leaf = 0;
while (!q.isEmpty()) {
int parent = q.poll();
if (delete == parent)
continue;
if (list[parent].isEmpty())
leaf++;
else
for (int i = 0; i < tree.length; i++) {
if (tree[i] == parent) {
q.add(i);
}
}
}
return leaf;
}
}
|
[
"jeon9825@naver.com"
] |
jeon9825@naver.com
|
73005a5378bcc2752494ec0f46b98ffe79107423
|
61702c419eb137af85053045c2f4856db1a3d8f4
|
/src/edu/esprit/entities/Client.java
|
b63944147af7b2b518bae5f6dddbc321f3232fed
|
[] |
no_license
|
0xezgh/TaxiDriverDesktop
|
2ccf0f7c7a9ffd7debdbd33eb0b18928ea6f18d7
|
48ee32e41dd957b21cd0aba0602515d181acc3a6
|
refs/heads/master
| 2022-05-09T14:34:00.070622
| 2016-10-14T22:52:47
| 2016-10-14T22:52:47
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 628
|
java
|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.esprit.entities;
/**
*
* @author Houssem
*/
public class Client extends User{
private int idClient;
private boolean actif;
public int getIdClient() {
return idClient;
}
public void setIdClient(int idClient) {
this.idClient = idClient;
}
public boolean isActif() {
return actif;
}
public void setActif(boolean actif) {
this.actif = actif;
}
}
|
[
"mohamed ezzedine gharbi"
] |
mohamed ezzedine gharbi
|
feaf447f07974c821a0cf654a153461402ed7558
|
8c3d027f5a39efdee533e94042297ae110895cdb
|
/BASICS/Neuer Ordner/src/ticket.java
|
fde452b81f4a522d77e7fdcfe7be671da0e3ec11
|
[] |
no_license
|
epitsov/Random-Java
|
d9db389480033bbce495d273b321167affc6b9c4
|
68de48dad55d9f918cbc143c84bafd6f13692a2e
|
refs/heads/main
| 2023-02-27T22:34:50.011990
| 2021-02-06T10:14:07
| 2021-02-06T10:14:07
| 336,508,187
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,399
|
java
|
import java.util.Scanner;
public class ticket {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String clas = scanner.nextLine();
double distance = Double.parseDouble(scanner.nextLine());
int passangers = Integer.parseInt(scanner.nextLine());
double ticketprice = 0;
if (clas.equals("Economy")) {
if (distance < 1500) {
ticketprice = 59.99;
} else if (distance <= 3500) {
ticketprice = 184.99;
} else {
ticketprice = 269.99;
}
} else if (clas.equals("Premium")) {
if (distance < 1500) {
ticketprice = 179.99;
} else if (distance <= 3500) {
ticketprice = 279.99;
} else {
ticketprice = 394.99;
}
} else {
if (distance < 1500) {
ticketprice = 254.99;
} else if (distance <= 3500) {
ticketprice = 379.99;
} else {
ticketprice = 619.99;
}
}
if(passangers<=6) {
System.out.printf("The total price of the tickets is: %.2f lv.", ticketprice * passangers);
}
else
{System.out.printf("The total price of the tickets is: %.2f lv.", 0.8*(ticketprice * passangers));}}
}
|
[
"epitsov95@gmail.com"
] |
epitsov95@gmail.com
|
c9c2d43fac3f6e2cd4aa572f9ec614c2d2690de3
|
4c2e8231d182f4cd1f2f4f4dfc7e6c507762df85
|
/JMSMessageListener/src/main/java/com/howtodoinjava/demo/JmsMessageListenerApplication.java
|
8297ce2c34ae655c53d5589a136b5b65ff6f646d
|
[] |
no_license
|
SrinivasSankoji/JMS
|
c4d750e1691c337e9a647a2868e7336579eb648c
|
b27f767c31d179561aaa60dcbe2e10990f36e199
|
refs/heads/master
| 2023-08-07T08:14:45.249831
| 2021-09-15T11:23:25
| 2021-09-15T11:23:25
| 266,601,885
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 339
|
java
|
package com.howtodoinjava.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class JmsMessageListenerApplication {
public static void main(String[] args) {
SpringApplication.run(JmsMessageListenerApplication.class, args);
}
}
|
[
"srinivaschary.chary@gmail.com"
] |
srinivaschary.chary@gmail.com
|
7373f98badcae2d1d02b5e46a88e907519a9a4a3
|
5b1f73f2529ac4bec3061bbff7e8520fcc4fe3e9
|
/core-jobs/src/main/java/com/narwhal/basics/core/jobs/utils/JobConstants.java
|
0a8bb5edfc1061dcf9af9af1e367b62c64966467
|
[] |
no_license
|
Paysly/narwhal-basics
|
6d93fcef3e05b0e5c12b1ac24c5c1f68eca99dd7
|
1fb3a1a3f0d5b2cda5917d5cf14273ae04fee8f2
|
refs/heads/master
| 2022-09-18T15:44:04.815412
| 2020-02-18T18:25:24
| 2020-02-18T18:25:24
| 160,011,618
| 0
| 0
| null | 2022-09-01T22:59:39
| 2018-12-02T03:58:23
|
Java
|
UTF-8
|
Java
| false
| false
| 151
|
java
|
package com.narwhal.basics.core.jobs.utils;
/**
* Created by tomyair on 8/21/17.
*/
public interface JobConstants {
String SYSTEM = "system";
}
|
[
"tomasdepriede@gmail.com"
] |
tomasdepriede@gmail.com
|
1cf1190fc59a8248ac6fc61afc7840a2d257914c
|
6a8c1b488d7b8b4dcddce2f6372b653496d6af0f
|
/src/JPainter.java
|
7cc0a01ea4efbf74ac283095fc4e1aaabb75be06
|
[] |
no_license
|
BartoszGorski/Simple-Image-Processing
|
286e6fce44bdb088886bf7574c6ffc4fe6b122d6
|
aae387f41b1f93ddea344d4ff23282ff29c4b52b
|
refs/heads/master
| 2021-01-19T14:27:45.162666
| 2017-04-13T12:33:38
| 2017-04-13T12:33:38
| 88,162,827
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 4,362
|
java
|
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
import java.io.File;
import java.io.IOException;
import java.text.DecimalFormat;
public class JPainter extends JComponent {
private BufferedImage image = null;
private Color[][] originColorArray;
private double zoom;
private double percentageZoom;
DecimalFormat zoomTextFormat;
public JPainter(File file) {
super();
setImage(file);
originColorArray = getOriginColorArray();
zoomTextFormat = new DecimalFormat("####0.00");
zoom = 1.0;
percentageZoom = 10.0;
}
public void setImage(File file) {
try {
image = ImageIO.read(file);
} catch (IOException ex) {
ex.printStackTrace();
}
}
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2d = (Graphics2D) g;
g2d.scale(zoom,zoom);
g2d.drawImage(image, 0, 0, this);
}
@Override
public Dimension getPreferredSize() {
if (image != null) {
return (new Dimension(image.getWidth(), image.getHeight()));
}
return (new Dimension(0, 0));
}
private Color[][] getOriginColorArray(){
int width = image.getWidth();
int height = image.getHeight();
Color[][] colorArray = new Color[width][height];
for (int w = 0; w < width; w++) {
for (int h = 0; h < height; h++) {
colorArray[w][h] = new Color(image.getRGB(w,h));
}
}
return colorArray;
}
public void changeRedColor(int multipleChangeValue){
int width = image.getWidth();
int height = image.getHeight();
for (int w = 0; w < width; w++) {
for (int h = 0; h < height; h++) {
Color c = new Color(image.getRGB(w,h));
float red = (float)originColorArray[w][h].getRed()/255;
float newRed = red * ((float)multipleChangeValue / 255);
float green = (float)c.getGreen()/255;
float blue = (float)c.getBlue()/255;
Color newColor = new Color(newRed,green,blue);
image.setRGB(w,h,newColor.getRGB());
}
}
}
public void changeGreenColor(int multipleChangeValue){
int width = image.getWidth();
int height = image.getHeight();
for (int w = 0; w < width; w++) {
for (int h = 0; h < height; h++) {
Color c = new Color(image.getRGB(w,h));
float red = (float)c.getRed()/255;
float green = (float)originColorArray[w][h].getGreen()/255;
float newGreen = green * ((float)multipleChangeValue / 255);
float blue = (float)c.getBlue()/255;
Color newColor = new Color(red,newGreen,blue);
image.setRGB(w,h,newColor.getRGB());
}
}
}
public void changeBlueColor(int multipleChangeValue){
int width = image.getWidth();
int height = image.getHeight();
for (int w = 0; w < width; w++) {
for (int h = 0; h < height; h++) {
Color c = new Color(image.getRGB(w,h));
float red = (float)c.getRed()/255;
float green = (float)c.getGreen()/255;
float blue = (float)originColorArray[w][h].getBlue()/255;
float newBlue = blue * ((float)multipleChangeValue / 255);
Color newColor = new Color(red,green,newBlue);
image.setRGB(w,h,newColor.getRGB());
}
}
}
public void originalSize(JLabel zoomLabel) {
zoom = 1;
zoomLabel.setText(zoomTextFormat.format(getZoomPercentageImageSize())+"%");
}
public void zoomIn(JLabel zoomLabel) {
zoom = zoom + (zoom * (percentageZoom/100));
zoomLabel.setText(zoomTextFormat.format(getZoomPercentageImageSize())+"%");
}
public void zoomOut(JLabel zoomLabel) {
zoom = zoom - (zoom * (percentageZoom/100));
zoomLabel.setText(zoomTextFormat.format(getZoomPercentageImageSize())+"%");
}
public double getZoomPercentageImageSize(){
return (zoom * 100);
}
}
|
[
"bartoszg16@gmail.com"
] |
bartoszg16@gmail.com
|
ab500e699c0cb806203bd1a0b0fe26ea9e0d54f2
|
5f36292425239abb8c18f56ad88152c1cbe53183
|
/lesson-distributed/chapter-transaction/chapter-transaction-atomikos/src/main/java/com/lesson/distributed/transaction/atomikos/configure/MybatisConfigure.java
|
57e7854837f2c173d92e1c6946d042d1dde143d0
|
[
"Apache-2.0"
] |
permissive
|
zsjdxc251/lesson-chapter
|
5701fca36af3cd33aca99c18a20b199fadccca39
|
df7c8a6a00ab79f9d955b3ea16f11c21725fc6aa
|
refs/heads/master
| 2023-06-25T03:28:36.660489
| 2022-09-06T07:04:13
| 2022-09-06T07:04:13
| 156,733,552
| 6
| 0
|
Apache-2.0
| 2023-06-14T22:26:38
| 2018-11-08T16:08:54
|
Java
|
UTF-8
|
Java
| false
| false
| 3,277
|
java
|
package com.lesson.distributed.transaction.atomikos.configure;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.mapper.MapperScannerConfigurer;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import javax.sql.DataSource;
import java.io.IOException;
/**
* @author zhengshijun
* @version created on 2018/10/16.
*/
@Configuration
@MapperScan("com.lesson.distributed.transaction.atomikos.mapper.master")
public class MybatisConfigure {
@Primary
@Bean
public SqlSessionFactory masterSqlSessionFactory(@Qualifier("masterDataSource") DataSource dataSource) {
SqlSessionFactoryBean sqlSessionFactoryBean = new SqlSessionFactoryBean();
sqlSessionFactoryBean.setDataSource(dataSource);
try {
sqlSessionFactoryBean.setMapperLocations(
new PathMatchingResourcePatternResolver().getResources(PathMatchingResourcePatternResolver.CLASSPATH_ALL_URL_PREFIX + "mapper/master/*.xml"));
} catch (IOException e) {
e.printStackTrace();
}
SqlSessionFactory sqlSessionFactory = null;
try {
sqlSessionFactory = sqlSessionFactoryBean.getObject();
} catch (Exception e) {
e.printStackTrace();
}
return sqlSessionFactory;
}
@Bean
public SqlSessionFactory slaveSqlSessionFactory(@Qualifier("slaveDataSource") DataSource dataSource) {
SqlSessionFactoryBean sqlSessionFactoryBean = new SqlSessionFactoryBean();
sqlSessionFactoryBean.setDataSource(dataSource);
try {
sqlSessionFactoryBean.setMapperLocations(
new PathMatchingResourcePatternResolver().getResources(PathMatchingResourcePatternResolver.CLASSPATH_ALL_URL_PREFIX + "mapper/slave/*.xml"));
} catch (IOException e) {
e.printStackTrace();
}
SqlSessionFactory sqlSessionFactory = null;
try {
sqlSessionFactory = sqlSessionFactoryBean.getObject();
} catch (Exception e) {
e.printStackTrace();
}
return sqlSessionFactory;
}
@Bean
public MapperScannerConfigurer masterMapperScanner(){
MapperScannerConfigurer mapperScannerConfigurer = new MapperScannerConfigurer();
mapperScannerConfigurer.setBasePackage("com.lesson.distributed.transaction.atomikos.mapper.master");
mapperScannerConfigurer.setSqlSessionFactoryBeanName("masterSqlSessionFactory");
return mapperScannerConfigurer;
}
@Bean
public MapperScannerConfigurer slaveMapperScanner(){
MapperScannerConfigurer mapperScannerConfigurer = new MapperScannerConfigurer();
mapperScannerConfigurer.setBasePackage("com.lesson.distributed.transaction.atomikos.mapper.slave");
mapperScannerConfigurer.setSqlSessionFactoryBeanName("slaveSqlSessionFactory");
return mapperScannerConfigurer;
}
}
|
[
"zsjdxc251@live.com"
] |
zsjdxc251@live.com
|
4598ce84db5538da9b3493bebe3330b8b6969163
|
92a6f88854759646b49de5215dbff2add964ead0
|
/MyFirstKafkaApplication/src/com/kafka/praneeth/EmployeeDeserializer.java
|
a75d7594d915d9df98b015fc6dff5e1c3a3dfb4e
|
[] |
no_license
|
praneethdodedu/KafkaExamples
|
89b1f81c7840228c56c290934b62b7d0b04e6089
|
6a63c5c4e51dac7976f0ff78acc2a32b7bdc2cd5
|
refs/heads/master
| 2021-04-27T15:26:09.525488
| 2018-02-22T11:38:04
| 2018-02-22T11:38:04
| 122,470,197
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 698
|
java
|
package com.kafka.praneeth;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.Map;
import org.apache.kafka.common.serialization.Deserializer;
import com.fasterxml.jackson.databind.ObjectMapper;
public class EmployeeDeserializer implements Deserializer {
@Override
public void close() {
}
@Override
public void configure(Map arg0, boolean arg1) {
}
@Override
public Employee deserialize(String arg0, byte[] arg1) {
ObjectMapper mapper = new ObjectMapper();
Employee user = null;
try {
user = mapper.readValue(arg1, Employee.class);
} catch (Exception e) {
e.printStackTrace();
}
return user;
}
}
|
[
"praneeth.dodedu@gmail.com"
] |
praneeth.dodedu@gmail.com
|
b730824e98d4a59ccc1f3071dde849cee22501b3
|
e545d0233d6552c1f46cf563a034c871a69e8def
|
/hazelcast/src/main/java/com/hazelcast/core/ManagedContext.java
|
48e84f1fb279d7c6c119f4f2fd04305b99e96e40
|
[] |
no_license
|
tang-william/hazelcast
|
f78a24be3bfb5c7f64993f1816f8e51c7507ce83
|
694e25543678ddf4455bea23ecf1aa1162b1b0e7
|
refs/heads/master
| 2021-05-29T12:55:57.359598
| 2012-04-11T05:13:59
| 2012-04-11T05:13:59
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,050
|
java
|
/*
* Copyright (c) 2008-2012, Hazel Bilisim Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hazelcast.core;
/**
* Container managed context, such as Spring or Guice etc.
*
* @mdogan 4/6/12
*/
public interface ManagedContext {
/**
* Initialize the given object instance. This is intended for repopulating select fields and
* methods, either for new instances or for deserialized instances.
*
* @param obj Object to initialize
*/
void initialize(Object obj);
}
|
[
"mehmet@hazelcast.com"
] |
mehmet@hazelcast.com
|
5edc5305f6957455303f243007b7a582247da681
|
e9affefd4e89b3c7e2064fee8833d7838c0e0abc
|
/aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/BatchDeleteDocumentRequest.java
|
e22b08c6318d98deab8d8e0225beff4a5f10611d
|
[
"Apache-2.0"
] |
permissive
|
aws/aws-sdk-java
|
2c6199b12b47345b5d3c50e425dabba56e279190
|
bab987ab604575f41a76864f755f49386e3264b4
|
refs/heads/master
| 2023-08-29T10:49:07.379135
| 2023-08-28T21:05:55
| 2023-08-28T21:05:55
| 574,877
| 3,695
| 3,092
|
Apache-2.0
| 2023-09-13T23:35:28
| 2010-03-22T23:34:58
| null |
UTF-8
|
Java
| false
| false
| 8,159
|
java
|
/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.kendra.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BatchDeleteDocument" target="_top">AWS API
* Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class BatchDeleteDocumentRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
* <p>
* The identifier of the index that contains the documents to delete.
* </p>
*/
private String indexId;
/**
* <p>
* One or more identifiers for documents to delete from the index.
* </p>
*/
private java.util.List<String> documentIdList;
private DataSourceSyncJobMetricTarget dataSourceSyncJobMetricTarget;
/**
* <p>
* The identifier of the index that contains the documents to delete.
* </p>
*
* @param indexId
* The identifier of the index that contains the documents to delete.
*/
public void setIndexId(String indexId) {
this.indexId = indexId;
}
/**
* <p>
* The identifier of the index that contains the documents to delete.
* </p>
*
* @return The identifier of the index that contains the documents to delete.
*/
public String getIndexId() {
return this.indexId;
}
/**
* <p>
* The identifier of the index that contains the documents to delete.
* </p>
*
* @param indexId
* The identifier of the index that contains the documents to delete.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDeleteDocumentRequest withIndexId(String indexId) {
setIndexId(indexId);
return this;
}
/**
* <p>
* One or more identifiers for documents to delete from the index.
* </p>
*
* @return One or more identifiers for documents to delete from the index.
*/
public java.util.List<String> getDocumentIdList() {
return documentIdList;
}
/**
* <p>
* One or more identifiers for documents to delete from the index.
* </p>
*
* @param documentIdList
* One or more identifiers for documents to delete from the index.
*/
public void setDocumentIdList(java.util.Collection<String> documentIdList) {
if (documentIdList == null) {
this.documentIdList = null;
return;
}
this.documentIdList = new java.util.ArrayList<String>(documentIdList);
}
/**
* <p>
* One or more identifiers for documents to delete from the index.
* </p>
* <p>
* <b>NOTE:</b> This method appends the values to the existing list (if any). Use
* {@link #setDocumentIdList(java.util.Collection)} or {@link #withDocumentIdList(java.util.Collection)} if you want
* to override the existing values.
* </p>
*
* @param documentIdList
* One or more identifiers for documents to delete from the index.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDeleteDocumentRequest withDocumentIdList(String... documentIdList) {
if (this.documentIdList == null) {
setDocumentIdList(new java.util.ArrayList<String>(documentIdList.length));
}
for (String ele : documentIdList) {
this.documentIdList.add(ele);
}
return this;
}
/**
* <p>
* One or more identifiers for documents to delete from the index.
* </p>
*
* @param documentIdList
* One or more identifiers for documents to delete from the index.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDeleteDocumentRequest withDocumentIdList(java.util.Collection<String> documentIdList) {
setDocumentIdList(documentIdList);
return this;
}
/**
* @param dataSourceSyncJobMetricTarget
*/
public void setDataSourceSyncJobMetricTarget(DataSourceSyncJobMetricTarget dataSourceSyncJobMetricTarget) {
this.dataSourceSyncJobMetricTarget = dataSourceSyncJobMetricTarget;
}
/**
* @return
*/
public DataSourceSyncJobMetricTarget getDataSourceSyncJobMetricTarget() {
return this.dataSourceSyncJobMetricTarget;
}
/**
* @param dataSourceSyncJobMetricTarget
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDeleteDocumentRequest withDataSourceSyncJobMetricTarget(DataSourceSyncJobMetricTarget dataSourceSyncJobMetricTarget) {
setDataSourceSyncJobMetricTarget(dataSourceSyncJobMetricTarget);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getIndexId() != null)
sb.append("IndexId: ").append(getIndexId()).append(",");
if (getDocumentIdList() != null)
sb.append("DocumentIdList: ").append(getDocumentIdList()).append(",");
if (getDataSourceSyncJobMetricTarget() != null)
sb.append("DataSourceSyncJobMetricTarget: ").append(getDataSourceSyncJobMetricTarget());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof BatchDeleteDocumentRequest == false)
return false;
BatchDeleteDocumentRequest other = (BatchDeleteDocumentRequest) obj;
if (other.getIndexId() == null ^ this.getIndexId() == null)
return false;
if (other.getIndexId() != null && other.getIndexId().equals(this.getIndexId()) == false)
return false;
if (other.getDocumentIdList() == null ^ this.getDocumentIdList() == null)
return false;
if (other.getDocumentIdList() != null && other.getDocumentIdList().equals(this.getDocumentIdList()) == false)
return false;
if (other.getDataSourceSyncJobMetricTarget() == null ^ this.getDataSourceSyncJobMetricTarget() == null)
return false;
if (other.getDataSourceSyncJobMetricTarget() != null
&& other.getDataSourceSyncJobMetricTarget().equals(this.getDataSourceSyncJobMetricTarget()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getIndexId() == null) ? 0 : getIndexId().hashCode());
hashCode = prime * hashCode + ((getDocumentIdList() == null) ? 0 : getDocumentIdList().hashCode());
hashCode = prime * hashCode + ((getDataSourceSyncJobMetricTarget() == null) ? 0 : getDataSourceSyncJobMetricTarget().hashCode());
return hashCode;
}
@Override
public BatchDeleteDocumentRequest clone() {
return (BatchDeleteDocumentRequest) super.clone();
}
}
|
[
""
] | |
ba6b8e244d0c05ee32f108ca11ef03dff13c8b41
|
3ac4d4b9485ee49f6547532e185a6f71b16c899f
|
/WeChat/src/com/fu/pojo/ImageMessage.java
|
98e5aa2d4428d5c713a81b075f576ed2996f8187
|
[] |
no_license
|
xiaozhifu/Wechat
|
7e9431d84fee8629c12a5b0430c25f402ebea4d0
|
760947bf1484e5bc945c7962d555356c4f2bf307
|
refs/heads/master
| 2021-05-04T21:28:18.611739
| 2018-02-09T14:02:58
| 2018-02-09T14:02:58
| 119,930,678
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 211
|
java
|
package com.fu.pojo;
public class ImageMessage extends BaseMessage{
private Image Image;
public Image getImage() {
return Image;
}
public void setImage(Image image) {
Image = image;
}
}
|
[
"FXZ@DESKTOP-MH9EBGT"
] |
FXZ@DESKTOP-MH9EBGT
|
a966a86a20c5fa75411f4b34a0b6488c2fa8b6d0
|
9876dbc20fcfd4503c21e459c813a6efa7c5727f
|
/Spring-Contact-App/src/main/java/com/project/test/TestContactDaosave.java
|
f313c30f9b7160c89359b2a0fcb1d277f87cd308
|
[] |
no_license
|
suresh9590504010/Spring-Contact-App
|
36b1f35b37714739f51e649a07aa8095a26b89fb
|
7c4c2371db09932b2d523ef57a0a15d9491affe1
|
refs/heads/master
| 2020-03-25T10:55:54.255521
| 2018-08-08T03:10:55
| 2018-08-08T03:10:55
| 143,711,254
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 827
|
java
|
package com.project.test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import com.project.config.SpringRootConfig;
import com.project.dao.ContactDao;
import com.project.dao.UserDao;
import com.project.domain.Contact;
import com.project.domain.User;
public class TestContactDaosave {
public static void main(String[] args) {
ApplicationContext ctx=new AnnotationConfigApplicationContext(SpringRootConfig.class);
ContactDao contactDao=ctx.getBean(ContactDao.class);
Contact c=new Contact();
c.setUserId(1);
c.setName("santosh");
c.setPhone("55555");
c.setEmail("santosh@123");
c.setAddress("pune");
c.setRemark("good guy ");
contactDao.save(c);
System.out.println("data saved");
}
}
|
[
"sureshwaghamare1@gmail.com"
] |
sureshwaghamare1@gmail.com
|
b5102c54bcd5e2cb7702dda5078b3c08c3eb814c
|
2b605099b7b71934cf458bb156294a8f155b1c1c
|
/src/main/stdio/In.java
|
c8348bf5598a7745f2d33cbdfe7e61a6945cdea7
|
[] |
no_license
|
nolDsouza/mastermind-network
|
29227cdc8ecf5325055c65ee4a1b5d1bc735d320
|
43e7b6830d61402cba44f75e4667b0c71290e062
|
refs/heads/master
| 2020-03-18T03:08:22.689732
| 2018-05-21T06:14:03
| 2018-05-21T06:14:03
| 134,224,480
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 28,990
|
java
|
/******************************************************************************
* Compilation: javac In.java
* Execution: java In (basic test --- see source for required files)
* Dependencies: none
*
* Reads in data of various types from standard input, files, and URLs.
*
******************************************************************************/
package stdio;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.Socket;
// import java.net.HttpURLConnection;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.InputMismatchException;
import java.util.Locale;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.regex.Pattern;
/**
* <i>Input</i>. This class provides methods for reading strings
* and numbers from standard input, file input, URLs, and sockets.
* <p>
* The Locale used is: language = English, country = US. This is consistent
* with the formatting conventions with Java floating-point literals,
* command-line arguments (via {@link Double#parseDouble(String)})
* and standard output.
* <p>
* For additional documentation, see
* <a href="https://introcs.cs.princeton.edu/31datatype">Section 3.1</a> of
* <i>Computer Science: An Interdisciplinary Approach</i>
* by Robert Sedgewick and Kevin Wayne.
* <p>
* Like {@link Scanner}, reading a token also consumes preceding Java
* whitespace, reading a full line consumes
* the following end-of-line delimeter, while reading a character consumes
* nothing extra.
* <p>
* Whitespace is defined in {@link Character#isWhitespace(char)}. Newlines
* consist of \n, \r, \r\n, and Unicode hex code points 0x2028, 0x2029, 0x0085;
* see <a href="http://www.docjar.com/html/api/java/util/Scanner.java.html">
* Scanner.java</a> (NB: Java 6u23 and earlier uses only \r, \r, \r\n).
*
* @author David Pritchard
* @author Robert Sedgewick
* @author Kevin Wayne
*/
public final class In {
///// begin: section (1 of 2) of code duplicated from In to StdIn.
// assume Unicode UTF-8 encoding
private static final String CHARSET_NAME = "UTF-8";
// assume language = English, country = US for consistency with System.out.
private static final Locale LOCALE = Locale.US;
// the default token separator; we maintain the invariant that this value
// is held by the scanner's delimiter between calls
private static final Pattern WHITESPACE_PATTERN = Pattern.compile("\\p{javaWhitespace}+");
// makes whitespace characters significant
private static final Pattern EMPTY_PATTERN = Pattern.compile("");
// used to read the entire input. source:
// http://weblogs.java.net/blog/pat/archive/2004/10/stupid_scanner_1.html
private static final Pattern EVERYTHING_PATTERN = Pattern.compile("\\A");
//// end: section (1 of 2) of code duplicated from In to StdIn.
private Scanner scanner;
/**
* Initializes an input stream from standard input.
*/
public In() {
scanner = new Scanner(new BufferedInputStream(System.in), CHARSET_NAME);
scanner.useLocale(LOCALE);
}
/**
* Initializes an input stream from a socket.
*
* @param socket the socket
* @throws IllegalArgumentException if cannot open {@code socket}
* @throws IllegalArgumentException if {@code socket} is {@code null}
*/
public In(Socket socket) {
if (socket == null) throw new IllegalArgumentException("socket argument is null");
try {
InputStream is = socket.getInputStream();
scanner = new Scanner(new BufferedInputStream(is), CHARSET_NAME);
scanner.useLocale(LOCALE);
}
catch (IOException ioe) {
throw new IllegalArgumentException("Could not open " + socket, ioe);
}
}
/**
* Initializes an input stream from a URL.
*
* @param url the URL
* @throws IllegalArgumentException if cannot open {@code url}
* @throws IllegalArgumentException if {@code url} is {@code null}
*/
public In(URL url) {
if (url == null) throw new IllegalArgumentException("url argument is null");
try {
URLConnection site = url.openConnection();
InputStream is = site.getInputStream();
scanner = new Scanner(new BufferedInputStream(is), CHARSET_NAME);
scanner.useLocale(LOCALE);
}
catch (IOException ioe) {
throw new IllegalArgumentException("Could not open " + url, ioe);
}
}
/**
* Initializes an input stream from a file.
*
* @param file the file
* @throws IllegalArgumentException if cannot open {@code file}
* @throws IllegalArgumentException if {@code file} is {@code null}
*/
public In(File file) {
if (file == null) throw new IllegalArgumentException("file argument is null");
try {
// for consistency with StdIn, wrap with BufferedInputStream instead of use
// file as argument to Scanner
FileInputStream fis = new FileInputStream(file);
scanner = new Scanner(new BufferedInputStream(fis), CHARSET_NAME);
scanner.useLocale(LOCALE);
}
catch (IOException ioe) {
throw new IllegalArgumentException("Could not open " + file, ioe);
}
}
/**
* Initializes an input stream from a filename or web page name.
*
* @param name the filename or web page name
* @throws IllegalArgumentException if cannot open {@code name} as
* a file or URL
* @throws IllegalArgumentException if {@code name} is {@code null}
*/
public In(String name) {
if (name == null) throw new IllegalArgumentException("argument is null");
try {
// first try to read file from local file system
File file = new File(name);
if (file.exists()) {
// for consistency with StdIn, wrap with BufferedInputStream instead of use
// file as argument to Scanner
FileInputStream fis = new FileInputStream(file);
scanner = new Scanner(new BufferedInputStream(fis), CHARSET_NAME);
scanner.useLocale(LOCALE);
return;
}
// next try for files included in jar
URL url = getClass().getResource(name);
// try this as well
if (url == null) {
url = getClass().getClassLoader().getResource(name);
}
// or URL from web
if (url == null) {
url = new URL(name);
}
URLConnection site = url.openConnection();
// in order to set User-Agent, replace above line with these two
// HttpURLConnection site = (HttpURLConnection) url.openConnection();
// site.addRequestProperty("User-Agent", "Mozilla/4.76");
InputStream is = site.getInputStream();
scanner = new Scanner(new BufferedInputStream(is), CHARSET_NAME);
scanner.useLocale(LOCALE);
}
catch (IOException ioe) {
throw new IllegalArgumentException("Could not open " + name, ioe);
}
}
/**
* Initializes an input stream from a given {@link Scanner} source; use with
* {@code new Scanner(String)} to read from a string.
* <p>
* Note that this does not create a defensive copy, so the
* scanner will be mutated as you read on.
*
* @param scanner the scanner
* @throws IllegalArgumentException if {@code scanner} is {@code null}
*/
public In(Scanner scanner) {
if (scanner == null) throw new IllegalArgumentException("scanner argument is null");
this.scanner = scanner;
}
/**
* Returns true if this input stream exists.
*
* @return {@code true} if this input stream exists; {@code false} otherwise
*/
public boolean exists() {
return scanner != null;
}
//// begin: section (2 of 2) of code duplicated from In to StdIn,
//// with all methods changed from "public" to "public static".
/**
* Returns true if input stream is empty (except possibly whitespace).
* Use this to know whether the next call to {@link #readString()},
* {@link #readDouble()}, etc will succeed.
*
* @return {@code true} if this input stream is empty (except possibly whitespace);
* {@code false} otherwise
*/
public boolean isEmpty() {
return !scanner.hasNext();
}
/**
* Returns true if this input stream has a next line.
* Use this method to know whether the
* next call to {@link #readLine()} will succeed.
* This method is functionally equivalent to {@link #hasNextChar()}.
*
* @return {@code true} if this input stream has more input (including whitespace);
* {@code false} otherwise
*/
public boolean hasNextLine() {
return scanner.hasNextLine();
}
/**
* Returns true if this input stream has more input (including whitespace).
* Use this method to know whether the next call to {@link #readChar()} will succeed.
* This method is functionally equivalent to {@link #hasNextLine()}.
*
* @return {@code true} if this input stream has more input (including whitespace);
* {@code false} otherwise
*/
public boolean hasNextChar() {
scanner.useDelimiter(EMPTY_PATTERN);
boolean result = scanner.hasNext();
scanner.useDelimiter(WHITESPACE_PATTERN);
return result;
}
/**
* Reads and returns the next line in this input stream.
*
* @return the next line in this input stream; {@code null} if no such line
*/
public String readLine() {
String line;
try {
line = scanner.nextLine();
}
catch (NoSuchElementException e) {
line = null;
}
return line;
}
/**
* Reads and returns the next character in this input stream.
*
* @return the next {@code char} in this input stream
* @throws NoSuchElementException if the input stream is empty
*/
public char readChar() {
scanner.useDelimiter(EMPTY_PATTERN);
try {
String ch = scanner.next();
assert ch.length() == 1 : "Internal (Std)In.readChar() error!"
+ " Please contact the authors.";
scanner.useDelimiter(WHITESPACE_PATTERN);
return ch.charAt(0);
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attempts to read a 'char' value from input stream, but there are no more tokens available");
}
}
/**
* Reads and returns the remainder of this input stream, as a string.
*
* @return the remainder of this input stream, as a string
*/
public String readAll() {
if (!scanner.hasNextLine())
return "";
String result = scanner.useDelimiter(EVERYTHING_PATTERN).next();
// not that important to reset delimeter, since now scanner is empty
scanner.useDelimiter(WHITESPACE_PATTERN); // but let's do it anyway
return result;
}
/**
* Reads the next token from this input stream and returns it as a {@code String}.
*
* @return the next {@code String} in this input stream
* @throws NoSuchElementException if the input stream is empty
*/
public String readString() {
try {
return scanner.next();
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attempts to read a 'String' value from input stream, but there are no more tokens available");
}
}
/**
* Reads the next token from this input stream, parses it as a {@code int},
* and returns the {@code int}.
*
* @return the next {@code int} in this input stream
* @throws NoSuchElementException if the input stream is empty
* @throws InputMismatchException if the next token cannot be parsed as an {@code int}
*/
public int readInt() {
try {
return scanner.nextInt();
}
catch (InputMismatchException e) {
String token = scanner.next();
throw new InputMismatchException("attempts to read an 'int' value from input stream, but the next token is \"" + token + "\"");
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attemps to read an 'int' value from input stream, but there are no more tokens available");
}
}
/**
* Reads the next token from this input stream, parses it as a {@code double},
* and returns the {@code double}.
*
* @return the next {@code double} in this input stream
* @throws NoSuchElementException if the input stream is empty
* @throws InputMismatchException if the next token cannot be parsed as a {@code double}
*/
public double readDouble() {
try {
return scanner.nextDouble();
}
catch (InputMismatchException e) {
String token = scanner.next();
throw new InputMismatchException("attempts to read a 'double' value from input stream, but the next token is \"" + token + "\"");
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attemps to read a 'double' value from input stream, but there are no more tokens available");
}
}
/**
* Reads the next token from this input stream, parses it as a {@code float},
* and returns the {@code float}.
*
* @return the next {@code float} in this input stream
* @throws NoSuchElementException if the input stream is empty
* @throws InputMismatchException if the next token cannot be parsed as a {@code float}
*/
public float readFloat() {
try {
return scanner.nextFloat();
}
catch (InputMismatchException e) {
String token = scanner.next();
throw new InputMismatchException("attempts to read a 'float' value from input stream, but the next token is \"" + token + "\"");
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attemps to read a 'float' value from input stream, but there are no more tokens available");
}
}
/**
* Reads the next token from this input stream, parses it as a {@code long},
* and returns the {@code long}.
*
* @return the next {@code long} in this input stream
* @throws NoSuchElementException if the input stream is empty
* @throws InputMismatchException if the next token cannot be parsed as a {@code long}
*/
public long readLong() {
try {
return scanner.nextLong();
}
catch (InputMismatchException e) {
String token = scanner.next();
throw new InputMismatchException("attempts to read a 'long' value from input stream, but the next token is \"" + token + "\"");
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attemps to read a 'long' value from input stream, but there are no more tokens available");
}
}
/**
* Reads the next token from this input stream, parses it as a {@code short},
* and returns the {@code short}.
*
* @return the next {@code short} in this input stream
* @throws NoSuchElementException if the input stream is empty
* @throws InputMismatchException if the next token cannot be parsed as a {@code short}
*/
public short readShort() {
try {
return scanner.nextShort();
}
catch (InputMismatchException e) {
String token = scanner.next();
throw new InputMismatchException("attempts to read a 'short' value from input stream, but the next token is \"" + token + "\"");
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attemps to read a 'short' value from input stream, but there are no more tokens available");
}
}
/**
* Reads the next token from this input stream, parses it as a {@code byte},
* and returns the {@code byte}.
* <p>
* To read binary data, use {@link BinaryIn}.
*
* @return the next {@code byte} in this input stream
* @throws NoSuchElementException if the input stream is empty
* @throws InputMismatchException if the next token cannot be parsed as a {@code byte}
*/
public byte readByte() {
try {
return scanner.nextByte();
}
catch (InputMismatchException e) {
String token = scanner.next();
throw new InputMismatchException("attempts to read a 'byte' value from input stream, but the next token is \"" + token + "\"");
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attemps to read a 'byte' value from input stream, but there are no more tokens available");
}
}
/**
* Reads the next token from this input stream, parses it as a {@code boolean}
* (interpreting either {@code "true"} or {@code "1"} as {@code true},
* and either {@code "false"} or {@code "0"} as {@code false}).
*
* @return the next {@code boolean} in this input stream
* @throws NoSuchElementException if the input stream is empty
* @throws InputMismatchException if the next token cannot be parsed as a {@code boolean}
*/
public boolean readBoolean() {
try {
String token = readString();
if ("true".equalsIgnoreCase(token)) return true;
if ("false".equalsIgnoreCase(token)) return false;
if ("1".equals(token)) return true;
if ("0".equals(token)) return false;
throw new InputMismatchException("attempts to read a 'boolean' value from input stream, but the next token is \"" + token + "\"");
}
catch (NoSuchElementException e) {
throw new NoSuchElementException("attempts to read a 'boolean' value from input stream, but there are no more tokens available");
}
}
/**
* Reads all remaining tokens from this input stream and returns them as
* an array of strings.
*
* @return all remaining tokens in this input stream, as an array of strings
*/
public String[] readAllStrings() {
// we could use readAll.trim().split(), but that's not consistent
// since trim() uses characters 0x00..0x20 as whitespace
String[] tokens = WHITESPACE_PATTERN.split(readAll());
if (tokens.length == 0 || tokens[0].length() > 0)
return tokens;
String[] decapitokens = new String[tokens.length-1];
for (int i = 0; i < tokens.length-1; i++)
decapitokens[i] = tokens[i+1];
return decapitokens;
}
/**
* Reads all remaining lines from this input stream and returns them as
* an array of strings.
*
* @return all remaining lines in this input stream, as an array of strings
*/
public String[] readAllLines() {
ArrayList<String> lines = new ArrayList<String>();
while (hasNextLine()) {
lines.add(readLine());
}
return lines.toArray(new String[lines.size()]);
}
/**
* Reads all remaining tokens from this input stream, parses them as integers,
* and returns them as an array of integers.
*
* @return all remaining lines in this input stream, as an array of integers
*/
public int[] readAllInts() {
String[] fields = readAllStrings();
int[] vals = new int[fields.length];
for (int i = 0; i < fields.length; i++)
vals[i] = Integer.parseInt(fields[i]);
return vals;
}
/**
* Reads all remaining tokens from this input stream, parses them as longs,
* and returns them as an array of longs.
*
* @return all remaining lines in this input stream, as an array of longs
*/
public long[] readAllLongs() {
String[] fields = readAllStrings();
long[] vals = new long[fields.length];
for (int i = 0; i < fields.length; i++)
vals[i] = Long.parseLong(fields[i]);
return vals;
}
/**
* Reads all remaining tokens from this input stream, parses them as doubles,
* and returns them as an array of doubles.
*
* @return all remaining lines in this input stream, as an array of doubles
*/
public double[] readAllDoubles() {
String[] fields = readAllStrings();
double[] vals = new double[fields.length];
for (int i = 0; i < fields.length; i++)
vals[i] = Double.parseDouble(fields[i]);
return vals;
}
///// end: section (2 of 2) of code duplicated from In to StdIn */
/**
* Closes this input stream.
*/
public void close() {
scanner.close();
}
/**
* Reads all integers from a file and returns them as
* an array of integers.
*
* @param filename the name of the file
* @return the integers in the file
* @deprecated Replaced by {@code new In(filename)}.{@link #readAllInts()}.
*/
@Deprecated
public static int[] readInts(String filename) {
return new In(filename).readAllInts();
}
/**
* Reads all doubles from a file and returns them as
* an array of doubles.
*
* @param filename the name of the file
* @return the doubles in the file
* @deprecated Replaced by {@code new In(filename)}.{@link #readAllDoubles()}.
*/
@Deprecated
public static double[] readDoubles(String filename) {
return new In(filename).readAllDoubles();
}
/**
* Reads all strings from a file and returns them as
* an array of strings.
*
* @param filename the name of the file
* @return the strings in the file
* @deprecated Replaced by {@code new In(filename)}.{@link #readAllStrings()}.
*/
@Deprecated
public static String[] readStrings(String filename) {
return new In(filename).readAllStrings();
}
/**
* Reads all integers from standard input and returns them
* an array of integers.
*
* @return the integers on standard input
* @deprecated Replaced by {@link StdIn#readAllInts()}.
*/
@Deprecated
public static int[] readInts() {
return new In().readAllInts();
}
/**
* Reads all doubles from standard input and returns them as
* an array of doubles.
*
* @return the doubles on standard input
* @deprecated Replaced by {@link StdIn#readAllDoubles()}.
*/
@Deprecated
public static double[] readDoubles() {
return new In().readAllDoubles();
}
/**
* Reads all strings from standard input and returns them as
* an array of strings.
*
* @return the strings on standard input
* @deprecated Replaced by {@link StdIn#readAllStrings()}.
*/
@Deprecated
public static String[] readStrings() {
return new In().readAllStrings();
}
/**
* Unit tests the {@code In} data type.
*
* @param args the command-line arguments
*/
public static void main(String[] args) {
In in;
String urlName = "https://introcs.cs.princeton.edu/stdlib/InTest.txt";
// read from a URL
System.out.println("readAll() from URL " + urlName);
System.out.println("---------------------------------------------------------------------------");
try {
in = new In(urlName);
System.out.println(in.readAll());
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
// read one line at a time from URL
System.out.println("readLine() from URL " + urlName);
System.out.println("---------------------------------------------------------------------------");
try {
in = new In(urlName);
while (!in.isEmpty()) {
String s = in.readLine();
System.out.println(s);
}
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
// read one string at a time from URL
System.out.println("readString() from URL " + urlName);
System.out.println("---------------------------------------------------------------------------");
try {
in = new In(urlName);
while (!in.isEmpty()) {
String s = in.readString();
System.out.println(s);
}
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
// read one line at a time from file in current directory
System.out.println("readLine() from current directory");
System.out.println("---------------------------------------------------------------------------");
try {
in = new In("./InTest.txt");
while (!in.isEmpty()) {
String s = in.readLine();
System.out.println(s);
}
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
// read one line at a time from file using relative path
System.out.println("readLine() from relative path");
System.out.println("---------------------------------------------------------------------------");
try {
in = new In("../stdlib/InTest.txt");
while (!in.isEmpty()) {
String s = in.readLine();
System.out.println(s);
}
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
// read one char at a time
System.out.println("readChar() from file");
System.out.println("---------------------------------------------------------------------------");
try {
in = new In("InTest.txt");
while (!in.isEmpty()) {
char c = in.readChar();
System.out.print(c);
}
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
System.out.println();
// read one line at a time from absolute OS X / Linux path
System.out.println("readLine() from absolute OS X / Linux path");
System.out.println("---------------------------------------------------------------------------");
in = new In("/n/fs/introcs/www/java/stdlib/InTest.txt");
try {
while (!in.isEmpty()) {
String s = in.readLine();
System.out.println(s);
}
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
// read one line at a time from absolute Windows path
System.out.println("readLine() from absolute Windows path");
System.out.println("---------------------------------------------------------------------------");
try {
in = new In("G:\\www\\introcs\\stdlib\\InTest.txt");
while (!in.isEmpty()) {
String s = in.readLine();
System.out.println(s);
}
System.out.println();
}
catch (IllegalArgumentException e) {
System.out.println(e);
}
System.out.println();
}
}
|
[
"s3600251@student.rmit.edu.au"
] |
s3600251@student.rmit.edu.au
|
dc6a09d10e93422fd61af7a7f5eccba12f183766
|
b08a108a6d7df0f0aa51229bdfb6e2eda7046a4d
|
/src/main/java/com/github/ka4ok85/wca/response/GetSentMailingsForOrgResponse.java
|
1e658615cf6cc16b5d9608e32966954b5ccf09ef
|
[
"MIT"
] |
permissive
|
ka4ok85/watson-campaign-automation-spring
|
5a34708f53c7aeb8ad64e22a083ab5b2659ae129
|
296fba466a32b85830850f3c92d8fd8b97227b5b
|
refs/heads/master
| 2021-07-07T03:09:00.274914
| 2019-11-26T19:32:02
| 2019-11-26T19:32:02
| 122,878,724
| 5
| 7
|
MIT
| 2019-11-26T17:28:49
| 2018-02-25T21:28:01
|
Java
|
UTF-8
|
Java
| false
| false
| 1,031
|
java
|
package com.github.ka4ok85.wca.response;
import java.util.ArrayList;
import java.util.List;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.github.ka4ok85.wca.response.containers.SentMailing;
@Component
@Scope("prototype")
public class GetSentMailingsForOrgResponse extends AbstractResponse {
private Long sentMailingsCount;
private List<SentMailing> sentMailings = new ArrayList<SentMailing>();
public Long getSentMailingsCount() {
return sentMailingsCount;
}
public void setSentMailingsCount(Long sentMailingsCount) {
this.sentMailingsCount = sentMailingsCount;
}
public List<SentMailing> getSentMailings() {
return sentMailings;
}
public void setSentMailings(List<SentMailing> sentMailings) {
this.sentMailings = sentMailings;
}
@Override
public String toString() {
return "GetSentMailingsForOrgResponse [sentMailingsCount=" + sentMailingsCount + ", sentMailings="
+ sentMailings + "]";
}
}
|
[
"makovetsky.evgeny@gmail.com"
] |
makovetsky.evgeny@gmail.com
|
c277a5f5796209a5888f0f2db1e2d4f12369f0f8
|
b2016b74acf02c0117128b505baac48338d825c9
|
/sophia.mmorpg/src/main/java/sophia/mmorpg/player/team/actionEvent/info/G2C_PlayerTeam_Modify.java
|
6bdb65f6f57cfa1c27a2fc5e0d48b5f84a455dd3
|
[] |
no_license
|
atom-chen/server
|
979830e60778a3fba1740ea3afb2e38937e84cea
|
c44e12a3efe5435d55590c9c0fd9e26cec58ed65
|
refs/heads/master
| 2020-06-17T02:54:13.348191
| 2017-10-13T18:40:21
| 2017-10-13T18:40:21
| 195,772,502
| 0
| 1
| null | 2019-07-08T08:46:37
| 2019-07-08T08:46:37
| null |
UTF-8
|
Java
| false
| false
| 530
|
java
|
package sophia.mmorpg.player.team.actionEvent.info;
import org.apache.mina.core.buffer.IoBuffer;
import sophia.foundation.communication.core.ActionEventBase;
public class G2C_PlayerTeam_Modify extends ActionEventBase {
private byte succeed;
@Override
protected IoBuffer packBody(IoBuffer buffer) {
buffer.put(succeed);
return buffer;
}
@Override
public void unpackBody(IoBuffer buffer) {
}
public byte getSucceed() {
return succeed;
}
public void setSucceed(byte succeed) {
this.succeed = succeed;
}
}
|
[
"hi@luanhailiang.cn"
] |
hi@luanhailiang.cn
|
d264bfafa39fb0649cec72638f9a62223f9d431b
|
21a6fa27181b8a246e3c9998ea388a8ed169e275
|
/src/main/java/com/qtshop/app/entity/LookUpType.java
|
606b2919a92965cf05eaeb19fc3f64c79a990fd2
|
[] |
no_license
|
jaykrs/qtshop
|
84f3f051e900c9aa99c012513df6665342f5da2d
|
c52e1b189c3dea59234a11c23eee453af9154dd6
|
refs/heads/master
| 2022-12-22T07:05:59.532740
| 2020-09-16T04:18:39
| 2020-09-16T04:18:39
| 293,119,719
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,313
|
java
|
package com.qtshop.app.entity;
import java.io.Serializable;
import java.math.BigInteger;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document
public class LookUpType implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
@Id
private BigInteger lookUpTypeId;
private String lookUpTypeName;
private String lookUpTypeLabel;
/**
* @return the lookUpTypeId
*/
public BigInteger getLookUpTypeId() {
return lookUpTypeId;
}
/**
* @param lookUpTypeId the lookUpTypeId to set
*/
public void setLookUpTypeId(BigInteger lookUpTypeId) {
this.lookUpTypeId = lookUpTypeId;
}
/**
* @return the lookUpTypeName
*/
public String getLookUpTypeName() {
return lookUpTypeName;
}
/**
* @param lookUpTypeName the lookUpTypeName to set
*/
public void setLookUpTypeName(String lookUpTypeName) {
this.lookUpTypeName = lookUpTypeName;
}
/**
* @return the lookUpTypeLabel
*/
public String getLookUpTypeLabel() {
return lookUpTypeLabel;
}
/**
* @param lookUpTypeLabel the lookUpTypeLabel to set
*/
public void setLookUpTypeLabel(String lookUpTypeLabel) {
this.lookUpTypeLabel = lookUpTypeLabel;
}
}
|
[
"jaykrs@gmail.com"
] |
jaykrs@gmail.com
|
ee10327a81be7918068b7767b97f38d711546d4a
|
8c5e64d7000edf7a201179eeb1020c591d8fd0cd
|
/Minecraft/build/tmp/recompileMc/sources/net/minecraft/client/model/ModelHumanoidHead.java
|
360d76398efebe55fe696bbc19c7d5348e40bd42
|
[
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"BSD-3-Clause",
"MIT"
] |
permissive
|
shaw-wong/Malmo
|
1f1bec86ff5b2c8038540d029a9d2288201e0f3a
|
2683891206e8ab7f015d5d0feb6b5a967f02c94f
|
refs/heads/master
| 2021-06-25T13:14:30.097602
| 2018-06-03T14:25:19
| 2018-06-03T14:25:19
| 125,961,215
| 1
| 0
|
MIT
| 2018-04-10T05:34:35
| 2018-03-20T04:35:00
|
Java
|
UTF-8
|
Java
| false
| false
| 1,619
|
java
|
package net.minecraft.client.model;
import net.minecraft.entity.Entity;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class ModelHumanoidHead extends ModelSkeletonHead
{
private final ModelRenderer head = new ModelRenderer(this, 32, 0);
public ModelHumanoidHead()
{
super(0, 0, 64, 64);
this.head.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, 0.25F);
this.head.setRotationPoint(0.0F, 0.0F, 0.0F);
}
/**
* Sets the models various rotation angles then renders the model.
*/
public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
{
super.render(entityIn, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scale);
this.head.render(scale);
}
/**
* Sets the model's various rotation angles. For bipeds, par1 and par2 are used for animating the movement of arms
* and legs, where par1 represents the time(so that arms and legs swing back and forth) and par2 represents how
* "far" arms and legs can swing at most.
*/
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn)
{
super.setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entityIn);
this.head.rotateAngleY = this.skeletonHead.rotateAngleY;
this.head.rotateAngleX = this.skeletonHead.rotateAngleX;
}
}
|
[
"254664427@qq.com"
] |
254664427@qq.com
|
4d3f697b07a6f50d7b8bd3072cb3bee4468143da
|
79cbf68e984ce9d4a057ec87c7306fb9a5a37953
|
/src/main/java/net/teraoctet/iris/commands/Command_Reload.java
|
95e1bc5fa8252059b1a6b91b8f2965d2868626fd
|
[] |
no_license
|
THYC/Iris1_10
|
a8ba1c6b40f4d79ed127e1001fce364aa1b7ae77
|
3d72de8d309b3881e6402c2b640a7abf4da32bc8
|
refs/heads/master
| 2021-01-16T23:10:40.041998
| 2016-06-18T11:11:05
| 2016-06-18T11:11:05
| 61,316,201
| 0
| 0
| null | 2016-06-18T11:11:05
| 2016-06-16T18:22:01
|
Java
|
UTF-8
|
Java
| false
| false
| 584
|
java
|
package net.teraoctet.iris.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
public class Command_Reload implements CommandExecutor
{
@Override
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args)
{
if (commandLabel.equalsIgnoreCase("reload") && (sender.isOp() || sender.hasPermission("iris.reload")))
{
org.bukkit.Bukkit.reload();
return true;
}
return false;
}
}
|
[
"thyc@teraoctet.net"
] |
thyc@teraoctet.net
|
ce2cd81f47b9e6cfdc46e4de9ba084eae283b785
|
0d87fad32339a5d063b745cb5dc677eeffeb79e2
|
/src/main/java/com/youxiue/string/CountBinarySubstrings696.java
|
d9173a87b6e7203334838e2baafde967c381cb7f
|
[] |
no_license
|
youxiue/data-structure
|
c4d10a9e9fc89891d302da43a2845b1bbd73c6bb
|
8dd4dacb50ea43465db9f7b1d2e90b308088653e
|
refs/heads/master
| 2023-03-30T08:41:02.986795
| 2023-03-16T15:06:23
| 2023-03-16T15:06:23
| 243,173,655
| 0
| 0
| null | 2022-12-13T19:36:40
| 2020-02-26T05:07:28
|
Java
|
UTF-8
|
Java
| false
| false
| 2,233
|
java
|
package com.youxiue.string;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
/**
* Created by xfb on 2020/08/10 21:45.
* 696. 计数二进制子串
*/
public class CountBinarySubstrings696 {
/**
* 给定一个字符串 s,计算具有相同数量0和1的非空(连续)子字符串的数量,并且这些子字符串中的所有0和所有1都是组合在一起的。
* <p>
* 重复出现的子串要计算它们出现的次数。
* <p>
* 示例 1 :
* <p>
* 输入: "00110011"
* 输出: 6
* 解释: 有6个子串具有相同数量的连续1和0:“0011”,“01”,“1100”,“10”,“0011” 和 “01”。
* <p>
* 请注意,一些重复出现的子串要计算它们出现的次数。
* <p>
* 另外,“00110011”不是有效的子串,因为所有的0(和1)没有组合在一起。
* 示例 2 :
* <p>
* 输入: "10101"
* 输出: 4
* 解释: 有4个子串:“10”,“01”,“10”,“01”,它们具有相同数量的连续1和0。
*/
@Test
public void test() {
String str = "00111011";
int i = countBinarySubstrings2(str);
System.out.println(i);
}
public int countBinarySubstrings(String s) {
List<Integer> counts = new ArrayList<Integer>();
int ptr = 0, n = s.length();
while (ptr < n) {
char c = s.charAt(ptr);
int count = 0;
while (ptr < n && s.charAt(ptr) == c) {
++ptr;
++count;
}
counts.add(count);
}
int ans = 0;
for (int i = 1; i < counts.size(); ++i) {
ans += Math.min(counts.get(i), counts.get(i - 1));
}
return ans;
}
public int countBinarySubstrings2(String s) {
int ptr = 0, n = s.length(), last = 0, ans = 0;
while (ptr < n) {
char c = s.charAt(ptr);
int count = 0;
while (ptr < n && s.charAt(ptr) == c) {
++ptr;
++count;
}
ans += Math.min(count, last);
last = count;
}
return ans;
}
}
|
[
"xfbliuli@qq.com"
] |
xfbliuli@qq.com
|
452c9911c18be3592554219835ca305b04bc3f3b
|
3e11829102e24e5fbc4f0dd3c5d185528d2c91c6
|
/metroCenter/src/main/java/cn/edu/shou/missive/service/MissivePublishRepository.java
|
50467a8f34aaf03ae04765126d56b216bf3bfa58
|
[] |
no_license
|
zhangtengfei91/demo
|
cc9818320e61bdf7c8ade8bb8a188c4ca2684f59
|
582b03f0a2095c82895edf9311fffd1d0028e460
|
refs/heads/master
| 2021-01-21T19:57:51.550144
| 2017-10-27T14:48:01
| 2017-10-27T14:48:01
| 92,177,839
| 0
| 1
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 366
|
java
|
package cn.edu.shou.missive.service;
import cn.edu.shou.missive.domain.MissivePublish;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
public interface MissivePublishRepository extends CrudRepository<MissivePublish, Long> {
public MissivePublish findByProcessID(long processID);
public List<MissivePublish> findAll();
}
|
[
"1641346965@qq.com"
] |
1641346965@qq.com
|
fc80d0bf966f1ad42f48fc8d6f89a9a866eeacf4
|
68dd221481f006cf8c0670399fffcac0a545cb6f
|
/api/src/main/java/br/com/api/util/Util.java
|
09a7da122616d75877ece9c663179307f36eb90c
|
[] |
no_license
|
Vagmacker/programacao-web
|
376c2f54e550f432f1606f76a852ff5385520404
|
f0b0843a59bf9c28f8733b0742498e85f5085833
|
refs/heads/master
| 2021-01-25T13:28:33.895098
| 2018-05-15T11:08:47
| 2018-05-15T11:08:47
| 123,575,083
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 564
|
java
|
package br.com.api.util;
/**
* Classe Utilitária da aplicação.
*/
public class Util {
/**
* Verifica se o argumento esta em branco.
*
* @param valor : String
* @return valor
*/
public static boolean isBlank(final String valor) {
return isEmpty(valor) || valor.trim().length() == 0;
}
/**
* Verifica se o argumento esta vázio.
*
* @param valor : String
* @return valor
*/
private static boolean isEmpty(String valor) {
return valor == null || "".equals(valor);
}
}
|
[
"vagmackerdsm@gmail.com"
] |
vagmackerdsm@gmail.com
|
bc3fa2652341ccb2dec7934b6868395d5808ad3d
|
f2b70e4c2f38ff4a814650df12ee9cecd877c65a
|
/src/main/java/osm5/ns/yang/nfvo/mano/types/rev170208/host/epa/host/epa/OmCpuFeatureKey.java
|
c466cdff1d80357990737af20e6806afe2e26c06
|
[
"Apache-2.0"
] |
permissive
|
5GinFIRE/eu.5ginfire.nbi.osm5java
|
34f17f78930178bdf3b428db7a0e9b24982c7c2a
|
19b6a70cd39e5b0eddd1d0a63069532fa2a1cee0
|
refs/heads/master
| 2021-08-11T15:50:07.182421
| 2019-06-14T12:25:45
| 2019-06-14T12:25:45
| 182,989,539
| 0
| 0
|
Apache-2.0
| 2021-08-02T17:16:53
| 2019-04-23T10:15:57
|
Java
|
UTF-8
|
Java
| false
| false
| 1,737
|
java
|
package osm5.ns.yang.nfvo.mano.types.rev170208.host.epa.host.epa;
import com.google.common.base.MoreObjects;
import java.lang.Override;
import java.lang.String;
import java.util.Objects;
import org.opendaylight.yangtools.yang.binding.CodeHelpers;
import org.opendaylight.yangtools.yang.binding.Identifier;
public class OmCpuFeatureKey
implements Identifier<OmCpuFeature> {
private static final long serialVersionUID = 8816526446650637089L;
private final String _feature;
public OmCpuFeatureKey(String _feature) {
this._feature = _feature;
}
/**
* Creates a copy from Source Object.
*
* @param source Source object
*/
public OmCpuFeatureKey(OmCpuFeatureKey source) {
this._feature = source._feature;
}
public String getFeature() {
return _feature;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + Objects.hashCode(_feature);
return result;
}
@Override
public boolean equals(java.lang.Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
OmCpuFeatureKey other = (OmCpuFeatureKey) obj;
if (!Objects.equals(_feature, other._feature)) {
return false;
}
return true;
}
@Override
public String toString() {
final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(OmCpuFeatureKey.class);
CodeHelpers.appendValue(helper, "_feature", _feature);
return helper.toString();
}
}
|
[
"ioannischatzis@gmail.com"
] |
ioannischatzis@gmail.com
|
16c9490b46d8f85e7e91d463cd5c0fc087a76135
|
b36b49139bcf8ba0b8c9fef09b3cac30b526accc
|
/src/main/java/by/epam/cafe/dao/AbstractDAO.java
|
4672a12ecc5c256ad8495582b98e092e65f74fb8
|
[] |
no_license
|
SashaHmurchik/OnlineCafe
|
33a0828ad11be8c04a167c0738f60a3c1a1dd594
|
7e56f0db71794d707691d1b931a11a2a1471b4a6
|
refs/heads/master
| 2021-07-22T00:35:41.926862
| 2017-10-31T14:24:06
| 2017-10-31T14:24:08
| 103,523,733
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 748
|
java
|
package by.epam.cafe.dao;
import by.epam.cafe.pool.ProxyConnection;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.sql.SQLException;
import java.sql.Statement;
public abstract class AbstractDAO {
private static Logger logger = LogManager.getLogger(AbstractDAO.class);
protected ProxyConnection connection;
public void close(Statement st) {
try {
if (st != null) {
st.close();
}
} catch (SQLException e) {
logger.log(Level.ERROR, "Can't close statement", e);
}
}
void setConnection(ProxyConnection connection) {
this.connection = connection;
}
}
|
[
"sasha.hmurchik@gmail.com"
] |
sasha.hmurchik@gmail.com
|
64c2c59c24612eef15f40c5219b7affb0fecbf42
|
bc2e8aeddf68a90df97be5fc1453c65faa16a92d
|
/db/src/test/java/oving3/db/DbApplicationTests.java
|
36e9f9cef8432c4900ae46f49bb9f66bdc4eee10
|
[] |
no_license
|
torbjbak/FullStackVue
|
2b74154a9d03b95d9b1e63f272fcf59334691868
|
e9db6a190c05d52d8f870ba9fcf9ccfe72544c92
|
refs/heads/master
| 2023-04-01T14:23:05.593099
| 2021-04-08T12:37:41
| 2021-04-08T12:37:41
| 347,052,687
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 197
|
java
|
package oving3.db;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class DbApplicationTests {
@Test
void contextLoads() {
}
}
|
[
"tbakke93@gmail.com"
] |
tbakke93@gmail.com
|
8c099471d213a359f53089da88a18ab3ad69a373
|
1b60f280ecc34469ff11e4aecaa11aa061bffab2
|
/src/main/java/be/aplacetolive/config/WebMVCConfig.java
|
aebb13ce8916f128af57f847e6067caf94afcd40
|
[] |
no_license
|
rmedard/aplace2live
|
aaf78bb5cfa2d279aa5141b7622fc254724d7891
|
c06b688aee06098e7092c08a475c08e92288d6d6
|
refs/heads/master
| 2020-12-30T14:12:15.351947
| 2017-09-24T20:37:10
| 2017-09-24T20:37:10
| 91,284,473
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 536
|
java
|
package be.aplacetolive.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
/**
* Created by medard on 18.06.17.
*/
@Configuration
public class WebMVCConfig extends WebMvcConfigurerAdapter {
@Bean
public BCryptPasswordEncoder passwordEncoder() {
return new BCryptPasswordEncoder();
}
}
|
[
"00Derfine@5"
] |
00Derfine@5
|
743f6036c4399cc3e593897146b3c3cd8f047dd4
|
de7b67d4f8aa124f09fc133be5295a0c18d80171
|
/workspace_java-src/java-src-test/src/sun/security/x509/InhibitAnyPolicyExtension.java
|
805e74313c48f3b31652a1c9a28513a0fa156057
|
[] |
no_license
|
lin-lee/eclipse_workspace_test
|
adce936e4ae8df97f7f28965a6728540d63224c7
|
37507f78bc942afb11490c49942cdfc6ef3dfef8
|
refs/heads/master
| 2021-05-09T10:02:55.854906
| 2018-01-31T07:19:02
| 2018-01-31T07:19:02
| 119,460,523
| 0
| 1
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 7,963
|
java
|
/*
* %W% %E%
*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package sun.security.x509;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Enumeration;
import sun.security.util.Debug;
import sun.security.util.DerOutputStream;
import sun.security.util.DerValue;
import sun.security.util.ObjectIdentifier;
/**
* This class represents the Inhibit Any-Policy Extension.
*
* <p>The inhibit any-policy extension can be used in certificates issued
* to CAs. The inhibit any-policy indicates that the special any-policy
* OID, with the value {2 5 29 32 0}, is not considered an explicit
* match for other certificate policies. The value indicates the number
* of additional certificates that may appear in the path before any-
* policy is no longer permitted. For example, a value of one indicates
* that any-policy may be processed in certificates issued by the sub-
* ject of this certificate, but not in additional certificates in the
* path.
* <p>
* This extension MUST be critical.
* <p>
* The ASN.1 syntax for this extension is:
* <code><pre>
* id-ce-inhibitAnyPolicy OBJECT IDENTIFIER ::= { id-ce 54 }
*
* InhibitAnyPolicy ::= SkipCerts
*
* SkipCerts ::= INTEGER (0..MAX)
* </pre></code>
* @author Anne Anderson
* @version %I%, %G%
* @see CertAttrSet
* @see Extension
*/
public class InhibitAnyPolicyExtension extends Extension
implements CertAttrSet {
private static final Debug debug = Debug.getInstance("certpath");
/**
* Identifier for this attribute, to be used with the
* get, set, delete methods of Certificate, x509 type.
*/
public static final String IDENT = "x509.info.extensions.InhibitAnyPolicy";
/**
* Object identifier for "any-policy"
*/
public static ObjectIdentifier AnyPolicy_Id;
static {
try {
AnyPolicy_Id = new ObjectIdentifier("2.5.29.32.0");
} catch (IOException ioe) {
// Should not happen
}
}
/**
* Attribute names.
*/
public static final String NAME = "InhibitAnyPolicy";
public static final String SKIP_CERTS = "skip_certs";
// Private data members
private int skipCerts = Integer.MAX_VALUE;
// Encode this extension value
private void encodeThis() throws IOException {
DerOutputStream out = new DerOutputStream();
out.putInteger(skipCerts);
this.extensionValue = out.toByteArray();
}
/**
* Default constructor for this object.
*
* @param skipCerts specifies the depth of the certification path.
* Use value of -1 to request unlimited depth.
*/
public InhibitAnyPolicyExtension(int skipCerts) throws IOException {
if (skipCerts < -1)
throw new IOException("Invalid value for skipCerts");
if (skipCerts == -1)
this.skipCerts = Integer.MAX_VALUE;
else
this.skipCerts = skipCerts;
this.extensionId = PKIXExtensions.InhibitAnyPolicy_Id;
critical = true;
encodeThis();
}
/**
* Create the extension from the passed DER encoded value of the same.
*
* @param critical criticality flag to use. Must be true for this
* extension.
* @param value a byte array holding the DER-encoded extension value.
* @exception ClassCastException if value is not an array of bytes
* @exception IOException on error.
*/
public InhibitAnyPolicyExtension(Boolean critical, Object value)
throws IOException {
this.extensionId = PKIXExtensions.InhibitAnyPolicy_Id;
if (!critical.booleanValue())
throw new IOException("Criticality cannot be false for " +
"InhibitAnyPolicy");
this.critical = critical.booleanValue();
this.extensionValue = (byte[]) value;
DerValue val = new DerValue(this.extensionValue);
if (val.tag != DerValue.tag_Integer)
throw new IOException("Invalid encoding of InhibitAnyPolicy: "
+ "data not integer");
if (val.data == null)
throw new IOException("Invalid encoding of InhibitAnyPolicy: "
+ "null data");
int skipCertsValue = val.getInteger();
if (skipCertsValue < -1)
throw new IOException("Invalid value for skipCerts");
if (skipCertsValue == -1) {
this.skipCerts = Integer.MAX_VALUE;
} else {
this.skipCerts = skipCertsValue;
}
}
/**
* Return user readable form of extension.
*/
public String toString() {
String s = super.toString() + "InhibitAnyPolicy: " + skipCerts + "\n";
return s;
}
/**
* Encode this extension value to the output stream.
*
* @param out the DerOutputStream to encode the extension to.
*/
public void encode(OutputStream out) throws IOException {
DerOutputStream tmp = new DerOutputStream();
if (extensionValue == null) {
this.extensionId = PKIXExtensions.InhibitAnyPolicy_Id;
critical = true;
encodeThis();
}
super.encode(tmp);
out.write(tmp.toByteArray());
}
/**
* Set the attribute value.
*
* @param name name of attribute to set. Must be SKIP_CERTS.
* @param obj value to which attribute is to be set. Must be Integer
* type.
* @throws IOException on error
*/
public void set(String name, Object obj) throws IOException {
if (name.equalsIgnoreCase(SKIP_CERTS)) {
if (!(obj instanceof Integer))
throw new IOException("Attribute value should be of type Integer.");
int skipCertsValue = ((Integer)obj).intValue();
if (skipCertsValue < -1)
throw new IOException("Invalid value for skipCerts");
if (skipCertsValue == -1) {
skipCerts = Integer.MAX_VALUE;
} else {
skipCerts = skipCertsValue;
}
} else
throw new IOException("Attribute name not recognized by " +
"CertAttrSet:InhibitAnyPolicy.");
encodeThis();
}
/**
* Get the attribute value.
*
* @param name name of attribute to get. Must be SKIP_CERTS.
* @returns value of the attribute. In this case it will be of type
* Integer.
* @throws IOException on error
*/
public Object get(String name) throws IOException {
if (name.equalsIgnoreCase(SKIP_CERTS))
return (new Integer(skipCerts));
else
throw new IOException("Attribute name not recognized by " +
"CertAttrSet:InhibitAnyPolicy.");
}
/**
* Delete the attribute value.
*
* @param name name of attribute to delete. Must be SKIP_CERTS.
* @throws IOException on error. In this case, IOException will always be
* thrown, because the only attribute, SKIP_CERTS, is
* required.
*/
public void delete(String name) throws IOException {
if (name.equalsIgnoreCase(SKIP_CERTS))
throw new IOException("Attribute " + SKIP_CERTS +
" may not be deleted.");
else
throw new IOException("Attribute name not recognized by " +
"CertAttrSet:InhibitAnyPolicy.");
}
/**
* Return an enumeration of names of attributes existing within this
* attribute.
*
* @returns enumeration of elements
*/
public Enumeration getElements() {
AttributeNameEnumeration elements = new AttributeNameEnumeration();
elements.addElement(SKIP_CERTS);
return (elements.elements());
}
/**
* Return the name of this attribute.
*
* @returns name of attribute.
*/
public String getName() {
return (NAME);
}
}
|
[
"lilin@lvmama.com"
] |
lilin@lvmama.com
|
a144576dff4f7e83e4c646b8fb7ae9bb826ca583
|
102c946b1423f65aa254c5e1dbaf7470ca4c5171
|
/Campionato/src/it/unitn/disi/lingprog/daniele/marcolan/campionato/Campionato.java
|
3d459cb4002bdfb20b47b2182d6c241cc2ac46aa
|
[] |
no_license
|
DanieleMarcolan/Esami-Java-JavaFX-UNITN-2021
|
ff44a9899e808c8ab091d8089f6d8be2dde63c31
|
fd359447d497b2daba8095d796987c954fcdcfd4
|
refs/heads/main
| 2023-03-17T14:30:03.810372
| 2021-03-15T11:31:59
| 2021-03-15T11:31:59
| 343,138,057
| 2
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 586
|
java
|
package it.unitn.disi.lingprog.daniele.marcolan.campionato;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Campionato extends Application {
@Override
public void start(Stage primaryStage) {
MainWindow root = new MainWindow();
Scene scene = new Scene(root, 700, 700);
primaryStage.setTitle("Daniele Marcolan");
primaryStage.setScene(scene);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
|
[
"marcolandaniele@gmail.com"
] |
marcolandaniele@gmail.com
|
e4b341e5013d082d69c4ecdf34b3fc8c574cbc22
|
cbcdc2ff0c1e7c504e43d25006dd238ec8a67774
|
/src/test/java/com/example/springboot_shiro/SpringbootShiroApplicationTests.java
|
584c5451cd4ff8c13d759d7873914c87819aa3fe
|
[] |
no_license
|
TangHaoShuai/springboot_shiro
|
1e01866bc2c36abcffd9eb29adebf19baad1566a
|
c615ee4e8a6dc1ceccd371ca228e725b462e9f5f
|
refs/heads/master
| 2023-08-22T16:14:02.027211
| 2021-10-05T06:31:25
| 2021-10-05T06:31:25
| 413,699,523
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 238
|
java
|
package com.example.springboot_shiro;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class SpringbootShiroApplicationTests {
@Test
void contextLoads() {
}
}
|
[
"1648375651@qq.com"
] |
1648375651@qq.com
|
35ea1c1ba542cb843085b94f36e8af2c143f503e
|
af3fc23b7cbf6db89a7f11ae79d8104d7cfefba2
|
/app/src/main/java/com/nms/mydemo/seashell/FouthActivity.java
|
934e4ce3830f0e28c32ee143421c7d477a5227d9
|
[] |
no_license
|
nimingsheng/haibei
|
7e40e7cbc49d4a7a18a40b00df67186f416eeded
|
6606cd9a41d57e482ec5d71e1763905cf079b880
|
refs/heads/master
| 2021-01-10T06:24:43.038475
| 2016-03-14T02:47:19
| 2016-03-14T02:47:19
| 53,821,926
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 8,040
|
java
|
package com.nms.mydemo.seashell;
import android.content.Intent;
import android.graphics.Paint;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.RatingBar;
import android.widget.TextView;
import com.example.yangjw.minelibrary.bitmap.ImageLoader;
import com.google.gson.Gson;
import com.nms.mydemo.seashell.adapter.HeadPagerAdapter;
import com.nms.mydemo.seashell.bean.ProductDetails;
import com.nms.mydemo.seashell.fragment.DetailsFragment1;
import com.nms.mydemo.seashell.fragment.DetailsFragment2;
import com.nms.mydemo.seashell.httputils.HttpUtils;
import com.nms.mydemo.seashell.httputils.RequestCallBack;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;
/**
* Created by my on 2016/3/9.
*/
public class FouthActivity extends AppCompatActivity implements View.OnClickListener {
private TextView tvName;
private ProductDetails productDetails;
private Bundle bundle;
private RequestCallBack callBack = new RequestCallBack() {
@Override
public void onSuccess(String result, int requestCode) {
Log.d("demo","----------------"+result);
Gson gson = new Gson();
productDetails = gson.fromJson(result, ProductDetails.class);
setData();
bundle = new Bundle();
bundle.putString("data",result);
}
@Override
public void onFailed() {
}
};
private TextView tvRealPrice;
private RatingBar ratingBar;
private TextView tvDiscount;
private TextView tvListPrice;
private ViewPager viewPager;
private List<View> viewList;
private TextView tvBottom1;
private TextView tvBottom2;
private FragmentManager manager;
private DetailsFragment1 fragment1;
private DetailsFragment2 fragment2;
private RadioGroup radioGroup;
private RadioButton radioButton1;
private RadioButton radioButton2;
private FragmentTransaction transaction;
private void setData() {
String name = productDetails.getData().getProduct().getName();
tvName.setText(name);
float price = (float)productDetails.getData().getProduct().getCurrent_sku().getReal_price().getCNY() / 100;
DecimalFormat df1 = new DecimalFormat("0.00");
String realPrice = df1.format(price);
tvRealPrice.setText("¥"+realPrice);
float mPrice = (float)productDetails.getData().getProduct().getCurrent_sku().getList_price().getCNY() / 100;
String listPrice = df1.format(mPrice);
tvListPrice.setText("¥"+listPrice);
tvListPrice.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG);
float discount = (float)productDetails.getData().getProduct().getCurrent_sku().getReal_price().getCNY()*10
/productDetails.getData().getProduct().getCurrent_sku().getList_price().getCNY();
DecimalFormat df2 = new DecimalFormat("0.0");
String sDiscount = df2.format(discount);
tvDiscount.setText(sDiscount + "折");
int score2 = productDetails.getData().getProduct().getMerchant().getScore();
ratingBar.setProgress(score2);
createViewPager();
}
private void createViewPager() {
viewPager = (ViewPager)findViewById(R.id.viewpager_top_details);
viewList = new ArrayList<>();
List<ProductDetails.DataEntity.ProductEntity.ImagesEntity> images = productDetails.getData().getProduct().getImages();
for (int i =0;i<images.size();i++){
addRadioButton();
String imageUrl = images.get(i).getUrl();
ImageView imageView = new ImageView(this);
ImageLoader.load(this,imageUrl,imageView);
viewList.add(imageView);
}
if (images.size()<2){
addRadioButton();
String imageUrl = images.get(0).getThumb();
ImageView imageView = new ImageView(this);
ImageLoader.load(this,imageUrl,imageView);
viewList.add(imageView);
}
HeadPagerAdapter adapter = new HeadPagerAdapter(viewList);
viewPager.setAdapter(adapter);
viewPager.setCurrentItem(0);
radioGroup.check(0);
viewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
radioGroup.check(position+1);
}
@Override
public void onPageSelected(int position) {
}
@Override
public void onPageScrollStateChanged(int state) {
}
});
}
private void addRadioButton() {
RadioButton radioButton = new RadioButton(this);
radioButton.setButtonDrawable(R.drawable.dot_radiobutton);
radioGroup.addView(radioButton);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_fourth);
Intent intent = getIntent();
String url = intent.getStringExtra("url");
HttpUtils.requestGet(url, callBack, 3);
initView();
manager = getSupportFragmentManager();
}
private void initView() {
tvName = (TextView)findViewById(R.id.tv_name_big_details);
ratingBar = (RatingBar)findViewById(R.id.ratingBar);
tvRealPrice = (TextView)findViewById(R.id.real_price_details);
tvDiscount = (TextView)findViewById(R.id.tv_discount_details);
tvListPrice = (TextView)findViewById(R.id.list_price_details);
tvBottom1 = (TextView)findViewById(R.id.tv1_bottom_details);
tvBottom2 = (TextView)findViewById(R.id.tv2_bottom_details);
tvBottom1.setOnClickListener(this);
tvBottom2.setOnClickListener(this);
radioGroup = (RadioGroup)findViewById(R.id.radiogroup_dot);
radioButton1 = (RadioButton)findViewById(R.id.rb1_line);
radioButton2 = (RadioButton)findViewById(R.id.rb2_line);
radioButton1.setChecked(true);
}
@Override
public void onClick(View v) {
transaction = manager.beginTransaction();
switch (v.getId()){
case R.id.tv1_bottom_details:
radioButton1.setChecked(true);
if (fragment2 != null){
transaction.hide(fragment2);
}
if (fragment1 == null){
if (bundle != null) {
fragment1 = new DetailsFragment1();
fragment1.setArguments(bundle);
transaction.add(R.id.container_bottom_details, fragment1);
}
}else {
transaction.show(fragment1);
}
break;
case R.id.tv2_bottom_details:
radioButton2.setChecked(true);
if (fragment1 != null){
transaction.hide(fragment1);
}
if (fragment2 == null){
if (bundle != null){
fragment2 = new DetailsFragment2();
fragment2.setArguments(bundle);
transaction.add(R.id.container_bottom_details,fragment2);
}
}else {
transaction.show(fragment2);
}
break;
}
transaction.commit();
}
public void back(View v){
finish();
}
public void share(View v){
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.setType("text/*");
startActivity(intent);
}
}
|
[
"279908055@qq.com"
] |
279908055@qq.com
|
4db2b65c6dde47485fdc7d80eb7d5739df6cd8ec
|
1dfa87318ec70f2167894470b703506a85af3117
|
/x-manerger/x-manerger-sys-ui/x-manerger-sys-ui-beetl-tag/src/main/java/com/company/manerger/sys/ui/beetl/tag/ArgumentAware.java
|
650ebcc9e92c5a52ab8b0433f3a1cad41725fa87
|
[] |
no_license
|
huangjian888/jeeweb-mybatis-springboot
|
2d6e9d2f420a89bf6f7f2aca2b1ab31dce6e0095
|
22926faf93f960e02da4a1cad36ed7d8f980b399
|
refs/heads/v3.0-master
| 2023-07-20T11:42:30.526563
| 2019-08-20T07:34:56
| 2019-08-20T07:34:56
| 145,819,401
| 356
| 138
| null | 2023-07-17T20:03:38
| 2018-08-23T07:45:54
|
Java
|
UTF-8
|
Java
| false
| false
| 449
|
java
|
package com.company.manerger.sys.ui.beetl.tag;
import com.company.manerger.sys.ui.beetl.tag.exception.BeetlTagException;
import org.springframework.lang.Nullable;
public interface ArgumentAware {
/**
* Callback hook for nested spring:argument tags to pass their value
* to the parent tag.
* @param argument the result of the nested {@code spring:argument} tag
*/
void addArgument(@Nullable Object argument) throws BeetlTagException;
}
|
[
"465265897@qq.com"
] |
465265897@qq.com
|
13d4f3b6d4d9fe0f5898c936f42117ff06fe86b9
|
39a8fdbfcb9ba553dc993ea6c8f366c48f81c6bd
|
/src/nyc/c4q/hoshikoo/SocialNetwork.java
|
6b90c9110d1591338fa9a61ce5595710fe251e00
|
[] |
no_license
|
hoshikoo/AC_04-02
|
b9f725113ef6f7625e6af06079592234671eee8a
|
4193fe00a87a419caf23c1680f8debc557edcf76
|
refs/heads/master
| 2016-09-09T23:51:31.634974
| 2015-04-03T03:56:05
| 2015-04-03T03:56:05
| 33,336,378
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 4,329
|
java
|
package nyc.c4q.hoshikoo;
/**
* Created by Hoshiko on 4/2/15.
*/
import java.util.HashSet;
public class SocialNetwork {
public static void main(String[] args) {
HashSet<String> yours = new HashSet();
yours.add("Yelena");
yours.add("Jamal");
yours.add("Eve");
HashSet<String> mine = new HashSet();
mine.add("Sebastian");
mine.add("Mala");
mine.add("Eve");
// You should be able to run all of these in a row:
System.out.println( allFriends(yours, mine) );
System.out.println( mutualFriends(yours, mine) );
System.out.println( justYourFriends(yours, mine) );
System.out.println( justMyFriends(yours, mine) );
System.out.println( exclusiveFriends(yours, mine) );
System.out.println( yourFriendsAreMine(yours, mine) );
System.out.println( youHaveFriends(yours) );
System.out.println( matchmaker(yours, mine) );
}
public static HashSet<String> allFriends(HashSet<String> yours, HashSet<String> mine) {
// Yelena, Jamal, Eve, Sebastian, Mala
HashSet<String>ourFriends = new HashSet<String>();
// for(String friendName : mine){
// yours.add(friendName);
// }
ourFriends.addAll(yours);
ourFriends.addAll(mine);
return ourFriends;
}
public static HashSet<String> mutualFriends(HashSet<String> yours, HashSet<String> mine) {
// Eve
HashSet<String> mutualFriendsName = new HashSet<String>();
for(String friendName :yours){
if(mine.contains(friendName)){
mutualFriendsName.add(friendName);
}
}
return mutualFriendsName;
}
public static HashSet<String> justYourFriends(HashSet<String> yours, HashSet<String> mine) {
// Yelena, Jamal
HashSet<String> justYourFriendsName = new HashSet<String>(yours);
justYourFriendsName.removeAll(mine);
return justYourFriendsName;
}
public static HashSet<String> justMyFriends(HashSet<String> yours, HashSet<String> mine) {
// Sebastian, Mala
HashSet<String> justMyFriendsName = new HashSet<String>(mine);
justMyFriendsName.removeAll(yours);
return justMyFriendsName;
}
public static HashSet<String> exclusiveFriends(HashSet<String> yours, HashSet<String> mine) {
// Yelena, Jamal, Sebastian, Mala
// HashSet<String> exclusiveFriendsName = new HashSet<String>(allFriends(yours, mine));
// exclusiveFriendsName.removeAll(mutualFriends(yours, mine));
HashSet<String> exclusiveFriendsName = new HashSet<String>(justYourFriends(yours, mine));
exclusiveFriendsName.addAll(justMyFriends(yours, mine));
return exclusiveFriendsName;
}
public static boolean yourFriendsAreMine(HashSet<String> yours, HashSet<String> mine) {
// true if all your friends are also my friends
if(yours.size() > mine.size()){
return false;
}else {
for(String friendName :yours){
if(!mine.contains(friendName)){
return false;
}
}
}
return true;
}
public static boolean youHaveFriends(HashSet<String> yours) {
// true if you have any friends
if(yours.size()>0){
return true;
}else{
return false;
}
}
public static HashSet<HashSet<String>> matchmaker(HashSet<String> yours, HashSet<String> mine) {
// should return these sets:
// Sebastian, Jamal
// Jamal, Mala
// Jamal, Eve
// Sebastian, Yelena
// Yelena, Mala
// Yelena, Eve
// Sebastian, Eve
// Mala, Eve
HashSet<HashSet<String>> matches = new HashSet<HashSet<String>>();
for (String yourFriendsName :yours){
for(String myFriendsName :mine){
HashSet<String> individualMatches = new HashSet <String>();
if(!myFriendsName.equals(yourFriendsName)){
individualMatches.add(myFriendsName);
individualMatches.add(yourFriendsName);
matches.add(individualMatches);
}
}
}
return matches;
}
}
|
[
"hoshikooki@gmail.com"
] |
hoshikooki@gmail.com
|
8fc804cedf0e4fbc0ea113c45168d67f07120619
|
ae32549dc2add17d10622fe6cecafd364b95f8cf
|
/open/src/com/scaleoutsoftware/soss/hserver/hadoop/MapperWrapperMapred.java
|
717c83dea6dac5b73330218d8accc15793f01ab6
|
[
"Apache-2.0"
] |
permissive
|
scaleoutsoftware/hServer
|
15b760bc3feafe9c54c76d48cf95e246c0466a67
|
970a03157a815a1ce40a5a1c1f810ed959d87433
|
refs/heads/master
| 2020-06-07T16:58:54.743452
| 2015-11-05T19:57:06
| 2015-11-05T19:57:06
| 34,078,519
| 5
| 2
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 11,068
|
java
|
/*
Copyright (c) 2015 by ScaleOut Software, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.scaleoutsoftware.soss.hserver.hadoop;
import com.scaleoutsoftware.soss.hserver.HServerInvocationParameters;
import com.scaleoutsoftware.soss.hserver.InvocationParameters;
import com.scaleoutsoftware.soss.hserver.MapOutputAccumulator;
import com.scaleoutsoftware.soss.hserver.RunHadoopMapContext;
import com.scaleoutsoftware.soss.hserver.interop.RunMapContext;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.mapred.*;
import org.apache.hadoop.mapred.InputFormat;
import org.apache.hadoop.mapred.InputSplit;
import org.apache.hadoop.mapred.JobContext;
import org.apache.hadoop.mapred.JobID;
import org.apache.hadoop.mapred.OutputCommitter;
import org.apache.hadoop.mapred.OutputFormat;
import org.apache.hadoop.mapred.RecordWriter;
import org.apache.hadoop.mapred.TaskAttemptContext;
import org.apache.hadoop.mapred.TaskAttemptID;
import org.apache.hadoop.mapreduce.split.JobSplit;
import org.apache.hadoop.util.ReflectionUtils;
import java.io.IOException;
import java.lang.reflect.Constructor;
/**
* This class contains the access layer for the mapper for the old (mapred) api
*/
public class MapperWrapperMapred<INKEY, INVALUE, OUTKEY, OUTVALUE> implements MapperWrapper<INKEY, INVALUE, OUTKEY, OUTVALUE> {
public static final Log LOG =
LogFactory.getLog(MapperWrapperMapred.class);
private final JobConf jobConf;
private final HServerInvocationParameters invocationParameters;
private final JobID jobId;
private final JobContext jobContext;
private final Class<? extends org.apache.hadoop.mapred.Reducer> combinerClass;
private final HadoopVersionSpecificCode hadoopVersionSpecificCode;
private final Constructor mapperConstructor;
private final Class<? extends org.apache.hadoop.mapred.Partitioner> partitionerClass;
private final boolean mapOnlyJob;
public MapperWrapperMapred(HServerInvocationParameters invocationParameters) throws IOException, ClassNotFoundException, NoSuchMethodException {
this.invocationParameters = invocationParameters;
jobConf = (JobConf) invocationParameters.getConfiguration();
LOG.info("Starting mapper:"+HadoopInvocationParameters.dumpConfiguration(jobConf));
hadoopVersionSpecificCode = HadoopVersionSpecificCode.getInstance(invocationParameters.getHadoopVersion(), jobConf);
hadoopVersionSpecificCode.onJobInitialize(invocationParameters);
jobId = (JobID) invocationParameters.getJobId();
jobContext = hadoopVersionSpecificCode.createJobContext(jobConf, jobId);
combinerClass = jobConf.getCombinerClass();
//Create constructor to save time on mapper instantiations
mapperConstructor = jobConf.getMapperClass().getConstructor(new Class[]{});
mapperConstructor.setAccessible(true);
partitionerClass = jobConf.getPartitionerClass();
mapOnlyJob = invocationParameters.getHadoopPartitionToSossRegionMapping().length == 0 && !invocationParameters.isSingleResultOptimisation(); //Mapper output goes straight to Output Format
}
/**
* Runs mapper for the single split.
*
* @param mapOutputAccumulator mapOutputAccumulator to use
* @param split split ot run on
*/
@Override
@SuppressWarnings("unchecked")
public void runSplit(final MapOutputAccumulator<OUTKEY, OUTVALUE> mapOutputAccumulator, Object split, int splitIndex)
throws IOException, ClassNotFoundException, InterruptedException {
JobConf jobConf = new JobConf(this.jobConf); //Clone JobConf to prevent unexpected task interaction
TaskAttemptID taskAttemptID = TaskAttemptID.downgrade(hadoopVersionSpecificCode.createTaskAttemptId(jobId, true, splitIndex));
ReducerWrapperMapred.updateJobConf(jobConf,taskAttemptID,splitIndex);
updateJobWithSplit(jobConf, split);
InputFormat inputFormat = jobConf.getInputFormat();
Reporter reporter = Reporter.NULL;
//Create RecordReader
org.apache.hadoop.mapred.RecordReader<INKEY, INVALUE> recordReader = inputFormat.getRecordReader((InputSplit) split, jobConf, reporter);
//Make a mapper
org.apache.hadoop.mapred.Mapper<INKEY, INVALUE, OUTKEY, OUTVALUE> mapper;
try {
mapper = (org.apache.hadoop.mapred.Mapper<INKEY, INVALUE, OUTKEY, OUTVALUE>) mapperConstructor.newInstance();
mapper.configure(jobConf);
} catch (Exception e) {
throw new RuntimeException("Cannot instantiate mapper " + mapperConstructor.getDeclaringClass(), e);
}
//These are to support map only jobs which write output directly to HDFS.
final RecordWriter outputRecordWriter;
OutputCommitter outputCommitter = null;
TaskAttemptContext taskAttemptContext = null;
if (mapOnlyJob) {
taskAttemptContext = hadoopVersionSpecificCode.createTaskAttemptContextMapred(jobConf, taskAttemptID);
OutputFormat outputFormat = jobConf.getOutputFormat();
FileSystem fs = FileSystem.get(jobConf);
outputRecordWriter = (org.apache.hadoop.mapred.RecordWriter<OUTKEY, OUTVALUE>) outputFormat.getRecordWriter(fs, jobConf, ReducerWrapperMapred.getOutputName(splitIndex), Reporter.NULL);
outputCommitter = jobConf.getOutputCommitter();
//Create task object so it can handle file format initialization
//The MapTask is private in the Hadoop 1.x so we have to go through reflection.
try {
Class reduceTask = Class.forName("org.apache.hadoop.mapred.MapTask");
Constructor reduceTaskConstructor = reduceTask.getDeclaredConstructor(String.class, TaskAttemptID.class, int.class, JobSplit.TaskSplitIndex.class, int.class);
reduceTaskConstructor.setAccessible(true);
Task task = (Task) reduceTaskConstructor.newInstance(null, taskAttemptID, splitIndex, new JobSplit.TaskSplitIndex(), 0);
task.setConf(jobConf);
task.initialize(jobConf, jobId, Reporter.NULL, false);
} catch (Exception e) {
throw new IOException("Cannot initialize MapTask", e);
}
outputCommitter.setupTask(taskAttemptContext);
} else {
outputRecordWriter = null;
}
OutputCollector<OUTKEY, OUTVALUE> outputCollector;
if (!mapOnlyJob) {
outputCollector = new OutputCollector<OUTKEY, OUTVALUE>() {
@Override
public void collect(OUTKEY outkey, OUTVALUE outvalue) throws IOException {
try {
mapOutputAccumulator.combine(outkey, outvalue);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
};
} else {
outputCollector = new OutputCollector<OUTKEY, OUTVALUE>() {
@Override
public void collect(OUTKEY outkey, OUTVALUE outvalue) throws IOException {
outputRecordWriter.write(outkey, outvalue);
}
};
}
INKEY key = recordReader.createKey();
INVALUE value = recordReader.createValue();
while (recordReader.next(key, value)) {
mapper.map(key, value, outputCollector, reporter);
}
mapper.close();
recordReader.close();
if (mapOnlyJob)
{
outputRecordWriter.close(Reporter.NULL);
outputCommitter.commitTask(taskAttemptContext);
}
}
@Override
public Class<OUTKEY> getMapOutputKeyClass() {
return (Class<OUTKEY>) jobContext.getMapOutputKeyClass();
}
@Override
public Class<OUTVALUE> getMapOutputValueClass() {
return (Class<OUTVALUE>) jobContext.getMapOutputValueClass();
}
@Override
public ReducerWrapper<OUTKEY, OUTVALUE, OUTKEY, OUTVALUE> getCombiner(MapOutputAccumulator<OUTKEY, OUTVALUE> consumer, RunMapContext<OUTKEY, OUTVALUE> mapContext) throws IOException, ClassNotFoundException, InterruptedException {
if (combinerClass == null) {
return null;
} else {
return new ReducerWrapperMapred<OUTKEY, OUTVALUE, OUTKEY, OUTVALUE>(invocationParameters, consumer, combinerClass);
}
}
@Override
public PartitionerWrapper<OUTKEY, OUTVALUE> getPartitioner() {
return new PartitionerWrapper<OUTKEY, OUTVALUE>(jobContext.getNumReduceTasks()) {
org.apache.hadoop.mapred.Partitioner<OUTKEY, OUTVALUE> partitioner = (org.apache.hadoop.mapred.Partitioner<OUTKEY, OUTVALUE>)
ReflectionUtils.newInstance(partitionerClass, jobContext.getConfiguration());
@Override
public int getPartition(OUTKEY key, OUTVALUE value) {
return partitioner.getPartition(key, value, numberOfPartitions);
}
};
}
@Override
public boolean hasCombiner() {
return combinerClass != null;
}
//Based on updateJobWithSplit(...) from MapTask.java in Apache Hadoop 2.2.0
/**
* Update the job with details about the file split
* @param job the job configuration to update
* @param inputSplit the file split
*/
private void updateJobWithSplit(final JobConf job, Object inputSplit) {
if (inputSplit instanceof FileSplit) {
FileSplit fileSplit = (FileSplit) inputSplit;
try {
if (fileSplit.getPath() != null) {
job.set("mapreduce.map.input.file", fileSplit.getPath().toString());
}
} catch (IllegalArgumentException e) {
//Swallow this, it appears in Hive splits, which do not have the path encoded
//(storage handler for NamedMap is an example).
}
job.setLong("mapreduce.map.input.start", fileSplit.getStart());
job.setLong("mapreduce.map.input.length", fileSplit.getLength());
}
LOG.info("Processing split: " + inputSplit);
}
}
|
[
"aaron@focuszonedevelopment.com"
] |
aaron@focuszonedevelopment.com
|
4086ad59a702271b46fbf6642e6dbdbc7293899c
|
366b90021fa8de6335f38ec7652c0b294a9c142f
|
/src/main/java/dk/dicegame2/port/Account.java
|
c0f4a2c2c31eadabca59053dc344ce145aeafa79
|
[] |
no_license
|
kpenov16/DiceGame2
|
09fde9f15dd5f1d5215ebe3bd476779360071a07
|
6f982f1e31103a41280070c1af16285c2daf02bd
|
refs/heads/master
| 2020-04-03T02:40:21.859644
| 2018-11-08T20:18:29
| 2018-11-08T20:18:29
| 154,962,840
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 579
|
java
|
package dk.dicegame2.port;
import java.io.Serializable;
public abstract class Account implements Serializable {
//En spiller starter med 1000 kr i sin pengebeholdning.
protected int balance = 1000;
protected Owner owner;
public int getBalance() {
return balance;
}
public abstract void add(int addend);
public abstract void subtract(int subtrahend);
protected abstract void setBalance(int newBalance);
public abstract void setOwner(Owner owner);
public abstract Owner getOwner();
public abstract String getOwnerName();
}
|
[
"s133967@student.dtu.dk"
] |
s133967@student.dtu.dk
|
d5bd51f5a852268e9a1f1ac2cfe443709b69a3e7
|
51f1292a0e49a2458b9e05d474f79bbe57af29ce
|
/src/main/java/vn/axonactive/internship_program/events_webservice/service/DownloadTicketServiceImpl.java
|
c11f4407eaf036b9f3bf3f31be3d296249d03b9e
|
[] |
no_license
|
ThaiHong/FootBallConnection
|
44e1eec41bec0d794e2847ede441a883e5134e47
|
658fa9916cda74a06bc96fc3a839fa1c6cf93dc4
|
refs/heads/master
| 2021-01-17T11:17:14.153460
| 2017-03-06T09:31:10
| 2017-03-06T09:31:10
| 84,029,454
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 2,866
|
java
|
package vn.axonactive.internship_program.events_webservice.service;
import com.google.zxing.WriterException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.InputStreamResource;
import org.springframework.stereotype.Service;
import vn.axonactive.internship_program.events_webservice.common.ImageProcessing;
import vn.axonactive.internship_program.events_webservice.entity.Enrollment;
import javax.imageio.ImageIO;
import java.awt.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.URISyntaxException;
/**
* Created by dlong on 1/9/2017.
*/
@Service
public class DownloadTicketServiceImpl implements DownloadTicketService {
@Autowired
private QRCodeService qrCodeService;
@Autowired
private EnrollmentService enrollmentService;
@Override
public InputStreamResource downloadPDFFileByEventCode(String eventCode) {
Enrollment enrollment = enrollmentService.findByAuthorizationCode(eventCode);
if (enrollmentService.findByAuthorizationCode(eventCode).getEvent().getImageCover() != null) {
ByteArrayOutputStream outputImageStream = new ByteArrayOutputStream();
try {
ImageIO.write(new ImageProcessing().generateTicket(enrollment, qrCodeService.createQRCodeBuffer(eventCode)), "png", outputImageStream );
return ImageProcessing.convertPNGtoPDF(outputImageStream );
} catch (IOException e) {
e.printStackTrace();
} catch (FontFormatException e) {
e.printStackTrace();
} catch (URISyntaxException e) {
e.printStackTrace();
} catch (WriterException e) {
e.printStackTrace();
}
}
return null;
}
@Override
public InputStreamResource downloadPNGFileByEventCode(String eventCode) {
Enrollment enrollment = enrollmentService.findByAuthorizationCode(eventCode);
if (enrollmentService.findByAuthorizationCode(eventCode).getEvent().getImageCover() != null) {
ByteArrayOutputStream outputImageStream = new ByteArrayOutputStream();
try {
ImageIO.write(new ImageProcessing().generateTicket(enrollment, qrCodeService.createQRCodeBuffer(eventCode)), "png", outputImageStream );
return new InputStreamResource(new ByteArrayInputStream(outputImageStream.toByteArray()));
} catch (IOException e) {
e.printStackTrace();
} catch (FontFormatException e) {
e.printStackTrace();
} catch (URISyntaxException e) {
e.printStackTrace();
} catch (WriterException e) {
e.printStackTrace();
}
}
return null;
}
}
|
[
"thaihong93@gmail.com"
] |
thaihong93@gmail.com
|
9c485d93c4d474615e712c9710bdbd35769927a7
|
6425190491875657eb99dbb3d9a97da6fec465ad
|
/src/main/java/com/shuai/hehe/api/exception/ServiceException.java
|
7ed325b55fc8e86e4c03198fc38e30865afb8ff3
|
[
"Apache-2.0"
] |
permissive
|
jinshiyi11/FuturesServer
|
1f7252e1d8148817b1476c0617fa9a7409c6da01
|
92edfbdb99cb37b83077f13b0b23fc1750539338
|
refs/heads/master
| 2021-09-01T12:51:11.749401
| 2017-12-27T03:10:19
| 2017-12-27T03:10:19
| 104,776,990
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 609
|
java
|
package com.shuai.hehe.api.exception;
import com.shuai.hehe.api.response.ErrorCode;
/**
*
*/
public class ServiceException extends RuntimeException {
private int mErrorCode;
public ServiceException(ErrorCode errorCode) {
super(errorCode.getMessage());
mErrorCode = errorCode.getErrorCode();
}
public ServiceException(int errorCode, String message) {
super(message);
mErrorCode = errorCode;
}
public int getErrorCode() {
return mErrorCode;
}
public void setmErrorCode(int errorCode) {
this.mErrorCode = errorCode;
}
}
|
[
"49662990@qq.com"
] |
49662990@qq.com
|
c89900dd6d3a1f6791a8a3a68e91b42dc8f68fc3
|
af8a8f7bc21ad9de63ded2feb71ca0df0254c7bc
|
/UF1/GestionDeFicheros/src/VerDir4.java
|
f10aae7d6c4de94a1c8bcbd3e623fc2636d29869
|
[] |
no_license
|
eiribarren/M6-DAM2-epumer
|
8c20c0c87f98e810669c0367ebbf4d785dadae2e
|
312ffe3b81af545c609edbacc85308dccc0bce8b
|
refs/heads/master
| 2020-04-03T17:05:53.394519
| 2019-05-29T21:47:13
| 2019-05-29T21:47:13
| 155,431,619
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 587
|
java
|
import java.io.File;
public class VerDir4{
public static void main (String[] args) {
try {
String dir = args[0]; // directorio actual
File f = new File(dir);
for( File fs : f.listFiles() ) {
System.out.printf("Nombre: %s, es fichero?: %b, es directorio?:%b %n", fs.getName(), fs.isFile(), fs.isDirectory());
}
} catch ( IndexOutOfBoundsException e ) {
System.out.println("Introduce la ruta del directorio como argumento");
} catch ( NullPointerException e ) {
System.out.println("Error, el directorio no existe. Introduce un directorio válido.");
}
}
}
|
[
"eiribarren@pc-JdA"
] |
eiribarren@pc-JdA
|
94b24d3c5e8d267cd3bb985184f6ecf42d84e7d3
|
310e968ec4a23acaf6609aacdc723e7f6899b694
|
/gerenciador-projetos/src/test/java/br/com/gerenciadorprojeto/web/rest/UserResourceIntTest.java
|
d196db3300b6b2581747c73bd595e587394c96fe
|
[] |
no_license
|
JohnnysMartins/GerenciadorProjetos
|
d56bb30457b96e873799ef47e366f821febbceea
|
662b60cbb5f5210a3e7c717ade07b33a79978a44
|
refs/heads/master
| 2021-01-20T14:03:32.820244
| 2017-05-07T19:10:12
| 2017-05-07T19:10:12
| 90,555,244
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 19,265
|
java
|
package br.com.gerenciadorprojeto.web.rest;
import br.com.gerenciadorprojeto.GerenciadorProjetosApp;
import br.com.gerenciadorprojeto.domain.User;
import br.com.gerenciadorprojeto.repository.UserRepository;
import br.com.gerenciadorprojeto.service.MailService;
import br.com.gerenciadorprojeto.service.UserService;
import br.com.gerenciadorprojeto.web.rest.errors.ExceptionTranslator;
import br.com.gerenciadorprojeto.web.rest.vm.ManagedUserVM;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.MockitoAnnotations;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.web.PageableHandlerMethodArgumentResolver;
import org.springframework.http.MediaType;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.transaction.annotation.Transactional;
import javax.persistence.EntityManager;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.hasItem;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
/**
* Test class for the UserResource REST controller.
*
* @see UserResource
*/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = GerenciadorProjetosApp.class)
public class UserResourceIntTest {
private static final String DEFAULT_LOGIN = "johndoe";
private static final String UPDATED_LOGIN = "jhipster";
private static final String DEFAULT_PASSWORD = "passjohndoe";
private static final String UPDATED_PASSWORD = "passjhipster";
private static final String DEFAULT_EMAIL = "johndoe@localhost";
private static final String UPDATED_EMAIL = "jhipster@localhost";
private static final String DEFAULT_FIRSTNAME = "john";
private static final String UPDATED_FIRSTNAME = "jhipsterFirstName";
private static final String DEFAULT_LASTNAME = "doe";
private static final String UPDATED_LASTNAME = "jhipsterLastName";
private static final String DEFAULT_IMAGEURL = "http://placehold.it/50x50";
private static final String UPDATED_IMAGEURL = "http://placehold.it/40x40";
private static final String DEFAULT_LANGKEY = "en";
private static final String UPDATED_LANGKEY = "fr";
@Autowired
private UserRepository userRepository;
@Autowired
private MailService mailService;
@Autowired
private UserService userService;
@Autowired
private MappingJackson2HttpMessageConverter jacksonMessageConverter;
@Autowired
private PageableHandlerMethodArgumentResolver pageableArgumentResolver;
@Autowired
private ExceptionTranslator exceptionTranslator;
@Autowired
private EntityManager em;
private MockMvc restUserMockMvc;
private User user;
@Before
public void setup() {
MockitoAnnotations.initMocks(this);
UserResource userResource = new UserResource(userRepository, mailService, userService);
this.restUserMockMvc = MockMvcBuilders.standaloneSetup(userResource)
.setCustomArgumentResolvers(pageableArgumentResolver)
.setControllerAdvice(exceptionTranslator)
.setMessageConverters(jacksonMessageConverter)
.build();
}
/**
* Create a User.
*
* This is a static method, as tests for other entities might also need it,
* if they test an entity which has a required relationship to the User entity.
*/
public static User createEntity(EntityManager em) {
User user = new User();
user.setLogin(DEFAULT_LOGIN);
user.setPassword(RandomStringUtils.random(60));
user.setActivated(true);
user.setEmail(DEFAULT_EMAIL);
user.setFirstName(DEFAULT_FIRSTNAME);
user.setLastName(DEFAULT_LASTNAME);
user.setImageUrl(DEFAULT_IMAGEURL);
user.setLangKey(DEFAULT_LANGKEY);
return user;
}
@Before
public void initTest() {
user = createEntity(em);
}
@Test
@Transactional
public void createUser() throws Exception {
int databaseSizeBeforeCreate = userRepository.findAll().size();
// Create the User
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
null,
DEFAULT_LOGIN,
DEFAULT_PASSWORD,
DEFAULT_FIRSTNAME,
DEFAULT_LASTNAME,
DEFAULT_EMAIL,
true,
DEFAULT_IMAGEURL,
DEFAULT_LANGKEY,
null,
null,
null,
null,
authorities);
restUserMockMvc.perform(post("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isCreated());
// Validate the User in the database
List<User> userList = userRepository.findAll();
assertThat(userList).hasSize(databaseSizeBeforeCreate + 1);
User testUser = userList.get(userList.size() - 1);
assertThat(testUser.getLogin()).isEqualTo(DEFAULT_LOGIN);
assertThat(testUser.getFirstName()).isEqualTo(DEFAULT_FIRSTNAME);
assertThat(testUser.getLastName()).isEqualTo(DEFAULT_LASTNAME);
assertThat(testUser.getEmail()).isEqualTo(DEFAULT_EMAIL);
assertThat(testUser.getImageUrl()).isEqualTo(DEFAULT_IMAGEURL);
assertThat(testUser.getLangKey()).isEqualTo(DEFAULT_LANGKEY);
}
@Test
@Transactional
public void createUserWithExistingId() throws Exception {
int databaseSizeBeforeCreate = userRepository.findAll().size();
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
1L,
DEFAULT_LOGIN,
DEFAULT_PASSWORD,
DEFAULT_FIRSTNAME,
DEFAULT_LASTNAME,
DEFAULT_EMAIL,
true,
DEFAULT_IMAGEURL,
DEFAULT_LANGKEY,
null,
null,
null,
null,
authorities);
// An entity with an existing ID cannot be created, so this API call must fail
restUserMockMvc.perform(post("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isBadRequest());
// Validate the User in the database
List<User> userList = userRepository.findAll();
assertThat(userList).hasSize(databaseSizeBeforeCreate);
}
@Test
@Transactional
public void createUserWithExistingLogin() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
int databaseSizeBeforeCreate = userRepository.findAll().size();
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
null,
DEFAULT_LOGIN, // this login should already be used
DEFAULT_PASSWORD,
DEFAULT_FIRSTNAME,
DEFAULT_LASTNAME,
"anothermail@localhost",
true,
DEFAULT_IMAGEURL,
DEFAULT_LANGKEY,
null,
null,
null,
null,
authorities);
// Create the User
restUserMockMvc.perform(post("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isBadRequest());
// Validate the User in the database
List<User> userList = userRepository.findAll();
assertThat(userList).hasSize(databaseSizeBeforeCreate);
}
@Test
@Transactional
public void createUserWithExistingEmail() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
int databaseSizeBeforeCreate = userRepository.findAll().size();
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
null,
"anotherlogin",
DEFAULT_PASSWORD,
DEFAULT_FIRSTNAME,
DEFAULT_LASTNAME,
DEFAULT_EMAIL, // this email should already be used
true,
DEFAULT_IMAGEURL,
DEFAULT_LANGKEY,
null,
null,
null,
null,
authorities);
// Create the User
restUserMockMvc.perform(post("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isBadRequest());
// Validate the User in the database
List<User> userList = userRepository.findAll();
assertThat(userList).hasSize(databaseSizeBeforeCreate);
}
@Test
@Transactional
public void getAllUsers() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
// Get all the users
restUserMockMvc.perform(get("/api/users?sort=id,desc")
.accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
.andExpect(jsonPath("$.[*].login").value(hasItem(DEFAULT_LOGIN)))
.andExpect(jsonPath("$.[*].firstName").value(hasItem(DEFAULT_FIRSTNAME)))
.andExpect(jsonPath("$.[*].lastName").value(hasItem(DEFAULT_LASTNAME)))
.andExpect(jsonPath("$.[*].email").value(hasItem(DEFAULT_EMAIL)))
.andExpect(jsonPath("$.[*].imageUrl").value(hasItem(DEFAULT_IMAGEURL)))
.andExpect(jsonPath("$.[*].langKey").value(hasItem(DEFAULT_LANGKEY)));
}
@Test
@Transactional
public void getUser() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
// Get the user
restUserMockMvc.perform(get("/api/users/{login}", user.getLogin()))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
.andExpect(jsonPath("$.login").value(user.getLogin()))
.andExpect(jsonPath("$.firstName").value(DEFAULT_FIRSTNAME))
.andExpect(jsonPath("$.lastName").value(DEFAULT_LASTNAME))
.andExpect(jsonPath("$.email").value(DEFAULT_EMAIL))
.andExpect(jsonPath("$.imageUrl").value(DEFAULT_IMAGEURL))
.andExpect(jsonPath("$.langKey").value(DEFAULT_LANGKEY));
}
@Test
@Transactional
public void getNonExistingUser() throws Exception {
restUserMockMvc.perform(get("/api/users/unknown"))
.andExpect(status().isNotFound());
}
@Test
@Transactional
public void updateUser() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
int databaseSizeBeforeUpdate = userRepository.findAll().size();
// Update the user
User updatedUser = userRepository.findOne(user.getId());
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
updatedUser.getId(),
updatedUser.getLogin(),
UPDATED_PASSWORD,
UPDATED_FIRSTNAME,
UPDATED_LASTNAME,
UPDATED_EMAIL,
updatedUser.getActivated(),
UPDATED_IMAGEURL,
UPDATED_LANGKEY,
updatedUser.getCreatedBy(),
updatedUser.getCreatedDate(),
updatedUser.getLastModifiedBy(),
updatedUser.getLastModifiedDate(),
authorities);
restUserMockMvc.perform(put("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isOk());
// Validate the User in the database
List<User> userList = userRepository.findAll();
assertThat(userList).hasSize(databaseSizeBeforeUpdate);
User testUser = userList.get(userList.size() - 1);
assertThat(testUser.getFirstName()).isEqualTo(UPDATED_FIRSTNAME);
assertThat(testUser.getLastName()).isEqualTo(UPDATED_LASTNAME);
assertThat(testUser.getEmail()).isEqualTo(UPDATED_EMAIL);
assertThat(testUser.getImageUrl()).isEqualTo(UPDATED_IMAGEURL);
assertThat(testUser.getLangKey()).isEqualTo(UPDATED_LANGKEY);
}
@Test
@Transactional
public void updateUserLogin() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
int databaseSizeBeforeUpdate = userRepository.findAll().size();
// Update the user
User updatedUser = userRepository.findOne(user.getId());
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
updatedUser.getId(),
UPDATED_LOGIN,
UPDATED_PASSWORD,
UPDATED_FIRSTNAME,
UPDATED_LASTNAME,
UPDATED_EMAIL,
updatedUser.getActivated(),
UPDATED_IMAGEURL,
UPDATED_LANGKEY,
updatedUser.getCreatedBy(),
updatedUser.getCreatedDate(),
updatedUser.getLastModifiedBy(),
updatedUser.getLastModifiedDate(),
authorities);
restUserMockMvc.perform(put("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isOk());
// Validate the User in the database
List<User> userList = userRepository.findAll();
assertThat(userList).hasSize(databaseSizeBeforeUpdate);
User testUser = userList.get(userList.size() - 1);
assertThat(testUser.getLogin()).isEqualTo(UPDATED_LOGIN);
assertThat(testUser.getFirstName()).isEqualTo(UPDATED_FIRSTNAME);
assertThat(testUser.getLastName()).isEqualTo(UPDATED_LASTNAME);
assertThat(testUser.getEmail()).isEqualTo(UPDATED_EMAIL);
assertThat(testUser.getImageUrl()).isEqualTo(UPDATED_IMAGEURL);
assertThat(testUser.getLangKey()).isEqualTo(UPDATED_LANGKEY);
}
@Test
@Transactional
public void updateUserExistingEmail() throws Exception {
// Initialize the database with 2 users
userRepository.saveAndFlush(user);
User anotherUser = new User();
anotherUser.setLogin("jhipster");
anotherUser.setPassword(RandomStringUtils.random(60));
anotherUser.setActivated(true);
anotherUser.setEmail("jhipster@localhost");
anotherUser.setFirstName("java");
anotherUser.setLastName("hipster");
anotherUser.setImageUrl("");
anotherUser.setLangKey("en");
userRepository.saveAndFlush(anotherUser);
// Update the user
User updatedUser = userRepository.findOne(user.getId());
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
updatedUser.getId(),
updatedUser.getLogin(),
updatedUser.getPassword(),
updatedUser.getFirstName(),
updatedUser.getLastName(),
"jhipster@localhost", // this email should already be used by anotherUser
updatedUser.getActivated(),
updatedUser.getImageUrl(),
updatedUser.getLangKey(),
updatedUser.getCreatedBy(),
updatedUser.getCreatedDate(),
updatedUser.getLastModifiedBy(),
updatedUser.getLastModifiedDate(),
authorities);
restUserMockMvc.perform(put("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isBadRequest());
}
@Test
@Transactional
public void updateUserExistingLogin() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
User anotherUser = new User();
anotherUser.setLogin("jhipster");
anotherUser.setPassword(RandomStringUtils.random(60));
anotherUser.setActivated(true);
anotherUser.setEmail("jhipster@localhost");
anotherUser.setFirstName("java");
anotherUser.setLastName("hipster");
anotherUser.setImageUrl("");
anotherUser.setLangKey("en");
userRepository.saveAndFlush(anotherUser);
// Update the user
User updatedUser = userRepository.findOne(user.getId());
Set<String> authorities = new HashSet<>();
authorities.add("ROLE_USER");
ManagedUserVM managedUserVM = new ManagedUserVM(
updatedUser.getId(),
"jhipster", // this login should already be used by anotherUser
updatedUser.getPassword(),
updatedUser.getFirstName(),
updatedUser.getLastName(),
updatedUser.getEmail(),
updatedUser.getActivated(),
updatedUser.getImageUrl(),
updatedUser.getLangKey(),
updatedUser.getCreatedBy(),
updatedUser.getCreatedDate(),
updatedUser.getLastModifiedBy(),
updatedUser.getLastModifiedDate(),
authorities);
restUserMockMvc.perform(put("/api/users")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(managedUserVM)))
.andExpect(status().isBadRequest());
}
@Test
@Transactional
public void deleteUser() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
int databaseSizeBeforeDelete = userRepository.findAll().size();
// Delete the user
restUserMockMvc.perform(delete("/api/users/{login}", user.getLogin())
.accept(TestUtil.APPLICATION_JSON_UTF8))
.andExpect(status().isOk());
// Validate the database is empty
List<User> userList = userRepository.findAll();
assertThat(userList).hasSize(databaseSizeBeforeDelete - 1);
}
@Test
@Transactional
public void equalsVerifier() throws Exception {
User userA = new User();
userA.setLogin("AAA");
User userB = new User();
userB.setLogin("BBB");
assertThat(userA).isNotEqualTo(userB);
}
}
|
[
"Johnn@DESKTOP-3LOHE7G"
] |
Johnn@DESKTOP-3LOHE7G
|
6f022dedab3929b8de872fc5a91c821882d7b2fe
|
44075e5d90308f79211c6230d7d2eeadff0be284
|
/src/StateMachine.java
|
4d5fb10f60761d86019bf6b1d3dbf0b7b85e1783
|
[] |
no_license
|
bingo125/Tetris
|
ec741bb0a52ac49276958113628c3f4352498574
|
d1be0739ded0095c9792b6eee03f1ed23364724d
|
refs/heads/master
| 2021-01-01T16:51:53.668308
| 2017-07-26T03:34:55
| 2017-07-26T03:34:55
| 97,933,585
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,034
|
java
|
/**
* Created by Administrator on 2017/7/19 0019.
*/
public class StateMachine {
final int start = 1;
final int pause = 2;
final int newSquare = 3;
final int end = 4;
final int resume = 5;
private TetrisService service = null;
private int mState;
public StateMachine(int mState, TetrisService service) {
this.mState = mState;
this.service = service;
}
public void setmState(int mState) {
this.mState = mState;
handle();
}
public int getStart() {
return start;
}
private void handle() {
switch (mState) {
case start:
service.start();
break;
case pause:
service.pause();
break;
case resume:
service.resume();
break;
case newSquare:
service.nextSquare();
break;
case end:
service.failure();
break;
}
}
}
|
[
"406020262@qq.com"
] |
406020262@qq.com
|
77a3ae2191de54868f4593b0aedb7febc1b18963
|
4b663e19ae009b5236b02708a724b71f9af43d67
|
/app/src/main/java/com/example/tugas_4_rifqy_wahyu_123180128/DetailActivity.java
|
c247d907d44aa890f4fb17c9b987228fcd001049
|
[] |
no_license
|
rifqywahyu/Tugas4_Rifqy-Wahyu-F_123180128
|
7c2703f050b56c4f2894fb98182801b325fc6efa
|
afd1f648d9af669b1ea3a7347e17122e0b3fcb4b
|
refs/heads/main
| 2023-04-18T02:02:38.171117
| 2021-05-02T16:43:12
| 2021-05-02T16:43:12
| 363,697,895
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 1,147
|
java
|
package com.example.tugas_4_rifqy_wahyu_123180128;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.bumptech.glide.Glide;
public class DetailActivity extends AppCompatActivity {
private TextView tvJudul,tvIsi ;
private ImageView ivImg,ivReturn;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_detail);
tvJudul = findViewById(R.id.tv_judul);
tvIsi = findViewById(R.id.tv_isi);
ivImg = findViewById(R.id.iv_img);
ivReturn = findViewById(R.id.iv_return);
tvJudul.setText(getIntent().getStringExtra("judul"));
tvIsi.setText(getIntent().getStringExtra("isi"));
int iImg = getIntent().getIntExtra("img",0);
Glide.with(this).load(iImg).into(ivImg);
ivReturn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});
}
}
|
[
"rifqywahyu93@gmail.com"
] |
rifqywahyu93@gmail.com
|
9d5d790de17a749a57db24a121f15aad061b5247
|
44202dc48a6e85fba9f727ad1c3ece187eb12fd3
|
/src/de/alextape/sonicshop/catalog/CatalogItem.java
|
ffc50c24bd1c4939043a338f5b7bdc1e0c7cf8ef
|
[] |
no_license
|
AlexTape/SonicShop
|
743206603b73242e65b17a4fd0222c58d0c9563f
|
c304a53bdf8566bd741e05292ab4ac7539ce7aea
|
refs/heads/master
| 2020-05-20T19:29:40.633099
| 2015-05-07T19:41:04
| 2015-05-07T19:41:04
| 25,150,644
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 5,968
|
java
|
package de.alextape.sonicshop.catalog;
import org.apache.log4j.Logger;
/**
* The Class CatalogItem. all CatalogItems have to register themselve at a
* certain ItemCatalog for further use.
*/
public class CatalogItem {
/** The item id. */
private static int itemID = 0;
/**
* Gets the item id.
*
* @return the item id
*/
public static int getItemID() {
return itemID;
}
/**
* Sets the item id.
*
* @param newItemID
* the new item id
*/
public static void setItemID(final int newItemID) {
CatalogItem.itemID = newItemID;
}
/** The angebot. */
private boolean angebot;
/** The artid. */
private int artid;
/** The artname. */
private String artname;
/** The beschreibung. */
private String beschreibung;
/** The kategoriename. */
private String kategoriename;
/** The log. */
private Logger log = Logger.getLogger("WebshopLogger");
/** The menge. */
private int menge;
/** The preis. */
private double preis;
/** The rabatt. */
private double rabatt;
/** The unterkategorie. */
private String unterkategorie;
/**
* Instantiates a new catalog item.
*
* @param newCollection
* the collection
* @param newArtid
* the artid
* @param newArtname
* the artname
* @param newPrice
* the preis
* @param beschreibung
* the beschreibung
* @param menge
* the menge
* @param angebot
* the angebot
* @param rabatt
* the rabatt
* @param kategoriename
* the kategoriename
* @param unterkategorie
* the unterkategorie
*/
public CatalogItem(final ItemCatalog newCollection, final int newArtid,
final String newArtname, final double newPrice,
final String beschreibung, final int menge, final boolean angebot,
final double rabatt, final String kategoriename,
final String unterkategorie) {
super();
this.artid = newArtid;
this.artname = newArtname;
this.preis = newPrice;
this.beschreibung = beschreibung;
this.menge = menge;
this.angebot = angebot;
this.rabatt = rabatt;
this.kategoriename = kategoriename;
this.unterkategorie = unterkategorie;
newCollection.addItem(this);
log.debug("CatalogItemClass new Item in collectionID "
+ newCollection.getId() + " with " + this.toString());
}
/**
* Gets the artid.
*
* @return the artid
*/
public int getArtid() {
return artid;
}
/**
* Gets the artname.
*
* @return the artname
*/
public String getArtname() {
return artname;
}
/**
* Gets the beschreibung.
*
* @return the beschreibung
*/
public String getBeschreibung() {
return beschreibung;
}
/**
* Gets the kategoriename.
*
* @return the kategoriename
*/
public String getKategoriename() {
return kategoriename;
}
/**
* Gets the menge.
*
* @return the menge
*/
public int getMenge() {
return menge;
}
/**
* Gets the preis.
*
* @return the preis
*/
public double getPreis() {
return preis;
}
/**
* Gets the rabatt.
*
* @return the rabatt
*/
public double getRabatt() {
return rabatt;
}
/**
* Gets the unterkategorie.
*
* @return the unterkategorie
*/
public String getUnterkategorie() {
return unterkategorie;
}
/**
* Checks if is angebot.
*
* @return true, if is angebot
*/
public boolean isAngebot() {
return angebot;
}
/**
* Sets the angebot.
*
* @param angebot
* the new angebot
*/
public void setAngebot(boolean angebot) {
this.angebot = angebot;
}
/**
* Sets the artid.
*
* @param artid
* the new artid
*/
public void setArtid(int artid) {
this.artid = artid;
}
/**
* Sets the artname.
*
* @param artname
* the new artname
*/
public void setArtname(String artname) {
this.artname = artname;
}
/**
* Sets the beschreibung.
*
* @param beschreibung
* the new beschreibung
*/
public void setBeschreibung(String beschreibung) {
this.beschreibung = beschreibung;
}
/**
* Sets the kategoriename.
*
* @param kategoriename
* the new kategoriename
*/
public void setKategoriename(String kategoriename) {
this.kategoriename = kategoriename;
}
/**
* Sets the menge.
*
* @param menge
* the new menge
*/
public void setMenge(int menge) {
this.menge = menge;
}
/**
* Sets the preis.
*
* @param preis
* the new preis
*/
public void setPreis(double preis) {
this.preis = preis;
}
/**
* Sets the rabatt.
*
* @param rabatt
* the new rabatt
*/
public void setRabatt(double rabatt) {
this.rabatt = rabatt;
}
/**
* Sets the unterkategorie.
*
* @param unterkategorie
* the new unterkategorie
*/
public void setUnterkategorie(String unterkategorie) {
this.unterkategorie = unterkategorie;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
public String toString() {
return "CatalogItem [artid=" + artid + ", artname=" + artname
+ ", preis=" + preis + "]";
}
}
|
[
"alextape@tape.de"
] |
alextape@tape.de
|
b0ba328a6766b493dcaacf0fd11708b8784e931b
|
d857a67620b5c99ec2cd96cc69f96be83e36d503
|
/src/main/java/githubExplorer/worker/RunMierdas.java
|
0f8ba6f4ef56d1ba71baeb3605097a601e73adf1
|
[] |
no_license
|
juanarcadio/githubExplorer
|
693534cc1385855f020eebf7bb0f9369c76b566d
|
06562b12fbcdb23453eaed7dc57cfd9ea981bb42
|
refs/heads/master
| 2022-01-15T13:44:36.045316
| 2022-01-04T19:17:21
| 2022-01-04T19:17:21
| 211,131,575
| 0
| 0
| null | 2022-01-04T19:17:22
| 2019-09-26T16:15:20
|
Java
|
UTF-8
|
Java
| false
| false
| 7,309
|
java
|
package githubExplorer.worker;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import githubExplorer.GithubClient;
import githubExplorer.GithubClientException;
import githubExplorer.GithubClientService;
import githubExplorer.user.RepoManager;
import githubExplorer.user.User;
import githubExplorer.user.UserManager;
import githubExplorer.user.UserManager.NextNotFoundException;
import githubExplorer.user.UserRepo;
public class RunMierdas {
private static final Logger log = LogManager.getLogger(RunMierdas.class.getName());
private static String src = "loowid";
private static String dst = "torvalds";
private static UserManager um;
private static RepoManager repos;
private static GithubClientService githubClient;
public static GithubClientService getGithubClientService() {
try {
Thread.sleep(7*1000);
} catch (InterruptedException e1) {
log.error("nothing important "+e1);
}
if (githubClient == null) githubClient = new GithubClient();
return githubClient;
}
public static void setGithubClientService(GithubClientService githubClient) {
RunMierdas.githubClient = githubClient;
}
public static UserManager getUserManager() {
return um;
}
public static void setUserManager(UserManager um) {
RunMierdas.um = um;
}
public static void reset() {
githubClient = null;
repos = null;
um = null;
src = "loowid";
dst = "torvalds";
}
public static void setDst(String dst) {
RunMierdas.dst = dst;
}
public static void main(String[] args) {
if (args==null || args.length!=4) {
log.error(
"args[0] : empty: true empieza de cero, false continua \n"+
"args[1] : seconds sleeping when github limited \n"+
"args[2] : filename para carga y almacenamiento \n"+
"args[3] : time of rerrunes -1: infinito; 0:disabled \n");
return;
}
// INIT or LOAD FROM DISK
if (um==null) {
if (Boolean.parseBoolean(args[0])) {
um = new UserManager(src, dst);
repos = new RepoManager();
log.info("New empty user & repo manager");
} else {
load(args[2]);
log.info("User & repo manager loaded");
}
}
// EXPLORATION IN GITHUB
try {
try {
while (!um.targetReached())
explore(um.getNext());
// Muestra el camino del resultado
String path = um.getPath();
System.out.println(path);
// SAVE
if (args[2]!=null) save(args[2]);
// FIN DEL RECORRIDO
} catch (NextNotFoundException e) {
System.out.println("Path not found between " + src + " and " + dst);
// SAVE
if (args[2]!=null) save(args[2]);
}
} catch (GithubClientException e) {
// SAVE
if (args[2]!=null) save(args[2]);
log.error("No se puede acceder al repositorio de github en estos momentos...");
int rerrunes = Integer.parseInt(args[3]);
// NO MAS INTENTOS
if (rerrunes==0 || rerrunes==1) {
return;
}
// PAUSE
try {
Thread.sleep(Integer.parseInt(args[1])*1000);
} catch (InterruptedException ie) {
log.error("Interrumpida mi siesta "+ie);
return;
}
// SE VUELVE A LANZAR
String[] nuevosArgs = { "false", args[1], args[2], String.valueOf(((rerrunes==-1)?rerrunes:rerrunes-1)) };
main(nuevosArgs);
}
}
public static void save(String fileName) {
// Serialization
try {
// Saving of object in a file
FileOutputStream file = new FileOutputStream(fileName);
ObjectOutputStream out = new ObjectOutputStream(file);
// Method for serialization of object
out.writeObject(um);
out.writeObject(repos);
out.close();
file.close();
log.info("Users and repos has been serialized");
log.info("Usuarios encontrados: "+um.getAllUsers().size());
log.info("Repos recorridos: "+repos.size());
}
catch (IOException e) {
log.error("IOException is caught", e);
}
}
public static void load(String fileName) {
// Deserialization
try {
// Reading the object from a file
FileInputStream file = new FileInputStream(fileName);
ObjectInputStream in = new ObjectInputStream(file);
// Method for deserialization of object
um = (UserManager) in.readObject();
repos = (RepoManager) in.readObject();
// initRepos();
in.close();
file.close();
log.info("Users and repos has been deserialized ");
}
catch (IOException e) {
if (e instanceof FileNotFoundException) {
log.info("empty database as expected");
um = new UserManager(src, dst);
repos = new RepoManager();
} else {
log.error("IOException is caught:"+ e);
}
}
catch (ClassNotFoundException cnfe) {
log.error("ClassNotFoundException is caught", cnfe);
}
}
// Marcar los visitados y no marcados, usado para migracion de version
private static void initRepos() {
repos = new RepoManager();
um.getAllUsers().stream().filter(n -> n.getRepositories()!=null).forEach(u -> u.getRepositories().stream().filter(r -> r.isVisited()).forEach(ur -> repos.add(ur.getFullName())));
}
static void explore(User currentUser) throws GithubClientException {
System.out.println("· explore User: "+currentUser.getLogin()+" ("+currentUser.getLevel()+")");
if (!currentUser.isVisited()) {
log.debug("Exploring repos from "+currentUser.getLogin());
ArrayList<String> repos = getGithubClientService().getReposFromUser(currentUser.getLogin());
ArrayList<UserRepo> userRepo = new ArrayList<UserRepo>();
repos.forEach(repo -> userRepo.add(new UserRepo(repo, currentUser)));
currentUser.setRepositories(userRepo);
}
for (UserRepo repo : currentUser.getRepositories()) {
if (!um.targetReached() && !repo.isVisited()) {
System.out.println("-- explore UserRepo: "+repo.getFullName());
// Global check, pueden aparecer repetidos los mismos repos con distintas afiliaciones
if (!repos.contains(repo.getFullName())) {
log.debug("Exploring forks from "+repo.getFullName());
boolean pageFullOfData = true;
do {
ArrayList<String> forkers = getGithubClientService().getUsersWhoForks(repo.getFullName(), repo.getPage());
for (String user : forkers) {
User uwf = um.addUser(user, currentUser, "(" + repo.getFullName() + ") forks by " + user);
repo.addFork(uwf);
}
repo.incPage();
pageFullOfData = forkers.size() == GithubClientService.PER_PAGE;
} while (pageFullOfData);
log.debug("Exploring parent from "+repo.getFullName());
String parent = getGithubClientService().getParentFromFork(repo.getFullName());
if (parent != null) {
User userParent = um.addUser(parent, currentUser, "(" + repo.getFullName() + ") forked from " + parent);
repo.setParent(userParent);
}
repos.add(repo.getFullName());
}
repo.setVisited(true);
log.debug("Repo ("+repo.getFullName()+") completed");
}
}
}
}
|
[
"ciudadano82@gmail.com"
] |
ciudadano82@gmail.com
|
bc3f7942c961d4d7c199e91ff257f23c56c70fa4
|
e8a327e05ccda42a35857c8e9ed2f057fdd1a1a4
|
/kie-nio2-backport/kie-nio2-model/src/main/java/org/kie/commons/java/nio/base/version/VersionAttributes.java
|
e5dc7a0dca82eea947338500a9fc3071aae46f73
|
[
"Apache-2.0"
] |
permissive
|
mswiderski/kie-commons
|
d9e750fd9277b47597148cdd294cca9cef95cc56
|
cff64c07153d5fe34f8c3823f7fe46be7dd12be5
|
refs/heads/master
| 2021-01-23T20:17:09.323357
| 2013-02-06T14:26:48
| 2013-02-14T12:51:45
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 256
|
java
|
package org.kie.commons.java.nio.base.version;
import java.util.List;
import org.kie.commons.java.nio.file.attribute.BasicFileAttributes;
/**
*
*/
public interface VersionAttributes extends BasicFileAttributes {
List<VersionRecord> history();
}
|
[
"alexandre.porcelli@gmail.com"
] |
alexandre.porcelli@gmail.com
|
68dddf7866b9916178e77dcd9a2ac7660f6eff68
|
b7d5a0595cfb23d16b8e495f7afbd03191543ec5
|
/branches/V1.02/zhdj/src/main/java/cn/com/do1/component/news/hotnewsinfo/model/TbHotNewsPO.java
|
ef96f32272547fcea6dd7b0dd2812ce4e5ee71eb
|
[] |
no_license
|
github188/Dangjian
|
a2a4aa6b875c5fa90c379fcb964ac1cdf25980fc
|
b510eb89c3b2edff9998105e043c4a56dbbe1106
|
refs/heads/master
| 2021-05-27T08:51:16.381332
| 2014-05-20T15:46:20
| 2014-05-20T15:46:20
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 7,591
|
java
|
package cn.com.do1.component.news.hotnewsinfo.model;
import cn.com.do1.common.annotation.bean.FormatMask;
import cn.com.do1.common.annotation.bean.PageView;
import cn.com.do1.common.annotation.bean.Validation;
import cn.com.do1.common.annotation.po.LargeObject;
import cn.com.do1.common.framebase.dqdp.IBaseDBVO;
import cn.com.do1.common.util.reflation.ConvertUtil;
/**
* Copyright © 2010 广州市道一信息技术有限公司
* All rights reserved.
* User: ${user}
*/
public class TbHotNewsPO implements IBaseDBVO {
private java.lang.String id ;
@Validation(must=false,length=100,fieldType="pattern",regex="^.*$")
@PageView(showName="title",showType="input",showOrder=1,showLength=100)
private java.lang.String title ;
@Validation(must=false,length=4000,fieldType="pattern",regex="^\\w*$")
@PageView(showName="content",showType="editor",showOrder=2,showLength=4000)
@LargeObject
private String content ;
@Validation(must=false,length=22,fieldType="pattern",regex="^.*$")
@PageView(showName="status",showType="input",showOrder=3,showLength=22)
private java.lang.Long status ;
@Validation(must=false,length=22,fieldType="pattern",regex="^.*$")
@PageView(showName="buyTop",showType="input",showOrder=4,showLength=22)
private java.lang.Long buyTop ;
@Validation(must=false,length=36,fieldType="pattern",regex="^.*$")
@PageView(showName="organizationId",showType="input",showOrder=5,showLength=36)
private java.lang.String organizationId ;
@Validation(must=false,length=200,fieldType="pattern",regex="^.*$")
@PageView(showName="imgPath",showType="input",showOrder=6,showLength=200)
private java.lang.String imgPath ;
@Validation(must=false,length=36,fieldType="pattern",regex="^.*$")
@PageView(showName="pushUserId",showType="input",showOrder=7,showLength=36)
private java.lang.String pushUserId ;
@Validation(must=false,length=7,fieldType="datetime",regex="")
@PageView(showName="pushTime",showType="datetime",showOrder=13,showLength=7)
@FormatMask(type = "date", value = "yyyy-MM-dd HH:mm:ss")
private java.util.Date pushTime ;
@Validation(must=false,length=50,fieldType="pattern",regex="^.*$")
@PageView(showName="createUserId",showType="input",showOrder=9,showLength=50)
private java.lang.String createUserId ;
@Validation(must=false,length=7,fieldType="datetime",regex="")
@PageView(showName="createTime",showType="datetime",showOrder=10,showLength=7)
@FormatMask(type = "date", value = "yyyy-MM-dd HH:mm:ss")
private java.util.Date createTime ;
@Validation(must=false,length=36,fieldType="pattern",regex="^.*$")
@PageView(showName="lastModifyUserId",showType="input",showOrder=11,showLength=36)
private java.lang.String lastModifyUserId ;
@Validation(must=false,length=7,fieldType="datetime",regex="")
@PageView(showName="lastModifyTime",showType="datetime",showOrder=12,showLength=7)
@FormatMask(type = "date", value = "yyyy-MM-dd HH:mm:ss")
private java.util.Date lastModifyTime ;
@Validation(must=false,length=100,fieldType="pattern",regex="^.*$")
@PageView(showName="source",showType="source",showOrder=1,showLength=100)
private java.lang.String source ;
@Validation(must=false,length=100,fieldType="pattern",regex="^.*$")
@PageView(showName="bodyDigest",showType="bodyZaiyao",showOrder=1,showLength=100)
private java.lang.String bodyDigest ;
public java.lang.String getBodyDigest() {
return bodyDigest;
}
public void setBodyDigest(java.lang.String bodyDigest) {
this.bodyDigest = bodyDigest;
}
public java.lang.String getSource() {
return source;
}
public void setSource(java.lang.String source) {
this.source = source;
}
public void setId(java.lang.String id){
this.id=id ;
}
public java.lang.String getId(){
return this.id ;
}
public void setTitle(java.lang.String title){
this.title=title ;
}
public java.lang.String getTitle(){
return this.title ;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public void setStatus(java.lang.Long status){
this.status=status ;
}
public java.lang.Long getStatus(){
return this.status ;
}
public void setBuyTop(java.lang.Long buyTop){
this.buyTop=buyTop ;
}
public java.lang.Long getBuyTop(){
return this.buyTop ;
}
public void setOrganizationId(java.lang.String organizationId){
this.organizationId=organizationId ;
}
public java.lang.String getOrganizationId(){
return this.organizationId ;
}
public void setImgPath(java.lang.String imgPath){
this.imgPath=imgPath ;
}
public java.lang.String getImgPath(){
return this.imgPath ;
}
public void setPushUserId(java.lang.String pushUserId){
this.pushUserId=pushUserId ;
}
public java.lang.String getPushUserId(){
return this.pushUserId ;
}
public void setPushTime(java.util.Date pushTime){
this.pushTime=pushTime ;
}
public void setPushTime(java.lang.String pushTime){
this.pushTime=ConvertUtil.cvStUtildate(pushTime) ;
}
public java.util.Date getPushTime(){
return this.pushTime ;
}
public void setCreateUserId(java.lang.String createUserId){
this.createUserId=createUserId ;
}
public java.lang.String getCreateUserId(){
return this.createUserId ;
}
public void setCreateTime(java.util.Date createTime){
this.createTime=createTime ;
}
public void setCreateTime(java.lang.String createTime){
this.createTime=ConvertUtil.cvStUtildate(createTime) ;
}
public java.util.Date getCreateTime(){
return this.createTime ;
}
public void setLastModifyUserId(java.lang.String lastModifyUserId){
this.lastModifyUserId=lastModifyUserId ;
}
public java.lang.String getLastModifyUserId(){
return this.lastModifyUserId ;
}
public void setLastModifyTime(java.util.Date lastModifyTime){
this.lastModifyTime=lastModifyTime ;
}
public void setLastModifyTime(java.lang.String lastModifyTime){
this.lastModifyTime=ConvertUtil.cvStUtildate(lastModifyTime) ;
}
public java.util.Date getLastModifyTime(){
return this.lastModifyTime ;
}
/**
* 获取数据库中对应的表名
*
* @return
*/
public String _getTableName() {
return "TB_HOT_NEWS";
}
/**
* 获取对应表的主键字段名称
*
* @return
*/
public String _getPKColumnName() {
return "id";
}
/**
* 获取主键值
*
* @return
*/
public String _getPKValue() {
return String.valueOf(id);
}
/**
* 设置主键的值
*
* @return
*/
public void _setPKValue(Object value) {
this.id=(java.lang.String)value;
}
/**
* 重写默认的toString方法,使其调用输出的内容更有意义
*/
public String toString() {
return id+title;
}
}
|
[
"mac@mactekiMacBook-Pro.local"
] |
mac@mactekiMacBook-Pro.local
|
0def07583c64e718569fe5cf9071592c15616b6a
|
d7a17dd1962d57a0ddf5576d48ebd2d9771e9bc7
|
/Utils/src/main/java/com/cloudera/sa/hive/utils/CopySortPartJob.java
|
2a4e8cc87d986ddfc852cd17ad583b15048c4ce4
|
[
"Apache-2.0"
] |
permissive
|
Volney/Hive.Generate.DDL
|
3e25a35f797d931923eddc1a1f61d95925cead31
|
6464534347e7e5bd1e8f775d04a97ab76fc00a65
|
refs/heads/master
| 2020-12-25T15:51:38.404126
| 2013-02-06T21:57:44
| 2013-02-06T21:57:44
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 6,955
|
java
|
package com.cloudera.sa.hive.utils;
import java.io.IOException;
import java.util.ArrayList;
import java.util.regex.Pattern;
import org.apache.hadoop.conf.Configurable;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.io.compress.GzipCodec;
import org.apache.hadoop.io.compress.SnappyCodec;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Partitioner;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
import org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat;
import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat;
/**
* This is a very common simple map/reduce job. It will take any delimitered text file
* and copy it.
* <br><br>
* It will sort and partition by what every columns you tell it too.
* <br><br>
* It also give the called the options of coping to a uncompressed text file or a snappy or gzip sequence file.
*
*
* @author ted.malaska
*
*/
public class CopySortPartJob {
public static final String DELIMITER_CONF = "copy.job.delimiter";
public static final String SORT_COLUMN_CONF = "copy.job.sort.column";
private static final String PARTITION_COLUMN_CONF = "copy.job.partition.column";
public static class CustomMapper extends
Mapper<LongWritable, Text, Text, Text> {
Text newKey = new Text();
Text newValue = new Text();
String delimiter = "";
Pattern delimiterPattern = null;
ArrayList<Integer> sortColumns = new ArrayList<Integer>();
@Override
public void setup(Context context) {
delimiter = context.getConfiguration().get(DELIMITER_CONF);
if (delimiter.equals("|")) {
delimiterPattern = Pattern.compile("\\|");
} else {
delimiterPattern = Pattern.compile(delimiter);
}
String[] sortColumnStrings = context.getConfiguration().get(SORT_COLUMN_CONF).split(",");
for (String s: sortColumnStrings) {
sortColumns.add(Integer.parseInt(s));
}
}
long counter = 0;
@Override
public void map(LongWritable key, Text value, Context context)
throws IOException, InterruptedException {
StringBuilder builder = new StringBuilder();
String[] cells = delimiterPattern.split(value.toString());
for (int i: sortColumns) {
if (cells.length > i) {
builder.append(cells[i] + delimiter);
} else {
builder.append(Math.random() + delimiter);
}
}
newKey.set(builder.toString());
context.write(newKey, value);
}
}
public static class CustomReducer extends
Reducer<Text, Text, NullWritable, Text> {
LongWritable newKey = new LongWritable(0);
@Override
public void setup(Context context) {
}
@Override
public void reduce(Text key, Iterable<Text> values, Context context)
throws IOException, InterruptedException {
for (Text text: values){
context.write(NullWritable.get(), text);
}
}
}
public static class CustomPartitioner extends Partitioner<Text, Text> implements Configurable {
String delimiter = "";
Pattern delimiterPattern = null;
ArrayList<Integer> partitionColumns = new ArrayList<Integer>();
public void setConf(Configuration conf) {
delimiter = conf.get(DELIMITER_CONF);
if (delimiter.equals("|")) {
delimiterPattern = Pattern.compile("\\|");
} else {
delimiterPattern = Pattern.compile(delimiter);
}
String[] partitionColumnStrings = conf.get(PARTITION_COLUMN_CONF).split(",");
for (String s: partitionColumnStrings) {
partitionColumns.add(Integer.parseInt(s));
}
}
@Override
public int getPartition(Text key, Text value, int numPartitions)
{
if (numPartitions == 1)
{
return 0;
} else
{
String[] cells = delimiterPattern.split(value.toString());
StringBuilder builder = new StringBuilder();
for (int i: partitionColumns) {
if (cells.length > i) {
builder.append(cells[i] + delimiter);
} else {
builder.append(cells[0] + delimiter);
}
}
int result = (builder.toString()).hashCode() % numPartitions;
return Math.abs(result);
}
}
public Configuration getConf() {
// TODO Auto-generated method stub
return null;
}
}
public static void main(String[] args) throws Exception {
if (args.length != 7) {
System.out.println("CopySortPartJob <inputPath> <outputPath> <numOfReducers> <compression> <delimiter> <sortColumns> <partitionColumn>");
System.out.println();
System.out.println("Example: CopySortPartJob ./input ./output 2 snappy \\| 0,1 0");
return;
}
// Get values from args
String inputPath = args[0];
String outputPath = args[1];
int numOfReducers = Integer.parseInt(args[2]);
String compressionCodec = args[3];
String delimiter = args[4];
String sortColumns = args[5];
String partitionColumn = args[6];
System.out.println("Input Path:" + inputPath);
System.out.println("Output Path:" + outputPath);
System.out.println("Num of Reducers:" + numOfReducers);
System.out.println("CompressionCodec:" + compressionCodec);
System.out.println("Delimiter:" + delimiter);
System.out.println("sortColumn:" + sortColumns);
System.out.println("partitionColumn:" + partitionColumn);
// Create job
Job job = new Job();
job.getConfiguration().set(CopySortPartJob.DELIMITER_CONF, delimiter);
job.getConfiguration().set(CopySortPartJob.SORT_COLUMN_CONF, sortColumns);
job.getConfiguration().set(CopySortPartJob.PARTITION_COLUMN_CONF, partitionColumn);
job.setJarByClass(BackPortCompareJob.class);
// Define input format and path
job.setInputFormatClass(TextInputFormat.class);
TextInputFormat.addInputPath(job, new Path(inputPath));
// Define output format and path
if (compressionCodec.equals("none")) {
job.setOutputFormatClass(TextOutputFormat.class);
FileOutputFormat.setOutputPath(job, new Path(outputPath));
} else {
job.setOutputFormatClass(SequenceFileOutputFormat.class);
SequenceFileOutputFormat.setOutputPath(job, new Path(outputPath));
if (compressionCodec.toLowerCase().equals("gzip")) {
SequenceFileOutputFormat.setOutputCompressorClass(job, GzipCodec.class);
} else {
SequenceFileOutputFormat.setOutputCompressorClass(job, SnappyCodec.class);
}
}
// Define the mapper and reducer
job.setMapperClass(CustomMapper.class);
job.setReducerClass(CustomReducer.class);
// Define the key and value format
job.setOutputKeyClass(NullWritable.class);
job.setOutputValueClass(Text.class);
job.setMapOutputKeyClass(Text.class);
job.setMapOutputValueClass(Text.class);
job.setNumReduceTasks(numOfReducers);
// Exit
job.waitForCompletion(true);
}
}
|
[
"ted.malaska@cloudera.com"
] |
ted.malaska@cloudera.com
|
c40e4a21d51f2d3714dc3e35afceca5e833f5e8e
|
78dcaec170140f8ff5b566137c4f3450ad25e273
|
/app/src/main/java/edu/uw/yw239/wehike/posts/Comment.java
|
eb1c16f43ac5742262482cb537e3f3054e17bf64
|
[] |
no_license
|
yunuw/WeHike
|
92ab3879d9b170e5b8cbd98ff531352a44e8dc8f
|
5c75d3917746fc8e28bb82136c5bf501c81eba6b
|
refs/heads/master
| 2021-08-23T22:32:12.792957
| 2017-12-06T22:17:52
| 2017-12-06T22:17:52
| 110,463,284
| 0
| 4
| null | 2017-12-06T22:17:53
| 2017-11-12T19:44:42
|
Java
|
UTF-8
|
Java
| false
| false
| 243
|
java
|
package edu.uw.yw239.wehike.posts;
/**
* Created by Nan on 12/3/17.
*/
public class Comment {
public int commentId;
public String commentText;
public String userName;
public String timestamp;
public String imageUrl;
}
|
[
"nanxiao@uw.edu"
] |
nanxiao@uw.edu
|
4c9f5bd69052f050bec5e8a537c97cab5726b5d5
|
4769def3d15965aeac85c22e1c0eb2287cb6eb4e
|
/filechooser/src/main/java/net/raumzeitfalle/fx/filechooser/FilesListCell.java
|
82164e9898ea82f3eb361a70e116cc8d638d07ed
|
[
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"CC-BY-4.0",
"LicenseRef-scancode-proprietary-license"
] |
permissive
|
Oliver-Loeffler/FXFileChooser
|
c32310c537b346cb462e724043b217e1c7160eab
|
8be32a135bf149ee70204b86237f09dadd46cda3
|
refs/heads/master
| 2022-12-21T08:36:20.718948
| 2022-12-17T17:51:56
| 2022-12-17T17:51:56
| 114,529,931
| 45
| 7
|
Apache-2.0
| 2022-11-12T14:02:07
| 2017-12-17T11:11:52
|
Java
|
UTF-8
|
Java
| false
| false
| 2,747
|
java
|
/*-
* #%L
* FXFileChooser
* %%
* Copyright (C) 2017 - 2022 Oliver Loeffler, Raumzeitfalle.net
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package net.raumzeitfalle.fx.filechooser;
import java.nio.file.attribute.FileTime;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import javafx.scene.control.Label;
import javafx.scene.control.ListCell;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.Pane;
import javafx.scene.layout.Priority;
class FilesListCell extends ListCell<IndexedPath> {
private static final String DATE_TIME_FORMAT_PATTERN = "yyyy-MM-dd - HH:mm:ss";
private static final String FILE_ICON_LABEL = "file-icon-label";
@Override
protected void updateItem(IndexedPath item, boolean empty) {
super.updateItem(item, empty);
updateView();
}
private void updateView() {
if (getItem() != null) {
GridPane gridPane = new GridPane();
gridPane.getStyleClass().add(FILE_ICON_LABEL);
Pane icon = FileIcons.fromFile(getItem());
icon.setId("fileListCell-fileTypeIcon");
gridPane.addColumn(0, icon);
GridPane.setHgrow(icon, Priority.SOMETIMES);
Label fileName = new Label(String.valueOf(getItem()));
fileName.getStyleClass().add(FILE_ICON_LABEL);
fileName.setId("fileListCell-fileName");
gridPane.addColumn(1, fileName);
GridPane.setHgrow(fileName, Priority.ALWAYS);
Label date = new Label("");
FileTime time = getItem().getTimestamp();
LocalDateTime timestamp = LocalDateTime.from(time.toInstant().atZone(ZoneId.systemDefault()));
date.setText(DateTimeFormatter.ofPattern(DATE_TIME_FORMAT_PATTERN).format(timestamp));
date.setId("fileListCell-fileDate");
date.getStyleClass().add(FILE_ICON_LABEL);
gridPane.addColumn(2, date);
GridPane.setHgrow(date, Priority.NEVER);
setGraphic(gridPane);
} else {
setText(null);
setGraphic(null);
}
}
}
|
[
"Oliver-Loeffler@users.noreply.github.com"
] |
Oliver-Loeffler@users.noreply.github.com
|
1487320926fd12e14f799ec7c895c527ec2d4fb1
|
da9908cc4cad7590ee85427ca8f7e769288dc7e7
|
/cursojava/serie1/Ejercicio2.java
|
2176cd6732d52b153980a2f1afaa819670a15814
|
[] |
no_license
|
ivyflammenwald/PROTECO
|
268972d1ba5b9d73ca0d77c11210f5cc9665e1ca
|
fa02796d7c0efc3830fd0706a6ea316b8e999a3a
|
refs/heads/master
| 2020-03-12T00:59:49.692740
| 2018-04-20T13:14:25
| 2018-04-20T13:14:25
| 130,363,965
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 2,949
|
java
|
/**@author prebe17
@version 1.0
*/
import java.lang.Math;
class Circulo{
double radio;
final double pi=3.1416; //pi es una constante por lo que su valor nunca va a cambiar
Circulo(){
this.radio=3;
}
Circulo(int r){
this.radio = r;
}
void setRadio(double r){
this.radio=r;
}
double getRadio(){
return this.radio;
}
double perimetro(){
return (pi*(2*(this.getRadio())));
}
double area(){
return (pi*Math.pow(this.getRadio(),2));
}
}
class Poligono{
public String nombre;
final int lados; //utilizo lados como final porque una vez creada (por ejemplo dibujada) una figura, no se altera su numero de lados,
//se puden alterar sus medidas, pero si se cambiara el numero de lados dejaria de ser si misma y seria un ente ilogico
double medidaLado;
int apotema;
void setApotema (int change){
this.apotema = change ;
}
int getApotema (){
return this.apotema ;
}
int getLados (){
return this.lados ;
}
double getMedida(){
return this.medidaLado;
}
void setMedida(int med){
this.medidaLado = med;
}
String getNombre(){
return this.nombre;
}
Poligono(){
this.lados = 4;
this.medidaLado =12;
String l = Integer.toString(4);
this.nombre = "poligono de "+l+" lados";
}
Poligono (int lad, int med) {
this.lados=lad;
this.medidaLado =med;
String l = Integer.toString(lados);
this.nombre = "poligono de "+l+" lados";
this.medidaLado =10;
if(lados>4){
this.apotema=8;
}
}
Poligono(int lad, int ap, int med){
this.lados =lad;
this.medidaLado = med;
String l = Integer.toString(lados);
this.nombre = "poligono de "+l+" lados";
this.apotema = ap;
}
double perimetro(){
return (this.getLados()*this.getMedida());
}
double area(){
double are;
if (this.getLados()<5){
are = Math.pow(this.getMedida(), 2); //pow es un metodo de math para sacar potencias
}else{
are = (this.perimetro()*this.getApotema())/2;
}
return are;
}
}
class Ejercicio2{
public static void main(String[] args){
Poligono p1 = new Poligono();
Poligono p2 = new Poligono(12,5,4);
Circulo c1 = new Circulo(14);
double a1 = p1.area();
double pp1 = p1.perimetro();
double a2 = p2.area();
double pp2 = p2.perimetro();
double a3 = c1.area();
double pp3 = c1.perimetro();
System.out.println("el "+p1.getNombre()+" tiene "+a1+" cm^2 de area y "+pp1+" cm de perimetro");
System.out.println("sus medidas iniciales son "+p1.getLados()+" lados de "+p1.getMedida()+" cm y "+p1.getApotema()+" cm de apotema");
System.out.println("el poligono de "+p2.getLados()+" lados tiene "+a2+" cm^2 de area y "+pp2+" cm de perimetro");
System.out.println("sus medidas iniciales son "+p2.getLados()+" lados de "+p2.getMedida()+" cm y "+p2.getApotema()+" cm de apotema");
System.out.println("el circulo tiene "+a3+" cm^2 de area y "+pp3+" cm de perimetro ");
System.out.println("su radio es de "+c1.getRadio()+" cm");
System.out.println("");
}
}
|
[
"fek1814@gmail.com"
] |
fek1814@gmail.com
|
fc1961b7a5aebcd33a9b5874a61180a5b6a196e4
|
87a2be9c6de2d995748e20d6a6d58b6e3f813ad8
|
/src/main/java/pages/ReportPage.java
|
8da6481b49548ef908545cef442c35b31ebb46dd
|
[] |
no_license
|
RudyRoom1/ReportAnalyzer
|
768d574ce25f68e4664c74e719005d2169a1d005
|
42eb7b5402447e0b9c5a0079077468b7763c19a8
|
refs/heads/master
| 2022-07-09T06:47:53.396640
| 2019-11-08T16:49:12
| 2019-11-11T11:35:28
| 220,498,794
| 0
| 1
| null | 2022-06-29T17:45:57
| 2019-11-08T15:49:31
|
Java
|
UTF-8
|
Java
| false
| false
| 5,412
|
java
|
package pages;
import enums.TypeOfTestStatus;
import lombok.Getter;
import org.openqa.selenium.*;
import org.openqa.selenium.interactions.Actions;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@Getter
public class ReportPage {
private WebDriver driver;
static List<ReportPage> allEntries;
private static By rowField = By.xpath("//tbody/tr[@role='row']");
private List<ReportPage> listOfReportPages;
private Enum successFailType = TypeOfTestStatus.PENDING;
private String testID;
private String testName;
private String totalPassRate;
private String failureReason = "";
private String skuTableName;
private WebElement mainElement;
private static String SUCCESS_FAIL_TYPE = ".//td/img";
private static String TEST_NAME = ".//td/a[@class='ellipsis']";
private static String TEST_FAILURE_STEP = "//tr[@class='test-ERROR'][1]";
private static String TOTAL_PASS_RATE = "//*[@class='jqplot-pie-series jqplot-data-label'][1]";
public String getTestID() {
return testID;
}
public ReportPage() {
}
public ReportPage(WebElement element, WebDriver driver) {
this.driver = driver;
mainElement = element;
fillAllFields();
}
private void fillAllFields() {
fillSuccessFailType();
fillTestID();
fillTotalPassRate();
if (successFailType != TypeOfTestStatus.SUCCESS) {
if (!Objects.isNull(fillFailureReason()) && fillFailureReason().equals("SkuSelectorException")) {
fillSkuTableName();
}
}
}
private void fillTotalPassRate() {
this.totalPassRate = mainElement.findElement(By.xpath(TOTAL_PASS_RATE)).getText();
}
private void fillSkuTableName() {
String result = "";
String errorStepText;
Actions actions = new Actions(driver);
((JavascriptExecutor) driver).executeScript("arguments[0].scrollIntoView(true);", mainElement);
try {
Thread.sleep(200);
} catch (InterruptedException e) {
e.printStackTrace();
}
actions.keyDown(Keys.CONTROL).click(mainElement.findElement(By.xpath(".//a"))).keyUp(Keys.CONTROL).build().perform();
ArrayList<String> tabs = new ArrayList<>(driver.getWindowHandles());
driver.switchTo().window(tabs.get(1));
if (driver.findElements(By.xpath("//div[@class='story-title']")).size() == 2) {
errorStepText = driver.findElement(By.xpath(TEST_FAILURE_STEP)).getText();
}
driver.close();
driver.switchTo().window(tabs.get(0)).switchTo().frame(0);
try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
skuTableName = result;
}
private void fillTestID() {
String text = mainElement.findElement(By.xpath(TEST_NAME)).getText();
Pattern pattern = Pattern.compile("([A-Z]*-[0-9-]{1,4}|PRECONDITIONS)(.*)");
Matcher matcher = pattern.matcher(text);
if (matcher.find()) {
testID = matcher.group(1);
testName = matcher.group(2);
} else {
System.out.println(String.format("CAN'T FIND TEST ID OR TEST NAME in %s", text));
}
}
private void fillSuccessFailType() {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
String type = mainElement.findElement(By.xpath(SUCCESS_FAIL_TYPE)).getAttribute("title");
switch (type) {
case "SUCCESS":
successFailType = TypeOfTestStatus.SUCCESS;
break;
case "PENDING":
successFailType = TypeOfTestStatus.PENDING;
break;
case "ERROR":
successFailType = TypeOfTestStatus.ERROR;
break;
case "FAIL":
successFailType = TypeOfTestStatus.FAIL;
break;
case "FAILURE":
successFailType = TypeOfTestStatus.FAILURE;
break;
case "IGNORED":
successFailType = TypeOfTestStatus.IGNORED;
break;
default:
try {
throw new Exception(String.format("NO SUCH TYPE: %s", type));
} catch (Exception e) {
e.printStackTrace();
}
}
}
private String fillFailureReason() {
String failureReasonBig = mainElement.findElement(By.xpath(TEST_NAME)).getAttribute("title");
String result = null;
if (successFailType == TypeOfTestStatus.ERROR || successFailType == TypeOfTestStatus.FAILURE) {
Pattern pattern = Pattern.compile("(\\b\\w+Exception\\b|\\b\\w+Failure\\b|\\b\\w+Error\\b)");
Matcher matcher = pattern.matcher(failureReasonBig);
if (matcher.find()) {
result = matcher.group(1);
} else {
System.out.println(String.format("%s: failure reason CAN'T BE FOUND!!!! ", testID));
}
} else if (successFailType == TypeOfTestStatus.FAIL) {
result = failureReasonBig;
}
failureReason = result;
return result;
}
}
|
[
"yaroslav_kush@epam.com"
] |
yaroslav_kush@epam.com
|
65665a27a7a1bf69b55d521f75bccc5702083edd
|
a2d02ce141522efbed9df333538e7b2a9e01269f
|
/app/src/androidTest/java/com/alejostudio/practicemobile/ExampleInstrumentedTest.java
|
a2deaad7a846e992c028b52b727058cf055d6b8b
|
[] |
no_license
|
AlexisGonchar/DiplomaAndroid
|
d3fb9fa5ddeb7e5926b59380b1ff1e49c359d740
|
7859454007891a475fbafbfeec9d3545a266b8f3
|
refs/heads/master
| 2023-05-03T07:44:02.990266
| 2021-05-13T19:36:59
| 2021-05-13T19:36:59
| 367,155,487
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 775
|
java
|
package com.alejostudio.practicemobile;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.alejostudio.practicemobile", appContext.getPackageName());
}
}
|
[
"alexgonchar00@gmail.com"
] |
alexgonchar00@gmail.com
|
363000402532a69c7ec435a9b8a7e7db4dda31c0
|
706a1ca29d10afb9729cc8cc9146fb09b1597314
|
/src/java/controladores/ControladorSesion.java
|
47b1c81b0a3dbca8fab6e003ebca74eda241213a
|
[] |
no_license
|
rmendez1972/formalities
|
57b871817a932c84d0b7ece065aa00e1ddb98f1f
|
a04d6ed55a90432b93112d0721ce1ba0c5c7f6c7
|
refs/heads/master
| 2020-04-15T14:50:06.880938
| 2019-01-31T18:03:01
| 2019-01-31T18:03:01
| 68,140,192
| 0
| 0
| null | null | null | null |
UTF-8
|
Java
| false
| false
| 502
|
java
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package controladores;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
*
* @author arturo
*/
public class ControladorSesion extends HttpServlet {
private boolean verificarSesion(){
return true;
}
}
|
[
"rmendez1972@hotmail.com"
] |
rmendez1972@hotmail.com
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.