query
stringlengths 7
33.1k
| document
stringlengths 7
335k
| metadata
dict | negatives
sequencelengths 3
101
| negative_scores
sequencelengths 3
101
| document_score
stringlengths 3
10
| document_rank
stringclasses 102
values |
---|---|---|---|---|---|---|
The Voice Connector ID. | public String getVoiceConnectorId() {
return this.voiceConnectorId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"UUID getConnectorId();",
"public String getConnectId() {\n return connectId;\n }",
"java.lang.String getChannelId();",
"public String getCallId();",
"public void setVoiceConnectorId(String voiceConnectorId) {\n this.voiceConnectorId = voiceConnectorId;\n }",
"public String getCHANNEL_ID() {\n return CHANNEL_ID;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getCallIdentifier() {\n return callIdHeader.getCallId();\n }",
"java.lang.String getProtocolId();",
"public String getChannelId()\r\n\t{\r\n\t\treturn this.sChannelId;\r\n\t}",
"public String getProtocolId();",
"public int getTalkTrackId()\n\t{\n\t\treturn talkTrackId;\n\t}",
"java.lang.String getConnectionId();",
"java.lang.String getConnectionId();",
"java.lang.String getConnectionId();",
"java.lang.String getRecognitionId();",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n }\n }",
"public String getChannelId()\n {\n return channelId;\n }",
"public UUID getCallId() {\n return callId;\n }",
"@Override\n\tpublic List<String> getConnectorIds() {\n\t\treturn connectorIds;\n\t}",
"@NonNull\n public String getIdentifier() {\n return mProto.id;\n }",
"public String getConversationId(){\r\n\t\treturn conversationId;\r\n\t}",
"public String getChannelId() {\n return channelId;\n }",
"public String getChannelId() {\n\t\treturn channelId;\n\t}",
"public static long getIdConnected(Context ctx) {\n\t\tSharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(ctx);\n\t\treturn preferences.getLong(PreferenceConstants.ACCOUNT_ID, 0L);\n\t}",
"public String getConnectionId() {\n return connectionId;\n }",
"java.lang.String getRecognizerId();",
"@Override\n public String provideCustomerConnectionId( )\n {\n return _signaleur.getGuid( );\n }",
"private String getCurrentSpectrumId()\r\n\t{\r\n\t\treturn this.currentSpectrumId;\r\n\t}",
"java.lang.String getConceptId();",
"public java.lang.String getChannelId() {\n java.lang.Object ref = channelId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n channelId_ = s;\n return s;\n }\n }",
"public long getConversationID() {\n return conversationID;\n }",
"public String id() {\n return definition.getString(ID);\n }",
"public java.lang.String getChannelId() {\n java.lang.Object ref = channelId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n channelId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getSid()\n\t{\n\t\treturn conferenceInfo.getAttribute(\"sid\");\n\t}",
"public String getClientLibId() {\n return RcClientLib.CLIENT_LIB_ID;\n }",
"public String getConnectionId() {\n return this.connectionId;\n }",
"public String getWechatId() {\n return wechatId;\n }",
"@Override\n\tpublic String getChannelId()\n\t{\n\t\treturn null;\n\t}",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"7267xxxxxxxxxxxxxx\", value = \"Telnyx connection ID used in the call.\")\n @JsonProperty(JSON_PROPERTY_CONNECTION_ID)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getConnectionId() {\n return connectionId;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"7267xxxxxxxxxxxxxx\", value = \"Telnyx connection ID used in the call.\")\n @JsonProperty(JSON_PROPERTY_CONNECTION_ID)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getConnectionId() {\n return connectionId;\n }",
"public int getCallId() {\n return this.mCallId;\n }",
"public String assistantId() {\n return assistantId;\n }",
"com.google.protobuf.ByteString\n getChannelIdBytes();",
"public Integer getChannelid() {\n return channelid;\n }",
"public interface IVoiceConnectionEvent extends IEvent {\n\n /**\n * @return the identifier of the voice connection the message got sent to\n */\n String getVoiceConnectionIdentifier();\n}",
"com.google.protobuf.ByteString\n getConnectionIdBytes();",
"com.google.protobuf.ByteString\n getConnectionIdBytes();",
"com.google.protobuf.ByteString\n getConnectionIdBytes();",
"@JsonGetter(\"voiceUriId\")\r\n public int getVoiceUriId ( ) { \r\n return this.voiceUriId;\r\n }",
"int getReceiverid();",
"public java.lang.String getCatalogId() {\n java.lang.Object ref = catalogId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n catalogId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public long connectionId()\n {\n return connectionId;\n }",
"public long getConnectionId() {\n return connectionId;\n }",
"public String getExternalId() {\n return externalId;\n }",
"@Array({11}) \n\t@Field(19) \n\tpublic Pointer<Byte > ClientID() {\n\t\treturn this.io.getPointerField(this, 19);\n\t}",
"public String getId() {\n return this.getClass().getSimpleName() + \"@\" + this.hashCode();\n }",
"@Override\n\tpublic String getConversationId() {\n\t\treturn null;\n\t}",
"public StrColumn getRobotId() {\n return delegate.getColumn(\"robot_id\", DelegatingStrColumn::new);\n }",
"public String getSurveyID()\n\t{\n\t\treturn _avTable.get( ATTR_SURVEY_ID ) ;\n\t}",
"public String getConid() {\n return conid;\n }",
"public String getVoiceProfileDomainId() {\n return this.voiceProfileDomainId;\n }",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}",
"public String getExternalId() {\n\t\treturn externalId;\n\t}",
"int getSendid();",
"public abstract String getConnectionId();",
"public static String id()\n {\n return _id;\n }",
"public java.lang.String getOA_ID() {\n return OA_ID;\n }",
"public char get_WSID() {\r\n return (WSID_ANSWER);\r\n }",
"@java.lang.Override\n public java.lang.String getCatalogId() {\n java.lang.Object ref = catalogId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n catalogId_ = s;\n return s;\n }\n }",
"public synchronized String getProxyID() {\n \n return this.id;\n }",
"public int getAudioSessionId() {\n\t\treturn mPlayer.getAudioSessionId();\n\t}",
"private String getSpeakerId(Response response) {\n String location = response.getHeaderString(\"location\");\n return location.substring(location.lastIndexOf(\"/\") + 1);\n }",
"java.lang.String getClientRecordId();",
"public Integer getConferenceId() {\n return conferenceId;\n }",
"java.lang.String getAoisId();",
"public String getExternalId() {\n return this.externalId;\n }",
"public String getIdDiscord() {\n\t\treturn idDiscord;\n\t}",
"String getId(IApiComponent component) throws CoreException {\n StringBuffer buffer = new StringBuffer();\n //$NON-NLS-1$\n buffer.append(component.getSymbolicName()).append(\" \").append('(').append(component.getVersion()).append(')');\n return buffer.toString();\n }",
"public String getWxOpenid() {\n return wxOpenid;\n }",
"public int getID() {\n return graphConfig.getIndex();\n }",
"public String getExternalID() {\r\n return this.externalID;\r\n }",
"String getTheirPartyId();",
"String getSubscriptionId();",
"public String adapterId() {\n return this.adapterId;\n }",
"public int getId() {\n\t\treturn config >> 8;\n\t}",
"public long getConnectionId() {\n return connId;\n }",
"protected String getDataSourceId() {\n return getDataSourceId(sourceComboBox);\n }",
"public String clientId() {\n return clientId;\n }",
"public String getComponentId();",
"public final String getIdentifier() {\n return ServerUtils.getIdentifier(name, ip, port);\n }",
"Integer getRealmId();",
"public String getPrefContactId() {\n return getContact().getUid();\n }",
"public String getControlId() throws PixSourceException {\n\t\t\n\t\tSegment seg = getSegments().getByCodeAndIndex(MSA, 1);\n\t\tint fieldIndex = 1;\n\t\t\n\t\ttry {\n\t\t\treturn seg.forceField(fieldIndex).getAsString();\n\t\t} catch (HL7V2Exception e) {\n\t\t\tthrow new PixSourceException(e);\n\t\t}\n\t}",
"public UUID faceId() {\n return this.faceId;\n }"
] | [
"0.72954416",
"0.65863734",
"0.65018165",
"0.63737744",
"0.63159895",
"0.6192946",
"0.60818005",
"0.5973976",
"0.5952102",
"0.59504384",
"0.59411097",
"0.5935334",
"0.59034693",
"0.59034693",
"0.59034693",
"0.589197",
"0.5881535",
"0.5881535",
"0.5881535",
"0.5875012",
"0.5875012",
"0.5875012",
"0.5854367",
"0.58528703",
"0.58217835",
"0.58074373",
"0.58056366",
"0.57934386",
"0.5781653",
"0.57797784",
"0.56966954",
"0.56953514",
"0.56947285",
"0.56891423",
"0.56736684",
"0.56495523",
"0.56193554",
"0.56168616",
"0.5602608",
"0.5601978",
"0.5601809",
"0.5591256",
"0.55861664",
"0.55825776",
"0.55777407",
"0.55777407",
"0.55751497",
"0.55729824",
"0.55727",
"0.5570512",
"0.5560696",
"0.55525404",
"0.55525404",
"0.55525404",
"0.55427665",
"0.55354",
"0.55313396",
"0.5530426",
"0.55238193",
"0.5522507",
"0.55202246",
"0.5506332",
"0.5503022",
"0.5502353",
"0.5486865",
"0.5482558",
"0.5467947",
"0.54645896",
"0.5463638",
"0.54626",
"0.54480124",
"0.5445936",
"0.54446733",
"0.54444164",
"0.5441524",
"0.5440497",
"0.54374343",
"0.54321855",
"0.5428029",
"0.5424855",
"0.54100865",
"0.54095316",
"0.5409318",
"0.54063153",
"0.5405764",
"0.5403832",
"0.54010683",
"0.53996986",
"0.53985596",
"0.5397014",
"0.53938085",
"0.53855866",
"0.53837997",
"0.53814155",
"0.5375561",
"0.5374001",
"0.53729844",
"0.53728956",
"0.53722996",
"0.5368227"
] | 0.8322801 | 0 |
The Voice Connector ID. | public StartSpeakerSearchTaskRequest withVoiceConnectorId(String voiceConnectorId) {
setVoiceConnectorId(voiceConnectorId);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getVoiceConnectorId() {\n return this.voiceConnectorId;\n }",
"UUID getConnectorId();",
"public String getConnectId() {\n return connectId;\n }",
"java.lang.String getChannelId();",
"public String getCallId();",
"public void setVoiceConnectorId(String voiceConnectorId) {\n this.voiceConnectorId = voiceConnectorId;\n }",
"public String getCHANNEL_ID() {\n return CHANNEL_ID;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getCallIdentifier() {\n return callIdHeader.getCallId();\n }",
"java.lang.String getProtocolId();",
"public String getChannelId()\r\n\t{\r\n\t\treturn this.sChannelId;\r\n\t}",
"public String getProtocolId();",
"public int getTalkTrackId()\n\t{\n\t\treturn talkTrackId;\n\t}",
"java.lang.String getConnectionId();",
"java.lang.String getConnectionId();",
"java.lang.String getConnectionId();",
"java.lang.String getRecognitionId();",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n }\n }",
"public java.lang.String getConnectionId() {\n java.lang.Object ref = connectionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n connectionId_ = s;\n return s;\n }\n }",
"public String getChannelId()\n {\n return channelId;\n }",
"public UUID getCallId() {\n return callId;\n }",
"@Override\n\tpublic List<String> getConnectorIds() {\n\t\treturn connectorIds;\n\t}",
"@NonNull\n public String getIdentifier() {\n return mProto.id;\n }",
"public String getConversationId(){\r\n\t\treturn conversationId;\r\n\t}",
"public String getChannelId() {\n return channelId;\n }",
"public String getChannelId() {\n\t\treturn channelId;\n\t}",
"public static long getIdConnected(Context ctx) {\n\t\tSharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(ctx);\n\t\treturn preferences.getLong(PreferenceConstants.ACCOUNT_ID, 0L);\n\t}",
"public String getConnectionId() {\n return connectionId;\n }",
"java.lang.String getRecognizerId();",
"@Override\n public String provideCustomerConnectionId( )\n {\n return _signaleur.getGuid( );\n }",
"private String getCurrentSpectrumId()\r\n\t{\r\n\t\treturn this.currentSpectrumId;\r\n\t}",
"java.lang.String getConceptId();",
"public java.lang.String getChannelId() {\n java.lang.Object ref = channelId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n channelId_ = s;\n return s;\n }\n }",
"public long getConversationID() {\n return conversationID;\n }",
"public String id() {\n return definition.getString(ID);\n }",
"public java.lang.String getChannelId() {\n java.lang.Object ref = channelId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n channelId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getSid()\n\t{\n\t\treturn conferenceInfo.getAttribute(\"sid\");\n\t}",
"public String getClientLibId() {\n return RcClientLib.CLIENT_LIB_ID;\n }",
"public String getConnectionId() {\n return this.connectionId;\n }",
"public String getWechatId() {\n return wechatId;\n }",
"@Override\n\tpublic String getChannelId()\n\t{\n\t\treturn null;\n\t}",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"7267xxxxxxxxxxxxxx\", value = \"Telnyx connection ID used in the call.\")\n @JsonProperty(JSON_PROPERTY_CONNECTION_ID)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getConnectionId() {\n return connectionId;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"7267xxxxxxxxxxxxxx\", value = \"Telnyx connection ID used in the call.\")\n @JsonProperty(JSON_PROPERTY_CONNECTION_ID)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getConnectionId() {\n return connectionId;\n }",
"public int getCallId() {\n return this.mCallId;\n }",
"public String assistantId() {\n return assistantId;\n }",
"com.google.protobuf.ByteString\n getChannelIdBytes();",
"public Integer getChannelid() {\n return channelid;\n }",
"public interface IVoiceConnectionEvent extends IEvent {\n\n /**\n * @return the identifier of the voice connection the message got sent to\n */\n String getVoiceConnectionIdentifier();\n}",
"com.google.protobuf.ByteString\n getConnectionIdBytes();",
"com.google.protobuf.ByteString\n getConnectionIdBytes();",
"com.google.protobuf.ByteString\n getConnectionIdBytes();",
"@JsonGetter(\"voiceUriId\")\r\n public int getVoiceUriId ( ) { \r\n return this.voiceUriId;\r\n }",
"int getReceiverid();",
"public java.lang.String getCatalogId() {\n java.lang.Object ref = catalogId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n catalogId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public long connectionId()\n {\n return connectionId;\n }",
"public long getConnectionId() {\n return connectionId;\n }",
"public String getExternalId() {\n return externalId;\n }",
"@Array({11}) \n\t@Field(19) \n\tpublic Pointer<Byte > ClientID() {\n\t\treturn this.io.getPointerField(this, 19);\n\t}",
"public String getId() {\n return this.getClass().getSimpleName() + \"@\" + this.hashCode();\n }",
"@Override\n\tpublic String getConversationId() {\n\t\treturn null;\n\t}",
"public StrColumn getRobotId() {\n return delegate.getColumn(\"robot_id\", DelegatingStrColumn::new);\n }",
"public String getSurveyID()\n\t{\n\t\treturn _avTable.get( ATTR_SURVEY_ID ) ;\n\t}",
"public String getConid() {\n return conid;\n }",
"public String getVoiceProfileDomainId() {\n return this.voiceProfileDomainId;\n }",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}",
"public String getExternalId() {\n\t\treturn externalId;\n\t}",
"int getSendid();",
"public abstract String getConnectionId();",
"public static String id()\n {\n return _id;\n }",
"public java.lang.String getOA_ID() {\n return OA_ID;\n }",
"public char get_WSID() {\r\n return (WSID_ANSWER);\r\n }",
"@java.lang.Override\n public java.lang.String getCatalogId() {\n java.lang.Object ref = catalogId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n catalogId_ = s;\n return s;\n }\n }",
"public synchronized String getProxyID() {\n \n return this.id;\n }",
"public int getAudioSessionId() {\n\t\treturn mPlayer.getAudioSessionId();\n\t}",
"private String getSpeakerId(Response response) {\n String location = response.getHeaderString(\"location\");\n return location.substring(location.lastIndexOf(\"/\") + 1);\n }",
"java.lang.String getClientRecordId();",
"public Integer getConferenceId() {\n return conferenceId;\n }",
"java.lang.String getAoisId();",
"public String getExternalId() {\n return this.externalId;\n }",
"public String getIdDiscord() {\n\t\treturn idDiscord;\n\t}",
"String getId(IApiComponent component) throws CoreException {\n StringBuffer buffer = new StringBuffer();\n //$NON-NLS-1$\n buffer.append(component.getSymbolicName()).append(\" \").append('(').append(component.getVersion()).append(')');\n return buffer.toString();\n }",
"public String getWxOpenid() {\n return wxOpenid;\n }",
"public int getID() {\n return graphConfig.getIndex();\n }",
"public String getExternalID() {\r\n return this.externalID;\r\n }",
"String getTheirPartyId();",
"String getSubscriptionId();",
"public String adapterId() {\n return this.adapterId;\n }",
"public int getId() {\n\t\treturn config >> 8;\n\t}",
"public long getConnectionId() {\n return connId;\n }",
"protected String getDataSourceId() {\n return getDataSourceId(sourceComboBox);\n }",
"public String clientId() {\n return clientId;\n }",
"public String getComponentId();",
"public final String getIdentifier() {\n return ServerUtils.getIdentifier(name, ip, port);\n }",
"Integer getRealmId();",
"public String getPrefContactId() {\n return getContact().getUid();\n }",
"public String getControlId() throws PixSourceException {\n\t\t\n\t\tSegment seg = getSegments().getByCodeAndIndex(MSA, 1);\n\t\tint fieldIndex = 1;\n\t\t\n\t\ttry {\n\t\t\treturn seg.forceField(fieldIndex).getAsString();\n\t\t} catch (HL7V2Exception e) {\n\t\t\tthrow new PixSourceException(e);\n\t\t}\n\t}",
"public UUID faceId() {\n return this.faceId;\n }"
] | [
"0.8322801",
"0.72954416",
"0.65863734",
"0.65018165",
"0.63737744",
"0.63159895",
"0.6192946",
"0.60818005",
"0.5973976",
"0.5952102",
"0.59504384",
"0.59411097",
"0.5935334",
"0.59034693",
"0.59034693",
"0.59034693",
"0.589197",
"0.5881535",
"0.5881535",
"0.5881535",
"0.5875012",
"0.5875012",
"0.5875012",
"0.5854367",
"0.58528703",
"0.58217835",
"0.58074373",
"0.58056366",
"0.57934386",
"0.5781653",
"0.57797784",
"0.56966954",
"0.56953514",
"0.56947285",
"0.56891423",
"0.56736684",
"0.56495523",
"0.56193554",
"0.56168616",
"0.5602608",
"0.5601978",
"0.5601809",
"0.5591256",
"0.55861664",
"0.55825776",
"0.55777407",
"0.55777407",
"0.55751497",
"0.55729824",
"0.55727",
"0.5570512",
"0.5560696",
"0.55525404",
"0.55525404",
"0.55525404",
"0.55427665",
"0.55354",
"0.55313396",
"0.5530426",
"0.55238193",
"0.5522507",
"0.55202246",
"0.5506332",
"0.5503022",
"0.5502353",
"0.5486865",
"0.5482558",
"0.5467947",
"0.54645896",
"0.5463638",
"0.54626",
"0.54480124",
"0.5445936",
"0.54446733",
"0.54444164",
"0.5441524",
"0.5440497",
"0.54374343",
"0.54321855",
"0.5428029",
"0.5424855",
"0.54100865",
"0.54095316",
"0.5409318",
"0.54063153",
"0.5405764",
"0.5403832",
"0.54010683",
"0.53996986",
"0.53985596",
"0.5397014",
"0.53938085",
"0.53855866",
"0.53837997",
"0.53814155",
"0.5375561",
"0.5374001",
"0.53729844",
"0.53728956",
"0.53722996",
"0.5368227"
] | 0.0 | -1 |
The transaction ID of the call being analyzed. | public void setTransactionId(String transactionId) {
this.transactionId = transactionId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCallIdentifier() {\n return callIdHeader.getCallId();\n }",
"String getTransactionID();",
"public UUID getCallId() {\n return callId;\n }",
"public String getCallId();",
"public static String getTransId() {\n\n return MDC.get(MDC_KEY_REQUEST_ID);\n }",
"public String getTransactionId()\n\t{\n\t\treturn transactionId;\n\t}",
"public long getTransactionID() {\r\n return transactionID;\r\n }",
"public long getTransactionid() {\n return transactionid;\n }",
"public int getCallId() {\n return this.mCallId;\n }",
"public long getTransactionId() {\n return _sTransaction.getTransactionId();\n }",
"public String getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public String getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public int getTransactionId() {\n return transactionId;\n }",
"public String getTransactionId() {\n return transactionId;\n }",
"public String getTransactionId() {\n return transactionId;\n }",
"public int getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public int getTransactionID() {\r\n return transactionID;\r\n }",
"public String getTransactionID() {\n\t return this.transactionID;\n\t}",
"public Long getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public long getTransactionId();",
"java.lang.String getTxId();",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"String getTransactionId();",
"String getTransactionId();",
"public java.lang.String getTransactionId() {\n java.lang.Object ref = transactionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n transactionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public int getId() {\n return txId;\n }",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getTransactionId() {\n return this.transactionId;\n }",
"protected String getTransactionId() {\n return transactionId;\n }",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txId_ = s;\n return s;\n }\n }",
"public java.lang.String getTransactionId() {\r\n return transactionId;\r\n }",
"public Long getTransactionId() {\n return this.transactionId;\n }",
"public long getTraceId() {\n\t\treturn this.traceInformation.getTraceId();\n\t}",
"UUID getTransactionId();",
"@java.lang.Override\n public java.lang.String getTransactionId() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n transactionId_ = s;\n return s;\n }\n }",
"public String getTransactionId() {\n Via topVia = null;\n if ( ! this.getViaHeaders().isEmpty()) {\n topVia = (Via) this.getViaHeaders().first();\n }\n // Have specified a branch Identifier so we can use it to identify\n // the transaction. BranchId is not case sensitive.\n \t// Branch Id prefix is not case sensitive.\n if ( topVia.getBranch() != null &&\n topVia.getBranch().toUpperCase().startsWith\n (SIPConstants.BRANCH_MAGIC_COOKIE.toUpperCase())) {\n // Bis 09 compatible branch assignment algorithm.\n // implies that the branch id can be used as a transaction\n // identifier.\n return\n topVia.getBranch().toLowerCase();\n } else {\n // Old style client so construct the transaction identifier\n // from various fields of the request.\n StringBuffer retval = new StringBuffer();\n From from = (From) this.getFrom();\n To to = (To) this.getTo();\n String hpFrom = from.getUserAtHostPort();\n retval.append(hpFrom).append( \":\");\n if (from.hasTag()) retval.append(from.getTag()).append(\":\");\n String hpTo = to.getUserAtHostPort();\n retval.append(hpTo).append(\":\");\n String cid = this.callIdHeader.getCallId();\n retval.append(cid).append(\":\");\n retval.append(this.cSeqHeader.getSequenceNumber()).append( \":\").\n append(this.cSeqHeader.getMethod());\n if (topVia != null) {\n retval.append(\":\").append( topVia.getSentBy().encode());\n if (!topVia.getSentBy().hasPort()) {\n retval.append(\":\").append(5060);\n }\n }\n \t String hc =\n \t\tUtils.toHexString(retval.toString().toLowerCase().getBytes());\n \t if (hc.length() < 32) return hc;\n \t else return hc.substring(hc.length() - 32, hc.length() -1 );\n }\n // Convert to lower case -- bug fix as a result of a bug report\n // from Chris Mills of Nortel Networks.\n }",
"public String getTransLogId() {\n return transLogId;\n }",
"public static Integer getTransactionNumber() {\n\t\tRandom r = new Random(System.currentTimeMillis());\n\t\treturn r.nextInt(100000) * 00001;\n\n\t}",
"public String getTxid() {\n return txid;\n }",
"public long getBaseTransId() {\n return commitList.getBaseTransId();\n }",
"int getTransactionNum();",
"public java.lang.String getTxid() {\n java.lang.Object ref = txid_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txid_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getTransId() {\n\t\treturn transId;\n\t}",
"String getAcctgTransEntrySeqId();",
"@ApiModelProperty(value = \"The VisaNet transaction identifier. If you have previously sent an AFT, this field must include the VisaNet transaction identifier returned in the AFT response.<br><br><b>Note:</b> provide only if there is a corresponding AFT transaction response.\")\n public Long getTransactionIdentifier() {\n return transactionIdentifier;\n }",
"public\t javax.sip.header.CallIdHeader getCallId()\n { return callIdHeader ; }",
"public String getTransID()\n\t{\n\t\tif(response.containsKey(\"RRNO\")) {\n\t\t\treturn response.get(\"RRNO\");\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}",
"public static String getTransactionIDString(final TransactionID transID) {\n\t\treturn accountIDToString(transID.getAccountID()) + \"_\" + timestampToString(transID.getTransactionValidStart());\n\t}",
"public long getMemberId() {\n return _sTransaction.getMemberId();\n }",
"public long getCommitTransId() {\n return commitList.getCommitTransId();\n }",
"public String getClientTransId() {\n\t\treturn clientTransId;\n\t}",
"UUID getTransmissionId();",
"com.google.protobuf.ByteString\n getTxIdBytes();",
"@java.lang.Override\n public java.lang.String getTxid() {\n java.lang.Object ref = txid_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txid_ = s;\n return s;\n }\n }",
"public String getTraceId() {\n return traceId;\n }",
"public String getCallingNumber() throws FrameException {\n try {\n byte data[] = (byte[])infoElements.get(new Integer(InfoElement.CALLING_NUMBER));\n return new String(data);\n } catch (Exception e) {\n throw new FrameException(e);\n }\n }",
"public String getUID(long transactionId){\n String uid = null;\n Cursor c = mDb.query(TransactionEntry.TABLE_NAME,\n new String[]{TransactionEntry.COLUMN_UID},\n TransactionEntry._ID + \"=\" + transactionId,\n null, null, null, null);\n if (c != null) {\n if (c.moveToFirst()) {\n uid = c.getString(c.getColumnIndexOrThrow(TransactionEntry.COLUMN_UID));\n }\n c.close();\n }\n return uid;\n }",
"public String getIdrequest() {\r\n\t\treturn idrequest;\r\n\t}",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getTransactionIdBytes() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n transactionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public int getTraceID(){\r\n\t\treturn this.traceID;\r\n\t}",
"public String getTransaction() {\n return transaction;\n }",
"public com.google.protobuf.ByteString\n getTxIdBytes() {\n java.lang.Object ref = txId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n txId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public int getTransactionReferenceNumber() {\n\t\treturn transactionReferenceNumber;\n\t}",
"public long getId() {\n\t\treturn _tempNoTiceShipMessage.getId();\n\t}",
"public long getTxnid() {\n return txnid_;\n }",
"public com.google.protobuf.ByteString\n getTransactionIdBytes() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n transactionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public long id() {\n\t\treturn message.getBaseMarketId();\n\t}",
"public EI getPayerTrackingID() { \r\n\t\tEI retVal = this.getTypedField(5, 0);\r\n\t\treturn retVal;\r\n }",
"public String getOriginalSaleTransactionId() {\n String[] array = this.getOriginalSaleTransactionIdArray();\n if (array == null || array.length == 0) {\n return null;\n } else {\n return array[0];\n }\n }",
"@Transient\n\tpublic String getParentTransactionId()\t{\n\t\tif (mParentTransactionIdLong > 0) \n\t\t\treturn Long.toString(mParentTransactionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}",
"public long getTxnid() {\n return txnid_;\n }",
"public String GetDocumentTransactionID (int fileID);",
"public Object getCorrelationId()\n {\n return getUnderlyingId(false);\n }",
"public com.google.protobuf.ByteString\n getTxIdBytes() {\n java.lang.Object ref = txId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n txId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getCalledNumber() throws FrameException {\n try {\n byte data[] = (byte[])infoElements.get(new Integer(InfoElement.CALLED_NUMBER));\n return new String(data);\n } catch (Exception e) {\n throw new FrameException(e);\n }\n }",
"long getRpcId();",
"int getLogId();",
"public long getID(String transactionUID){\n long id = -1;\n Cursor c = mDb.query(TransactionEntry.TABLE_NAME,\n new String[]{TransactionEntry._ID},\n TransactionEntry.COLUMN_UID + \"='\" + transactionUID + \"'\",\n null, null, null, null);\n if (c != null) {\n if (c.moveToFirst()) {\n id = c.getLong(0);\n }\n c.close();\n }\n return id;\n }",
"public synchronized long getNextTransactionID(){\n\t\treturn this.id++;\n\t}",
"public java.lang.String getCallSign() {\n\t\treturn _tempNoTiceShipMessage.getCallSign();\n\t}",
"public UUID executionId();",
"String getReceiptId();",
"java.lang.String getRequestID();",
"public long getPrimaryKey() {\n return _sTransaction.getPrimaryKey();\n }",
"public int getR_Request_ID();",
"public String getId() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\tbuilder.append(\"n=\");\n\t\tif ( nodeId != null ) {\n\t\t\tbuilder.append(nodeId);\n\t\t}\n\t\tbuilder.append(\";c=\");\n\t\tif ( created != null ) {\n\t\t\tbuilder.append(created);\n\t\t}\n\t\tbuilder.append(\";s=\");\n\t\tif ( sourceId != null ) {\n\t\t\tbuilder.append(sourceId);\n\t\t}\n\t\treturn DigestUtils.sha1Hex(builder.toString());\n\t}",
"java.lang.String getClientRecordId();",
"public String getUniqueId() {\n return getCurrentInstance().getViewRoot().createUniqueId();\n }",
"public String getPayLogId() {\n return payLogId;\n }",
"private String generateNewCallId()\n {\n\n\t\t// Generate the variant number\n\t\tint variable = NumberUtils.getIntRandom();\n\n\t\t// Convert to hex value\n\t\tString hex = NumberUtils.toHexValue(variable);\n\n\t\t// Compose the final call id\n\t\treturn \"{2B073406-65D8-A7B2-5B13-B287\" + hex + \"}\";\n\t}",
"public String getId() {\n\t\treturn Integer.toString(this.hashCode());\n\t}",
"long getMessageId();",
"long getMessageId();",
"@Override\r\n\tpublic String createID() {\r\n\t\t \r\n\t\t\t\treturn transCode.toString();\r\n\t\t\t\t}",
"public String correlationId() {\n return correlationId;\n }",
"public String getFirstTxId() {\n\t\t\treturn firstTxId;\n\t\t}",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}"
] | [
"0.7469372",
"0.7344641",
"0.7270445",
"0.7215082",
"0.6998751",
"0.6927693",
"0.69056404",
"0.68925184",
"0.6872408",
"0.6849482",
"0.68244493",
"0.68244493",
"0.68194443",
"0.68083686",
"0.68083686",
"0.6778169",
"0.67657506",
"0.67654514",
"0.6763416",
"0.6743402",
"0.6730971",
"0.67142004",
"0.67142004",
"0.66942674",
"0.66942674",
"0.66768235",
"0.66629547",
"0.66629547",
"0.66557515",
"0.6644991",
"0.66424966",
"0.6641523",
"0.6640589",
"0.6639424",
"0.6623717",
"0.65979326",
"0.6573389",
"0.6514523",
"0.6455694",
"0.6400105",
"0.63825005",
"0.6262079",
"0.6255827",
"0.62459654",
"0.623682",
"0.62231475",
"0.6218462",
"0.6205422",
"0.6205313",
"0.6198719",
"0.6169693",
"0.61493146",
"0.61339396",
"0.6106845",
"0.60638624",
"0.6023938",
"0.6016562",
"0.601167",
"0.597652",
"0.59569305",
"0.5940238",
"0.5925454",
"0.59182787",
"0.58948874",
"0.58897936",
"0.58881044",
"0.5876265",
"0.587193",
"0.58692765",
"0.58454275",
"0.58437985",
"0.58323836",
"0.5830171",
"0.5818225",
"0.58173776",
"0.5791596",
"0.5789789",
"0.578954",
"0.57757664",
"0.5748467",
"0.57433504",
"0.57360053",
"0.5730801",
"0.57038254",
"0.5694132",
"0.56848615",
"0.5676603",
"0.5663719",
"0.5662454",
"0.56558555",
"0.564251",
"0.5640623",
"0.56381947",
"0.56216466",
"0.5621077",
"0.5621009",
"0.5621009",
"0.56147623",
"0.56125736",
"0.5607708",
"0.5606118"
] | 0.0 | -1 |
The transaction ID of the call being analyzed. | public String getTransactionId() {
return this.transactionId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCallIdentifier() {\n return callIdHeader.getCallId();\n }",
"String getTransactionID();",
"public UUID getCallId() {\n return callId;\n }",
"public String getCallId();",
"public static String getTransId() {\n\n return MDC.get(MDC_KEY_REQUEST_ID);\n }",
"public String getTransactionId()\n\t{\n\t\treturn transactionId;\n\t}",
"public long getTransactionID() {\r\n return transactionID;\r\n }",
"public long getTransactionid() {\n return transactionid;\n }",
"public int getCallId() {\n return this.mCallId;\n }",
"public long getTransactionId() {\n return _sTransaction.getTransactionId();\n }",
"public String getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public String getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public int getTransactionId() {\n return transactionId;\n }",
"public String getTransactionId() {\n return transactionId;\n }",
"public String getTransactionId() {\n return transactionId;\n }",
"public int getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public int getTransactionID() {\r\n return transactionID;\r\n }",
"public String getTransactionID() {\n\t return this.transactionID;\n\t}",
"public Long getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public long getTransactionId();",
"java.lang.String getTxId();",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"String getTransactionId();",
"String getTransactionId();",
"public java.lang.String getTransactionId() {\n java.lang.Object ref = transactionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n transactionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public int getId() {\n return txId;\n }",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"protected String getTransactionId() {\n return transactionId;\n }",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txId_ = s;\n return s;\n }\n }",
"public java.lang.String getTransactionId() {\r\n return transactionId;\r\n }",
"public Long getTransactionId() {\n return this.transactionId;\n }",
"public long getTraceId() {\n\t\treturn this.traceInformation.getTraceId();\n\t}",
"UUID getTransactionId();",
"@java.lang.Override\n public java.lang.String getTransactionId() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n transactionId_ = s;\n return s;\n }\n }",
"public String getTransactionId() {\n Via topVia = null;\n if ( ! this.getViaHeaders().isEmpty()) {\n topVia = (Via) this.getViaHeaders().first();\n }\n // Have specified a branch Identifier so we can use it to identify\n // the transaction. BranchId is not case sensitive.\n \t// Branch Id prefix is not case sensitive.\n if ( topVia.getBranch() != null &&\n topVia.getBranch().toUpperCase().startsWith\n (SIPConstants.BRANCH_MAGIC_COOKIE.toUpperCase())) {\n // Bis 09 compatible branch assignment algorithm.\n // implies that the branch id can be used as a transaction\n // identifier.\n return\n topVia.getBranch().toLowerCase();\n } else {\n // Old style client so construct the transaction identifier\n // from various fields of the request.\n StringBuffer retval = new StringBuffer();\n From from = (From) this.getFrom();\n To to = (To) this.getTo();\n String hpFrom = from.getUserAtHostPort();\n retval.append(hpFrom).append( \":\");\n if (from.hasTag()) retval.append(from.getTag()).append(\":\");\n String hpTo = to.getUserAtHostPort();\n retval.append(hpTo).append(\":\");\n String cid = this.callIdHeader.getCallId();\n retval.append(cid).append(\":\");\n retval.append(this.cSeqHeader.getSequenceNumber()).append( \":\").\n append(this.cSeqHeader.getMethod());\n if (topVia != null) {\n retval.append(\":\").append( topVia.getSentBy().encode());\n if (!topVia.getSentBy().hasPort()) {\n retval.append(\":\").append(5060);\n }\n }\n \t String hc =\n \t\tUtils.toHexString(retval.toString().toLowerCase().getBytes());\n \t if (hc.length() < 32) return hc;\n \t else return hc.substring(hc.length() - 32, hc.length() -1 );\n }\n // Convert to lower case -- bug fix as a result of a bug report\n // from Chris Mills of Nortel Networks.\n }",
"public String getTransLogId() {\n return transLogId;\n }",
"public static Integer getTransactionNumber() {\n\t\tRandom r = new Random(System.currentTimeMillis());\n\t\treturn r.nextInt(100000) * 00001;\n\n\t}",
"public String getTxid() {\n return txid;\n }",
"public long getBaseTransId() {\n return commitList.getBaseTransId();\n }",
"int getTransactionNum();",
"public java.lang.String getTxid() {\n java.lang.Object ref = txid_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txid_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getTransId() {\n\t\treturn transId;\n\t}",
"String getAcctgTransEntrySeqId();",
"@ApiModelProperty(value = \"The VisaNet transaction identifier. If you have previously sent an AFT, this field must include the VisaNet transaction identifier returned in the AFT response.<br><br><b>Note:</b> provide only if there is a corresponding AFT transaction response.\")\n public Long getTransactionIdentifier() {\n return transactionIdentifier;\n }",
"public\t javax.sip.header.CallIdHeader getCallId()\n { return callIdHeader ; }",
"public String getTransID()\n\t{\n\t\tif(response.containsKey(\"RRNO\")) {\n\t\t\treturn response.get(\"RRNO\");\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}",
"public static String getTransactionIDString(final TransactionID transID) {\n\t\treturn accountIDToString(transID.getAccountID()) + \"_\" + timestampToString(transID.getTransactionValidStart());\n\t}",
"public long getMemberId() {\n return _sTransaction.getMemberId();\n }",
"public long getCommitTransId() {\n return commitList.getCommitTransId();\n }",
"public String getClientTransId() {\n\t\treturn clientTransId;\n\t}",
"UUID getTransmissionId();",
"com.google.protobuf.ByteString\n getTxIdBytes();",
"@java.lang.Override\n public java.lang.String getTxid() {\n java.lang.Object ref = txid_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txid_ = s;\n return s;\n }\n }",
"public String getTraceId() {\n return traceId;\n }",
"public String getCallingNumber() throws FrameException {\n try {\n byte data[] = (byte[])infoElements.get(new Integer(InfoElement.CALLING_NUMBER));\n return new String(data);\n } catch (Exception e) {\n throw new FrameException(e);\n }\n }",
"public String getUID(long transactionId){\n String uid = null;\n Cursor c = mDb.query(TransactionEntry.TABLE_NAME,\n new String[]{TransactionEntry.COLUMN_UID},\n TransactionEntry._ID + \"=\" + transactionId,\n null, null, null, null);\n if (c != null) {\n if (c.moveToFirst()) {\n uid = c.getString(c.getColumnIndexOrThrow(TransactionEntry.COLUMN_UID));\n }\n c.close();\n }\n return uid;\n }",
"public String getIdrequest() {\r\n\t\treturn idrequest;\r\n\t}",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getTransactionIdBytes() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n transactionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public int getTraceID(){\r\n\t\treturn this.traceID;\r\n\t}",
"public String getTransaction() {\n return transaction;\n }",
"public com.google.protobuf.ByteString\n getTxIdBytes() {\n java.lang.Object ref = txId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n txId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public int getTransactionReferenceNumber() {\n\t\treturn transactionReferenceNumber;\n\t}",
"public long getId() {\n\t\treturn _tempNoTiceShipMessage.getId();\n\t}",
"public long getTxnid() {\n return txnid_;\n }",
"public com.google.protobuf.ByteString\n getTransactionIdBytes() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n transactionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public long id() {\n\t\treturn message.getBaseMarketId();\n\t}",
"public EI getPayerTrackingID() { \r\n\t\tEI retVal = this.getTypedField(5, 0);\r\n\t\treturn retVal;\r\n }",
"public String getOriginalSaleTransactionId() {\n String[] array = this.getOriginalSaleTransactionIdArray();\n if (array == null || array.length == 0) {\n return null;\n } else {\n return array[0];\n }\n }",
"@Transient\n\tpublic String getParentTransactionId()\t{\n\t\tif (mParentTransactionIdLong > 0) \n\t\t\treturn Long.toString(mParentTransactionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}",
"public long getTxnid() {\n return txnid_;\n }",
"public String GetDocumentTransactionID (int fileID);",
"public Object getCorrelationId()\n {\n return getUnderlyingId(false);\n }",
"public com.google.protobuf.ByteString\n getTxIdBytes() {\n java.lang.Object ref = txId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n txId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getCalledNumber() throws FrameException {\n try {\n byte data[] = (byte[])infoElements.get(new Integer(InfoElement.CALLED_NUMBER));\n return new String(data);\n } catch (Exception e) {\n throw new FrameException(e);\n }\n }",
"long getRpcId();",
"int getLogId();",
"public long getID(String transactionUID){\n long id = -1;\n Cursor c = mDb.query(TransactionEntry.TABLE_NAME,\n new String[]{TransactionEntry._ID},\n TransactionEntry.COLUMN_UID + \"='\" + transactionUID + \"'\",\n null, null, null, null);\n if (c != null) {\n if (c.moveToFirst()) {\n id = c.getLong(0);\n }\n c.close();\n }\n return id;\n }",
"public synchronized long getNextTransactionID(){\n\t\treturn this.id++;\n\t}",
"public java.lang.String getCallSign() {\n\t\treturn _tempNoTiceShipMessage.getCallSign();\n\t}",
"public UUID executionId();",
"String getReceiptId();",
"java.lang.String getRequestID();",
"public long getPrimaryKey() {\n return _sTransaction.getPrimaryKey();\n }",
"public int getR_Request_ID();",
"public String getId() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\tbuilder.append(\"n=\");\n\t\tif ( nodeId != null ) {\n\t\t\tbuilder.append(nodeId);\n\t\t}\n\t\tbuilder.append(\";c=\");\n\t\tif ( created != null ) {\n\t\t\tbuilder.append(created);\n\t\t}\n\t\tbuilder.append(\";s=\");\n\t\tif ( sourceId != null ) {\n\t\t\tbuilder.append(sourceId);\n\t\t}\n\t\treturn DigestUtils.sha1Hex(builder.toString());\n\t}",
"java.lang.String getClientRecordId();",
"public String getUniqueId() {\n return getCurrentInstance().getViewRoot().createUniqueId();\n }",
"public String getPayLogId() {\n return payLogId;\n }",
"private String generateNewCallId()\n {\n\n\t\t// Generate the variant number\n\t\tint variable = NumberUtils.getIntRandom();\n\n\t\t// Convert to hex value\n\t\tString hex = NumberUtils.toHexValue(variable);\n\n\t\t// Compose the final call id\n\t\treturn \"{2B073406-65D8-A7B2-5B13-B287\" + hex + \"}\";\n\t}",
"public String getId() {\n\t\treturn Integer.toString(this.hashCode());\n\t}",
"long getMessageId();",
"long getMessageId();",
"@Override\r\n\tpublic String createID() {\r\n\t\t \r\n\t\t\t\treturn transCode.toString();\r\n\t\t\t\t}",
"public String correlationId() {\n return correlationId;\n }",
"public String getFirstTxId() {\n\t\t\treturn firstTxId;\n\t\t}",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}"
] | [
"0.7469372",
"0.7344641",
"0.7270445",
"0.7215082",
"0.6998751",
"0.6927693",
"0.69056404",
"0.68925184",
"0.6872408",
"0.6849482",
"0.68244493",
"0.68244493",
"0.68194443",
"0.68083686",
"0.68083686",
"0.6778169",
"0.67657506",
"0.67654514",
"0.6763416",
"0.6743402",
"0.6730971",
"0.67142004",
"0.67142004",
"0.66942674",
"0.66942674",
"0.66768235",
"0.66629547",
"0.66629547",
"0.66557515",
"0.6644991",
"0.6641523",
"0.6640589",
"0.6639424",
"0.6623717",
"0.65979326",
"0.6573389",
"0.6514523",
"0.6455694",
"0.6400105",
"0.63825005",
"0.6262079",
"0.6255827",
"0.62459654",
"0.623682",
"0.62231475",
"0.6218462",
"0.6205422",
"0.6205313",
"0.6198719",
"0.6169693",
"0.61493146",
"0.61339396",
"0.6106845",
"0.60638624",
"0.6023938",
"0.6016562",
"0.601167",
"0.597652",
"0.59569305",
"0.5940238",
"0.5925454",
"0.59182787",
"0.58948874",
"0.58897936",
"0.58881044",
"0.5876265",
"0.587193",
"0.58692765",
"0.58454275",
"0.58437985",
"0.58323836",
"0.5830171",
"0.5818225",
"0.58173776",
"0.5791596",
"0.5789789",
"0.578954",
"0.57757664",
"0.5748467",
"0.57433504",
"0.57360053",
"0.5730801",
"0.57038254",
"0.5694132",
"0.56848615",
"0.5676603",
"0.5663719",
"0.5662454",
"0.56558555",
"0.564251",
"0.5640623",
"0.56381947",
"0.56216466",
"0.5621077",
"0.5621009",
"0.5621009",
"0.56147623",
"0.56125736",
"0.5607708",
"0.5606118"
] | 0.66424966 | 30 |
The transaction ID of the call being analyzed. | public StartSpeakerSearchTaskRequest withTransactionId(String transactionId) {
setTransactionId(transactionId);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCallIdentifier() {\n return callIdHeader.getCallId();\n }",
"String getTransactionID();",
"public UUID getCallId() {\n return callId;\n }",
"public String getCallId();",
"public static String getTransId() {\n\n return MDC.get(MDC_KEY_REQUEST_ID);\n }",
"public String getTransactionId()\n\t{\n\t\treturn transactionId;\n\t}",
"public long getTransactionID() {\r\n return transactionID;\r\n }",
"public long getTransactionid() {\n return transactionid;\n }",
"public int getCallId() {\n return this.mCallId;\n }",
"public long getTransactionId() {\n return _sTransaction.getTransactionId();\n }",
"public String getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public String getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public int getTransactionId() {\n return transactionId;\n }",
"public String getTransactionId() {\n return transactionId;\n }",
"public String getTransactionId() {\n return transactionId;\n }",
"public int getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public int getTransactionID() {\r\n return transactionID;\r\n }",
"public String getTransactionID() {\n\t return this.transactionID;\n\t}",
"public Long getTransactionId() {\n\t\treturn transactionId;\n\t}",
"public long getTransactionId();",
"java.lang.String getTxId();",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"String getTransactionId();",
"String getTransactionId();",
"public java.lang.String getTransactionId() {\n java.lang.Object ref = transactionId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n transactionId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public java.lang.String getTransactionId() {\n return transactionId;\n }",
"public int getId() {\n return txId;\n }",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getTransactionId() {\n return this.transactionId;\n }",
"protected String getTransactionId() {\n return transactionId;\n }",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txId_ = s;\n return s;\n }\n }",
"public java.lang.String getTransactionId() {\r\n return transactionId;\r\n }",
"public Long getTransactionId() {\n return this.transactionId;\n }",
"public long getTraceId() {\n\t\treturn this.traceInformation.getTraceId();\n\t}",
"UUID getTransactionId();",
"@java.lang.Override\n public java.lang.String getTransactionId() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n transactionId_ = s;\n return s;\n }\n }",
"public String getTransactionId() {\n Via topVia = null;\n if ( ! this.getViaHeaders().isEmpty()) {\n topVia = (Via) this.getViaHeaders().first();\n }\n // Have specified a branch Identifier so we can use it to identify\n // the transaction. BranchId is not case sensitive.\n \t// Branch Id prefix is not case sensitive.\n if ( topVia.getBranch() != null &&\n topVia.getBranch().toUpperCase().startsWith\n (SIPConstants.BRANCH_MAGIC_COOKIE.toUpperCase())) {\n // Bis 09 compatible branch assignment algorithm.\n // implies that the branch id can be used as a transaction\n // identifier.\n return\n topVia.getBranch().toLowerCase();\n } else {\n // Old style client so construct the transaction identifier\n // from various fields of the request.\n StringBuffer retval = new StringBuffer();\n From from = (From) this.getFrom();\n To to = (To) this.getTo();\n String hpFrom = from.getUserAtHostPort();\n retval.append(hpFrom).append( \":\");\n if (from.hasTag()) retval.append(from.getTag()).append(\":\");\n String hpTo = to.getUserAtHostPort();\n retval.append(hpTo).append(\":\");\n String cid = this.callIdHeader.getCallId();\n retval.append(cid).append(\":\");\n retval.append(this.cSeqHeader.getSequenceNumber()).append( \":\").\n append(this.cSeqHeader.getMethod());\n if (topVia != null) {\n retval.append(\":\").append( topVia.getSentBy().encode());\n if (!topVia.getSentBy().hasPort()) {\n retval.append(\":\").append(5060);\n }\n }\n \t String hc =\n \t\tUtils.toHexString(retval.toString().toLowerCase().getBytes());\n \t if (hc.length() < 32) return hc;\n \t else return hc.substring(hc.length() - 32, hc.length() -1 );\n }\n // Convert to lower case -- bug fix as a result of a bug report\n // from Chris Mills of Nortel Networks.\n }",
"public String getTransLogId() {\n return transLogId;\n }",
"public static Integer getTransactionNumber() {\n\t\tRandom r = new Random(System.currentTimeMillis());\n\t\treturn r.nextInt(100000) * 00001;\n\n\t}",
"public String getTxid() {\n return txid;\n }",
"public long getBaseTransId() {\n return commitList.getBaseTransId();\n }",
"int getTransactionNum();",
"public java.lang.String getTxid() {\n java.lang.Object ref = txid_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txid_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getTransId() {\n\t\treturn transId;\n\t}",
"String getAcctgTransEntrySeqId();",
"@ApiModelProperty(value = \"The VisaNet transaction identifier. If you have previously sent an AFT, this field must include the VisaNet transaction identifier returned in the AFT response.<br><br><b>Note:</b> provide only if there is a corresponding AFT transaction response.\")\n public Long getTransactionIdentifier() {\n return transactionIdentifier;\n }",
"public\t javax.sip.header.CallIdHeader getCallId()\n { return callIdHeader ; }",
"public String getTransID()\n\t{\n\t\tif(response.containsKey(\"RRNO\")) {\n\t\t\treturn response.get(\"RRNO\");\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}",
"public static String getTransactionIDString(final TransactionID transID) {\n\t\treturn accountIDToString(transID.getAccountID()) + \"_\" + timestampToString(transID.getTransactionValidStart());\n\t}",
"public long getMemberId() {\n return _sTransaction.getMemberId();\n }",
"public long getCommitTransId() {\n return commitList.getCommitTransId();\n }",
"public String getClientTransId() {\n\t\treturn clientTransId;\n\t}",
"UUID getTransmissionId();",
"com.google.protobuf.ByteString\n getTxIdBytes();",
"@java.lang.Override\n public java.lang.String getTxid() {\n java.lang.Object ref = txid_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n txid_ = s;\n return s;\n }\n }",
"public String getTraceId() {\n return traceId;\n }",
"public String getCallingNumber() throws FrameException {\n try {\n byte data[] = (byte[])infoElements.get(new Integer(InfoElement.CALLING_NUMBER));\n return new String(data);\n } catch (Exception e) {\n throw new FrameException(e);\n }\n }",
"public String getUID(long transactionId){\n String uid = null;\n Cursor c = mDb.query(TransactionEntry.TABLE_NAME,\n new String[]{TransactionEntry.COLUMN_UID},\n TransactionEntry._ID + \"=\" + transactionId,\n null, null, null, null);\n if (c != null) {\n if (c.moveToFirst()) {\n uid = c.getString(c.getColumnIndexOrThrow(TransactionEntry.COLUMN_UID));\n }\n c.close();\n }\n return uid;\n }",
"public String getIdrequest() {\r\n\t\treturn idrequest;\r\n\t}",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getTransactionIdBytes() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n transactionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public int getTraceID(){\r\n\t\treturn this.traceID;\r\n\t}",
"public String getTransaction() {\n return transaction;\n }",
"public com.google.protobuf.ByteString\n getTxIdBytes() {\n java.lang.Object ref = txId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n txId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public int getTransactionReferenceNumber() {\n\t\treturn transactionReferenceNumber;\n\t}",
"public long getId() {\n\t\treturn _tempNoTiceShipMessage.getId();\n\t}",
"public long getTxnid() {\n return txnid_;\n }",
"public com.google.protobuf.ByteString\n getTransactionIdBytes() {\n java.lang.Object ref = transactionId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n transactionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public long id() {\n\t\treturn message.getBaseMarketId();\n\t}",
"public EI getPayerTrackingID() { \r\n\t\tEI retVal = this.getTypedField(5, 0);\r\n\t\treturn retVal;\r\n }",
"public String getOriginalSaleTransactionId() {\n String[] array = this.getOriginalSaleTransactionIdArray();\n if (array == null || array.length == 0) {\n return null;\n } else {\n return array[0];\n }\n }",
"@Transient\n\tpublic String getParentTransactionId()\t{\n\t\tif (mParentTransactionIdLong > 0) \n\t\t\treturn Long.toString(mParentTransactionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}",
"public long getTxnid() {\n return txnid_;\n }",
"public String GetDocumentTransactionID (int fileID);",
"public Object getCorrelationId()\n {\n return getUnderlyingId(false);\n }",
"public com.google.protobuf.ByteString\n getTxIdBytes() {\n java.lang.Object ref = txId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n txId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getCalledNumber() throws FrameException {\n try {\n byte data[] = (byte[])infoElements.get(new Integer(InfoElement.CALLED_NUMBER));\n return new String(data);\n } catch (Exception e) {\n throw new FrameException(e);\n }\n }",
"long getRpcId();",
"int getLogId();",
"public long getID(String transactionUID){\n long id = -1;\n Cursor c = mDb.query(TransactionEntry.TABLE_NAME,\n new String[]{TransactionEntry._ID},\n TransactionEntry.COLUMN_UID + \"='\" + transactionUID + \"'\",\n null, null, null, null);\n if (c != null) {\n if (c.moveToFirst()) {\n id = c.getLong(0);\n }\n c.close();\n }\n return id;\n }",
"public synchronized long getNextTransactionID(){\n\t\treturn this.id++;\n\t}",
"public java.lang.String getCallSign() {\n\t\treturn _tempNoTiceShipMessage.getCallSign();\n\t}",
"public UUID executionId();",
"String getReceiptId();",
"java.lang.String getRequestID();",
"public long getPrimaryKey() {\n return _sTransaction.getPrimaryKey();\n }",
"public int getR_Request_ID();",
"public String getId() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\tbuilder.append(\"n=\");\n\t\tif ( nodeId != null ) {\n\t\t\tbuilder.append(nodeId);\n\t\t}\n\t\tbuilder.append(\";c=\");\n\t\tif ( created != null ) {\n\t\t\tbuilder.append(created);\n\t\t}\n\t\tbuilder.append(\";s=\");\n\t\tif ( sourceId != null ) {\n\t\t\tbuilder.append(sourceId);\n\t\t}\n\t\treturn DigestUtils.sha1Hex(builder.toString());\n\t}",
"java.lang.String getClientRecordId();",
"public String getUniqueId() {\n return getCurrentInstance().getViewRoot().createUniqueId();\n }",
"public String getPayLogId() {\n return payLogId;\n }",
"private String generateNewCallId()\n {\n\n\t\t// Generate the variant number\n\t\tint variable = NumberUtils.getIntRandom();\n\n\t\t// Convert to hex value\n\t\tString hex = NumberUtils.toHexValue(variable);\n\n\t\t// Compose the final call id\n\t\treturn \"{2B073406-65D8-A7B2-5B13-B287\" + hex + \"}\";\n\t}",
"public String getId() {\n\t\treturn Integer.toString(this.hashCode());\n\t}",
"long getMessageId();",
"long getMessageId();",
"@Override\r\n\tpublic String createID() {\r\n\t\t \r\n\t\t\t\treturn transCode.toString();\r\n\t\t\t\t}",
"public String correlationId() {\n return correlationId;\n }",
"public String getFirstTxId() {\n\t\t\treturn firstTxId;\n\t\t}",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}"
] | [
"0.7469372",
"0.7344641",
"0.7270445",
"0.7215082",
"0.6998751",
"0.6927693",
"0.69056404",
"0.68925184",
"0.6872408",
"0.6849482",
"0.68244493",
"0.68244493",
"0.68194443",
"0.68083686",
"0.68083686",
"0.6778169",
"0.67657506",
"0.67654514",
"0.6763416",
"0.6743402",
"0.6730971",
"0.67142004",
"0.67142004",
"0.66942674",
"0.66942674",
"0.66768235",
"0.66629547",
"0.66629547",
"0.66557515",
"0.6644991",
"0.66424966",
"0.6641523",
"0.6640589",
"0.6639424",
"0.6623717",
"0.65979326",
"0.6573389",
"0.6514523",
"0.6455694",
"0.6400105",
"0.63825005",
"0.6262079",
"0.6255827",
"0.62459654",
"0.623682",
"0.62231475",
"0.6218462",
"0.6205422",
"0.6205313",
"0.6198719",
"0.6169693",
"0.61493146",
"0.61339396",
"0.6106845",
"0.60638624",
"0.6023938",
"0.6016562",
"0.601167",
"0.597652",
"0.59569305",
"0.5940238",
"0.5925454",
"0.59182787",
"0.58948874",
"0.58897936",
"0.58881044",
"0.5876265",
"0.587193",
"0.58692765",
"0.58454275",
"0.58437985",
"0.58323836",
"0.5830171",
"0.5818225",
"0.58173776",
"0.5791596",
"0.5789789",
"0.578954",
"0.57757664",
"0.5748467",
"0.57433504",
"0.57360053",
"0.5730801",
"0.57038254",
"0.5694132",
"0.56848615",
"0.5676603",
"0.5663719",
"0.5662454",
"0.56558555",
"0.564251",
"0.5640623",
"0.56381947",
"0.56216466",
"0.5621077",
"0.5621009",
"0.5621009",
"0.56147623",
"0.56125736",
"0.5607708",
"0.5606118"
] | 0.0 | -1 |
The ID of the voice profile domain that will store the voice profile. | public void setVoiceProfileDomainId(String voiceProfileDomainId) {
this.voiceProfileDomainId = voiceProfileDomainId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getVoiceProfileDomainId() {\n return this.voiceProfileDomainId;\n }",
"public String getDomainId() {\n return domain;\n }",
"public String domainId() {\n return this.domainId;\n }",
"public String getDomainId() {\n return this.domainId;\n }",
"public Long getDomainId() {\n return domainId;\n }",
"public Long getDomainId() {\n return domainId;\n }",
"public int getProfile_id() {\n return profileID;\n }",
"public String getProfileId() {\n return profileId;\n }",
"String getSubscriptionId();",
"public Long getDomainObjectId()\r\n\t{\r\n\t\treturn this.domainObjectId;\r\n\t}",
"public Long getDomain()\n\t{\n\t\treturn domain;\n\t}",
"public java.lang.String getVideoUserDomainGuid() {\n return videoUserDomainGuid;\n }",
"public java.lang.String getVideoUserDomainCode() {\n return videoUserDomainCode;\n }",
"public String getSid()\n\t{\n\t\treturn conferenceInfo.getAttribute(\"sid\");\n\t}",
"public Integer getProfileId() {\n return _profileId;\n }",
"public String getWaveDomain() {\n return waveDomain;\n }",
"protected String getID(){\n sharedPref = getSharedPreferences(AppCSTR.PREF_NAME, Context.MODE_PRIVATE);\n //Log.d(\"ID\", sharedPref.getString(\"id\", null));\n return sharedPref.getString(AppCSTR.ACCOUNT_ID, null);\n }",
"String getTheirPartyId();",
"String subscriptionId();",
"@Transient\n\tpublic String getSubscriptionId()\t{\n\n\t\tif (mSubscriptionIdLong > 0)\n\t\t\treturn Long.toString(mSubscriptionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}",
"public String getID(){\n return this.getKey().getTenantId(this.getTenantName());\n }",
"@XmlElement(name = \"domain\")\n public String getDomainId() {\n return domainId;\n }",
"String getAccountID();",
"String getAccountID();",
"public static String getEngineDomainId() {\n\t return null;\r\n }",
"public String getDomain() {\n return getProperty(DOMAIN);\n }",
"public String getProfile() {\n return profile;\n }",
"public UUID getIdInstitution() {\n return idInstitution;\n }",
"String getIdentityId();",
"public String getPrefContactId() {\n return getContact().getUid();\n }",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"public String getNsProfileId() {\n return nsProfileId;\n }",
"@Override\n\tpublic long getId() {\n\t\treturn _phieugiahan.getId();\n\t}",
"public String getDomain() {\r\n return domain;\r\n }",
"java.lang.String getRecognitionId();",
"public String getDomain() {\n return domain;\n }",
"public String getDomain() {\n return domain;\n }",
"public String getProfileId() {\n\t\treturn mProfileId;\n\t}",
"public BigDecimal getPROFILE_ID() {\r\n return PROFILE_ID;\r\n }",
"String getProfile();",
"@NonNull\n public String getIdentifier() {\n return mProto.id;\n }",
"private long getOwnID(){\n return authenticationController.getMember() == null ? -1 :authenticationController.getMember().getID();\n }",
"public String getDomain() {\n\t\treturn domain;\n\t}",
"public String getProfile();",
"String getOrganizationPartyId();",
"@Override\n\tpublic String getId() {\n\t\tString pName = ctx.getCallerPrincipal().getName();\n\t\tPerson p = userEJB.findPerson(pName);\n\t\tString id = p.getId()+\"\";\n\t\treturn id;\n\t\t\n\t}",
"public String getProfilesLocation() {\n return profilesLocation;\n }",
"private String getIdentificationString() {\n\t\tif (clientController.client.visitorID.getVal() != null)\n\t\t\treturn clientController.client.visitorID.getVal().intern();\n\t\tif (clientController.client.logedInSubscriber.getVal() != null)\n\t\t\treturn clientController.client.logedInSubscriber.getVal().personalID;\n\t\treturn null;\n\t}",
"String getUserID();",
"public String getTransDomainId() {\n return transDomainId;\n }",
"public Long getProfileId(String profileName)\n {\n // initilaizes the profile names if necessary\n TreeMap names = getProfileNames();\n return (Long) names.get(profileName);\n }",
"public String getSkypeid() {\r\n return skypeid;\r\n }",
"public String id() {\n return definition.getString(ID);\n }",
"String getGameId();",
"public String getSid() {\n\t\treturn getProperty(SID_PROPERTY);\n\t}",
"public Domain getPreferenceDomain() {\n return getPreferenceService().getDomain(getName(), true);\n }",
"public String getUserID();",
"public String getId() {\n switch (this.getType()) {\n case BGP:\n /*return this.bgpConfig.getNeighbors().get(\n this.bgpConfig.getNeighbors().firstKey()).getLocalAs().toString();*/\n case OSPF:\n return this.vrf.getName();\n case STATIC:\n return this.staticConfig.getNetwork().getStartIp().toString();\n }\n return this.vrf.getName();\n }",
"private String getLuisSubscriptionID() {\n return this.getString(R.string.luisSubscriptionID);\n }",
"java.lang.String getPlayerId();",
"public java.lang.String getProfileURL() {\n java.lang.Object ref = profileURL_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n profileURL_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getOrigin() {\n if (originId == null) {\n Utility util = Utility.getInstance();\n String id = util.getUuid();\n if (Platform.appId != null) {\n byte[] hash = crypto.getSHA256(util.getUTF(Platform.appId));\n id = util.bytes2hex(hash).substring(0, id.length());\n }\n originId = util.getDateOnly(new Date()) + id;\n }\n return originId;\n }",
"public synchronized String getProxyID() {\n \n return this.id;\n }",
"public String getToStoreId();",
"java.lang.String getProfileURL();",
"@SuppressWarnings(\"WeakerAccess\")\n public String getId() {\n return mSid;\n }",
"public Integer getConferenceId() {\n return conferenceId;\n }",
"public URI getProfile() { \n\t\treturn getProfileElement().getValue();\n\t}",
"public String getSurveyID()\n\t{\n\t\treturn _avTable.get( ATTR_SURVEY_ID ) ;\n\t}",
"public String getId() {\r\n\t\treturn userId.toString();\r\n\t}",
"public String getUserID(){\n return mSharedPreferences.getString(SharedPrefContract.PREF_USER_ID, null);\n }",
"public String getPROFILE_NAME() {\r\n return PROFILE_NAME;\r\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"Profile getProfile( String profileId );",
"String getServerId();",
"public String getPaternalID();",
"public String getWebSiteId() {\r\n\t\treturn webSiteId;\r\n\t}",
"public String getCallId();",
"public String getProfileUrl() {\n\t\treturn profileUrl;\n\t}",
"public String getFromStoreId();",
"public static String getPhoneId(Context context) {\n \t\tString PhoneId = Settings.Secure.getString(context.getContentResolver(),Settings.Secure.ANDROID_ID);\n \t\treturn PhoneId;\n \n \t}",
"public static long getIdConnected(Context ctx) {\n\t\tSharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(ctx);\n\t\treturn preferences.getLong(PreferenceConstants.ACCOUNT_ID, 0L);\n\t}",
"public String getParentProfile() {\n\t\treturn mParentProfile == null ? new String() : mParentProfile.getName();\n\t}",
"public long getPersonId();",
"java.lang.String getFortId();",
"public java.lang.String getProfileURL() {\n java.lang.Object ref = profileURL_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n profileURL_ = s;\n return s;\n }\n }",
"long getCaptureFestivalId();",
"String getDomain();",
"ParticipantId getId();",
"public void setDomainId(String domainId) {\n this.domainId = domainId;\n }",
"private String getActiveProfile() {\r\n String[] profiles = env.getActiveProfiles();\r\n String activeProfile = \"add\";\r\n if (profiles != null && profiles.length > 0) {\r\n activeProfile = profiles[0];\r\n }\r\n System.out.println(\"===== The active profile is \" + activeProfile + \" =====\");\r\n return(activeProfile);\r\n }",
"public AppID getIdentifier () ;"
] | [
"0.83224577",
"0.65431035",
"0.63746285",
"0.6190749",
"0.6140771",
"0.6140771",
"0.59775054",
"0.57961947",
"0.5768568",
"0.5692425",
"0.5647184",
"0.5641734",
"0.55940276",
"0.5560394",
"0.55417866",
"0.549428",
"0.5487281",
"0.5465579",
"0.54343504",
"0.54300946",
"0.53988796",
"0.5397665",
"0.5390331",
"0.5390331",
"0.5373676",
"0.53596616",
"0.53595036",
"0.5358373",
"0.53375787",
"0.5297503",
"0.52591956",
"0.52591956",
"0.52591956",
"0.5257009",
"0.525203",
"0.52479684",
"0.5241349",
"0.5231819",
"0.5231819",
"0.5227176",
"0.5222105",
"0.5216393",
"0.5213642",
"0.5198815",
"0.5143854",
"0.51364774",
"0.512815",
"0.51249814",
"0.51164365",
"0.5107606",
"0.5098925",
"0.50786585",
"0.5073564",
"0.5069772",
"0.5062068",
"0.50598866",
"0.5051516",
"0.5050889",
"0.5032715",
"0.50293934",
"0.50275433",
"0.5024325",
"0.50227135",
"0.5021153",
"0.50205886",
"0.50136906",
"0.50117797",
"0.5011351",
"0.50111526",
"0.49986228",
"0.4981718",
"0.49729544",
"0.49708822",
"0.49676657",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.4964474",
"0.49608606",
"0.49569422",
"0.49553442",
"0.49521527",
"0.49506608",
"0.49478683",
"0.49449798",
"0.49424946",
"0.49365947",
"0.4935955",
"0.49345952",
"0.4933778",
"0.49316785",
"0.49315608",
"0.4930073",
"0.49298397",
"0.4929085",
"0.4928644"
] | 0.64701986 | 2 |
The ID of the voice profile domain that will store the voice profile. | public String getVoiceProfileDomainId() {
return this.voiceProfileDomainId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getDomainId() {\n return domain;\n }",
"public void setVoiceProfileDomainId(String voiceProfileDomainId) {\n this.voiceProfileDomainId = voiceProfileDomainId;\n }",
"public String domainId() {\n return this.domainId;\n }",
"public String getDomainId() {\n return this.domainId;\n }",
"public Long getDomainId() {\n return domainId;\n }",
"public Long getDomainId() {\n return domainId;\n }",
"public int getProfile_id() {\n return profileID;\n }",
"public String getProfileId() {\n return profileId;\n }",
"String getSubscriptionId();",
"public Long getDomainObjectId()\r\n\t{\r\n\t\treturn this.domainObjectId;\r\n\t}",
"public Long getDomain()\n\t{\n\t\treturn domain;\n\t}",
"public java.lang.String getVideoUserDomainGuid() {\n return videoUserDomainGuid;\n }",
"public java.lang.String getVideoUserDomainCode() {\n return videoUserDomainCode;\n }",
"public String getSid()\n\t{\n\t\treturn conferenceInfo.getAttribute(\"sid\");\n\t}",
"public Integer getProfileId() {\n return _profileId;\n }",
"public String getWaveDomain() {\n return waveDomain;\n }",
"protected String getID(){\n sharedPref = getSharedPreferences(AppCSTR.PREF_NAME, Context.MODE_PRIVATE);\n //Log.d(\"ID\", sharedPref.getString(\"id\", null));\n return sharedPref.getString(AppCSTR.ACCOUNT_ID, null);\n }",
"String getTheirPartyId();",
"String subscriptionId();",
"@Transient\n\tpublic String getSubscriptionId()\t{\n\n\t\tif (mSubscriptionIdLong > 0)\n\t\t\treturn Long.toString(mSubscriptionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}",
"public String getID(){\n return this.getKey().getTenantId(this.getTenantName());\n }",
"@XmlElement(name = \"domain\")\n public String getDomainId() {\n return domainId;\n }",
"String getAccountID();",
"String getAccountID();",
"public static String getEngineDomainId() {\n\t return null;\r\n }",
"public String getDomain() {\n return getProperty(DOMAIN);\n }",
"public String getProfile() {\n return profile;\n }",
"public UUID getIdInstitution() {\n return idInstitution;\n }",
"String getIdentityId();",
"public String getPrefContactId() {\n return getContact().getUid();\n }",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"public String getNsProfileId() {\n return nsProfileId;\n }",
"@Override\n\tpublic long getId() {\n\t\treturn _phieugiahan.getId();\n\t}",
"public String getDomain() {\r\n return domain;\r\n }",
"java.lang.String getRecognitionId();",
"public String getDomain() {\n return domain;\n }",
"public String getDomain() {\n return domain;\n }",
"public String getProfileId() {\n\t\treturn mProfileId;\n\t}",
"public BigDecimal getPROFILE_ID() {\r\n return PROFILE_ID;\r\n }",
"String getProfile();",
"@NonNull\n public String getIdentifier() {\n return mProto.id;\n }",
"private long getOwnID(){\n return authenticationController.getMember() == null ? -1 :authenticationController.getMember().getID();\n }",
"public String getDomain() {\n\t\treturn domain;\n\t}",
"public String getProfile();",
"String getOrganizationPartyId();",
"@Override\n\tpublic String getId() {\n\t\tString pName = ctx.getCallerPrincipal().getName();\n\t\tPerson p = userEJB.findPerson(pName);\n\t\tString id = p.getId()+\"\";\n\t\treturn id;\n\t\t\n\t}",
"public String getProfilesLocation() {\n return profilesLocation;\n }",
"private String getIdentificationString() {\n\t\tif (clientController.client.visitorID.getVal() != null)\n\t\t\treturn clientController.client.visitorID.getVal().intern();\n\t\tif (clientController.client.logedInSubscriber.getVal() != null)\n\t\t\treturn clientController.client.logedInSubscriber.getVal().personalID;\n\t\treturn null;\n\t}",
"String getUserID();",
"public String getTransDomainId() {\n return transDomainId;\n }",
"public Long getProfileId(String profileName)\n {\n // initilaizes the profile names if necessary\n TreeMap names = getProfileNames();\n return (Long) names.get(profileName);\n }",
"public String getSkypeid() {\r\n return skypeid;\r\n }",
"public String id() {\n return definition.getString(ID);\n }",
"String getGameId();",
"public String getSid() {\n\t\treturn getProperty(SID_PROPERTY);\n\t}",
"public Domain getPreferenceDomain() {\n return getPreferenceService().getDomain(getName(), true);\n }",
"public String getUserID();",
"public String getId() {\n switch (this.getType()) {\n case BGP:\n /*return this.bgpConfig.getNeighbors().get(\n this.bgpConfig.getNeighbors().firstKey()).getLocalAs().toString();*/\n case OSPF:\n return this.vrf.getName();\n case STATIC:\n return this.staticConfig.getNetwork().getStartIp().toString();\n }\n return this.vrf.getName();\n }",
"private String getLuisSubscriptionID() {\n return this.getString(R.string.luisSubscriptionID);\n }",
"java.lang.String getPlayerId();",
"public java.lang.String getProfileURL() {\n java.lang.Object ref = profileURL_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n profileURL_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getOrigin() {\n if (originId == null) {\n Utility util = Utility.getInstance();\n String id = util.getUuid();\n if (Platform.appId != null) {\n byte[] hash = crypto.getSHA256(util.getUTF(Platform.appId));\n id = util.bytes2hex(hash).substring(0, id.length());\n }\n originId = util.getDateOnly(new Date()) + id;\n }\n return originId;\n }",
"public synchronized String getProxyID() {\n \n return this.id;\n }",
"public String getToStoreId();",
"java.lang.String getProfileURL();",
"@SuppressWarnings(\"WeakerAccess\")\n public String getId() {\n return mSid;\n }",
"public Integer getConferenceId() {\n return conferenceId;\n }",
"public URI getProfile() { \n\t\treturn getProfileElement().getValue();\n\t}",
"public String getSurveyID()\n\t{\n\t\treturn _avTable.get( ATTR_SURVEY_ID ) ;\n\t}",
"public String getId() {\r\n\t\treturn userId.toString();\r\n\t}",
"public String getUserID(){\n return mSharedPreferences.getString(SharedPrefContract.PREF_USER_ID, null);\n }",
"public String getPROFILE_NAME() {\r\n return PROFILE_NAME;\r\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"Profile getProfile( String profileId );",
"String getServerId();",
"public String getPaternalID();",
"public String getWebSiteId() {\r\n\t\treturn webSiteId;\r\n\t}",
"public String getCallId();",
"public String getProfileUrl() {\n\t\treturn profileUrl;\n\t}",
"public String getFromStoreId();",
"public static String getPhoneId(Context context) {\n \t\tString PhoneId = Settings.Secure.getString(context.getContentResolver(),Settings.Secure.ANDROID_ID);\n \t\treturn PhoneId;\n \n \t}",
"public static long getIdConnected(Context ctx) {\n\t\tSharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(ctx);\n\t\treturn preferences.getLong(PreferenceConstants.ACCOUNT_ID, 0L);\n\t}",
"public String getParentProfile() {\n\t\treturn mParentProfile == null ? new String() : mParentProfile.getName();\n\t}",
"public long getPersonId();",
"java.lang.String getFortId();",
"public java.lang.String getProfileURL() {\n java.lang.Object ref = profileURL_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n profileURL_ = s;\n return s;\n }\n }",
"long getCaptureFestivalId();",
"String getDomain();",
"ParticipantId getId();",
"public void setDomainId(String domainId) {\n this.domainId = domainId;\n }",
"private String getActiveProfile() {\r\n String[] profiles = env.getActiveProfiles();\r\n String activeProfile = \"add\";\r\n if (profiles != null && profiles.length > 0) {\r\n activeProfile = profiles[0];\r\n }\r\n System.out.println(\"===== The active profile is \" + activeProfile + \" =====\");\r\n return(activeProfile);\r\n }",
"public AppID getIdentifier () ;"
] | [
"0.65431035",
"0.64701986",
"0.63746285",
"0.6190749",
"0.6140771",
"0.6140771",
"0.59775054",
"0.57961947",
"0.5768568",
"0.5692425",
"0.5647184",
"0.5641734",
"0.55940276",
"0.5560394",
"0.55417866",
"0.549428",
"0.5487281",
"0.5465579",
"0.54343504",
"0.54300946",
"0.53988796",
"0.5397665",
"0.5390331",
"0.5390331",
"0.5373676",
"0.53596616",
"0.53595036",
"0.5358373",
"0.53375787",
"0.5297503",
"0.52591956",
"0.52591956",
"0.52591956",
"0.5257009",
"0.525203",
"0.52479684",
"0.5241349",
"0.5231819",
"0.5231819",
"0.5227176",
"0.5222105",
"0.5216393",
"0.5213642",
"0.5198815",
"0.5143854",
"0.51364774",
"0.512815",
"0.51249814",
"0.51164365",
"0.5107606",
"0.5098925",
"0.50786585",
"0.5073564",
"0.5069772",
"0.5062068",
"0.50598866",
"0.5051516",
"0.5050889",
"0.5032715",
"0.50293934",
"0.50275433",
"0.5024325",
"0.50227135",
"0.5021153",
"0.50205886",
"0.50136906",
"0.50117797",
"0.5011351",
"0.50111526",
"0.49986228",
"0.4981718",
"0.49729544",
"0.49708822",
"0.49676657",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.4964474",
"0.49608606",
"0.49569422",
"0.49553442",
"0.49521527",
"0.49506608",
"0.49478683",
"0.49449798",
"0.49424946",
"0.49365947",
"0.4935955",
"0.49345952",
"0.4933778",
"0.49316785",
"0.49315608",
"0.4930073",
"0.49298397",
"0.4929085",
"0.4928644"
] | 0.83224577 | 0 |
The ID of the voice profile domain that will store the voice profile. | public StartSpeakerSearchTaskRequest withVoiceProfileDomainId(String voiceProfileDomainId) {
setVoiceProfileDomainId(voiceProfileDomainId);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getVoiceProfileDomainId() {\n return this.voiceProfileDomainId;\n }",
"public String getDomainId() {\n return domain;\n }",
"public void setVoiceProfileDomainId(String voiceProfileDomainId) {\n this.voiceProfileDomainId = voiceProfileDomainId;\n }",
"public String domainId() {\n return this.domainId;\n }",
"public String getDomainId() {\n return this.domainId;\n }",
"public Long getDomainId() {\n return domainId;\n }",
"public Long getDomainId() {\n return domainId;\n }",
"public int getProfile_id() {\n return profileID;\n }",
"public String getProfileId() {\n return profileId;\n }",
"String getSubscriptionId();",
"public Long getDomainObjectId()\r\n\t{\r\n\t\treturn this.domainObjectId;\r\n\t}",
"public Long getDomain()\n\t{\n\t\treturn domain;\n\t}",
"public java.lang.String getVideoUserDomainGuid() {\n return videoUserDomainGuid;\n }",
"public java.lang.String getVideoUserDomainCode() {\n return videoUserDomainCode;\n }",
"public String getSid()\n\t{\n\t\treturn conferenceInfo.getAttribute(\"sid\");\n\t}",
"public Integer getProfileId() {\n return _profileId;\n }",
"public String getWaveDomain() {\n return waveDomain;\n }",
"protected String getID(){\n sharedPref = getSharedPreferences(AppCSTR.PREF_NAME, Context.MODE_PRIVATE);\n //Log.d(\"ID\", sharedPref.getString(\"id\", null));\n return sharedPref.getString(AppCSTR.ACCOUNT_ID, null);\n }",
"String getTheirPartyId();",
"String subscriptionId();",
"@Transient\n\tpublic String getSubscriptionId()\t{\n\n\t\tif (mSubscriptionIdLong > 0)\n\t\t\treturn Long.toString(mSubscriptionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}",
"public String getID(){\n return this.getKey().getTenantId(this.getTenantName());\n }",
"@XmlElement(name = \"domain\")\n public String getDomainId() {\n return domainId;\n }",
"String getAccountID();",
"String getAccountID();",
"public static String getEngineDomainId() {\n\t return null;\r\n }",
"public String getDomain() {\n return getProperty(DOMAIN);\n }",
"public String getProfile() {\n return profile;\n }",
"public UUID getIdInstitution() {\n return idInstitution;\n }",
"String getIdentityId();",
"public String getPrefContactId() {\n return getContact().getUid();\n }",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"public String getNsProfileId() {\n return nsProfileId;\n }",
"@Override\n\tpublic long getId() {\n\t\treturn _phieugiahan.getId();\n\t}",
"public String getDomain() {\r\n return domain;\r\n }",
"java.lang.String getRecognitionId();",
"public String getDomain() {\n return domain;\n }",
"public String getDomain() {\n return domain;\n }",
"public String getProfileId() {\n\t\treturn mProfileId;\n\t}",
"public BigDecimal getPROFILE_ID() {\r\n return PROFILE_ID;\r\n }",
"String getProfile();",
"@NonNull\n public String getIdentifier() {\n return mProto.id;\n }",
"private long getOwnID(){\n return authenticationController.getMember() == null ? -1 :authenticationController.getMember().getID();\n }",
"public String getDomain() {\n\t\treturn domain;\n\t}",
"public String getProfile();",
"String getOrganizationPartyId();",
"@Override\n\tpublic String getId() {\n\t\tString pName = ctx.getCallerPrincipal().getName();\n\t\tPerson p = userEJB.findPerson(pName);\n\t\tString id = p.getId()+\"\";\n\t\treturn id;\n\t\t\n\t}",
"public String getProfilesLocation() {\n return profilesLocation;\n }",
"private String getIdentificationString() {\n\t\tif (clientController.client.visitorID.getVal() != null)\n\t\t\treturn clientController.client.visitorID.getVal().intern();\n\t\tif (clientController.client.logedInSubscriber.getVal() != null)\n\t\t\treturn clientController.client.logedInSubscriber.getVal().personalID;\n\t\treturn null;\n\t}",
"String getUserID();",
"public String getTransDomainId() {\n return transDomainId;\n }",
"public Long getProfileId(String profileName)\n {\n // initilaizes the profile names if necessary\n TreeMap names = getProfileNames();\n return (Long) names.get(profileName);\n }",
"public String getSkypeid() {\r\n return skypeid;\r\n }",
"public String id() {\n return definition.getString(ID);\n }",
"String getGameId();",
"public String getSid() {\n\t\treturn getProperty(SID_PROPERTY);\n\t}",
"public Domain getPreferenceDomain() {\n return getPreferenceService().getDomain(getName(), true);\n }",
"public String getUserID();",
"public String getId() {\n switch (this.getType()) {\n case BGP:\n /*return this.bgpConfig.getNeighbors().get(\n this.bgpConfig.getNeighbors().firstKey()).getLocalAs().toString();*/\n case OSPF:\n return this.vrf.getName();\n case STATIC:\n return this.staticConfig.getNetwork().getStartIp().toString();\n }\n return this.vrf.getName();\n }",
"private String getLuisSubscriptionID() {\n return this.getString(R.string.luisSubscriptionID);\n }",
"java.lang.String getPlayerId();",
"public java.lang.String getProfileURL() {\n java.lang.Object ref = profileURL_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n profileURL_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getOrigin() {\n if (originId == null) {\n Utility util = Utility.getInstance();\n String id = util.getUuid();\n if (Platform.appId != null) {\n byte[] hash = crypto.getSHA256(util.getUTF(Platform.appId));\n id = util.bytes2hex(hash).substring(0, id.length());\n }\n originId = util.getDateOnly(new Date()) + id;\n }\n return originId;\n }",
"public synchronized String getProxyID() {\n \n return this.id;\n }",
"public String getToStoreId();",
"java.lang.String getProfileURL();",
"@SuppressWarnings(\"WeakerAccess\")\n public String getId() {\n return mSid;\n }",
"public Integer getConferenceId() {\n return conferenceId;\n }",
"public URI getProfile() { \n\t\treturn getProfileElement().getValue();\n\t}",
"public String getSurveyID()\n\t{\n\t\treturn _avTable.get( ATTR_SURVEY_ID ) ;\n\t}",
"public String getId() {\r\n\t\treturn userId.toString();\r\n\t}",
"public String getUserID(){\n return mSharedPreferences.getString(SharedPrefContract.PREF_USER_ID, null);\n }",
"public String getPROFILE_NAME() {\r\n return PROFILE_NAME;\r\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getSID() {\n java.lang.Object ref = sID_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n sID_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"Profile getProfile( String profileId );",
"String getServerId();",
"public String getPaternalID();",
"public String getWebSiteId() {\r\n\t\treturn webSiteId;\r\n\t}",
"public String getCallId();",
"public String getProfileUrl() {\n\t\treturn profileUrl;\n\t}",
"public String getFromStoreId();",
"public static String getPhoneId(Context context) {\n \t\tString PhoneId = Settings.Secure.getString(context.getContentResolver(),Settings.Secure.ANDROID_ID);\n \t\treturn PhoneId;\n \n \t}",
"public static long getIdConnected(Context ctx) {\n\t\tSharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(ctx);\n\t\treturn preferences.getLong(PreferenceConstants.ACCOUNT_ID, 0L);\n\t}",
"public String getParentProfile() {\n\t\treturn mParentProfile == null ? new String() : mParentProfile.getName();\n\t}",
"public long getPersonId();",
"java.lang.String getFortId();",
"public java.lang.String getProfileURL() {\n java.lang.Object ref = profileURL_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n profileURL_ = s;\n return s;\n }\n }",
"long getCaptureFestivalId();",
"String getDomain();",
"ParticipantId getId();",
"public void setDomainId(String domainId) {\n this.domainId = domainId;\n }",
"private String getActiveProfile() {\r\n String[] profiles = env.getActiveProfiles();\r\n String activeProfile = \"add\";\r\n if (profiles != null && profiles.length > 0) {\r\n activeProfile = profiles[0];\r\n }\r\n System.out.println(\"===== The active profile is \" + activeProfile + \" =====\");\r\n return(activeProfile);\r\n }",
"public AppID getIdentifier () ;"
] | [
"0.83224577",
"0.65431035",
"0.64701986",
"0.63746285",
"0.6190749",
"0.6140771",
"0.6140771",
"0.59775054",
"0.57961947",
"0.5768568",
"0.5692425",
"0.5647184",
"0.5641734",
"0.55940276",
"0.5560394",
"0.55417866",
"0.549428",
"0.5487281",
"0.5465579",
"0.54343504",
"0.54300946",
"0.53988796",
"0.5397665",
"0.5390331",
"0.5390331",
"0.5373676",
"0.53596616",
"0.53595036",
"0.5358373",
"0.53375787",
"0.5297503",
"0.52591956",
"0.52591956",
"0.52591956",
"0.5257009",
"0.525203",
"0.52479684",
"0.5241349",
"0.5231819",
"0.5231819",
"0.5227176",
"0.5222105",
"0.5216393",
"0.5213642",
"0.5198815",
"0.5143854",
"0.51364774",
"0.512815",
"0.51249814",
"0.51164365",
"0.5107606",
"0.5098925",
"0.50786585",
"0.5073564",
"0.5069772",
"0.5062068",
"0.50598866",
"0.5051516",
"0.5050889",
"0.5032715",
"0.50293934",
"0.50275433",
"0.5024325",
"0.50227135",
"0.5021153",
"0.50205886",
"0.50136906",
"0.50117797",
"0.5011351",
"0.50111526",
"0.49986228",
"0.4981718",
"0.49729544",
"0.49708822",
"0.49676657",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.49670473",
"0.4964474",
"0.49608606",
"0.49569422",
"0.49553442",
"0.49521527",
"0.49506608",
"0.49478683",
"0.49449798",
"0.49424946",
"0.49365947",
"0.4935955",
"0.49345952",
"0.4933778",
"0.49316785",
"0.49315608",
"0.4930073",
"0.49298397",
"0.4929085",
"0.4928644"
] | 0.0 | -1 |
The unique identifier for the client request. Use a different token for different speaker search tasks. | public void setClientRequestToken(String clientRequestToken) {
this.clientRequestToken = clientRequestToken;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getRequestID();",
"UUID clientId();",
"public String getIdToken() throws IOException {\n return (String)userInfo.get(\"id_token\");\n }",
"public String clientId() {\n return clientId;\n }",
"@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }",
"@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }",
"public UUID clientId() {\n return clientId;\n }",
"public String getCurrentRequestId()\n\t{\n\t\tString reqID = (String) MDC.get(REQUEST_ID);\n\t\tif (reqID == null || \"\".equals(reqID))\n\t\t{\n\t\t\treqID = \"RID_\" + UUID.randomUUID().toString();\n\t\t\tMDC.put(REQUEST_ID, reqID);\n\t\t}\n\t\treturn reqID;\n\t}",
"String getTheirPartyId();",
"public String getTokenId() {\n return tokenId;\n }",
"public String getIdrequest() {\r\n\t\treturn idrequest;\r\n\t}",
"java.lang.String getClientId();",
"private String getClientId()\n {\n String clientId = null;\n try {\n clientId = IdentificationLoader.usingDefault().getClientId();\n } catch (IOException e) {\n System.out.println(\"Could not load client ID\");\n e.printStackTrace();\n System.exit(1);\n }\n return clientId;\n }",
"private static String getAppTokenId() {\n if (appTokenId == null) {\n synchronized (DefaultEntityManagerImpl.class) {\n if (appTokenId == null) {\n try {\n if (OAuthProperties.isServerMode()) {\n appTokenId = OAuthServiceUtils.getAdminTokenId();\n }\n else {\n final String username =\n OAuthProperties.get(PathDefs.APP_USER_NAME);\n final String password =\n OAuthProperties.get(PathDefs.APP_USER_PASSWORD);\n appTokenId =\n OAuthServiceUtils.authenticate(username, password, false);\n }\n }\n catch (final OAuthServiceException oe) {\n Logger.getLogger(DefaultEntityManagerImpl.class.getName()).log(\n Level.SEVERE, null, oe);\n throw new WebApplicationException(oe);\n }\n }\n }\n }\n return appTokenId;\n }",
"public String getClientRequestToken() {\n return this.clientRequestToken;\n }",
"public String getClientRequestToken() {\n return this.clientRequestToken;\n }",
"public String getClientRequestToken() {\n return this.clientRequestToken;\n }",
"@Override\n\tpublic String getTokenId() {\n\t\treturn null;\n\t}",
"String getPrimaryToken();",
"@Nullable\n public String getIdToken() {\n return idToken;\n }",
"public static String getTransId() {\n\n return MDC.get(MDC_KEY_REQUEST_ID);\n }",
"@ApiModelProperty(value = \"Unique identifier of token\")\n public Long getId() {\n return id;\n }",
"public String generateClientId() {\n return clientIdGenerator.generate().toString();\n }",
"int getClientSessionID();",
"public io.lightcone.data.types.TokenID getTokenId() {\n if (tokenIdBuilder_ == null) {\n return tokenId_ == null ? io.lightcone.data.types.TokenID.getDefaultInstance() : tokenId_;\n } else {\n return tokenIdBuilder_.getMessage();\n }\n }",
"public UUID getXMsClientRequestId() {\n return this.xMsClientRequestId;\n }",
"public String getClientID(){\n return clientID;\n }",
"@Override\r\n public int getTokenId()\r\n {\r\n return this.tokenId;\r\n }",
"java.lang.String getClientRecordId();",
"String getClientId();",
"String getClientId();",
"public Object clientId() {\n return this.clientId;\n }",
"public String getClientToken() {\n return clientToken;\n }",
"public String getClientToken() {\n return clientToken;\n }",
"protected String getIdentifier() {\n return getBaseUrl() + normalizePath(getRequest().getPath());\n }",
"private static synchronized String getNextRequestId()\n {\n if (++nextRequestId < 0)\n {\n nextRequestId = 0;\n }\n String id = Integer.toString(nextRequestId);\n return id;\n }",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}",
"java.lang.String getRecognitionId();",
"public final String getClientId() {\n return clientId;\n }",
"public String getTokenId() {\n return this.TokenId;\n }",
"public java.lang.StringBuilder getClientId()\n {\n return client_id_;\n }",
"public java.lang.String getTokenId() {\n java.lang.Object ref = tokenId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n tokenId_ = s;\n return s;\n }\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"private String getNewConversationId( )\r\n {\r\n return UUID.randomUUID( ).toString( );\r\n }",
"String getCreatorId();",
"public String getClientId() {\n return clientId;\n }",
"public String getID() {\n return tokenString_ID != null ? tokenString_ID : \"\";\n }",
"public static byte[] generateClientId() {\n byte[] selfBytes = getIpAddressBytes();\n Long pid = getPid();\n long tid = Thread.currentThread().getId();\n long ts = EnvironmentEdgeManager.currentTime();\n\n byte[] id = new byte[selfBytes.length + ((pid != null ? 1 : 0) + 2) * Bytes.SIZEOF_LONG];\n int offset = Bytes.putBytes(id, 0, selfBytes, 0, selfBytes.length);\n if (pid != null) {\n offset = Bytes.putLong(id, offset, pid);\n }\n offset = Bytes.putLong(id, offset, tid);\n offset = Bytes.putLong(id, offset, ts);\n assert offset == id.length;\n return id;\n }",
"public byte getClientId()\r\n\t{\r\n\t\treturn _clientId;\r\n\t}",
"java.lang.String getSenderId();",
"public String getTokenServiceId() {\n return tokenServiceId;\n }",
"@Override\n public String getBotToken() {\n return \"412386556:AAHawYQpPaNLFdnpckQsYr7c3YdBQZEXy0I\";\n }",
"public String getClientId() {\n return clientId;\n }",
"public java.lang.String getTokenId() {\n java.lang.Object ref = tokenId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n tokenId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getClientId() {\n \treturn clientId;\n }",
"protected String createRequestId(HttpServletRequest ignored) {\n return idGenerator.next();\n }",
"int getClientId();",
"public final String getIdentifier() {\n return ServerUtils.getIdentifier(name, ip, port);\n }",
"public JWT getIDToken() {\n return idToken;\n }",
"public Integer getClientId() { return clientId; }",
"public Object getClientId()\n {\n return clientId; // Field is final; no need to sync.\n }",
"public String getClientId() {\n Object ref = clientId_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n clientId_ = s;\n }\n return s;\n }\n }",
"public int getClientSessionID() {\n return clientSessionID_;\n }",
"public String getId() {\n\t\treturn _sessionId;\n\t}",
"public String getTicketId() {\n String ticketId = getParameter(CosmoDavConstants.PARAM_TICKET);\n if (ticketId == null) {\n ticketId = getHeader(CosmoDavConstants.HEADER_TICKET);\n }\n return ticketId;\n }",
"public Long getTokenId() {\n\t\treturn tokenId;\n\t}",
"protected static String generateToken()\n\t{\n\t\treturn UUID.randomUUID().toString();\n\t}",
"public String getClientId() {\n Object ref = clientId_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n clientId_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }",
"public Integer getClientId() {\r\n\t\treturn clientId;\r\n\t}",
"abstract UUID getRequestId();",
"public ClientID getClientID() {\n return clientID;\n }",
"public String getClientId() {\n return clientId;\n }",
"public String getClientId() {\n\t\treturn clientId;\n\t}",
"private String makeSessionId() {\n if (shareMr3Session) {\n String globalMr3SessionIdFromEnv = System.getenv(MR3_SHARED_SESSION_ID);\n useGlobalMr3SessionIdFromEnv = globalMr3SessionIdFromEnv != null && !globalMr3SessionIdFromEnv.isEmpty();\n if (useGlobalMr3SessionIdFromEnv) {\n return globalMr3SessionIdFromEnv;\n } else {\n return UUID.randomUUID().toString();\n }\n } else {\n return UUID.randomUUID().toString();\n }\n }",
"com.google.protobuf.ByteString getClientIdBytes();",
"public String getUniqueId() {\n\t\treturn m_serverName + \" - \" + m_userId + \" - \" + m_timestampMillisecs;\n\t}",
"private String getIdentificationString() {\n\t\tif (clientController.client.visitorID.getVal() != null)\n\t\t\treturn clientController.client.visitorID.getVal().intern();\n\t\tif (clientController.client.logedInSubscriber.getVal() != null)\n\t\t\treturn clientController.client.logedInSubscriber.getVal().personalID;\n\t\treturn null;\n\t}",
"String getUniqueId();",
"public String getApplicationId();",
"public int getClientSessionID() {\n return clientSessionID_;\n }",
"public static String getToken() {\n String token = \"96179ce8939c4cdfacba65baab1d5ff8\";\n return token;\n }",
"String getServerId();",
"public int getClientId() {\n\t\treturn clientIDCounter++;\n\t}",
"public int getClientRequestId() {\n return clientRequestId;\n }",
"public int getClientID() {\r\n\t\treturn this.clientID;\r\n\t}",
"private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }",
"public java.lang.String getClientIdAsString()\n {\n return getClientId().toString();\n }",
"String getIdentityId();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"public int currentClientID(){\n return clientID;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"private static int nextClientId(){\n\n\t\tint id = random.nextInt(U16_MAX +1);\n\n\t\twhile(clients.containsKey(id))\n\t\t\tid = random.nextInt(U16_MAX +1);\n\n\t\treturn id;\n\t}",
"String getContextId();",
"public String getUniqueId() {\n return _uniqueId;\n }"
] | [
"0.6893989",
"0.6691725",
"0.6604881",
"0.6441239",
"0.64374727",
"0.6332782",
"0.6324349",
"0.6313217",
"0.6300767",
"0.62958354",
"0.62886256",
"0.6263763",
"0.6250189",
"0.6239441",
"0.6230748",
"0.6230748",
"0.6230748",
"0.6218041",
"0.6193537",
"0.618803",
"0.6139459",
"0.6119686",
"0.6117219",
"0.61112994",
"0.6103158",
"0.61026603",
"0.6097365",
"0.6089203",
"0.60390544",
"0.601552",
"0.601552",
"0.5968855",
"0.59652066",
"0.59652066",
"0.59615386",
"0.59385604",
"0.5929974",
"0.5929505",
"0.59281933",
"0.5920215",
"0.5881204",
"0.58788276",
"0.58656347",
"0.58656347",
"0.58656347",
"0.58656347",
"0.58633536",
"0.58452755",
"0.58444273",
"0.5837632",
"0.5832433",
"0.5831964",
"0.582773",
"0.5825217",
"0.5823616",
"0.5813924",
"0.58138764",
"0.5808912",
"0.5794476",
"0.5788511",
"0.5788377",
"0.5779184",
"0.57752025",
"0.57734454",
"0.57690406",
"0.5748165",
"0.5747443",
"0.57451123",
"0.5730475",
"0.57289106",
"0.57273585",
"0.57242215",
"0.57240623",
"0.5723267",
"0.571628",
"0.56790286",
"0.56653327",
"0.5663157",
"0.5654226",
"0.56403315",
"0.56394964",
"0.56330544",
"0.56302404",
"0.56278837",
"0.5620523",
"0.5618906",
"0.56123424",
"0.56099355",
"0.55990285",
"0.5598308",
"0.5597175",
"0.55970275",
"0.55970275",
"0.55970275",
"0.55932885",
"0.5591605",
"0.5591605",
"0.5591605",
"0.55868757",
"0.5585891",
"0.5574272"
] | 0.0 | -1 |
The unique identifier for the client request. Use a different token for different speaker search tasks. | public String getClientRequestToken() {
return this.clientRequestToken;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getRequestID();",
"UUID clientId();",
"public String getIdToken() throws IOException {\n return (String)userInfo.get(\"id_token\");\n }",
"public String clientId() {\n return clientId;\n }",
"@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }",
"@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }",
"public UUID clientId() {\n return clientId;\n }",
"public String getCurrentRequestId()\n\t{\n\t\tString reqID = (String) MDC.get(REQUEST_ID);\n\t\tif (reqID == null || \"\".equals(reqID))\n\t\t{\n\t\t\treqID = \"RID_\" + UUID.randomUUID().toString();\n\t\t\tMDC.put(REQUEST_ID, reqID);\n\t\t}\n\t\treturn reqID;\n\t}",
"String getTheirPartyId();",
"public String getTokenId() {\n return tokenId;\n }",
"public String getIdrequest() {\r\n\t\treturn idrequest;\r\n\t}",
"java.lang.String getClientId();",
"private String getClientId()\n {\n String clientId = null;\n try {\n clientId = IdentificationLoader.usingDefault().getClientId();\n } catch (IOException e) {\n System.out.println(\"Could not load client ID\");\n e.printStackTrace();\n System.exit(1);\n }\n return clientId;\n }",
"private static String getAppTokenId() {\n if (appTokenId == null) {\n synchronized (DefaultEntityManagerImpl.class) {\n if (appTokenId == null) {\n try {\n if (OAuthProperties.isServerMode()) {\n appTokenId = OAuthServiceUtils.getAdminTokenId();\n }\n else {\n final String username =\n OAuthProperties.get(PathDefs.APP_USER_NAME);\n final String password =\n OAuthProperties.get(PathDefs.APP_USER_PASSWORD);\n appTokenId =\n OAuthServiceUtils.authenticate(username, password, false);\n }\n }\n catch (final OAuthServiceException oe) {\n Logger.getLogger(DefaultEntityManagerImpl.class.getName()).log(\n Level.SEVERE, null, oe);\n throw new WebApplicationException(oe);\n }\n }\n }\n }\n return appTokenId;\n }",
"@Override\n\tpublic String getTokenId() {\n\t\treturn null;\n\t}",
"String getPrimaryToken();",
"@Nullable\n public String getIdToken() {\n return idToken;\n }",
"public static String getTransId() {\n\n return MDC.get(MDC_KEY_REQUEST_ID);\n }",
"@ApiModelProperty(value = \"Unique identifier of token\")\n public Long getId() {\n return id;\n }",
"public String generateClientId() {\n return clientIdGenerator.generate().toString();\n }",
"int getClientSessionID();",
"public io.lightcone.data.types.TokenID getTokenId() {\n if (tokenIdBuilder_ == null) {\n return tokenId_ == null ? io.lightcone.data.types.TokenID.getDefaultInstance() : tokenId_;\n } else {\n return tokenIdBuilder_.getMessage();\n }\n }",
"public UUID getXMsClientRequestId() {\n return this.xMsClientRequestId;\n }",
"public String getClientID(){\n return clientID;\n }",
"@Override\r\n public int getTokenId()\r\n {\r\n return this.tokenId;\r\n }",
"java.lang.String getClientRecordId();",
"String getClientId();",
"String getClientId();",
"public Object clientId() {\n return this.clientId;\n }",
"public String getClientToken() {\n return clientToken;\n }",
"public String getClientToken() {\n return clientToken;\n }",
"protected String getIdentifier() {\n return getBaseUrl() + normalizePath(getRequest().getPath());\n }",
"private static synchronized String getNextRequestId()\n {\n if (++nextRequestId < 0)\n {\n nextRequestId = 0;\n }\n String id = Integer.toString(nextRequestId);\n return id;\n }",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}",
"java.lang.String getRecognitionId();",
"public final String getClientId() {\n return clientId;\n }",
"public String getTokenId() {\n return this.TokenId;\n }",
"public java.lang.StringBuilder getClientId()\n {\n return client_id_;\n }",
"public java.lang.String getTokenId() {\n java.lang.Object ref = tokenId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n tokenId_ = s;\n return s;\n }\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"private String getNewConversationId( )\r\n {\r\n return UUID.randomUUID( ).toString( );\r\n }",
"String getCreatorId();",
"public String getClientId() {\n return clientId;\n }",
"public String getID() {\n return tokenString_ID != null ? tokenString_ID : \"\";\n }",
"public static byte[] generateClientId() {\n byte[] selfBytes = getIpAddressBytes();\n Long pid = getPid();\n long tid = Thread.currentThread().getId();\n long ts = EnvironmentEdgeManager.currentTime();\n\n byte[] id = new byte[selfBytes.length + ((pid != null ? 1 : 0) + 2) * Bytes.SIZEOF_LONG];\n int offset = Bytes.putBytes(id, 0, selfBytes, 0, selfBytes.length);\n if (pid != null) {\n offset = Bytes.putLong(id, offset, pid);\n }\n offset = Bytes.putLong(id, offset, tid);\n offset = Bytes.putLong(id, offset, ts);\n assert offset == id.length;\n return id;\n }",
"public byte getClientId()\r\n\t{\r\n\t\treturn _clientId;\r\n\t}",
"java.lang.String getSenderId();",
"public String getTokenServiceId() {\n return tokenServiceId;\n }",
"@Override\n public String getBotToken() {\n return \"412386556:AAHawYQpPaNLFdnpckQsYr7c3YdBQZEXy0I\";\n }",
"public String getClientId() {\n return clientId;\n }",
"public java.lang.String getTokenId() {\n java.lang.Object ref = tokenId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n tokenId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getClientId() {\n \treturn clientId;\n }",
"protected String createRequestId(HttpServletRequest ignored) {\n return idGenerator.next();\n }",
"int getClientId();",
"public final String getIdentifier() {\n return ServerUtils.getIdentifier(name, ip, port);\n }",
"public JWT getIDToken() {\n return idToken;\n }",
"public Integer getClientId() { return clientId; }",
"public Object getClientId()\n {\n return clientId; // Field is final; no need to sync.\n }",
"public String getClientId() {\n Object ref = clientId_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n clientId_ = s;\n }\n return s;\n }\n }",
"public int getClientSessionID() {\n return clientSessionID_;\n }",
"public String getId() {\n\t\treturn _sessionId;\n\t}",
"public String getTicketId() {\n String ticketId = getParameter(CosmoDavConstants.PARAM_TICKET);\n if (ticketId == null) {\n ticketId = getHeader(CosmoDavConstants.HEADER_TICKET);\n }\n return ticketId;\n }",
"public Long getTokenId() {\n\t\treturn tokenId;\n\t}",
"protected static String generateToken()\n\t{\n\t\treturn UUID.randomUUID().toString();\n\t}",
"public String getClientId() {\n Object ref = clientId_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n clientId_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }",
"public Integer getClientId() {\r\n\t\treturn clientId;\r\n\t}",
"abstract UUID getRequestId();",
"public ClientID getClientID() {\n return clientID;\n }",
"public String getClientId() {\n return clientId;\n }",
"public String getClientId() {\n\t\treturn clientId;\n\t}",
"private String makeSessionId() {\n if (shareMr3Session) {\n String globalMr3SessionIdFromEnv = System.getenv(MR3_SHARED_SESSION_ID);\n useGlobalMr3SessionIdFromEnv = globalMr3SessionIdFromEnv != null && !globalMr3SessionIdFromEnv.isEmpty();\n if (useGlobalMr3SessionIdFromEnv) {\n return globalMr3SessionIdFromEnv;\n } else {\n return UUID.randomUUID().toString();\n }\n } else {\n return UUID.randomUUID().toString();\n }\n }",
"com.google.protobuf.ByteString getClientIdBytes();",
"public String getUniqueId() {\n\t\treturn m_serverName + \" - \" + m_userId + \" - \" + m_timestampMillisecs;\n\t}",
"private String getIdentificationString() {\n\t\tif (clientController.client.visitorID.getVal() != null)\n\t\t\treturn clientController.client.visitorID.getVal().intern();\n\t\tif (clientController.client.logedInSubscriber.getVal() != null)\n\t\t\treturn clientController.client.logedInSubscriber.getVal().personalID;\n\t\treturn null;\n\t}",
"String getUniqueId();",
"public String getApplicationId();",
"public int getClientSessionID() {\n return clientSessionID_;\n }",
"public static String getToken() {\n String token = \"96179ce8939c4cdfacba65baab1d5ff8\";\n return token;\n }",
"String getServerId();",
"public int getClientId() {\n\t\treturn clientIDCounter++;\n\t}",
"public int getClientRequestId() {\n return clientRequestId;\n }",
"public int getClientID() {\r\n\t\treturn this.clientID;\r\n\t}",
"private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }",
"public java.lang.String getClientIdAsString()\n {\n return getClientId().toString();\n }",
"String getIdentityId();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"public int currentClientID(){\n return clientID;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"private static int nextClientId(){\n\n\t\tint id = random.nextInt(U16_MAX +1);\n\n\t\twhile(clients.containsKey(id))\n\t\t\tid = random.nextInt(U16_MAX +1);\n\n\t\treturn id;\n\t}",
"String getContextId();",
"public String getUniqueId() {\n return _uniqueId;\n }"
] | [
"0.6893989",
"0.6691725",
"0.6604881",
"0.6441239",
"0.64374727",
"0.6332782",
"0.6324349",
"0.6313217",
"0.6300767",
"0.62958354",
"0.62886256",
"0.6263763",
"0.6250189",
"0.6239441",
"0.6218041",
"0.6193537",
"0.618803",
"0.6139459",
"0.6119686",
"0.6117219",
"0.61112994",
"0.6103158",
"0.61026603",
"0.6097365",
"0.6089203",
"0.60390544",
"0.601552",
"0.601552",
"0.5968855",
"0.59652066",
"0.59652066",
"0.59615386",
"0.59385604",
"0.5929974",
"0.5929505",
"0.59281933",
"0.5920215",
"0.5881204",
"0.58788276",
"0.58656347",
"0.58656347",
"0.58656347",
"0.58656347",
"0.58633536",
"0.58452755",
"0.58444273",
"0.5837632",
"0.5832433",
"0.5831964",
"0.582773",
"0.5825217",
"0.5823616",
"0.5813924",
"0.58138764",
"0.5808912",
"0.5794476",
"0.5788511",
"0.5788377",
"0.5779184",
"0.57752025",
"0.57734454",
"0.57690406",
"0.5748165",
"0.5747443",
"0.57451123",
"0.5730475",
"0.57289106",
"0.57273585",
"0.57242215",
"0.57240623",
"0.5723267",
"0.571628",
"0.56790286",
"0.56653327",
"0.5663157",
"0.5654226",
"0.56403315",
"0.56394964",
"0.56330544",
"0.56302404",
"0.56278837",
"0.5620523",
"0.5618906",
"0.56123424",
"0.56099355",
"0.55990285",
"0.5598308",
"0.5597175",
"0.55970275",
"0.55970275",
"0.55970275",
"0.55932885",
"0.5591605",
"0.5591605",
"0.5591605",
"0.55868757",
"0.5585891",
"0.5574272"
] | 0.6230748 | 16 |
The unique identifier for the client request. Use a different token for different speaker search tasks. | public StartSpeakerSearchTaskRequest withClientRequestToken(String clientRequestToken) {
setClientRequestToken(clientRequestToken);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getRequestID();",
"UUID clientId();",
"public String getIdToken() throws IOException {\n return (String)userInfo.get(\"id_token\");\n }",
"public String clientId() {\n return clientId;\n }",
"@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }",
"@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }",
"public UUID clientId() {\n return clientId;\n }",
"public String getCurrentRequestId()\n\t{\n\t\tString reqID = (String) MDC.get(REQUEST_ID);\n\t\tif (reqID == null || \"\".equals(reqID))\n\t\t{\n\t\t\treqID = \"RID_\" + UUID.randomUUID().toString();\n\t\t\tMDC.put(REQUEST_ID, reqID);\n\t\t}\n\t\treturn reqID;\n\t}",
"String getTheirPartyId();",
"public String getTokenId() {\n return tokenId;\n }",
"public String getIdrequest() {\r\n\t\treturn idrequest;\r\n\t}",
"java.lang.String getClientId();",
"private String getClientId()\n {\n String clientId = null;\n try {\n clientId = IdentificationLoader.usingDefault().getClientId();\n } catch (IOException e) {\n System.out.println(\"Could not load client ID\");\n e.printStackTrace();\n System.exit(1);\n }\n return clientId;\n }",
"private static String getAppTokenId() {\n if (appTokenId == null) {\n synchronized (DefaultEntityManagerImpl.class) {\n if (appTokenId == null) {\n try {\n if (OAuthProperties.isServerMode()) {\n appTokenId = OAuthServiceUtils.getAdminTokenId();\n }\n else {\n final String username =\n OAuthProperties.get(PathDefs.APP_USER_NAME);\n final String password =\n OAuthProperties.get(PathDefs.APP_USER_PASSWORD);\n appTokenId =\n OAuthServiceUtils.authenticate(username, password, false);\n }\n }\n catch (final OAuthServiceException oe) {\n Logger.getLogger(DefaultEntityManagerImpl.class.getName()).log(\n Level.SEVERE, null, oe);\n throw new WebApplicationException(oe);\n }\n }\n }\n }\n return appTokenId;\n }",
"public String getClientRequestToken() {\n return this.clientRequestToken;\n }",
"public String getClientRequestToken() {\n return this.clientRequestToken;\n }",
"public String getClientRequestToken() {\n return this.clientRequestToken;\n }",
"@Override\n\tpublic String getTokenId() {\n\t\treturn null;\n\t}",
"String getPrimaryToken();",
"@Nullable\n public String getIdToken() {\n return idToken;\n }",
"public static String getTransId() {\n\n return MDC.get(MDC_KEY_REQUEST_ID);\n }",
"@ApiModelProperty(value = \"Unique identifier of token\")\n public Long getId() {\n return id;\n }",
"public String generateClientId() {\n return clientIdGenerator.generate().toString();\n }",
"int getClientSessionID();",
"public io.lightcone.data.types.TokenID getTokenId() {\n if (tokenIdBuilder_ == null) {\n return tokenId_ == null ? io.lightcone.data.types.TokenID.getDefaultInstance() : tokenId_;\n } else {\n return tokenIdBuilder_.getMessage();\n }\n }",
"public UUID getXMsClientRequestId() {\n return this.xMsClientRequestId;\n }",
"public String getClientID(){\n return clientID;\n }",
"@Override\r\n public int getTokenId()\r\n {\r\n return this.tokenId;\r\n }",
"java.lang.String getClientRecordId();",
"String getClientId();",
"String getClientId();",
"public Object clientId() {\n return this.clientId;\n }",
"public String getClientToken() {\n return clientToken;\n }",
"public String getClientToken() {\n return clientToken;\n }",
"protected String getIdentifier() {\n return getBaseUrl() + normalizePath(getRequest().getPath());\n }",
"private static synchronized String getNextRequestId()\n {\n if (++nextRequestId < 0)\n {\n nextRequestId = 0;\n }\n String id = Integer.toString(nextRequestId);\n return id;\n }",
"public String getId() {\n\t\treturn this.token.get(\"id\").toString();\n\t}",
"java.lang.String getRecognitionId();",
"public final String getClientId() {\n return clientId;\n }",
"public String getTokenId() {\n return this.TokenId;\n }",
"public java.lang.StringBuilder getClientId()\n {\n return client_id_;\n }",
"public java.lang.String getTokenId() {\n java.lang.Object ref = tokenId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n tokenId_ = s;\n return s;\n }\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"public String getClientToken() {\n return this.clientToken;\n }",
"private String getNewConversationId( )\r\n {\r\n return UUID.randomUUID( ).toString( );\r\n }",
"String getCreatorId();",
"public String getClientId() {\n return clientId;\n }",
"public String getID() {\n return tokenString_ID != null ? tokenString_ID : \"\";\n }",
"public static byte[] generateClientId() {\n byte[] selfBytes = getIpAddressBytes();\n Long pid = getPid();\n long tid = Thread.currentThread().getId();\n long ts = EnvironmentEdgeManager.currentTime();\n\n byte[] id = new byte[selfBytes.length + ((pid != null ? 1 : 0) + 2) * Bytes.SIZEOF_LONG];\n int offset = Bytes.putBytes(id, 0, selfBytes, 0, selfBytes.length);\n if (pid != null) {\n offset = Bytes.putLong(id, offset, pid);\n }\n offset = Bytes.putLong(id, offset, tid);\n offset = Bytes.putLong(id, offset, ts);\n assert offset == id.length;\n return id;\n }",
"public byte getClientId()\r\n\t{\r\n\t\treturn _clientId;\r\n\t}",
"java.lang.String getSenderId();",
"public String getTokenServiceId() {\n return tokenServiceId;\n }",
"@Override\n public String getBotToken() {\n return \"412386556:AAHawYQpPaNLFdnpckQsYr7c3YdBQZEXy0I\";\n }",
"public String getClientId() {\n return clientId;\n }",
"public java.lang.String getTokenId() {\n java.lang.Object ref = tokenId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n tokenId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getClientId() {\n \treturn clientId;\n }",
"protected String createRequestId(HttpServletRequest ignored) {\n return idGenerator.next();\n }",
"int getClientId();",
"public final String getIdentifier() {\n return ServerUtils.getIdentifier(name, ip, port);\n }",
"public JWT getIDToken() {\n return idToken;\n }",
"public Integer getClientId() { return clientId; }",
"public Object getClientId()\n {\n return clientId; // Field is final; no need to sync.\n }",
"public String getClientId() {\n Object ref = clientId_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n clientId_ = s;\n }\n return s;\n }\n }",
"public int getClientSessionID() {\n return clientSessionID_;\n }",
"public String getId() {\n\t\treturn _sessionId;\n\t}",
"public String getTicketId() {\n String ticketId = getParameter(CosmoDavConstants.PARAM_TICKET);\n if (ticketId == null) {\n ticketId = getHeader(CosmoDavConstants.HEADER_TICKET);\n }\n return ticketId;\n }",
"public Long getTokenId() {\n\t\treturn tokenId;\n\t}",
"protected static String generateToken()\n\t{\n\t\treturn UUID.randomUUID().toString();\n\t}",
"public String getClientId() {\n Object ref = clientId_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n clientId_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }",
"public Integer getClientId() {\r\n\t\treturn clientId;\r\n\t}",
"abstract UUID getRequestId();",
"public ClientID getClientID() {\n return clientID;\n }",
"public String getClientId() {\n return clientId;\n }",
"public String getClientId() {\n\t\treturn clientId;\n\t}",
"private String makeSessionId() {\n if (shareMr3Session) {\n String globalMr3SessionIdFromEnv = System.getenv(MR3_SHARED_SESSION_ID);\n useGlobalMr3SessionIdFromEnv = globalMr3SessionIdFromEnv != null && !globalMr3SessionIdFromEnv.isEmpty();\n if (useGlobalMr3SessionIdFromEnv) {\n return globalMr3SessionIdFromEnv;\n } else {\n return UUID.randomUUID().toString();\n }\n } else {\n return UUID.randomUUID().toString();\n }\n }",
"com.google.protobuf.ByteString getClientIdBytes();",
"public String getUniqueId() {\n\t\treturn m_serverName + \" - \" + m_userId + \" - \" + m_timestampMillisecs;\n\t}",
"private String getIdentificationString() {\n\t\tif (clientController.client.visitorID.getVal() != null)\n\t\t\treturn clientController.client.visitorID.getVal().intern();\n\t\tif (clientController.client.logedInSubscriber.getVal() != null)\n\t\t\treturn clientController.client.logedInSubscriber.getVal().personalID;\n\t\treturn null;\n\t}",
"String getUniqueId();",
"public String getApplicationId();",
"public int getClientSessionID() {\n return clientSessionID_;\n }",
"public static String getToken() {\n String token = \"96179ce8939c4cdfacba65baab1d5ff8\";\n return token;\n }",
"String getServerId();",
"public int getClientId() {\n\t\treturn clientIDCounter++;\n\t}",
"public int getClientRequestId() {\n return clientRequestId;\n }",
"public int getClientID() {\r\n\t\treturn this.clientID;\r\n\t}",
"private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }",
"public java.lang.String getClientIdAsString()\n {\n return getClientId().toString();\n }",
"String getIdentityId();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"java.lang.String getUserID();",
"public int currentClientID(){\n return clientID;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"public Guid getUserToken() {\n return localUserToken;\n }",
"private static int nextClientId(){\n\n\t\tint id = random.nextInt(U16_MAX +1);\n\n\t\twhile(clients.containsKey(id))\n\t\t\tid = random.nextInt(U16_MAX +1);\n\n\t\treturn id;\n\t}",
"String getContextId();",
"public String getUniqueId() {\n return _uniqueId;\n }"
] | [
"0.6893989",
"0.6691725",
"0.6604881",
"0.6441239",
"0.64374727",
"0.6332782",
"0.6324349",
"0.6313217",
"0.6300767",
"0.62958354",
"0.62886256",
"0.6263763",
"0.6250189",
"0.6239441",
"0.6230748",
"0.6230748",
"0.6230748",
"0.6218041",
"0.6193537",
"0.618803",
"0.6139459",
"0.6119686",
"0.6117219",
"0.61112994",
"0.6103158",
"0.61026603",
"0.6097365",
"0.6089203",
"0.60390544",
"0.601552",
"0.601552",
"0.5968855",
"0.59652066",
"0.59652066",
"0.59615386",
"0.59385604",
"0.5929974",
"0.5929505",
"0.59281933",
"0.5920215",
"0.5881204",
"0.58788276",
"0.58656347",
"0.58656347",
"0.58656347",
"0.58656347",
"0.58633536",
"0.58452755",
"0.58444273",
"0.5837632",
"0.5832433",
"0.5831964",
"0.582773",
"0.5825217",
"0.5823616",
"0.5813924",
"0.58138764",
"0.5808912",
"0.5794476",
"0.5788511",
"0.5788377",
"0.5779184",
"0.57752025",
"0.57734454",
"0.57690406",
"0.5748165",
"0.5747443",
"0.57451123",
"0.5730475",
"0.57289106",
"0.57273585",
"0.57242215",
"0.57240623",
"0.5723267",
"0.571628",
"0.56790286",
"0.56653327",
"0.5663157",
"0.5654226",
"0.56403315",
"0.56394964",
"0.56330544",
"0.56302404",
"0.56278837",
"0.5620523",
"0.5618906",
"0.56123424",
"0.56099355",
"0.55990285",
"0.5598308",
"0.5597175",
"0.55970275",
"0.55970275",
"0.55970275",
"0.55932885",
"0.5591605",
"0.5591605",
"0.5591605",
"0.55868757",
"0.5585891",
"0.5574272"
] | 0.0 | -1 |
Specifies which call leg to stream for speaker search. | public void setCallLeg(String callLeg) {
this.callLeg = callLeg;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onCallEstablished(SipAudioCall call) {\n Toast.makeText(CallActivity.this, \"onCallEstablished\", Toast.LENGTH_SHORT).show();\n Log.d(TAG, \"onCallEstablished: \");\n try {\n call.answerCall(30);\n } catch (Exception e) {\n e.printStackTrace();\n }\n call.startAudio();\n call.setSpeakerMode(true);\n // call.toggleMute();\n updateStatus(call);\n updateLayout(CONNECTED);\n }",
"void setAudioRoute(String device);",
"private void turnOnSpeakerPhone() {\n mAudioManager.setMode(AudioManager.MODE_IN_CALL);\n mAudioManager.setSpeakerphoneOn(true);\n }",
"public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }",
"public void askForSpeaker(){\n System.out.println(\"Enter the speaker username\");\n }",
"public void SetCallRecording(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetCallRecording\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"private void LogRecognitionStart() {\n String recoSource;\n if (this.getUseMicrophone()) {\n recoSource = \"microphone\";\n } else if (this.getMode() == SpeechRecognitionMode.ShortPhrase) {\n recoSource = \"short wav file\";\n } else {\n recoSource = \"long wav file\";\n }\n\n this.WriteLine(\"\\n--- Start speech recognition using \" + recoSource + \" with \" + this.getMode() + \" mode in \" + this.getDefaultLocale() + \" language ----\\n\\n\");\n }",
"public Speak()\r\n {\r\n super( \"Speak\", \"Begin a conversation.\", \"p\" );\r\n }",
"public StartSpeakerSearchTaskRequest withCallLeg(CallLegType callLeg) {\n this.callLeg = callLeg.toString();\n return this;\n }",
"public void askForType() {\n System.out.println(\"What type of event will this be?\");\n System.out.println(\"1) Normal 2) Multi-Speaker 3) VIP\");\n }",
"public Speakers getSpeaker(){\n int speaker_id = getIntent().getExtras().getInt(AppController.SPEAKER_ID);\n DatabaseHandler dh = new DatabaseHandler(this);\n return dh.getSpeaker(speaker_id);\n }",
"public void setAudioPort(int port);",
"void speak() {\n\t\tSystem.out.println(\"저의 이름은 \" + name + \"이고 \" + \"혈액형은 \" + booldType +\"형 입니다\");\n\t}",
"public StartSpeakerSearchTaskRequest withCallLeg(String callLeg) {\n setCallLeg(callLeg);\n return this;\n }",
"public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }",
"@Override\n public void speak() {\n System.out.printf(\"i'm %s. I am a DINOSAURRRRR....!\\n\",this.name);\n }",
"public void speak()\n\t {\n\t \tSystem.out.printf(\"%s chants: Four legs good, Two legs BETTER\\n\", this.getName());\n\t }",
"@Override\n public void setRecordingHint(boolean hint) {\n }",
"public void setCallAlias(String callAlias) {\n\n\t}",
"public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }",
"public MediaAwareCallConference()\r\n {\r\n this(false);\r\n }",
"public void showTrainers(){\r\n System.out.println(\"Trainer: \"+this.lastName.toUpperCase()+\" \"+this.firstName.toUpperCase()+\" ,with subject: \"+\r\n this.subject.getStream().getTitle().toUpperCase());\r\n }",
"public void setListening(boolean z) {\n this.mKeyguardStatusBar.setListening(z);\n C0940QS qs = this.mQs;\n if (qs != null) {\n qs.setListening(z);\n }\n }",
"public void startDtmfStream();",
"private void acceptCall() {\n\t\ttry {\n\t\t\tupdateText(\"Pratar med \", call.getPeerProfile().getUserName());\n\t\t\tcall.answerCall(30);\n\t\t\tcall.startAudio();\n\t\t\tif (call.isMuted()) {\n\t\t\t\tcall.toggleMute();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\n\t\t}\n\t}",
"private void onAudioManagerChangedState() {\n setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);\n }",
"speech.multilang.Params.ForwardingControllerParams.Type getType();",
"public void putSilentOn() {\n StartupService.mode.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n }",
"public void setOnHwyEngRequestFlag(Character aOnHwyEngRequestFlag) {\n onHwyEngRequestFlag = aOnHwyEngRequestFlag;\n }",
"@Override\n public String speak()\n {\n return \"peep\";\n }",
"public void setContactFilter(Filter filter);",
"private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}",
"private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }",
"public void OnRtcLiveApplyLine(String strPeerId, String strUserName, String strBrief);",
"private void initiateCall(final String sipAddress, final String dst) {\n\t\ttry {\n\t\t\tSipAudioCall.Listener audioListener = new SipAudioCall.Listener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEstablished(SipAudioCall call) {\n\n\t\t\t\t\tupdateText(\"Pratar med \", dst);\n\n\t\t\t\t\tstopSounds();\n\t\t\t\t\tcall.startAudio();\n\t\t\t\t\tif (call.isMuted()) {\n\t\t\t\t\t\tcall.toggleMute();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEnded(SipAudioCall session) {\n\t\t\t\t\tviewToast(\"Samtalet avslutades\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onError(SipAudioCall call, int errorCode, String errorMessage) {\n\t\t\t\t\tviewToast(\"Samtalet bröts\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallBusy(SipAudioCall call) {\n\t\t\t\t\t/*soundPool.load(CallView.this, R.raw.busy, 1);\n\t\t\t\t\tLog.d( \"Ljuduppspelning, upptaget\", \"Ljud inladdat\");\n\t\t\t\t\tsoundPool.setOnLoadCompleteListener(new OnLoadCompleteListener(){\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onLoadComplete(SoundPool soundPool, int soundId, int status) {\n\t\t\t\t\t\t\tif(status == 0){\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Ready\");\n//\t\t\t\t\t\t\t\t\tfloat volume = audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tfloat maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, volume\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, maxVolume\", Float.toString(maxVolume));\n//\t\t\t\t\t\t\t\t\tvolume = volume / maxVolume;\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, VOLYM\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tsoundPool.play(soundId, volume, volume, 1, -1, 1);\n\t\t\t\t\t\t\t\tsavedVolume = audioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\t\tsoundPool.setVolume(soundId, (float)0.1, (float)0.1);\n\t\t\t\t\t\t\t\tsoundPool.play(soundId, (float)0.1, (float)0.1, 1, 3, (float)1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Error\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});*/\n\t\t\t\t\tviewToast(\"Mottagaren är upptagen\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tcall = SipController.manager.makeAudioCall(\n\t\t\t\t\tSipController.me.getUriString(), sipAddress,\n\t\t\t\t\taudioListener, 30);\n\n\t\t} catch (Exception e) {\n\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\"Error when trying to close manager.\", e);\n\t\t\tif (SipController.me != null) {\n\t\t\t\ttry {\n\t\t\t\t\tSipController.manager.close(SipController.me\n\t\t\t\t\t\t\t.getUriString());\n\t\t\t\t} catch (Exception ee) {\n\t\t\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\t\t\"Error when trying to close manager.\", ee);\n\t\t\t\t\tee.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\t\t}\n\t}",
"private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }",
"private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }",
"private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }",
"@Override\r\n\tpublic void setAudioFormat(AudioFormat format) {\r\n\r\n\t}",
"@Override\r\n\tpublic void call() {\n\t\tSystem.out.println(\"通过语音打电话\");\r\n\t}",
"public void speak() {\r\n\t\tSystem.out.print(\"This Tiger speaks\");\r\n\t}",
"public Builder setStream(boolean value) {\n \n stream_ = value;\n onChanged();\n return this;\n }",
"public void updateStatus(SipAudioCall call) {\n String useName = call.getPeerProfile().getDisplayName();\n if (useName == null) {\n useName = call.getPeerProfile().getUserName();\n }\n updateStatus(useName + \"@\" + call.getPeerProfile().getSipDomain());\n }",
"public void listener() {\n\t\tif (this.command.getMode().equals(Command.MODE_TRACK)) {\n\t\t\tFilterQuery filterQuery = new FilterQuery();\n\t\t\tfilterQuery.track(this.command.getKeywords().toArray(new String[this.command.getKeywords().size()]));\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.filter(filterQuery);\n\t\t} else if (this.command.getMode().equals(Command.MODE_SAMPLE)) {\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.sample();\n\t\t} else {\n\t\t\t// do search\n\t\t}\n\t}",
"public void SetPlayRingback(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetPlayRingback\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"@Override\n\t\t\t\tpublic void show(LinphoneCore lc) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n\tpublic void changeChannel() {\n\t\tSystem.out.println(\"Listening to Radio...\\n channel 1 2 3 4....\");\n\t}",
"public void setCalledFrom(short value) {\r\n this.calledFrom = value;\r\n }",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"speech.multilang.Params.ScoringControllerParams.Type getType();",
"public void stream(final String[] filter) {\r\n twitterStream.filter(new FilterQuery().track(filter));\r\n }",
"private void displaySpeechRecognizer() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n // Start the activity, the intent will be populated with the speech text\n startActivityForResult(intent, Constants.SPEECH_REQUEST_CODE);\n }",
"public void setAudioDescriptor( AudioDescriptor audioDescriptor );",
"public void addToConference(Call call);",
"public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }",
"public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(isSpeaker) {\n\t\t\t\t\t//当前是扬声器模式,需切换为听筒模式\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_IN_CALL);\n\t\t\t\t\tisSpeaker = false;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_IN_CALL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}else {\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_NORMAL);\n\t\t\t\t\tisSpeaker = true;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_NORMAL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}\n\t\t\t\thandler.sendEmptyMessage(0x777);\n\n\t\t\t}",
"public void clickedSpeakerEdit() {\n\t\tif(mainWindow.getSelectedRowSpeaker().length <= 0) ApplicationOutput.printLog(\"YOU DID NOT SELECT ANY PRESENTATION\");\n\t\telse if(mainWindow.getSelectedRowSpeaker().length > 1) ApplicationOutput.printLog(\"Please select only one presentation to edit\");\n\t\telse {\n\t\t\tshowSpeakeerDetails(mainWindow.getSelectedRowSpeaker()[0]);\n\t\t}\t\n\t}",
"@Override\n\tpublic void show(LinphoneCore lc) {\n\t\t\n\t}",
"public void setFilter (LSPFilter filter) {\r\n this.filter = filter;\r\n }",
"public void onVoiceStart(int sampleRates) {\n }",
"@Override\n\tpublic void canSpeak() {\n\t\t\n\t}",
"private String getSpeakerId(Response response) {\n String location = response.getHeaderString(\"location\");\n return location.substring(location.lastIndexOf(\"/\") + 1);\n }",
"public void setRingerDevice(String devid);",
"private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }",
"@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }",
"@Override\n public void setAccessibilityPhrase(String arg0)\n {\n \n }",
"@Override\n\tpublic\n\tString getName()\n\t{\n\t\treturn \"assistant\";\n\t}",
"protected void start() {\n\t\thellotv.setText(\"\");\n\t\tMap<String, Object> params = new LinkedHashMap<String, Object>();\n\t\tString event = null;\n\t\tevent = SpeechConstant.ASR_START;\n\t\t\n\t\tif (enableOffline) {\n params.put(SpeechConstant.DECODER, 2);\n }\n\t\t\n\t\tparams.put(SpeechConstant.ACCEPT_AUDIO_VOLUME, false);\n\t\t//params.put(SpeechConstant.PID, 1737);//English\n\t\t\n\t\tString json = null;\n\t\tjson = new JSONObject(params).toString();\n\t\tasr.send(event, json, null, 0, 0);\n\t\t\n\t\tprintresult(\"输入参数\"+ json);\n\t}",
"@Override\n public void onClick(View v) {\n HashMap<String, String> hash = new HashMap<String, String>();\n hash.put(\n TextToSpeech.Engine.KEY_PARAM_STREAM,\n String.valueOf(AudioManager.STREAM_NOTIFICATION));\n textToSpeach.speak(questionText.getText().toString(), TextToSpeech.QUEUE_ADD, hash);\n }",
"speech.multilang.Params.OutputControllerParams.Type getType();",
"public String getCallLeg() {\n return this.callLeg;\n }",
"public void ResultVoiceIn(EventVoice event);",
"private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}",
"public void prepareCallObject(){\n\n SipAudioCall.Listener listener = new SipAudioCall.Listener(){\n\n\n @Override\n public void onCallEstablished(SipAudioCall call) {\n// call.startAudio();\n// call.setSpeakerMode(true);\n Log.i(\"sip-->\", \"onCallEstablished\");\n\n\n if (mTotalTime == 0L){\n mPointTime = System.currentTimeMillis();\n mHandler.removeCallbacks(mUpdateTimeTask);\n mHandler.postDelayed(mUpdateTimeTask, 100);\n }\n }\n\n\n @Override\n public void onCallEnded(SipAudioCall call) {\n\n mHandler.removeCallbacks(mUpdateTimeTask);\n finish();\n\n// endCall();\n\n }\n\n };\n try {\n call = manager.takeAudioCall(IncomingCallService_new.incomingIntent, listener);\n\n sipNameIncome = call.getPeerProfile().getUserName();\n// updateStatus(\"Odebrano od \" + sipNameIncome);\n caller_name.setText(sipNameIncome);\n } catch (SipException e) {\n e.printStackTrace();\n }\n\n\n }",
"public void startRecording(){\n String samplerateString = null, buffersizeString = null;\n if (Build.VERSION.SDK_INT >= 17) {\n AudioManager audioManager = (AudioManager) this.getSystemService(Context.AUDIO_SERVICE);\n samplerateString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE);\n buffersizeString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER);\n }\n samplerateString= \"48000\";\n buffersizeString = \"256\";\n\n System.loadLibrary(\"FrequencyDomain\");\n FrequencyDomain(Integer.parseInt(samplerateString), Integer.parseInt(buffersizeString));\n }",
"public int getAudioPort();",
"public void speak() {\r\n\t\tSystem.out.print(\"This Goose speaks\");\r\n\t}",
"@Override\n public String speak()\n {\n return \"Neigh\";\n }",
"public void setRemoteRingbackTone(String ring);",
"@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}",
"public String giveSalesPitch()\r\n\t{\r\n\t\treturn super.getName() + \" pressures others to buy stuff\"; \r\n\t}",
"private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}",
"@Override\n\t\tpublic void onCallStateChanged(int state, String incomingNumber) {\n\t\t\tswitch (state) {\n\t\t\t/* 取得手机是待机状态 */\n\t\t\tcase TelephonyManager.CALL_STATE_IDLE:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_IDLE);\n\n\t\t\t\ttry {\n\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t/* 设置手机为待机时响铃为正常模式 */\n\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n\t\t\t\t\t\taudioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为通话中 */\n\t\t\tcase TelephonyManager.CALL_STATE_OFFHOOK:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_OFFHOOK);\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为来电 */\n\t\t\tcase TelephonyManager.CALL_STATE_RINGING:\n\t\t\t\t/* 显示来电信息 */\n\t\t\t\tstateTips.setText(getResources().getText(\n\t\t\t\t\t\tR.string.str_CALL_STATE_RINGING)\n\t\t\t\t\t\t+ incomingNumber);\n Log.i(\"电话\",phoneView.getText().toString());\n\t\t\t\t/* 判断与输入电话是否为一样,一样则转为静音模式 */\n\t\t\t\tif (incomingNumber.equals(phoneView.getText().toString())) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t\t/* 设置响铃模式为静音 */\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\tToast.makeText(MainActivity.this,\n\t\t\t\t\t\t\t\t\tgetString(R.string.str_msg),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsuper.onCallStateChanged(state, incomingNumber);\n\n\t\t\tetPhone.setOnKeyListener(new EditText.OnKeyListener() {\n\t\t\t\tpublic boolean onKey(View v, int keyCode, KeyEvent event) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t/* 同步显示TextView */\n\t\t\t\t\tphoneView.setText(etPhone.getText());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}",
"public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}",
"public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }",
"private void callContactByName() {\n final ContactBook cb = ContactBook.getSharedInstance();\n words = text.split(\" \");\n try {\n if (words[0].contains(\"ing\")) {\n intent = new Intent(Intent.ACTION_CALL);\n String searchString = \"\";\n for (int i = 1; i < words.length; i++) {\n searchString += words[i] + \" \";\n }\n contact = cb.getClosestMatch(searchString);\n }\n if (contact != null) {\n if (contact.getDefaultNumber() != null && contact.getName() != null) {\n intent.setData(Uri.parse(\"tel:\" + contact.getDefaultNumber()));\n TextToSpeechUtility.readAloud(\"ringer \" + contact.getName());\n while (TextToSpeechUtility.isSpeaking()) {\n Thread.sleep(100);\n }\n startActivity(intent);\n finish();\n }\n }\n } catch (Throwable t) {\n }\n\n }",
"@Override\n public void onBeginningOfSpeech() {\n Log.i(\"SRL\", \"onBeginningOfSpeech\");\n }",
"public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }",
"public MediaAwareCallConference(boolean jitsiVideobridge, boolean translator)\r\n {\r\n super(jitsiVideobridge);\r\n\r\n this.translator = translator;\r\n int mediaTypeCount = MediaType.values().length;\r\n devices = new MediaDevice[mediaTypeCount];\r\n mixers = new MediaDevice[mediaTypeCount];\r\n\r\n /*\r\n * Listen to the MediaService in order to reflect changes in the user's selection with\r\n * respect to the default media device.\r\n */\r\n addMediaServicePropertyChangeListener(propertyChangeListener);\r\n }",
"public void talk(){\n\t\tSystem.out.println(this.name+\"が話す\");\n\t}",
"@VisibleForTesting\n public void setAssistantVisible(boolean z) {\n updateBiometricListeningState();\n }",
"public void speak(){\n System.out.println(\"Hi my name is \" + name + \".\\n\" +\n \"I am \" + age + \"years old and \" + height + \" feet tall.\");\n }",
"public void setSonClick(Audio son)\n {\n son_click = son;\n }",
"void setValueMixerSound(int value);",
"public void setFamily( String f )\n {\n family = f.toLowerCase( Locale.ENGLISH );\n }",
"public static void combinationSpeak (String name) {\n\t\tsynchronized (chicken) {\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t\tSystem.out.println(name+\": WOOOO\");\r\n\t\t\tSystem.out.println(name+\": WAOAH\");\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t}\r\n\t\tSystem.out.println(name+\": WHEEE\");\r\n\t\tSystem.out.println(\"------------------\");\r\n\t}",
"@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }",
"@Override\r\n public void onCreate(Bundle savedInstanceState)\r\n {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.chatterbox);\r\n\r\n // [mfs] This disables headphone communication... not exactly what we\r\n // want, but enough of a demo to make things straightforward...\r\n //AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\r\n //am.setMode(AudioManager.MODE_IN_CALL);\r\n //am.setSpeakerphoneOn(true);\r\n }",
"@Override\n\t\t\tpublic void onAudioFocusChange(int arg0) {\n\t\t\t}"
] | [
"0.58022004",
"0.5777037",
"0.5611328",
"0.55242735",
"0.55159587",
"0.54758066",
"0.5389073",
"0.5347541",
"0.52974725",
"0.5295791",
"0.5273623",
"0.52453446",
"0.524209",
"0.52013934",
"0.51234514",
"0.5096023",
"0.50894916",
"0.50395745",
"0.5030848",
"0.49952516",
"0.4995217",
"0.49907064",
"0.49766523",
"0.49641374",
"0.49160287",
"0.49119222",
"0.48946682",
"0.48913383",
"0.4885483",
"0.4865341",
"0.48640183",
"0.48603442",
"0.48591372",
"0.48527828",
"0.48518375",
"0.4851201",
"0.48421904",
"0.48415065",
"0.48345977",
"0.48345372",
"0.4833923",
"0.4831286",
"0.4816449",
"0.48115999",
"0.48103863",
"0.48065946",
"0.47997558",
"0.4793919",
"0.47812843",
"0.47787368",
"0.47747648",
"0.4768816",
"0.47611198",
"0.47597352",
"0.47562313",
"0.47555363",
"0.4750079",
"0.47469997",
"0.47459197",
"0.4743882",
"0.4743515",
"0.47267008",
"0.472202",
"0.4691591",
"0.46870017",
"0.46809804",
"0.46707246",
"0.46704367",
"0.46648017",
"0.46604863",
"0.46522036",
"0.46517178",
"0.46426672",
"0.46302357",
"0.46300948",
"0.4623842",
"0.46217266",
"0.46108404",
"0.46102786",
"0.46067232",
"0.45905584",
"0.45879805",
"0.45873407",
"0.4587252",
"0.4573551",
"0.45723194",
"0.45718697",
"0.45694917",
"0.45637998",
"0.45625243",
"0.4560321",
"0.45580235",
"0.45480177",
"0.45462993",
"0.45426345",
"0.45407063",
"0.45375535",
"0.45350194",
"0.45324135",
"0.45305598"
] | 0.52938163 | 10 |
Specifies which call leg to stream for speaker search. | public String getCallLeg() {
return this.callLeg;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onCallEstablished(SipAudioCall call) {\n Toast.makeText(CallActivity.this, \"onCallEstablished\", Toast.LENGTH_SHORT).show();\n Log.d(TAG, \"onCallEstablished: \");\n try {\n call.answerCall(30);\n } catch (Exception e) {\n e.printStackTrace();\n }\n call.startAudio();\n call.setSpeakerMode(true);\n // call.toggleMute();\n updateStatus(call);\n updateLayout(CONNECTED);\n }",
"void setAudioRoute(String device);",
"private void turnOnSpeakerPhone() {\n mAudioManager.setMode(AudioManager.MODE_IN_CALL);\n mAudioManager.setSpeakerphoneOn(true);\n }",
"public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }",
"public void askForSpeaker(){\n System.out.println(\"Enter the speaker username\");\n }",
"public void SetCallRecording(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetCallRecording\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"private void LogRecognitionStart() {\n String recoSource;\n if (this.getUseMicrophone()) {\n recoSource = \"microphone\";\n } else if (this.getMode() == SpeechRecognitionMode.ShortPhrase) {\n recoSource = \"short wav file\";\n } else {\n recoSource = \"long wav file\";\n }\n\n this.WriteLine(\"\\n--- Start speech recognition using \" + recoSource + \" with \" + this.getMode() + \" mode in \" + this.getDefaultLocale() + \" language ----\\n\\n\");\n }",
"public Speak()\r\n {\r\n super( \"Speak\", \"Begin a conversation.\", \"p\" );\r\n }",
"public StartSpeakerSearchTaskRequest withCallLeg(CallLegType callLeg) {\n this.callLeg = callLeg.toString();\n return this;\n }",
"public void askForType() {\n System.out.println(\"What type of event will this be?\");\n System.out.println(\"1) Normal 2) Multi-Speaker 3) VIP\");\n }",
"public void setCallLeg(String callLeg) {\n this.callLeg = callLeg;\n }",
"public Speakers getSpeaker(){\n int speaker_id = getIntent().getExtras().getInt(AppController.SPEAKER_ID);\n DatabaseHandler dh = new DatabaseHandler(this);\n return dh.getSpeaker(speaker_id);\n }",
"public void setAudioPort(int port);",
"void speak() {\n\t\tSystem.out.println(\"저의 이름은 \" + name + \"이고 \" + \"혈액형은 \" + booldType +\"형 입니다\");\n\t}",
"public StartSpeakerSearchTaskRequest withCallLeg(String callLeg) {\n setCallLeg(callLeg);\n return this;\n }",
"public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }",
"@Override\n public void speak() {\n System.out.printf(\"i'm %s. I am a DINOSAURRRRR....!\\n\",this.name);\n }",
"public void speak()\n\t {\n\t \tSystem.out.printf(\"%s chants: Four legs good, Two legs BETTER\\n\", this.getName());\n\t }",
"@Override\n public void setRecordingHint(boolean hint) {\n }",
"public void setCallAlias(String callAlias) {\n\n\t}",
"public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }",
"public MediaAwareCallConference()\r\n {\r\n this(false);\r\n }",
"public void showTrainers(){\r\n System.out.println(\"Trainer: \"+this.lastName.toUpperCase()+\" \"+this.firstName.toUpperCase()+\" ,with subject: \"+\r\n this.subject.getStream().getTitle().toUpperCase());\r\n }",
"public void setListening(boolean z) {\n this.mKeyguardStatusBar.setListening(z);\n C0940QS qs = this.mQs;\n if (qs != null) {\n qs.setListening(z);\n }\n }",
"public void startDtmfStream();",
"private void acceptCall() {\n\t\ttry {\n\t\t\tupdateText(\"Pratar med \", call.getPeerProfile().getUserName());\n\t\t\tcall.answerCall(30);\n\t\t\tcall.startAudio();\n\t\t\tif (call.isMuted()) {\n\t\t\t\tcall.toggleMute();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\n\t\t}\n\t}",
"private void onAudioManagerChangedState() {\n setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);\n }",
"speech.multilang.Params.ForwardingControllerParams.Type getType();",
"public void putSilentOn() {\n StartupService.mode.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n }",
"public void setOnHwyEngRequestFlag(Character aOnHwyEngRequestFlag) {\n onHwyEngRequestFlag = aOnHwyEngRequestFlag;\n }",
"@Override\n public String speak()\n {\n return \"peep\";\n }",
"public void setContactFilter(Filter filter);",
"private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}",
"private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }",
"public void OnRtcLiveApplyLine(String strPeerId, String strUserName, String strBrief);",
"private void initiateCall(final String sipAddress, final String dst) {\n\t\ttry {\n\t\t\tSipAudioCall.Listener audioListener = new SipAudioCall.Listener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEstablished(SipAudioCall call) {\n\n\t\t\t\t\tupdateText(\"Pratar med \", dst);\n\n\t\t\t\t\tstopSounds();\n\t\t\t\t\tcall.startAudio();\n\t\t\t\t\tif (call.isMuted()) {\n\t\t\t\t\t\tcall.toggleMute();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEnded(SipAudioCall session) {\n\t\t\t\t\tviewToast(\"Samtalet avslutades\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onError(SipAudioCall call, int errorCode, String errorMessage) {\n\t\t\t\t\tviewToast(\"Samtalet bröts\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallBusy(SipAudioCall call) {\n\t\t\t\t\t/*soundPool.load(CallView.this, R.raw.busy, 1);\n\t\t\t\t\tLog.d( \"Ljuduppspelning, upptaget\", \"Ljud inladdat\");\n\t\t\t\t\tsoundPool.setOnLoadCompleteListener(new OnLoadCompleteListener(){\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onLoadComplete(SoundPool soundPool, int soundId, int status) {\n\t\t\t\t\t\t\tif(status == 0){\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Ready\");\n//\t\t\t\t\t\t\t\t\tfloat volume = audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tfloat maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, volume\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, maxVolume\", Float.toString(maxVolume));\n//\t\t\t\t\t\t\t\t\tvolume = volume / maxVolume;\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, VOLYM\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tsoundPool.play(soundId, volume, volume, 1, -1, 1);\n\t\t\t\t\t\t\t\tsavedVolume = audioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\t\tsoundPool.setVolume(soundId, (float)0.1, (float)0.1);\n\t\t\t\t\t\t\t\tsoundPool.play(soundId, (float)0.1, (float)0.1, 1, 3, (float)1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Error\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});*/\n\t\t\t\t\tviewToast(\"Mottagaren är upptagen\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tcall = SipController.manager.makeAudioCall(\n\t\t\t\t\tSipController.me.getUriString(), sipAddress,\n\t\t\t\t\taudioListener, 30);\n\n\t\t} catch (Exception e) {\n\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\"Error when trying to close manager.\", e);\n\t\t\tif (SipController.me != null) {\n\t\t\t\ttry {\n\t\t\t\t\tSipController.manager.close(SipController.me\n\t\t\t\t\t\t\t.getUriString());\n\t\t\t\t} catch (Exception ee) {\n\t\t\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\t\t\"Error when trying to close manager.\", ee);\n\t\t\t\t\tee.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\t\t}\n\t}",
"private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }",
"private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }",
"private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }",
"@Override\r\n\tpublic void setAudioFormat(AudioFormat format) {\r\n\r\n\t}",
"@Override\r\n\tpublic void call() {\n\t\tSystem.out.println(\"通过语音打电话\");\r\n\t}",
"public void speak() {\r\n\t\tSystem.out.print(\"This Tiger speaks\");\r\n\t}",
"public Builder setStream(boolean value) {\n \n stream_ = value;\n onChanged();\n return this;\n }",
"public void updateStatus(SipAudioCall call) {\n String useName = call.getPeerProfile().getDisplayName();\n if (useName == null) {\n useName = call.getPeerProfile().getUserName();\n }\n updateStatus(useName + \"@\" + call.getPeerProfile().getSipDomain());\n }",
"public void listener() {\n\t\tif (this.command.getMode().equals(Command.MODE_TRACK)) {\n\t\t\tFilterQuery filterQuery = new FilterQuery();\n\t\t\tfilterQuery.track(this.command.getKeywords().toArray(new String[this.command.getKeywords().size()]));\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.filter(filterQuery);\n\t\t} else if (this.command.getMode().equals(Command.MODE_SAMPLE)) {\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.sample();\n\t\t} else {\n\t\t\t// do search\n\t\t}\n\t}",
"public void SetPlayRingback(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetPlayRingback\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"@Override\n\t\t\t\tpublic void show(LinphoneCore lc) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n\tpublic void changeChannel() {\n\t\tSystem.out.println(\"Listening to Radio...\\n channel 1 2 3 4....\");\n\t}",
"public void setCalledFrom(short value) {\r\n this.calledFrom = value;\r\n }",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"speech.multilang.Params.ScoringControllerParams.Type getType();",
"public void stream(final String[] filter) {\r\n twitterStream.filter(new FilterQuery().track(filter));\r\n }",
"private void displaySpeechRecognizer() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n // Start the activity, the intent will be populated with the speech text\n startActivityForResult(intent, Constants.SPEECH_REQUEST_CODE);\n }",
"public void setAudioDescriptor( AudioDescriptor audioDescriptor );",
"public void addToConference(Call call);",
"public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }",
"public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(isSpeaker) {\n\t\t\t\t\t//当前是扬声器模式,需切换为听筒模式\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_IN_CALL);\n\t\t\t\t\tisSpeaker = false;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_IN_CALL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}else {\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_NORMAL);\n\t\t\t\t\tisSpeaker = true;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_NORMAL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}\n\t\t\t\thandler.sendEmptyMessage(0x777);\n\n\t\t\t}",
"public void clickedSpeakerEdit() {\n\t\tif(mainWindow.getSelectedRowSpeaker().length <= 0) ApplicationOutput.printLog(\"YOU DID NOT SELECT ANY PRESENTATION\");\n\t\telse if(mainWindow.getSelectedRowSpeaker().length > 1) ApplicationOutput.printLog(\"Please select only one presentation to edit\");\n\t\telse {\n\t\t\tshowSpeakeerDetails(mainWindow.getSelectedRowSpeaker()[0]);\n\t\t}\t\n\t}",
"@Override\n\tpublic void show(LinphoneCore lc) {\n\t\t\n\t}",
"public void setFilter (LSPFilter filter) {\r\n this.filter = filter;\r\n }",
"public void onVoiceStart(int sampleRates) {\n }",
"@Override\n\tpublic void canSpeak() {\n\t\t\n\t}",
"private String getSpeakerId(Response response) {\n String location = response.getHeaderString(\"location\");\n return location.substring(location.lastIndexOf(\"/\") + 1);\n }",
"public void setRingerDevice(String devid);",
"private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }",
"@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }",
"@Override\n public void setAccessibilityPhrase(String arg0)\n {\n \n }",
"@Override\n\tpublic\n\tString getName()\n\t{\n\t\treturn \"assistant\";\n\t}",
"protected void start() {\n\t\thellotv.setText(\"\");\n\t\tMap<String, Object> params = new LinkedHashMap<String, Object>();\n\t\tString event = null;\n\t\tevent = SpeechConstant.ASR_START;\n\t\t\n\t\tif (enableOffline) {\n params.put(SpeechConstant.DECODER, 2);\n }\n\t\t\n\t\tparams.put(SpeechConstant.ACCEPT_AUDIO_VOLUME, false);\n\t\t//params.put(SpeechConstant.PID, 1737);//English\n\t\t\n\t\tString json = null;\n\t\tjson = new JSONObject(params).toString();\n\t\tasr.send(event, json, null, 0, 0);\n\t\t\n\t\tprintresult(\"输入参数\"+ json);\n\t}",
"@Override\n public void onClick(View v) {\n HashMap<String, String> hash = new HashMap<String, String>();\n hash.put(\n TextToSpeech.Engine.KEY_PARAM_STREAM,\n String.valueOf(AudioManager.STREAM_NOTIFICATION));\n textToSpeach.speak(questionText.getText().toString(), TextToSpeech.QUEUE_ADD, hash);\n }",
"speech.multilang.Params.OutputControllerParams.Type getType();",
"public void ResultVoiceIn(EventVoice event);",
"private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}",
"public void prepareCallObject(){\n\n SipAudioCall.Listener listener = new SipAudioCall.Listener(){\n\n\n @Override\n public void onCallEstablished(SipAudioCall call) {\n// call.startAudio();\n// call.setSpeakerMode(true);\n Log.i(\"sip-->\", \"onCallEstablished\");\n\n\n if (mTotalTime == 0L){\n mPointTime = System.currentTimeMillis();\n mHandler.removeCallbacks(mUpdateTimeTask);\n mHandler.postDelayed(mUpdateTimeTask, 100);\n }\n }\n\n\n @Override\n public void onCallEnded(SipAudioCall call) {\n\n mHandler.removeCallbacks(mUpdateTimeTask);\n finish();\n\n// endCall();\n\n }\n\n };\n try {\n call = manager.takeAudioCall(IncomingCallService_new.incomingIntent, listener);\n\n sipNameIncome = call.getPeerProfile().getUserName();\n// updateStatus(\"Odebrano od \" + sipNameIncome);\n caller_name.setText(sipNameIncome);\n } catch (SipException e) {\n e.printStackTrace();\n }\n\n\n }",
"public void startRecording(){\n String samplerateString = null, buffersizeString = null;\n if (Build.VERSION.SDK_INT >= 17) {\n AudioManager audioManager = (AudioManager) this.getSystemService(Context.AUDIO_SERVICE);\n samplerateString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE);\n buffersizeString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER);\n }\n samplerateString= \"48000\";\n buffersizeString = \"256\";\n\n System.loadLibrary(\"FrequencyDomain\");\n FrequencyDomain(Integer.parseInt(samplerateString), Integer.parseInt(buffersizeString));\n }",
"public int getAudioPort();",
"public void speak() {\r\n\t\tSystem.out.print(\"This Goose speaks\");\r\n\t}",
"@Override\n public String speak()\n {\n return \"Neigh\";\n }",
"public void setRemoteRingbackTone(String ring);",
"@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}",
"public String giveSalesPitch()\r\n\t{\r\n\t\treturn super.getName() + \" pressures others to buy stuff\"; \r\n\t}",
"private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}",
"@Override\n\t\tpublic void onCallStateChanged(int state, String incomingNumber) {\n\t\t\tswitch (state) {\n\t\t\t/* 取得手机是待机状态 */\n\t\t\tcase TelephonyManager.CALL_STATE_IDLE:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_IDLE);\n\n\t\t\t\ttry {\n\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t/* 设置手机为待机时响铃为正常模式 */\n\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n\t\t\t\t\t\taudioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为通话中 */\n\t\t\tcase TelephonyManager.CALL_STATE_OFFHOOK:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_OFFHOOK);\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为来电 */\n\t\t\tcase TelephonyManager.CALL_STATE_RINGING:\n\t\t\t\t/* 显示来电信息 */\n\t\t\t\tstateTips.setText(getResources().getText(\n\t\t\t\t\t\tR.string.str_CALL_STATE_RINGING)\n\t\t\t\t\t\t+ incomingNumber);\n Log.i(\"电话\",phoneView.getText().toString());\n\t\t\t\t/* 判断与输入电话是否为一样,一样则转为静音模式 */\n\t\t\t\tif (incomingNumber.equals(phoneView.getText().toString())) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t\t/* 设置响铃模式为静音 */\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\tToast.makeText(MainActivity.this,\n\t\t\t\t\t\t\t\t\tgetString(R.string.str_msg),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsuper.onCallStateChanged(state, incomingNumber);\n\n\t\t\tetPhone.setOnKeyListener(new EditText.OnKeyListener() {\n\t\t\t\tpublic boolean onKey(View v, int keyCode, KeyEvent event) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t/* 同步显示TextView */\n\t\t\t\t\tphoneView.setText(etPhone.getText());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}",
"public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}",
"public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }",
"private void callContactByName() {\n final ContactBook cb = ContactBook.getSharedInstance();\n words = text.split(\" \");\n try {\n if (words[0].contains(\"ing\")) {\n intent = new Intent(Intent.ACTION_CALL);\n String searchString = \"\";\n for (int i = 1; i < words.length; i++) {\n searchString += words[i] + \" \";\n }\n contact = cb.getClosestMatch(searchString);\n }\n if (contact != null) {\n if (contact.getDefaultNumber() != null && contact.getName() != null) {\n intent.setData(Uri.parse(\"tel:\" + contact.getDefaultNumber()));\n TextToSpeechUtility.readAloud(\"ringer \" + contact.getName());\n while (TextToSpeechUtility.isSpeaking()) {\n Thread.sleep(100);\n }\n startActivity(intent);\n finish();\n }\n }\n } catch (Throwable t) {\n }\n\n }",
"@Override\n public void onBeginningOfSpeech() {\n Log.i(\"SRL\", \"onBeginningOfSpeech\");\n }",
"public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }",
"public MediaAwareCallConference(boolean jitsiVideobridge, boolean translator)\r\n {\r\n super(jitsiVideobridge);\r\n\r\n this.translator = translator;\r\n int mediaTypeCount = MediaType.values().length;\r\n devices = new MediaDevice[mediaTypeCount];\r\n mixers = new MediaDevice[mediaTypeCount];\r\n\r\n /*\r\n * Listen to the MediaService in order to reflect changes in the user's selection with\r\n * respect to the default media device.\r\n */\r\n addMediaServicePropertyChangeListener(propertyChangeListener);\r\n }",
"public void talk(){\n\t\tSystem.out.println(this.name+\"が話す\");\n\t}",
"@VisibleForTesting\n public void setAssistantVisible(boolean z) {\n updateBiometricListeningState();\n }",
"public void speak(){\n System.out.println(\"Hi my name is \" + name + \".\\n\" +\n \"I am \" + age + \"years old and \" + height + \" feet tall.\");\n }",
"public void setSonClick(Audio son)\n {\n son_click = son;\n }",
"void setValueMixerSound(int value);",
"public void setFamily( String f )\n {\n family = f.toLowerCase( Locale.ENGLISH );\n }",
"public static void combinationSpeak (String name) {\n\t\tsynchronized (chicken) {\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t\tSystem.out.println(name+\": WOOOO\");\r\n\t\t\tSystem.out.println(name+\": WAOAH\");\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t}\r\n\t\tSystem.out.println(name+\": WHEEE\");\r\n\t\tSystem.out.println(\"------------------\");\r\n\t}",
"@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }",
"@Override\r\n public void onCreate(Bundle savedInstanceState)\r\n {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.chatterbox);\r\n\r\n // [mfs] This disables headphone communication... not exactly what we\r\n // want, but enough of a demo to make things straightforward...\r\n //AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\r\n //am.setMode(AudioManager.MODE_IN_CALL);\r\n //am.setSpeakerphoneOn(true);\r\n }",
"@Override\n\t\t\tpublic void onAudioFocusChange(int arg0) {\n\t\t\t}"
] | [
"0.58022004",
"0.5777037",
"0.5611328",
"0.55242735",
"0.55159587",
"0.54758066",
"0.5389073",
"0.5347541",
"0.52974725",
"0.5295791",
"0.52938163",
"0.5273623",
"0.52453446",
"0.524209",
"0.52013934",
"0.51234514",
"0.5096023",
"0.50894916",
"0.50395745",
"0.5030848",
"0.49952516",
"0.4995217",
"0.49907064",
"0.49766523",
"0.49641374",
"0.49160287",
"0.49119222",
"0.48946682",
"0.48913383",
"0.4885483",
"0.4865341",
"0.48640183",
"0.48603442",
"0.48591372",
"0.48527828",
"0.48518375",
"0.4851201",
"0.48421904",
"0.48415065",
"0.48345977",
"0.48345372",
"0.4833923",
"0.4831286",
"0.4816449",
"0.48115999",
"0.48103863",
"0.48065946",
"0.47997558",
"0.4793919",
"0.47812843",
"0.47787368",
"0.47747648",
"0.4768816",
"0.47611198",
"0.47597352",
"0.47562313",
"0.47555363",
"0.4750079",
"0.47469997",
"0.47459197",
"0.4743882",
"0.4743515",
"0.47267008",
"0.472202",
"0.4691591",
"0.46870017",
"0.46809804",
"0.46707246",
"0.46704367",
"0.46648017",
"0.46604863",
"0.46522036",
"0.46426672",
"0.46302357",
"0.46300948",
"0.4623842",
"0.46217266",
"0.46108404",
"0.46102786",
"0.46067232",
"0.45905584",
"0.45879805",
"0.45873407",
"0.4587252",
"0.4573551",
"0.45723194",
"0.45718697",
"0.45694917",
"0.45637998",
"0.45625243",
"0.4560321",
"0.45580235",
"0.45480177",
"0.45462993",
"0.45426345",
"0.45407063",
"0.45375535",
"0.45350194",
"0.45324135",
"0.45305598"
] | 0.46517178 | 72 |
Specifies which call leg to stream for speaker search. | public StartSpeakerSearchTaskRequest withCallLeg(String callLeg) {
setCallLeg(callLeg);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onCallEstablished(SipAudioCall call) {\n Toast.makeText(CallActivity.this, \"onCallEstablished\", Toast.LENGTH_SHORT).show();\n Log.d(TAG, \"onCallEstablished: \");\n try {\n call.answerCall(30);\n } catch (Exception e) {\n e.printStackTrace();\n }\n call.startAudio();\n call.setSpeakerMode(true);\n // call.toggleMute();\n updateStatus(call);\n updateLayout(CONNECTED);\n }",
"void setAudioRoute(String device);",
"private void turnOnSpeakerPhone() {\n mAudioManager.setMode(AudioManager.MODE_IN_CALL);\n mAudioManager.setSpeakerphoneOn(true);\n }",
"public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }",
"public void askForSpeaker(){\n System.out.println(\"Enter the speaker username\");\n }",
"public void SetCallRecording(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetCallRecording\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"private void LogRecognitionStart() {\n String recoSource;\n if (this.getUseMicrophone()) {\n recoSource = \"microphone\";\n } else if (this.getMode() == SpeechRecognitionMode.ShortPhrase) {\n recoSource = \"short wav file\";\n } else {\n recoSource = \"long wav file\";\n }\n\n this.WriteLine(\"\\n--- Start speech recognition using \" + recoSource + \" with \" + this.getMode() + \" mode in \" + this.getDefaultLocale() + \" language ----\\n\\n\");\n }",
"public Speak()\r\n {\r\n super( \"Speak\", \"Begin a conversation.\", \"p\" );\r\n }",
"public StartSpeakerSearchTaskRequest withCallLeg(CallLegType callLeg) {\n this.callLeg = callLeg.toString();\n return this;\n }",
"public void askForType() {\n System.out.println(\"What type of event will this be?\");\n System.out.println(\"1) Normal 2) Multi-Speaker 3) VIP\");\n }",
"public void setCallLeg(String callLeg) {\n this.callLeg = callLeg;\n }",
"public Speakers getSpeaker(){\n int speaker_id = getIntent().getExtras().getInt(AppController.SPEAKER_ID);\n DatabaseHandler dh = new DatabaseHandler(this);\n return dh.getSpeaker(speaker_id);\n }",
"public void setAudioPort(int port);",
"void speak() {\n\t\tSystem.out.println(\"저의 이름은 \" + name + \"이고 \" + \"혈액형은 \" + booldType +\"형 입니다\");\n\t}",
"public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }",
"@Override\n public void speak() {\n System.out.printf(\"i'm %s. I am a DINOSAURRRRR....!\\n\",this.name);\n }",
"public void speak()\n\t {\n\t \tSystem.out.printf(\"%s chants: Four legs good, Two legs BETTER\\n\", this.getName());\n\t }",
"@Override\n public void setRecordingHint(boolean hint) {\n }",
"public void setCallAlias(String callAlias) {\n\n\t}",
"public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }",
"public MediaAwareCallConference()\r\n {\r\n this(false);\r\n }",
"public void showTrainers(){\r\n System.out.println(\"Trainer: \"+this.lastName.toUpperCase()+\" \"+this.firstName.toUpperCase()+\" ,with subject: \"+\r\n this.subject.getStream().getTitle().toUpperCase());\r\n }",
"public void setListening(boolean z) {\n this.mKeyguardStatusBar.setListening(z);\n C0940QS qs = this.mQs;\n if (qs != null) {\n qs.setListening(z);\n }\n }",
"public void startDtmfStream();",
"private void acceptCall() {\n\t\ttry {\n\t\t\tupdateText(\"Pratar med \", call.getPeerProfile().getUserName());\n\t\t\tcall.answerCall(30);\n\t\t\tcall.startAudio();\n\t\t\tif (call.isMuted()) {\n\t\t\t\tcall.toggleMute();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\n\t\t}\n\t}",
"private void onAudioManagerChangedState() {\n setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);\n }",
"speech.multilang.Params.ForwardingControllerParams.Type getType();",
"public void putSilentOn() {\n StartupService.mode.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n }",
"public void setOnHwyEngRequestFlag(Character aOnHwyEngRequestFlag) {\n onHwyEngRequestFlag = aOnHwyEngRequestFlag;\n }",
"@Override\n public String speak()\n {\n return \"peep\";\n }",
"public void setContactFilter(Filter filter);",
"private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}",
"private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }",
"public void OnRtcLiveApplyLine(String strPeerId, String strUserName, String strBrief);",
"private void initiateCall(final String sipAddress, final String dst) {\n\t\ttry {\n\t\t\tSipAudioCall.Listener audioListener = new SipAudioCall.Listener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEstablished(SipAudioCall call) {\n\n\t\t\t\t\tupdateText(\"Pratar med \", dst);\n\n\t\t\t\t\tstopSounds();\n\t\t\t\t\tcall.startAudio();\n\t\t\t\t\tif (call.isMuted()) {\n\t\t\t\t\t\tcall.toggleMute();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEnded(SipAudioCall session) {\n\t\t\t\t\tviewToast(\"Samtalet avslutades\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onError(SipAudioCall call, int errorCode, String errorMessage) {\n\t\t\t\t\tviewToast(\"Samtalet bröts\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallBusy(SipAudioCall call) {\n\t\t\t\t\t/*soundPool.load(CallView.this, R.raw.busy, 1);\n\t\t\t\t\tLog.d( \"Ljuduppspelning, upptaget\", \"Ljud inladdat\");\n\t\t\t\t\tsoundPool.setOnLoadCompleteListener(new OnLoadCompleteListener(){\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onLoadComplete(SoundPool soundPool, int soundId, int status) {\n\t\t\t\t\t\t\tif(status == 0){\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Ready\");\n//\t\t\t\t\t\t\t\t\tfloat volume = audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tfloat maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, volume\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, maxVolume\", Float.toString(maxVolume));\n//\t\t\t\t\t\t\t\t\tvolume = volume / maxVolume;\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, VOLYM\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tsoundPool.play(soundId, volume, volume, 1, -1, 1);\n\t\t\t\t\t\t\t\tsavedVolume = audioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\t\tsoundPool.setVolume(soundId, (float)0.1, (float)0.1);\n\t\t\t\t\t\t\t\tsoundPool.play(soundId, (float)0.1, (float)0.1, 1, 3, (float)1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Error\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});*/\n\t\t\t\t\tviewToast(\"Mottagaren är upptagen\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tcall = SipController.manager.makeAudioCall(\n\t\t\t\t\tSipController.me.getUriString(), sipAddress,\n\t\t\t\t\taudioListener, 30);\n\n\t\t} catch (Exception e) {\n\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\"Error when trying to close manager.\", e);\n\t\t\tif (SipController.me != null) {\n\t\t\t\ttry {\n\t\t\t\t\tSipController.manager.close(SipController.me\n\t\t\t\t\t\t\t.getUriString());\n\t\t\t\t} catch (Exception ee) {\n\t\t\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\t\t\"Error when trying to close manager.\", ee);\n\t\t\t\t\tee.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\t\t}\n\t}",
"private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }",
"private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }",
"private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }",
"@Override\r\n\tpublic void setAudioFormat(AudioFormat format) {\r\n\r\n\t}",
"@Override\r\n\tpublic void call() {\n\t\tSystem.out.println(\"通过语音打电话\");\r\n\t}",
"public void speak() {\r\n\t\tSystem.out.print(\"This Tiger speaks\");\r\n\t}",
"public Builder setStream(boolean value) {\n \n stream_ = value;\n onChanged();\n return this;\n }",
"public void updateStatus(SipAudioCall call) {\n String useName = call.getPeerProfile().getDisplayName();\n if (useName == null) {\n useName = call.getPeerProfile().getUserName();\n }\n updateStatus(useName + \"@\" + call.getPeerProfile().getSipDomain());\n }",
"public void listener() {\n\t\tif (this.command.getMode().equals(Command.MODE_TRACK)) {\n\t\t\tFilterQuery filterQuery = new FilterQuery();\n\t\t\tfilterQuery.track(this.command.getKeywords().toArray(new String[this.command.getKeywords().size()]));\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.filter(filterQuery);\n\t\t} else if (this.command.getMode().equals(Command.MODE_SAMPLE)) {\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.sample();\n\t\t} else {\n\t\t\t// do search\n\t\t}\n\t}",
"public void SetPlayRingback(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetPlayRingback\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"@Override\n\t\t\t\tpublic void show(LinphoneCore lc) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n\tpublic void changeChannel() {\n\t\tSystem.out.println(\"Listening to Radio...\\n channel 1 2 3 4....\");\n\t}",
"public void setCalledFrom(short value) {\r\n this.calledFrom = value;\r\n }",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"speech.multilang.Params.ScoringControllerParams.Type getType();",
"public void stream(final String[] filter) {\r\n twitterStream.filter(new FilterQuery().track(filter));\r\n }",
"private void displaySpeechRecognizer() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n // Start the activity, the intent will be populated with the speech text\n startActivityForResult(intent, Constants.SPEECH_REQUEST_CODE);\n }",
"public void setAudioDescriptor( AudioDescriptor audioDescriptor );",
"public void addToConference(Call call);",
"public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }",
"public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(isSpeaker) {\n\t\t\t\t\t//当前是扬声器模式,需切换为听筒模式\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_IN_CALL);\n\t\t\t\t\tisSpeaker = false;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_IN_CALL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}else {\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_NORMAL);\n\t\t\t\t\tisSpeaker = true;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_NORMAL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}\n\t\t\t\thandler.sendEmptyMessage(0x777);\n\n\t\t\t}",
"public void clickedSpeakerEdit() {\n\t\tif(mainWindow.getSelectedRowSpeaker().length <= 0) ApplicationOutput.printLog(\"YOU DID NOT SELECT ANY PRESENTATION\");\n\t\telse if(mainWindow.getSelectedRowSpeaker().length > 1) ApplicationOutput.printLog(\"Please select only one presentation to edit\");\n\t\telse {\n\t\t\tshowSpeakeerDetails(mainWindow.getSelectedRowSpeaker()[0]);\n\t\t}\t\n\t}",
"@Override\n\tpublic void show(LinphoneCore lc) {\n\t\t\n\t}",
"public void setFilter (LSPFilter filter) {\r\n this.filter = filter;\r\n }",
"public void onVoiceStart(int sampleRates) {\n }",
"@Override\n\tpublic void canSpeak() {\n\t\t\n\t}",
"private String getSpeakerId(Response response) {\n String location = response.getHeaderString(\"location\");\n return location.substring(location.lastIndexOf(\"/\") + 1);\n }",
"public void setRingerDevice(String devid);",
"private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }",
"@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }",
"@Override\n public void setAccessibilityPhrase(String arg0)\n {\n \n }",
"@Override\n\tpublic\n\tString getName()\n\t{\n\t\treturn \"assistant\";\n\t}",
"protected void start() {\n\t\thellotv.setText(\"\");\n\t\tMap<String, Object> params = new LinkedHashMap<String, Object>();\n\t\tString event = null;\n\t\tevent = SpeechConstant.ASR_START;\n\t\t\n\t\tif (enableOffline) {\n params.put(SpeechConstant.DECODER, 2);\n }\n\t\t\n\t\tparams.put(SpeechConstant.ACCEPT_AUDIO_VOLUME, false);\n\t\t//params.put(SpeechConstant.PID, 1737);//English\n\t\t\n\t\tString json = null;\n\t\tjson = new JSONObject(params).toString();\n\t\tasr.send(event, json, null, 0, 0);\n\t\t\n\t\tprintresult(\"输入参数\"+ json);\n\t}",
"@Override\n public void onClick(View v) {\n HashMap<String, String> hash = new HashMap<String, String>();\n hash.put(\n TextToSpeech.Engine.KEY_PARAM_STREAM,\n String.valueOf(AudioManager.STREAM_NOTIFICATION));\n textToSpeach.speak(questionText.getText().toString(), TextToSpeech.QUEUE_ADD, hash);\n }",
"speech.multilang.Params.OutputControllerParams.Type getType();",
"public String getCallLeg() {\n return this.callLeg;\n }",
"public void ResultVoiceIn(EventVoice event);",
"private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}",
"public void prepareCallObject(){\n\n SipAudioCall.Listener listener = new SipAudioCall.Listener(){\n\n\n @Override\n public void onCallEstablished(SipAudioCall call) {\n// call.startAudio();\n// call.setSpeakerMode(true);\n Log.i(\"sip-->\", \"onCallEstablished\");\n\n\n if (mTotalTime == 0L){\n mPointTime = System.currentTimeMillis();\n mHandler.removeCallbacks(mUpdateTimeTask);\n mHandler.postDelayed(mUpdateTimeTask, 100);\n }\n }\n\n\n @Override\n public void onCallEnded(SipAudioCall call) {\n\n mHandler.removeCallbacks(mUpdateTimeTask);\n finish();\n\n// endCall();\n\n }\n\n };\n try {\n call = manager.takeAudioCall(IncomingCallService_new.incomingIntent, listener);\n\n sipNameIncome = call.getPeerProfile().getUserName();\n// updateStatus(\"Odebrano od \" + sipNameIncome);\n caller_name.setText(sipNameIncome);\n } catch (SipException e) {\n e.printStackTrace();\n }\n\n\n }",
"public void startRecording(){\n String samplerateString = null, buffersizeString = null;\n if (Build.VERSION.SDK_INT >= 17) {\n AudioManager audioManager = (AudioManager) this.getSystemService(Context.AUDIO_SERVICE);\n samplerateString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE);\n buffersizeString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER);\n }\n samplerateString= \"48000\";\n buffersizeString = \"256\";\n\n System.loadLibrary(\"FrequencyDomain\");\n FrequencyDomain(Integer.parseInt(samplerateString), Integer.parseInt(buffersizeString));\n }",
"public int getAudioPort();",
"public void speak() {\r\n\t\tSystem.out.print(\"This Goose speaks\");\r\n\t}",
"@Override\n public String speak()\n {\n return \"Neigh\";\n }",
"public void setRemoteRingbackTone(String ring);",
"@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}",
"public String giveSalesPitch()\r\n\t{\r\n\t\treturn super.getName() + \" pressures others to buy stuff\"; \r\n\t}",
"private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}",
"@Override\n\t\tpublic void onCallStateChanged(int state, String incomingNumber) {\n\t\t\tswitch (state) {\n\t\t\t/* 取得手机是待机状态 */\n\t\t\tcase TelephonyManager.CALL_STATE_IDLE:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_IDLE);\n\n\t\t\t\ttry {\n\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t/* 设置手机为待机时响铃为正常模式 */\n\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n\t\t\t\t\t\taudioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为通话中 */\n\t\t\tcase TelephonyManager.CALL_STATE_OFFHOOK:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_OFFHOOK);\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为来电 */\n\t\t\tcase TelephonyManager.CALL_STATE_RINGING:\n\t\t\t\t/* 显示来电信息 */\n\t\t\t\tstateTips.setText(getResources().getText(\n\t\t\t\t\t\tR.string.str_CALL_STATE_RINGING)\n\t\t\t\t\t\t+ incomingNumber);\n Log.i(\"电话\",phoneView.getText().toString());\n\t\t\t\t/* 判断与输入电话是否为一样,一样则转为静音模式 */\n\t\t\t\tif (incomingNumber.equals(phoneView.getText().toString())) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t\t/* 设置响铃模式为静音 */\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\tToast.makeText(MainActivity.this,\n\t\t\t\t\t\t\t\t\tgetString(R.string.str_msg),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsuper.onCallStateChanged(state, incomingNumber);\n\n\t\t\tetPhone.setOnKeyListener(new EditText.OnKeyListener() {\n\t\t\t\tpublic boolean onKey(View v, int keyCode, KeyEvent event) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t/* 同步显示TextView */\n\t\t\t\t\tphoneView.setText(etPhone.getText());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}",
"public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}",
"public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }",
"private void callContactByName() {\n final ContactBook cb = ContactBook.getSharedInstance();\n words = text.split(\" \");\n try {\n if (words[0].contains(\"ing\")) {\n intent = new Intent(Intent.ACTION_CALL);\n String searchString = \"\";\n for (int i = 1; i < words.length; i++) {\n searchString += words[i] + \" \";\n }\n contact = cb.getClosestMatch(searchString);\n }\n if (contact != null) {\n if (contact.getDefaultNumber() != null && contact.getName() != null) {\n intent.setData(Uri.parse(\"tel:\" + contact.getDefaultNumber()));\n TextToSpeechUtility.readAloud(\"ringer \" + contact.getName());\n while (TextToSpeechUtility.isSpeaking()) {\n Thread.sleep(100);\n }\n startActivity(intent);\n finish();\n }\n }\n } catch (Throwable t) {\n }\n\n }",
"@Override\n public void onBeginningOfSpeech() {\n Log.i(\"SRL\", \"onBeginningOfSpeech\");\n }",
"public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }",
"public MediaAwareCallConference(boolean jitsiVideobridge, boolean translator)\r\n {\r\n super(jitsiVideobridge);\r\n\r\n this.translator = translator;\r\n int mediaTypeCount = MediaType.values().length;\r\n devices = new MediaDevice[mediaTypeCount];\r\n mixers = new MediaDevice[mediaTypeCount];\r\n\r\n /*\r\n * Listen to the MediaService in order to reflect changes in the user's selection with\r\n * respect to the default media device.\r\n */\r\n addMediaServicePropertyChangeListener(propertyChangeListener);\r\n }",
"public void talk(){\n\t\tSystem.out.println(this.name+\"が話す\");\n\t}",
"@VisibleForTesting\n public void setAssistantVisible(boolean z) {\n updateBiometricListeningState();\n }",
"public void speak(){\n System.out.println(\"Hi my name is \" + name + \".\\n\" +\n \"I am \" + age + \"years old and \" + height + \" feet tall.\");\n }",
"public void setSonClick(Audio son)\n {\n son_click = son;\n }",
"void setValueMixerSound(int value);",
"public void setFamily( String f )\n {\n family = f.toLowerCase( Locale.ENGLISH );\n }",
"public static void combinationSpeak (String name) {\n\t\tsynchronized (chicken) {\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t\tSystem.out.println(name+\": WOOOO\");\r\n\t\t\tSystem.out.println(name+\": WAOAH\");\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t}\r\n\t\tSystem.out.println(name+\": WHEEE\");\r\n\t\tSystem.out.println(\"------------------\");\r\n\t}",
"@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }",
"@Override\r\n public void onCreate(Bundle savedInstanceState)\r\n {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.chatterbox);\r\n\r\n // [mfs] This disables headphone communication... not exactly what we\r\n // want, but enough of a demo to make things straightforward...\r\n //AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\r\n //am.setMode(AudioManager.MODE_IN_CALL);\r\n //am.setSpeakerphoneOn(true);\r\n }",
"@Override\n\t\t\tpublic void onAudioFocusChange(int arg0) {\n\t\t\t}"
] | [
"0.58022004",
"0.5777037",
"0.5611328",
"0.55242735",
"0.55159587",
"0.54758066",
"0.5389073",
"0.5347541",
"0.52974725",
"0.5295791",
"0.52938163",
"0.5273623",
"0.52453446",
"0.524209",
"0.51234514",
"0.5096023",
"0.50894916",
"0.50395745",
"0.5030848",
"0.49952516",
"0.4995217",
"0.49907064",
"0.49766523",
"0.49641374",
"0.49160287",
"0.49119222",
"0.48946682",
"0.48913383",
"0.4885483",
"0.4865341",
"0.48640183",
"0.48603442",
"0.48591372",
"0.48527828",
"0.48518375",
"0.4851201",
"0.48421904",
"0.48415065",
"0.48345977",
"0.48345372",
"0.4833923",
"0.4831286",
"0.4816449",
"0.48115999",
"0.48103863",
"0.48065946",
"0.47997558",
"0.4793919",
"0.47812843",
"0.47787368",
"0.47747648",
"0.4768816",
"0.47611198",
"0.47597352",
"0.47562313",
"0.47555363",
"0.4750079",
"0.47469997",
"0.47459197",
"0.4743882",
"0.4743515",
"0.47267008",
"0.472202",
"0.4691591",
"0.46870017",
"0.46809804",
"0.46707246",
"0.46704367",
"0.46648017",
"0.46604863",
"0.46522036",
"0.46517178",
"0.46426672",
"0.46302357",
"0.46300948",
"0.4623842",
"0.46217266",
"0.46108404",
"0.46102786",
"0.46067232",
"0.45905584",
"0.45879805",
"0.45873407",
"0.4587252",
"0.4573551",
"0.45723194",
"0.45718697",
"0.45694917",
"0.45637998",
"0.45625243",
"0.4560321",
"0.45580235",
"0.45480177",
"0.45462993",
"0.45426345",
"0.45407063",
"0.45375535",
"0.45350194",
"0.45324135",
"0.45305598"
] | 0.52013934 | 14 |
Specifies which call leg to stream for speaker search. | public StartSpeakerSearchTaskRequest withCallLeg(CallLegType callLeg) {
this.callLeg = callLeg.toString();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onCallEstablished(SipAudioCall call) {\n Toast.makeText(CallActivity.this, \"onCallEstablished\", Toast.LENGTH_SHORT).show();\n Log.d(TAG, \"onCallEstablished: \");\n try {\n call.answerCall(30);\n } catch (Exception e) {\n e.printStackTrace();\n }\n call.startAudio();\n call.setSpeakerMode(true);\n // call.toggleMute();\n updateStatus(call);\n updateLayout(CONNECTED);\n }",
"void setAudioRoute(String device);",
"private void turnOnSpeakerPhone() {\n mAudioManager.setMode(AudioManager.MODE_IN_CALL);\n mAudioManager.setSpeakerphoneOn(true);\n }",
"public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }",
"public void askForSpeaker(){\n System.out.println(\"Enter the speaker username\");\n }",
"public void SetCallRecording(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetCallRecording\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"private void LogRecognitionStart() {\n String recoSource;\n if (this.getUseMicrophone()) {\n recoSource = \"microphone\";\n } else if (this.getMode() == SpeechRecognitionMode.ShortPhrase) {\n recoSource = \"short wav file\";\n } else {\n recoSource = \"long wav file\";\n }\n\n this.WriteLine(\"\\n--- Start speech recognition using \" + recoSource + \" with \" + this.getMode() + \" mode in \" + this.getDefaultLocale() + \" language ----\\n\\n\");\n }",
"public Speak()\r\n {\r\n super( \"Speak\", \"Begin a conversation.\", \"p\" );\r\n }",
"public void askForType() {\n System.out.println(\"What type of event will this be?\");\n System.out.println(\"1) Normal 2) Multi-Speaker 3) VIP\");\n }",
"public void setCallLeg(String callLeg) {\n this.callLeg = callLeg;\n }",
"public Speakers getSpeaker(){\n int speaker_id = getIntent().getExtras().getInt(AppController.SPEAKER_ID);\n DatabaseHandler dh = new DatabaseHandler(this);\n return dh.getSpeaker(speaker_id);\n }",
"public void setAudioPort(int port);",
"void speak() {\n\t\tSystem.out.println(\"저의 이름은 \" + name + \"이고 \" + \"혈액형은 \" + booldType +\"형 입니다\");\n\t}",
"public StartSpeakerSearchTaskRequest withCallLeg(String callLeg) {\n setCallLeg(callLeg);\n return this;\n }",
"public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }",
"@Override\n public void speak() {\n System.out.printf(\"i'm %s. I am a DINOSAURRRRR....!\\n\",this.name);\n }",
"public void speak()\n\t {\n\t \tSystem.out.printf(\"%s chants: Four legs good, Two legs BETTER\\n\", this.getName());\n\t }",
"@Override\n public void setRecordingHint(boolean hint) {\n }",
"public void setCallAlias(String callAlias) {\n\n\t}",
"public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }",
"public MediaAwareCallConference()\r\n {\r\n this(false);\r\n }",
"public void showTrainers(){\r\n System.out.println(\"Trainer: \"+this.lastName.toUpperCase()+\" \"+this.firstName.toUpperCase()+\" ,with subject: \"+\r\n this.subject.getStream().getTitle().toUpperCase());\r\n }",
"public void setListening(boolean z) {\n this.mKeyguardStatusBar.setListening(z);\n C0940QS qs = this.mQs;\n if (qs != null) {\n qs.setListening(z);\n }\n }",
"public void startDtmfStream();",
"private void acceptCall() {\n\t\ttry {\n\t\t\tupdateText(\"Pratar med \", call.getPeerProfile().getUserName());\n\t\t\tcall.answerCall(30);\n\t\t\tcall.startAudio();\n\t\t\tif (call.isMuted()) {\n\t\t\t\tcall.toggleMute();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\n\t\t}\n\t}",
"private void onAudioManagerChangedState() {\n setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);\n }",
"speech.multilang.Params.ForwardingControllerParams.Type getType();",
"public void putSilentOn() {\n StartupService.mode.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n }",
"public void setOnHwyEngRequestFlag(Character aOnHwyEngRequestFlag) {\n onHwyEngRequestFlag = aOnHwyEngRequestFlag;\n }",
"@Override\n public String speak()\n {\n return \"peep\";\n }",
"public void setContactFilter(Filter filter);",
"private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}",
"private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }",
"public void OnRtcLiveApplyLine(String strPeerId, String strUserName, String strBrief);",
"private void initiateCall(final String sipAddress, final String dst) {\n\t\ttry {\n\t\t\tSipAudioCall.Listener audioListener = new SipAudioCall.Listener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEstablished(SipAudioCall call) {\n\n\t\t\t\t\tupdateText(\"Pratar med \", dst);\n\n\t\t\t\t\tstopSounds();\n\t\t\t\t\tcall.startAudio();\n\t\t\t\t\tif (call.isMuted()) {\n\t\t\t\t\t\tcall.toggleMute();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallEnded(SipAudioCall session) {\n\t\t\t\t\tviewToast(\"Samtalet avslutades\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onError(SipAudioCall call, int errorCode, String errorMessage) {\n\t\t\t\t\tviewToast(\"Samtalet bröts\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t\t@Override\n\t\t\t\tpublic void onCallBusy(SipAudioCall call) {\n\t\t\t\t\t/*soundPool.load(CallView.this, R.raw.busy, 1);\n\t\t\t\t\tLog.d( \"Ljuduppspelning, upptaget\", \"Ljud inladdat\");\n\t\t\t\t\tsoundPool.setOnLoadCompleteListener(new OnLoadCompleteListener(){\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onLoadComplete(SoundPool soundPool, int soundId, int status) {\n\t\t\t\t\t\t\tif(status == 0){\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Ready\");\n//\t\t\t\t\t\t\t\t\tfloat volume = audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tfloat maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL);\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, volume\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, maxVolume\", Float.toString(maxVolume));\n//\t\t\t\t\t\t\t\t\tvolume = volume / maxVolume;\n//\t\t\t\t\t\t\t\t\tLog.d(\"Ringer, VOLYM\", Float.toString(volume));\n//\t\t\t\t\t\t\t\t\tsoundPool.play(soundId, volume, volume, 1, -1, 1);\n\t\t\t\t\t\t\t\tsavedVolume = audioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\t\tsoundPool.setVolume(soundId, (float)0.1, (float)0.1);\n\t\t\t\t\t\t\t\tsoundPool.play(soundId, (float)0.1, (float)0.1, 1, 3, (float)1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tLog.d(\"onLoadComplete\", \"Error\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});*/\n\t\t\t\t\tviewToast(\"Mottagaren är upptagen\");\n\t\t\t\t\tfinish();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tcall = SipController.manager.makeAudioCall(\n\t\t\t\t\tSipController.me.getUriString(), sipAddress,\n\t\t\t\t\taudioListener, 30);\n\n\t\t} catch (Exception e) {\n\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\"Error when trying to close manager.\", e);\n\t\t\tif (SipController.me != null) {\n\t\t\t\ttry {\n\t\t\t\t\tSipController.manager.close(SipController.me\n\t\t\t\t\t\t\t.getUriString());\n\t\t\t\t} catch (Exception ee) {\n\t\t\t\t\tLog.i(\"WalkieTalkieActivity/InitiateCall\",\n\t\t\t\t\t\t\t\"Error when trying to close manager.\", ee);\n\t\t\t\t\tee.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\t\t}\n\t}",
"private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }",
"private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }",
"private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }",
"@Override\r\n\tpublic void setAudioFormat(AudioFormat format) {\r\n\r\n\t}",
"@Override\r\n\tpublic void call() {\n\t\tSystem.out.println(\"通过语音打电话\");\r\n\t}",
"public void speak() {\r\n\t\tSystem.out.print(\"This Tiger speaks\");\r\n\t}",
"public Builder setStream(boolean value) {\n \n stream_ = value;\n onChanged();\n return this;\n }",
"public void updateStatus(SipAudioCall call) {\n String useName = call.getPeerProfile().getDisplayName();\n if (useName == null) {\n useName = call.getPeerProfile().getUserName();\n }\n updateStatus(useName + \"@\" + call.getPeerProfile().getSipDomain());\n }",
"public void listener() {\n\t\tif (this.command.getMode().equals(Command.MODE_TRACK)) {\n\t\t\tFilterQuery filterQuery = new FilterQuery();\n\t\t\tfilterQuery.track(this.command.getKeywords().toArray(new String[this.command.getKeywords().size()]));\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.filter(filterQuery);\n\t\t} else if (this.command.getMode().equals(Command.MODE_SAMPLE)) {\n\t\t\ttwitterStream.addListener(myListener);\n\t\t\ttwitterStream.sample();\n\t\t} else {\n\t\t\t// do search\n\t\t}\n\t}",
"public void SetPlayRingback(boolean option){\n FunctionLogger logger=new FunctionLogger(\"SetPlayRingback\",this,myLogger);\n logger.args(option);\n PlayRingbackFlag=option;\n }",
"@Override\n\t\t\t\tpublic void show(LinphoneCore lc) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n\tpublic void changeChannel() {\n\t\tSystem.out.println(\"Listening to Radio...\\n channel 1 2 3 4....\");\n\t}",
"public void setCalledFrom(short value) {\r\n this.calledFrom = value;\r\n }",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"speech.multilang.Params.ScoringControllerParams.Type getType();",
"public void stream(final String[] filter) {\r\n twitterStream.filter(new FilterQuery().track(filter));\r\n }",
"private void displaySpeechRecognizer() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n // Start the activity, the intent will be populated with the speech text\n startActivityForResult(intent, Constants.SPEECH_REQUEST_CODE);\n }",
"public void setAudioDescriptor( AudioDescriptor audioDescriptor );",
"public void addToConference(Call call);",
"public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }",
"public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(isSpeaker) {\n\t\t\t\t\t//当前是扬声器模式,需切换为听筒模式\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_IN_CALL);\n\t\t\t\t\tisSpeaker = false;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_IN_CALL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}else {\n\t\t\t\t\talert.dismiss();\n\t\t\t\t\taudioManager.setMode(AudioManager.MODE_NORMAL);\n\t\t\t\t\tisSpeaker = true;\n\t\t\t\t\teditor.putInt(\"mode\", AudioManager.MODE_NORMAL);\n\t\t\t\t\teditor.commit();\n\n\t\t\t\t}\n\t\t\t\thandler.sendEmptyMessage(0x777);\n\n\t\t\t}",
"public void clickedSpeakerEdit() {\n\t\tif(mainWindow.getSelectedRowSpeaker().length <= 0) ApplicationOutput.printLog(\"YOU DID NOT SELECT ANY PRESENTATION\");\n\t\telse if(mainWindow.getSelectedRowSpeaker().length > 1) ApplicationOutput.printLog(\"Please select only one presentation to edit\");\n\t\telse {\n\t\t\tshowSpeakeerDetails(mainWindow.getSelectedRowSpeaker()[0]);\n\t\t}\t\n\t}",
"@Override\n\tpublic void show(LinphoneCore lc) {\n\t\t\n\t}",
"public void setFilter (LSPFilter filter) {\r\n this.filter = filter;\r\n }",
"public void onVoiceStart(int sampleRates) {\n }",
"@Override\n\tpublic void canSpeak() {\n\t\t\n\t}",
"private String getSpeakerId(Response response) {\n String location = response.getHeaderString(\"location\");\n return location.substring(location.lastIndexOf(\"/\") + 1);\n }",
"public void setRingerDevice(String devid);",
"private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }",
"@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }",
"@Override\n public void setAccessibilityPhrase(String arg0)\n {\n \n }",
"@Override\n\tpublic\n\tString getName()\n\t{\n\t\treturn \"assistant\";\n\t}",
"protected void start() {\n\t\thellotv.setText(\"\");\n\t\tMap<String, Object> params = new LinkedHashMap<String, Object>();\n\t\tString event = null;\n\t\tevent = SpeechConstant.ASR_START;\n\t\t\n\t\tif (enableOffline) {\n params.put(SpeechConstant.DECODER, 2);\n }\n\t\t\n\t\tparams.put(SpeechConstant.ACCEPT_AUDIO_VOLUME, false);\n\t\t//params.put(SpeechConstant.PID, 1737);//English\n\t\t\n\t\tString json = null;\n\t\tjson = new JSONObject(params).toString();\n\t\tasr.send(event, json, null, 0, 0);\n\t\t\n\t\tprintresult(\"输入参数\"+ json);\n\t}",
"@Override\n public void onClick(View v) {\n HashMap<String, String> hash = new HashMap<String, String>();\n hash.put(\n TextToSpeech.Engine.KEY_PARAM_STREAM,\n String.valueOf(AudioManager.STREAM_NOTIFICATION));\n textToSpeach.speak(questionText.getText().toString(), TextToSpeech.QUEUE_ADD, hash);\n }",
"speech.multilang.Params.OutputControllerParams.Type getType();",
"public String getCallLeg() {\n return this.callLeg;\n }",
"public void ResultVoiceIn(EventVoice event);",
"private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}",
"public void prepareCallObject(){\n\n SipAudioCall.Listener listener = new SipAudioCall.Listener(){\n\n\n @Override\n public void onCallEstablished(SipAudioCall call) {\n// call.startAudio();\n// call.setSpeakerMode(true);\n Log.i(\"sip-->\", \"onCallEstablished\");\n\n\n if (mTotalTime == 0L){\n mPointTime = System.currentTimeMillis();\n mHandler.removeCallbacks(mUpdateTimeTask);\n mHandler.postDelayed(mUpdateTimeTask, 100);\n }\n }\n\n\n @Override\n public void onCallEnded(SipAudioCall call) {\n\n mHandler.removeCallbacks(mUpdateTimeTask);\n finish();\n\n// endCall();\n\n }\n\n };\n try {\n call = manager.takeAudioCall(IncomingCallService_new.incomingIntent, listener);\n\n sipNameIncome = call.getPeerProfile().getUserName();\n// updateStatus(\"Odebrano od \" + sipNameIncome);\n caller_name.setText(sipNameIncome);\n } catch (SipException e) {\n e.printStackTrace();\n }\n\n\n }",
"public void startRecording(){\n String samplerateString = null, buffersizeString = null;\n if (Build.VERSION.SDK_INT >= 17) {\n AudioManager audioManager = (AudioManager) this.getSystemService(Context.AUDIO_SERVICE);\n samplerateString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE);\n buffersizeString = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER);\n }\n samplerateString= \"48000\";\n buffersizeString = \"256\";\n\n System.loadLibrary(\"FrequencyDomain\");\n FrequencyDomain(Integer.parseInt(samplerateString), Integer.parseInt(buffersizeString));\n }",
"public int getAudioPort();",
"public void speak() {\r\n\t\tSystem.out.print(\"This Goose speaks\");\r\n\t}",
"@Override\n public String speak()\n {\n return \"Neigh\";\n }",
"public void setRemoteRingbackTone(String ring);",
"@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}",
"public String giveSalesPitch()\r\n\t{\r\n\t\treturn super.getName() + \" pressures others to buy stuff\"; \r\n\t}",
"private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}",
"@Override\n\t\tpublic void onCallStateChanged(int state, String incomingNumber) {\n\t\t\tswitch (state) {\n\t\t\t/* 取得手机是待机状态 */\n\t\t\tcase TelephonyManager.CALL_STATE_IDLE:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_IDLE);\n\n\t\t\t\ttry {\n\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t/* 设置手机为待机时响铃为正常模式 */\n\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n\t\t\t\t\t\taudioManager.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为通话中 */\n\t\t\tcase TelephonyManager.CALL_STATE_OFFHOOK:\n\t\t\t\tstateTips.setText(R.string.str_CALL_STATE_OFFHOOK);\n\t\t\t\tbreak;\n\n\t\t\t/* 取得手机状态为来电 */\n\t\t\tcase TelephonyManager.CALL_STATE_RINGING:\n\t\t\t\t/* 显示来电信息 */\n\t\t\t\tstateTips.setText(getResources().getText(\n\t\t\t\t\t\tR.string.str_CALL_STATE_RINGING)\n\t\t\t\t\t\t+ incomingNumber);\n Log.i(\"电话\",phoneView.getText().toString());\n\t\t\t\t/* 判断与输入电话是否为一样,一样则转为静音模式 */\n\t\t\t\tif (incomingNumber.equals(phoneView.getText().toString())) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\t\tif (audioManager != null) {\n\t\t\t\t\t\t\t/* 设置响铃模式为静音 */\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n\t\t\t\t\t\t\taudioManager\n\t\t\t\t\t\t\t\t\t.getStreamVolume(AudioManager.STREAM_RING);\n\t\t\t\t\t\t\tToast.makeText(MainActivity.this,\n\t\t\t\t\t\t\t\t\tgetString(R.string.str_msg),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tstateTips.setText(e.toString());\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsuper.onCallStateChanged(state, incomingNumber);\n\n\t\t\tetPhone.setOnKeyListener(new EditText.OnKeyListener() {\n\t\t\t\tpublic boolean onKey(View v, int keyCode, KeyEvent event) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t/* 同步显示TextView */\n\t\t\t\t\tphoneView.setText(etPhone.getText());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}",
"public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}",
"public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }",
"private void callContactByName() {\n final ContactBook cb = ContactBook.getSharedInstance();\n words = text.split(\" \");\n try {\n if (words[0].contains(\"ing\")) {\n intent = new Intent(Intent.ACTION_CALL);\n String searchString = \"\";\n for (int i = 1; i < words.length; i++) {\n searchString += words[i] + \" \";\n }\n contact = cb.getClosestMatch(searchString);\n }\n if (contact != null) {\n if (contact.getDefaultNumber() != null && contact.getName() != null) {\n intent.setData(Uri.parse(\"tel:\" + contact.getDefaultNumber()));\n TextToSpeechUtility.readAloud(\"ringer \" + contact.getName());\n while (TextToSpeechUtility.isSpeaking()) {\n Thread.sleep(100);\n }\n startActivity(intent);\n finish();\n }\n }\n } catch (Throwable t) {\n }\n\n }",
"@Override\n public void onBeginningOfSpeech() {\n Log.i(\"SRL\", \"onBeginningOfSpeech\");\n }",
"public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }",
"public MediaAwareCallConference(boolean jitsiVideobridge, boolean translator)\r\n {\r\n super(jitsiVideobridge);\r\n\r\n this.translator = translator;\r\n int mediaTypeCount = MediaType.values().length;\r\n devices = new MediaDevice[mediaTypeCount];\r\n mixers = new MediaDevice[mediaTypeCount];\r\n\r\n /*\r\n * Listen to the MediaService in order to reflect changes in the user's selection with\r\n * respect to the default media device.\r\n */\r\n addMediaServicePropertyChangeListener(propertyChangeListener);\r\n }",
"public void talk(){\n\t\tSystem.out.println(this.name+\"が話す\");\n\t}",
"@VisibleForTesting\n public void setAssistantVisible(boolean z) {\n updateBiometricListeningState();\n }",
"public void speak(){\n System.out.println(\"Hi my name is \" + name + \".\\n\" +\n \"I am \" + age + \"years old and \" + height + \" feet tall.\");\n }",
"public void setSonClick(Audio son)\n {\n son_click = son;\n }",
"void setValueMixerSound(int value);",
"public void setFamily( String f )\n {\n family = f.toLowerCase( Locale.ENGLISH );\n }",
"public static void combinationSpeak (String name) {\n\t\tsynchronized (chicken) {\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t\tSystem.out.println(name+\": WOOOO\");\r\n\t\t\tSystem.out.println(name+\": WAOAH\");\r\n\t\t\tSystem.out.println(\"**************\");\r\n\t\t}\r\n\t\tSystem.out.println(name+\": WHEEE\");\r\n\t\tSystem.out.println(\"------------------\");\r\n\t}",
"@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }",
"@Override\r\n public void onCreate(Bundle savedInstanceState)\r\n {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.chatterbox);\r\n\r\n // [mfs] This disables headphone communication... not exactly what we\r\n // want, but enough of a demo to make things straightforward...\r\n //AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\r\n //am.setMode(AudioManager.MODE_IN_CALL);\r\n //am.setSpeakerphoneOn(true);\r\n }",
"@Override\n\t\t\tpublic void onAudioFocusChange(int arg0) {\n\t\t\t}"
] | [
"0.58022004",
"0.5777037",
"0.5611328",
"0.55242735",
"0.55159587",
"0.54758066",
"0.5389073",
"0.5347541",
"0.5295791",
"0.52938163",
"0.5273623",
"0.52453446",
"0.524209",
"0.52013934",
"0.51234514",
"0.5096023",
"0.50894916",
"0.50395745",
"0.5030848",
"0.49952516",
"0.4995217",
"0.49907064",
"0.49766523",
"0.49641374",
"0.49160287",
"0.49119222",
"0.48946682",
"0.48913383",
"0.4885483",
"0.4865341",
"0.48640183",
"0.48603442",
"0.48591372",
"0.48527828",
"0.48518375",
"0.4851201",
"0.48421904",
"0.48415065",
"0.48345977",
"0.48345372",
"0.4833923",
"0.4831286",
"0.4816449",
"0.48115999",
"0.48103863",
"0.48065946",
"0.47997558",
"0.4793919",
"0.47812843",
"0.47787368",
"0.47747648",
"0.4768816",
"0.47611198",
"0.47597352",
"0.47562313",
"0.47555363",
"0.4750079",
"0.47469997",
"0.47459197",
"0.4743882",
"0.4743515",
"0.47267008",
"0.472202",
"0.4691591",
"0.46870017",
"0.46809804",
"0.46707246",
"0.46704367",
"0.46648017",
"0.46604863",
"0.46522036",
"0.46517178",
"0.46426672",
"0.46302357",
"0.46300948",
"0.4623842",
"0.46217266",
"0.46108404",
"0.46102786",
"0.46067232",
"0.45905584",
"0.45879805",
"0.45873407",
"0.4587252",
"0.4573551",
"0.45723194",
"0.45718697",
"0.45694917",
"0.45637998",
"0.45625243",
"0.4560321",
"0.45580235",
"0.45480177",
"0.45462993",
"0.45426345",
"0.45407063",
"0.45375535",
"0.45350194",
"0.45324135",
"0.45305598"
] | 0.52974725 | 8 |
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. | @Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getVoiceConnectorId() != null)
sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
if (getTransactionId() != null)
sb.append("TransactionId: ").append(getTransactionId()).append(",");
if (getVoiceProfileDomainId() != null)
sb.append("VoiceProfileDomainId: ").append(getVoiceProfileDomainId()).append(",");
if (getClientRequestToken() != null)
sb.append("ClientRequestToken: ").append(getClientRequestToken()).append(",");
if (getCallLeg() != null)
sb.append("CallLeg: ").append(getCallLeg());
sb.append("}");
return sb.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toString() { return stringify(this, true); }",
"@Override\n public String toString() {\n return new JSONSerializer().serialize(this);\n }",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"@Override\n public String toString() {\n // TODO: Using Serializer\n return Serializer.toByteArray(this).toString();\n }",
"@Override\n public String toString() {\n return new Gson().toJson(this);\n }",
"@Override\n public String toString() {\n ObjectMapper mapper = new ObjectMapper();\n try {\n return mapper.writeValueAsString(this);\n } catch (JsonProcessingException e) {\n return null;\n }\n }",
"@Override\n public String toString() {\n return new GsonBuilder().serializeNulls().create().toJson(this).toString();\n }",
"public String toString() {\n StringWriter writer = new StringWriter();\n this.write(writer);\n return writer.toString();\n }",
"@Override\n public String toString() {\n return gson.toJson(this);\n }",
"@Override\n public String toString() {\n final Map<String, Object> augmentedToStringFields = Reflect.getStringInstanceVarEntries(this);\n augmentToStringFields(augmentedToStringFields);\n return Reflect.joinStringMap(augmentedToStringFields, this);\n }",
"@Override\n\tpublic String toString() {\n\t\treturn toStringBuilder(new StringBuilder()).toString();\n\t}",
"@Override\r\n public String toString() {\r\n return JsonSerializer.SerializeObject(this);\r\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }",
"@Override()\n public String toString()\n {\n final StringBuilder buffer = new StringBuilder();\n toString(buffer);\n return buffer.toString();\n }",
"@Override\n public String toString() {\n // TODO this is a sudo method only for testing puroposes\n return \"{name: 5aled, age:15}\";\n }",
"public String toString()\n\t{\n\t\treturn Printer.stringify(this, false);\n\t}",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"public String toString() {\n\t\t//TODO add your own field name here\t\t\n\t\t//return buffer.append(this.yourFieldName).toString();\n\t\treturn \"\";\n\t}",
"public String toString() {\n\t\treturn toString(true);\n\t}",
"public String toString() {\n return ToStringBuilder.reflectionToString(this);\n }",
"@Override\n\tpublic String toString() {\n\t\ttry {\n\t\t\treturn this.toJSONString(0);\n\t\t} catch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}",
"@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getName() != null)\n sb.append(\"Name: \").append(getName()).append(\",\");\n if (getPhoneNumber() != null)\n sb.append(\"PhoneNumber: \").append(\"***Sensitive Data Redacted***\").append(\",\");\n if (getEmail() != null)\n sb.append(\"Email: \").append(\"***Sensitive Data Redacted***\").append(\",\");\n if (getIdentificationNumber() != null)\n sb.append(\"IdentificationNumber: \").append(getIdentificationNumber()).append(\",\");\n if (getIdentificationExpirationDate() != null)\n sb.append(\"IdentificationExpirationDate: \").append(getIdentificationExpirationDate()).append(\",\");\n if (getIdentificationIssuingOrg() != null)\n sb.append(\"IdentificationIssuingOrg: \").append(getIdentificationIssuingOrg()).append(\",\");\n if (getDevicePickupId() != null)\n sb.append(\"DevicePickupId: \").append(getDevicePickupId());\n sb.append(\"}\");\n return sb.toString();\n }",
"@Override\n public String toString() {\n String str = \"\";\n\n //TODO: Complete Method\n\n return str;\n }",
"@Override\n\tpublic String toString() {\n\t\treturn toText();\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\tString str = \"\";\r\n\t\treturn str;\r\n\t}",
"@Override\n public String toString() {\n Gson gson = new Gson();\n\n String json = gson.toJson(this);\n System.out.println(\"json \\n\" + json);\n return json;\n }",
"@Override\n public String toString() {\n return toString(false, true, true, null);\n }",
"@Override\r\n\tpublic String toString() {\n\t\treturn JSONObject.toJSONString(this);\r\n\t}",
"public String toString() {\n\t\treturn toString(this);\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn Json.pretty( this );\n\t}",
"@Override\n public final String toString() {\n return asString(0, 4);\n }",
"@Override\n public String toString() {\n return MoreObjects.toStringHelper(this) //\n .add(\"name\", getName()) //\n .add(\"phNumber\", getPhNumber()) //\n .add(\"emailId\", getEmailId()) //\n .add(\"parent\", getParent()) //\n .toString();\n }",
"public java.lang.String toString() {\n return this.stringValue;\n }",
"@Override\r\n\tpublic String toString() {\r\n\t\treturn MoreObjects.toStringHelper(this) //\r\n\t\t\t\t.add(\"id\", getId()) //\r\n\t\t\t\t.add(\"parameter\", getParameter()) //\r\n\t\t\t\t.add(\"value\", getValue()) //\r\n\t\t\t\t.add(\"hieraAddress\", getHieraAddress()) //\r\n\t\t\t\t.toString();\r\n\t}",
"public String toString() {\n StringBuilder stringBuilder = new StringBuilder(40);\n stringBuilder.append(\"property '\").append(this.getName()).append(\"' (\");\n if (this._accessorMethod != null) {\n stringBuilder.append(\"via method \").append(this._accessorMethod.getDeclaringClass().getName()).append(\"#\").append(this._accessorMethod.getName());\n } else {\n stringBuilder.append(\"field \\\"\").append(this._field.getDeclaringClass().getName()).append(\"#\").append(this._field.getName());\n }\n if (this._serializer == null) {\n stringBuilder.append(\", no static serializer\");\n } else {\n stringBuilder.append(\", static serializer of type \" + this._serializer.getClass().getName());\n }\n stringBuilder.append(')');\n return stringBuilder.toString();\n }",
"@Override\n\tpublic String toString()\n\t{\n\t\treturn this.str;\n\t}",
"@Override\n public String toString() {\n byte[] buffer = toBuffer();\n return (buffer == null) ? null : new String(buffer, StandardCharsets.UTF_8);\n }",
"@Override\n public String toString() {\n return (this.str);\n }",
"public String toString()\n\t{\n\t\tString result = \"\";\n\t\tresult += this.data;\n\t\treturn result;\n\t}",
"@Override\n public String toString()\n {\n StringBuilder builder = new StringBuilder();\n dump(builder, 0, '\\'');\n return builder.toString();\n }",
"@Override\n\tpublic String toString() {\n\t\treturn JSON.toJSONString(this,SerializerFeature.WriteMapNullValue,\n\t\t\t\tSerializerFeature.WriteNonStringKeyAsString,\n\t\t\t\tSerializerFeature.WriteNullListAsEmpty,\n\t\t\t\tSerializerFeature.WriteNullNumberAsZero,\n\t\t\t\tSerializerFeature.WriteNullStringAsEmpty);\n\t}",
"@Override\n\tpublic String toString() {\n\t\tif (repr == null)\n\t\t\trepr = toString(null);\n\n\t\treturn repr;\n\t}",
"public String toString() {\n\treturn createString(data);\n }",
"public String toString() {\n\t\t\tif (this.getKey() == null) {\n\t\t\t\treturn \"\";\n\t\t\t} else {\n\t\t\t\treturn \"Key:\" + this.getKey() + \" Value:\" + this.getValue();\n\t\t\t}\n\t\t}",
"@Override\n public String toString() {\n return mString;\n }",
"public String toString() {\n return toDisplayString();\n }",
"public java.lang.String toString()\n {\n return this.stringValue;\n }",
"public String toString() {\n StringBuffer buffer = new StringBuffer();\n\n buffer.append(getClass().getName());\n buffer.append(\"@\");\n buffer.append(Integer.toHexString(hashCode()));\n buffer.append(\" [\");\n buffer.append(objectToString(\"Id\", getId()));\n buffer.append(objectToStringFK(\"Project\", getProject()));\n buffer.append(objectToStringFK(\"User\", getUser()));\n buffer.append(objectToString(\"Status\", getStatus()));\n buffer.append(objectToString(\"LastActivityDate\", getLastActivityDate()));\n buffer.append(objectToString(\"HasPiSeen\", getHasPiSeen()));\n buffer.append(objectToString(\"HasDpSeen\", getHasDpSeen()));\n buffer.append(objectToString(\"HasAdminSeen\", getHasAdminSeen()));\n buffer.append(objectToString(\"HasRequestorSeen\", getHasRequestorSeen()));\n buffer.append(objectToString(\"EmailStatus\", getEmailStatus()));\n buffer.append(\"]\");\n\n return buffer.toString();\n }",
"public String toString() {\n\t\treturn EPPUtil.toString(this);\n\t}",
"public String toString() {\n\t\treturn EPPUtil.toString(this);\n\t}",
"public String toString() {\r\n\t\treturn \"Name: \" + getName() + \" Phone: \" + phoneNumber + \" Email: \" + email;\r\n\t\t\r\n\t}",
"@Override\n public String toString() {\n return string;\n }",
"@Override\r\n\tpublic String toString() {\n\t\treturn value + \"\";\r\n\t}",
"@Override\n public final String toString() {\n return this.value;\n }",
"public String toString() {\n\t\treturn toString(0, 0);\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn \"\";\r\n\t}",
"@Override\n public String toString() {\n ByteArrayOutputStream bs = new ByteArrayOutputStream();\n PrintStream out = new PrintStream(bs);\n output(out, \"\");\n return bs.toString();\n }",
"@Override\n\tpublic String toString() {\n\t\treturn toJSON().toString();\n\t}",
"public String toString() {\r\n\t\treturn \"Name: \" + name + \"\\nAddress: \" + addr + \"\\n\" + city + \"\\n\"\r\n\t\t\t\t+ state + \"\\n\" + zip + \"\\nPhone: \" + phone + \"\\nId: \" + id\r\n\t\t\t\t+ \"\\nMajor: \" + major + \"\\nGPA: \" + gpa;\r\n\t}",
"public synchronized String toString() {\n StringBuffer oBuffer = new StringBuffer();\n\n oBuffer\n .append(\"Preprocessing params: \").append(this.oPreprocessingParams).append(\"\\n\")\n .append(\"Feature extraction params: \").append(this.oFeatureExtractionParams).append(\"\\n\")\n .append(\"Classification params: \").append(this.oClassificationParams);\n\n return oBuffer.toString();\n }",
"public String toString() {\r\n\t\treturn \"Name: \" + getName() + \"\\nAddress: \" + getAddress() + \"\\nPhone Number: \" + getPhoneNumber();\r\n\t}",
"@Override String toString();",
"@Override\n\tpublic String toString() {\n\t\treturn \"\";\n\t}",
"@Override\n public String toString() {\n return value();\n }",
"@Override\n\tpublic String toString() {\n\t\treturn this.toAnticipatedString();\n\t}",
"public String toString(){\r\n\t\tString superString = super.toString();\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\t//Add the object to the string\r\n\t\tbuilder.append(\". \");\r\n\t\tif (this.error != null) {\r\n\t\t\tbuilder.append(error.toString());\r\n\t\t\tbuilder.append(\". \");\r\n\t\t}\r\n\t\tbuilder.append(\"Object: \");\r\n\t\tbuilder.append(object.toString());\r\n\t\tif (this.recordRoute)\r\n\t\t\tbuilder.append(\", [RECORD_ROUTE]\");\r\n\t\tif (this.reRouting) \r\n\t\t\tbuilder.append(\", [RE-ROUTING]\");\r\n\t\t//Add the masks to the string\r\n\t\tif (this.mask != null) {\r\n\t\t\tbuilder.append(\", label set: \");\r\n\t\t\tbuilder.append(mask.toString());\r\n\t\t}\r\n\t\treturn superString.concat(builder.toString());\r\n\t}",
"@Override\n public String toString() {\n try {\n return new ObjectMapper().writeValueAsString(this);\n } catch (final JsonProcessingException ioe) {\n return ioe.getLocalizedMessage();\n }\n }",
"public String toString()\r\n\t{\r\n\t\treturn toCharSequence().toString();\r\n\t}",
"public String toString() {\n\t\treturn \"{\\\"username\\\":\\\"\" + this.username + \"\\\",\\\"apiKey\\\":\\\"\"\n\t\t\t\t+ this.apiKey + \"\\\",\\\"apiSecret:\\\"\" + this.apiSecret\n\t\t\t\t+ \"\\\",\\\"nonce:\\\"\" + this.nonce + \"\\\"}\";\n\t}",
"@Override\n public String toString() {\n return Objects.toStringHelper(this)\n .addValue(this.id)\n .addValue(this.name)\n .addValue(this.author)\n .addValue(this.description)\n .addValue(this.pictureOfCover)\n .toString();\n }",
"public String getAsString() {\n\t\treturn new String(this.getAsBytes());\n\t}",
"@Override\n public String toString() {\n return toStringHelper(this)\n .addValue(id)\n .addValue(firstName)\n .addValue(lastName)\n .addValue(email)\n .addValue(activities)\n .addValue(password).toString();\n }",
"public String toString() {\n return \"\" + data;\n }",
"public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the class attribute if required; default: don't.\r\n\t\tif (getIncludeClassAttribute() == true)\r\n\t\t\tOutString.append(getClassAttribute());\r\n\t\t// Add any transformation information,\r\n\t\t// probably the minimum is the x and y values.\r\n\t\t// again this is new to Java 1.4;\r\n\t\t// this function returns a StringBuffer.\r\n\t\tOutString.append(getAttributes());\r\n\t\t// close the tag.\r\n\t\tOutString.append(\">\");\r\n\t\tOutString.append(\"&\"+entityReferenceName+\";\");\r\n\t\t// close tag\r\n\t\tOutString.append(\"</\");\r\n\t\tOutString.append(getType());\r\n\t\tOutString.append(\">\");\r\n\r\n\t\treturn OutString.toString();\r\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn new StringBuilder()\n\t\t\t.append(this.getClass().getSimpleName())\n\t\t\t.append(\" { id:\").append(id)\n\t\t\t.append(\", version:\").append(version)\n\t\t\t.append(\" }\")\n\t\t\t.toString();\n\t}",
"public String toString() {\n\t\treturn (getValue().toString());\r\n\t}",
"public String toString() {\n StringBuffer buffer = new StringBuffer();\n\n buffer.append(getClass().getName());\n buffer.append(\"@\");\n buffer.append(Integer.toHexString(hashCode()));\n buffer.append(\" [\");\n buffer.append(objectToString(\"Id\", getId()));\n buffer.append(objectToString(\"ProjectName\", getProjectName()));\n buffer.append(objectToStringFK(\"DataProvider\", getDataProvider()));\n buffer.append(objectToStringFK(\"PrimaryInvestigator\", getPrimaryInvestigator()));\n buffer.append(objectToStringFK(\"CreatedBy\", getCreatedBy()));\n buffer.append(objectToString(\"CreatedTime\", getCreatedTime()));\n buffer.append(\"]\");\n\n return buffer.toString();\n }",
"public String toString ( ) {\r\n String returnString = _name + \"{ id: \" + _uniqueID + \" pos: [\"+ getPosition().getPosition() + \"] }\";\r\n return returnString;\r\n }",
"public String toString() {\n String output = \"\\nName: \" + name;\n output += \"\\nType: \" + type;\n output += \"\\nContact Details: \" + contactNo;\n output += \"\\nEmail address: \" + email;\n output += \"\\nResidentail Address: \" + address;\n\n return output;\n }",
"@Override \n\tpublic String toString() {\n\t\treturn stringForm;\n\t}",
"@Override public String toString();",
"@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\" {\");\n sb.append(\" \\\"fileid\\\":\\\"\").append(fileid);\n sb.append(\", \\\"filename\\\":\\\"\").append(filename);\n sb.append(\", \\\"fileupdate\\\":\\\"\").append(fileupdate);\n sb.append(\", \\\"filepath\\\":\\\"\").append(filepath);\n sb.append(\", \\\"fileuploader\\\":\\\"\").append(fileuploader);\n sb.append(\", \\\"isdelete\\\":\\\"\").append(isdelete);\n sb.append(\", \\\"filedesc\\\":\\\"\").append(filedesc);\n sb.append(\", \\\"filetype\\\":\\\"\").append(filetype);\n sb.append(\"\\\"}\");\n return sb.toString();\n }",
"public final String toString() {\n\t\tStringWriter write = new StringWriter();\n\t\tString out = null;\n\t\ttry {\n\t\t\toutput(write);\n\t\t\twrite.flush();\n\t\t\tout = write.toString();\n\t\t\twrite.close();\n\t\t} catch (UnsupportedEncodingException use) {\n\t\t\tuse.printStackTrace();\n\t\t} catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t}\n\t\treturn (out);\n\t}",
"public String toString() {\n\t\treturn super.toString();\n\t\t// This gives stack overflows:\n\t\t// return ToStringBuilder.reflectionToString(this);\n\t}",
"public String toString() {\n\t\tByteArrayOutputStream bos = new ByteArrayOutputStream();\n\n\t\tDocument document = XMLUtils.newDocument();\n\t\tdocument.appendChild(toXML(document));\n\t\tXMLUtils.write(bos, document);\n\n\t\treturn bos.toString();\n\t}",
"public String toString() {\n\t\treturn String.format(\"%s\\nID: %d\\nDescription: %s\\n\", name.toUpperCase(), id, description); \n\t}",
"public String toString() {\r\n String result = \"Name: \" + name + \"\\n\";\r\n\r\n result += \"Address: \" + address + \"\\n\";\r\n result += \"Phone: \" + phone;\r\n\r\n return result;\r\n }",
"@Override\n public String toString() {\n return \"\" + this.value;\n }",
"public String toString() {\n\t\treturn str;\n\t}",
"public String toString()\n\t{\n\t\treturn String.format(\"%-25s%-15s\\n%-25s%-15s\\n%-25s%-15s\\n%-25s%-15d\\n%-25s%-15s\\n%-25s$%,-13.2f\", \n\t\t\t\t \t\t \t \"Name\", this.getName(), \"Address:\", this.getAddress(), \"Telephone number:\", this.getTelephone(), \n\t\t\t\t \t\t \t \"Customer Number:\", this.getCustNum(), \"Email notifications:\", this.getSignedUp() == true ? \"Yes\" : \"No\",\n\t\t\t\t \t\t \t \"Purchase amount:\", this.getCustomerPurchase());\n\t}",
"public String toString() {\n return String.format(mFormat,\n format(mManufacturer),\n format(mBrand),\n format(mModel),\n mResolution,\n mDensity,\n mAndroidDensity,\n mVersion,\n mSdk,\n mLanguage);\n }",
"@Override\r\n public String toString() {\r\n return toSmartText().toString();\r\n }",
"@Override\n public String toString()\n {\n return this.toLsString();\n }",
"public String toString()\n {\n return this.string;\n }",
"@Override\n public String toString() {\n return Helper.concat(this.getClass().getName(), \"{\",\n \"id:\", getId(),\n \", name:\", getName(),\n \", positions:\", positions,\n \", resourceRoles:\", resourceRoles,\n \"}\");\n }",
"@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getVersion() != null)\n sb.append(\"version: \").append(getVersion()).append(\",\");\n if (getResource() != null)\n sb.append(\"resource: \").append(getResource()).append(\",\");\n if (getPath() != null)\n sb.append(\"path: \").append(getPath()).append(\",\");\n if (getHttpMethod() != null)\n sb.append(\"httpMethod: \").append(getHttpMethod()).append(\",\");\n if (getHeaders() != null)\n sb.append(\"headers: \").append(getHeaders().toString()).append(\",\");\n if (getMultiValueHeaders() != null)\n sb.append(\"multiValueHeaders: \").append(getMultiValueHeaders().toString()).append(\",\");\n if (getQueryStringParameters() != null)\n sb.append(\"queryStringParameters: \").append(getQueryStringParameters().toString()).append(\",\");\n if (getMultiValueQueryStringParameters() != null)\n sb.append(\"multiValueQueryStringParameters: \").append(getMultiValueQueryStringParameters().toString()).append(\",\");\n if (getPathParameters() != null)\n sb.append(\"pathParameters: \").append(getPathParameters().toString()).append(\",\");\n if (getStageVariables() != null)\n sb.append(\"stageVariables: \").append(getStageVariables().toString()).append(\",\");\n if (getRequestContext() != null)\n sb.append(\"requestContext: \").append(getRequestContext().toString()).append(\",\");\n if (getBody() != null)\n sb.append(\"body: \").append(getBody()).append(\",\");\n if (getIsBase64Encoded() != null)\n sb.append(\"isBase64Encoded: \").append(getIsBase64Encoded());\n sb.append(\"}\");\n return sb.toString();\n }",
"public String toString() {\n return \"\";\n }"
] | [
"0.8099716",
"0.8074264",
"0.80481327",
"0.80481327",
"0.8024954",
"0.7973921",
"0.79379946",
"0.79281527",
"0.79110223",
"0.7894643",
"0.7784174",
"0.77831227",
"0.7768207",
"0.77674526",
"0.77674526",
"0.77674526",
"0.7756826",
"0.7727761",
"0.7723216",
"0.7674655",
"0.7674655",
"0.76685494",
"0.76534367",
"0.76520324",
"0.7642267",
"0.76421475",
"0.7637043",
"0.76342314",
"0.7622402",
"0.7620848",
"0.7618394",
"0.7597843",
"0.75894254",
"0.7589274",
"0.7554506",
"0.7536828",
"0.7536164",
"0.75305164",
"0.7526667",
"0.75262237",
"0.75203013",
"0.7507029",
"0.74992347",
"0.7475098",
"0.74531215",
"0.7421431",
"0.74202114",
"0.7418266",
"0.74179596",
"0.7417149",
"0.74125934",
"0.7406075",
"0.7403064",
"0.7403064",
"0.7403029",
"0.7395766",
"0.73948026",
"0.7394776",
"0.73914146",
"0.73891836",
"0.73779446",
"0.73764926",
"0.73696995",
"0.7360527",
"0.73584634",
"0.73493624",
"0.73419327",
"0.7340686",
"0.7334498",
"0.73291045",
"0.73276854",
"0.7327288",
"0.73212504",
"0.73181844",
"0.731426",
"0.731221",
"0.73114365",
"0.7300581",
"0.72937435",
"0.72916776",
"0.7291194",
"0.72910064",
"0.72870064",
"0.72785366",
"0.7276363",
"0.7274622",
"0.72726476",
"0.7261485",
"0.72606444",
"0.7257474",
"0.7255692",
"0.7251078",
"0.72479033",
"0.724775",
"0.72447014",
"0.7241827",
"0.7240383",
"0.72377366",
"0.7236922",
"0.7231394",
"0.72254974"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
protected void generateRootElement(Map<String, String> reqMap,
Document returnDoc, IVenderConfig config) throws Exception {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
protected JSONArray generateJsonData(Element responseElement,
Map<String, String> reqMap) throws Exception {
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | public String getString() {
return scan.nextLine();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
Release landmark storage resources | void close() {
this.lms.close();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void releaseResources();",
"private void releaseResources(List<DetailEntry> releasedData) {\n }",
"protected abstract void deAllocateNativeResource();",
"@Override\n\tpublic void releaseAllResources() {\n\t}",
"public void release()\r\n\t{\r\n\t\tsuper.release();\r\n\t\t_href = null;\r\n\t\t_box = null;\r\n\t\t_bracket = null;\r\n\t\t_bracketFont = null;\r\n\r\n\t}",
"public void release() {\n\n mTextureRender = null;\n mSurfaceTexture = null;\n }",
"public void release()\n \t{\n \t\tif( iterator == null )\n \t\t{\n \t\t\tindex = new SpatialIndex();\n \t\t\tedgeAllocator = 0;\n \t\t\tmergeOps = null;\n \t\t\t\n \t\t\tSystem.gc();\n \t\t}\n \t}",
"public static void release() {\n\t}",
"public void cleanup();",
"public void release() throws JenaProviderException {\t\t\n\t}",
"public void release()\n {\n _pixxConfiguration=null;\n }",
"public void release();",
"public void release();",
"void delistResource(ExoResource xares) throws RollbackException, SystemException;",
"void _release();",
"public void release() {\n\t\t\n\t}",
"public void release() {\n }",
"public void release() {\r\n return;\r\n }",
"public abstract void release();",
"public abstract void release();",
"public abstract void release();",
"public void clean(){\n\t\tsynchronized(this.lock){\n\t\t\tint index=0;\n\t\t\tfor(ResourceStatus<T> resourceStatus:this.resourcesStatus){\n\t\t\t\tif(resourceStatus!=null){\n\t\t\t\t\tif(!resourceStatus.isInUse()){\n\t\t\t\t\t\tlong lastTime=resourceStatus.getLastNotInUseTime();\n\t\t\t\t\t\tlong currentTime=System.currentTimeMillis();\n\t\t\t\t\t\tT resource=resourceStatus.getResource();\n\t\t\t\t\t\tif((currentTime-lastTime)>=this.resourceAliveTime){\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tdestroyResource(resource);\n\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\tlogger.error(Constants.Base.EXCEPTION, e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.resourcesStatus[index]=null;\n\t\t\t\t\t\t\tthis.currentSize--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t}\n\t\t}\n\t}",
"public void release() {\n }",
"@Override\n\tpublic void releaseResouces() {\n\t\tsuper.releaseResouces();\n\t}",
"private void releaseResources() {\n\t\tstopForeground(true);\n\t\taudioManager.unregisterRemoteControlClient(remoteControlClient);\n\t\taudioManager.unregisterMediaButtonEventReceiver(remoteReceiver);\n\t\t\n\t\tif (mediaPlayer != null){\n\t\t\tmediaPlayer.reset();\n\t\t\tmediaPlayer.release();\n\t\t\tmediaPlayer = null;\n\t\t}\n\t\t\n\t\tif (wifiLock.isHeld()) {\n\t\t\twifiLock.release();\n\t\t}\n\t}",
"public void finalize() {\r\n byteBuffer2 = null;\r\n byteBuffer4 = null;\r\n byteBuffer8 = null;\r\n progressBar = null;\r\n tagBuffer = null;\r\n\r\n if (raFile != null) {\r\n\r\n try {\r\n raFile.close();\r\n } catch (final IOException ioe) {\r\n // Do nothing\r\n }\r\n }\r\n\r\n raFile = null;\r\n }",
"public void release() {\r\n super.release();\r\n this.page = null;\r\n }",
"protected abstract void onReleaseResources(final D data);",
"@Override\n public void release() {\n }",
"public void release() {\n\t\tsuper.release();\r\n\t\tinnerContent = null;\r\n\t\tlabelHead = null;\r\n\t\tscroll = null;\r\n\t}",
"@Override\r\n\tpublic void release()\r\n\t{\n\t}",
"@Override\n\tpublic void release() {\n\t\tsuper.release();\n\t\t\n\t\tthis.privilegeCode = null;\n\t\tthis.controlId = null;\n\t\tthis.controlType = null;\n\t\tthis.desc = null;\n\t}",
"@Override\n public void release() {\n \n }",
"@Override\n public void releaseResources() {\n if (cluster != null) {\n cluster.close();\n }\n if (cpds != null) {\n cpds.close();\n }\n }",
"public final void release() { \n native_release();\n }",
"@Override\n public void release() {\n }",
"void release();",
"void release();",
"@Override\n\tpublic void release() {\n\t}",
"public void release() {\r\n pageEL = null;\r\n params = null;\r\n super.release();\r\n }",
"@Override\n\tpublic void release() {\n\n\t}",
"@Override\n\tpublic void release() {\n\n\t}",
"private void release() {\n\t\tinitialized = false;\n\t\tpause();\n\t\tsetOnCompletionListener(null);\n\t\tgetMp().release();\n\t\tmp = null;\n\t}",
"private void deleteResource() {\n }",
"@Override\r\n\tpublic void release() {\n\r\n\t}",
"protected void releaseReferences() {\r\n\r\n\t}",
"public void finalize() {\r\n destImage = null;\r\n srcImage = null;\r\n sliceBuffer = null;\r\n super.finalize();\r\n }",
"@Override\n\tpublic void release() {\n\t\t\n\t}",
"public void release() {\r\n if (BuildConfig.DEBUG) {\r\n HiLog.debug(LABEL, \"release()\", new Object[0]);\r\n }\r\n if (!this.mNativeSurfaceHandle.equals(BigInteger.ZERO)) {\r\n this.mAgpContext.getEngine().destroySwapchain();\r\n Core.destroyAndroidSurface(this.mAgpContext.getDevice(), this.mNativeSurfaceHandle);\r\n this.mNativeSurfaceHandle = BigInteger.ZERO;\r\n }\r\n this.mAgpContext = null;\r\n }",
"public void cleanup() {\r\n }",
"public void cleanup() {\n }",
"protected abstract void cleanup();",
"@Override\n public void cleanup() {\n if (this.cleanedUp) {\n throw new IllegalStateException(\"Tried cleanup already cleared swapchain!\");\n }\n\n if (this.swapchain != VK_NULL_HANDLE) {\n for (final var imageView : this.imageViews) {\n imageView.close();\n }\n\n vkDestroySwapchainKHR(this.deviceContext.getDeviceHandle(), this.swapchain, null);\n }\n this.cleanedUp = true;\n }",
"public void releaseOCR(){\n \tif(baseApi != null){ baseApi.end(); baseApi = null; } \n\t\tmState = State.UNINITIALIZED;\n }",
"public void release() throws IOException;",
"private void release() {\n noxItemCatalog.release();\n noxItemCatalog.deleteObserver(catalogObserver);\n }",
"private void releaseResources(LogbookEntry data) {\n\n if (this.database != null && this.database.isOpen()){\n this.database.close();\n }\n if (this.databaseSchemaHelper != null) {\n this.databaseSchemaHelper.close();\n }\n }",
"@Override\r\n\tpublic void cleanup() {\n\t\t\r\n\t}",
"protected void release()\n {\n }",
"public void finalize() {\n acquire.release();\n }",
"public void finalize() {\n acquire.release();\n }",
"void cleanup();",
"void cleanup();",
"void cleanup();",
"void unsetRequiredResources();",
"@Override\n public void release() {\n\n if(trackerResultOverlay != null) {\n overlay.remove(trackerResultOverlay);\n trackerResultOverlay.clear();\n }\n\n if(detectorResultOverlay != null) {\n overlay.remove(detectorResultOverlay);\n detectorResultOverlay.clear();\n textBlockBuffer.clear();\n }\n\n }",
"private void releaseObjects() {\n if (fPermStorage != null) {\n Iterator<IJavaObject> iterator = fPermStorage.iterator();\n while (iterator.hasNext()) {\n IJavaObject object = iterator.next();\n try {\n object.enableCollection();\n } catch (CoreException e) {\n if ((e.getStatus().getException() instanceof VMDisconnectedException)) {\n break;\n }\n JDIDebugPlugin.log(e);\n }\n }\n fPermStorage = null;\n }\n }",
"public void removeResources() {\n\t\tresources.clear();\n\t}",
"protected void onReleaseResources(List<Lecturer> lecturers) {\n // For a simple List<> there is nothing to do. For something\n // like a Cursor, we would close it here.\n }",
"public void free(){\n\t\t//android.util.Log.d(TAG,\"free()\");\n\t\tthis.freeGeometries();\n\t\tthis.freeLights();\n\t\tthis.freeCameras();\n\t\tthis.freeTextures();\n\t\tthis.freeMaterials();\n\t}",
"public void finalize() {\r\n destImage = null;\r\n srcImage = null;\r\n super.finalize();\r\n }",
"public void shutdown() {\n\t\tInput.cleanUp();\n\t\tVAO.cleanUp();\n\t\tTexture2D.cleanUp();\n\t\tResourceLoader.cleanUp();\n\t}",
"@Override\n public boolean release(List<ResourceAllocation> allocations) {\n return false;\n }",
"public void cleanup() {\n\t}",
"@Override\r\n protected void onDestroy() {\r\n Log.d(LOGTAG, \"onDestroy\");\r\n super.onDestroy();\r\n\r\n try {\r\n vuforiaAppSession.stopAR();\r\n } catch (ArException e) {\r\n Log.e(LOGTAG, e.getString());\r\n }\r\n\r\n // Unload texture:\r\n mTextures.clear();\r\n mTextures = null;\r\n\r\n System.gc();\r\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"public void finalize() {\n delete();\n }",
"@After\n\tpublic void cleanUp() {\n\t\tif (model != null) {\n\t\t\tmodel.release(true);\n\t\t\tloader.unloadAll();\n\t\t}\n\t}",
"public void cleanup() {\n try {\n Files.delete(path);\n } catch (final IOException e) {\n throw new StageAccessException(\"Unable to delete staged document!\", e);\n }\n }",
"public void release() {\n super.release();\n _gboss = null;\n }",
"public final void release() {\n explicitlyLocked = false;\n byteBase.unlock();\n }",
"protected void onReleaseResources(D data) {\n // For a simple List<> there is nothing to do. For something\n // like a Cursor, we would close it here.\n }",
"public void release() { \r\n\t remoteControlClient = null;\r\n\t }",
"public void finalize() {\r\n\t\tdestImage = null;\r\n\t\tsrcImage = null;\r\n\t\tsuper.finalize();\r\n\t}",
"@Override\n public void cleanup() {\n \n }",
"@Override\n public void cleanup() {\n \n }",
"@Override\n\t public void onRelease() {\n\n\t }"
] | [
"0.7246885",
"0.67890453",
"0.67030305",
"0.66351885",
"0.65991837",
"0.65720326",
"0.6542363",
"0.6515438",
"0.64898634",
"0.6484479",
"0.6454106",
"0.6443672",
"0.6443672",
"0.64253956",
"0.6419997",
"0.6398533",
"0.63851947",
"0.63822174",
"0.63584375",
"0.63584375",
"0.63584375",
"0.6355086",
"0.63541985",
"0.6338031",
"0.6333049",
"0.6324775",
"0.63235545",
"0.631896",
"0.6296928",
"0.62962556",
"0.6291902",
"0.6283284",
"0.6279641",
"0.6271197",
"0.6260993",
"0.6255956",
"0.62357265",
"0.62357265",
"0.6230483",
"0.62304336",
"0.6226858",
"0.6226858",
"0.62240595",
"0.6219018",
"0.621129",
"0.6187672",
"0.61847156",
"0.6181368",
"0.61743563",
"0.61740404",
"0.6173261",
"0.61697435",
"0.61688",
"0.61648595",
"0.6148493",
"0.6142627",
"0.61375904",
"0.61071867",
"0.6095998",
"0.6089516",
"0.6089516",
"0.6070083",
"0.6070083",
"0.6070083",
"0.60699236",
"0.6064319",
"0.6058792",
"0.6056376",
"0.6054165",
"0.60489786",
"0.6044703",
"0.60378224",
"0.6036454",
"0.6036175",
"0.59968567",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.59936625",
"0.5991932",
"0.599114",
"0.5987479",
"0.59792125",
"0.59767425",
"0.5970404",
"0.5967883",
"0.59600466",
"0.59600466",
"0.5959206"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onAttach(Activity activity) {
super.onAttach(activity);
context=activity;
userPreferences = new UserPreferences(context);
jobManager = new JobManager(context);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
Created by stefanhaselboeck on 18.08.16. | public interface DesignOptionService {
DesignOptionDto getDesignOption(@NotNull Long id);
@PreAuthorize("hasRole('ROLE_USER')")
DesignOptionDto createDesignOption(DesignOptionChangeRequestDto designOption);
@PreAuthorize("hasRole('ROLE_USER') and hasPermission(#id, 'at.decisionexpert.neo4jentity.node.DecisionGuidanceModel', 'OWNER')")
DesignOptionDto updateDesignOptionProperties(@NotNull Long id, @NotNull DesignOptionChangeRequestDto newValues);
@PreAuthorize("hasRole('ROLE_USER') and hasPermission(#id, 'at.decisionexpert.neo4jentity.node.DecisionGuidanceModel', 'OWNER')")
void deleteDesignOption(@NotNull Long id);
/**
* Adding an empty relation attribute for a given DesignOption
*
* @param idDesignOption Which DesignOption
* @param attributeInfo The DTO where the information's of the relation and the toNode are stored (from client)
* @param relationClass Which Relation (Given by Type)
* @param toNodeType To which node type
* @param <T> Type identifier for Relation Class
* @return a new DesignOptionRelation
*/
@PreAuthorize("hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')")
<T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto createRelation(
@NotNull Long idDesignOption, DesignOptionRelationDto attributeInfo, Class<T> relationClass, Class<A> toNodeType);
/**
* Generic service for updating an existing DesignOption Relationship (e.g.
* Quality Attributes, etc.) - for neo4J relationships
*
* @param idDesignOption Which DesignOption
* @param idDesignOptionRelation Which DesignOption Relationship (e.g. DesignOption Quality
* Attribute)
* @param newValues The new Values for the DesignOption Relation -> for convinience
* stored in a model
* @param clazz The neo4j class information of the Type T (needed, because no
* class information at runtime)
* @return The updated and already persisted DesignOption Relation
*/
@PreAuthorize("hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')")
<T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto updateExistingRelationAttribute(
@NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, DesignOptionRelationDto newValues,
Class<T> clazz, Class<A> toNodeType);
/**
* Generic service for deleting an existing DesignOption Relationship (e.g.
* Quality Attributes, etc.) - for neo4J relationships
*
* @param idDesignOption Which DesignOption
* @param idDesignOptionRelation Which Relation
* @param relationClass The neo4j class information of the Type T (needed, because no
* class information at runtime)
*/
@PreAuthorize("hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')")
<T extends DOAttributeRelationship<? extends CoreData>> void deleteRelationAttribute(
@NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, Class<T> relationClass);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"private void poetries() {\n\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public void init() {\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"public void mo38117a() {\n }",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"@Override\n void init() {\n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n public void init() {}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n protected void init() {\n }",
"@Override\n\tprotected void initialize() {\n\n\t}",
"private void init() {\n\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\r\n\tpublic void init() {}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"private void m50366E() {\n }",
"public void mo4359a() {\n }",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"@Override\n protected void getExras() {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n public void initialize() { \n }",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\n\tpublic void init() {\n\t}",
"private void kk12() {\n\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void init()\n\t{\n\n\t}",
"@Override\n public void initialize() {}",
"@Override\n public void initialize() {}",
"@Override\n public void initialize() {}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"protected MetadataUGWD() {/* intentionally empty block */}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void init() {\n\t\t}"
] | [
"0.60470635",
"0.59194136",
"0.59029055",
"0.5744422",
"0.57341516",
"0.57341516",
"0.57250994",
"0.567243",
"0.5636414",
"0.5624386",
"0.56217176",
"0.5601694",
"0.5595778",
"0.558818",
"0.5574442",
"0.55680895",
"0.5557871",
"0.5556737",
"0.55383855",
"0.5532685",
"0.5532685",
"0.5532685",
"0.5532685",
"0.5532685",
"0.5532685",
"0.5521395",
"0.55178976",
"0.55178976",
"0.55178976",
"0.55178976",
"0.55178976",
"0.551413",
"0.5501367",
"0.54973847",
"0.54973847",
"0.5486099",
"0.54809654",
"0.5480411",
"0.5467901",
"0.54661447",
"0.5463158",
"0.54627633",
"0.5462459",
"0.54611105",
"0.54611105",
"0.5438504",
"0.54327047",
"0.5427251",
"0.54227954",
"0.5420365",
"0.5414626",
"0.5411402",
"0.5408857",
"0.5398249",
"0.5388606",
"0.5388606",
"0.5388606",
"0.5388581",
"0.53878134",
"0.53830487",
"0.5380621",
"0.5372707",
"0.53666717",
"0.53666717",
"0.5346734",
"0.5343559",
"0.5343509",
"0.5335911",
"0.53349626",
"0.53349626",
"0.53349626",
"0.53278345",
"0.53258103",
"0.53257656",
"0.53257656",
"0.53257656",
"0.53232485",
"0.53170216",
"0.5314438",
"0.5310488",
"0.5310041",
"0.5310041",
"0.52977324",
"0.5294647",
"0.5277145",
"0.5277145",
"0.5277145",
"0.52764493",
"0.52764493",
"0.52764493",
"0.52764493",
"0.52764493",
"0.52764493",
"0.52764493",
"0.5258734",
"0.52577895",
"0.5252359",
"0.5247294",
"0.52445376",
"0.5240676",
"0.52370995"
] | 0.0 | -1 |
Adding an empty relation attribute for a given DesignOption | @PreAuthorize("hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')")
<T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto createRelation(
@NotNull Long idDesignOption, DesignOptionRelationDto attributeInfo, Class<T> relationClass, Class<A> toNodeType); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiRelationNull(){if(this.get(\"csmiRelationNot\")==null)this.put(\"csmiRelationNot\", \"\");this.put(\"csmiRelation\", null);return this;}",
"@PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<? extends CoreData>> void deleteRelationAttribute(\n @NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, Class<T> relationClass);",
"@Override\n\tpublic Instances relationalValue(final Attribute att) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void setMissing(final Attribute att) {\n\n\t}",
"@Override\n\t\tpublic boolean hasRelationship() {\n\t\t\treturn false;\n\t\t}",
"void addRelation(IViewRelation relation);",
"protected Attribute createAttribute(DapAttribute dapattr) {\n return createAttribute(null, dapattr);\n }",
"void addConstraintRelation(IViewRelation relation);",
"Relation createRelation();",
"public void addRelationAttribute(String key, String value) {\n this.relationAttributes.put(key, value);\n }",
"public Option() {\n setAutoFields();\n }",
"@Override\n\tpublic Attribute getIdAttribute() {\n\t\treturn null;\n\t}",
"@Test\n public void testAssocOneWithNullAssoc() {\n\n Database server = DB.getDefault();\n\n final ProductConfiguration pc = new ProductConfiguration();\n pc.setName(\"PC1\");\n server.save(pc);\n\n CalculationResult r = new CalculationResult();\n final Double charge = 100.0;\n r.setCharge(charge);\n r.setProductConfiguration(pc);\n r.setGroupConfiguration(null);\n server.save(r);\n }",
"public KoleksiRelationExample() {\r\n oredCriteria = new ArrayList<Criteria>();\r\n }",
"public final void setOptional() {_occ.setOptional();}",
"void unsetFurtherRelations();",
"public void addInheritanceRelation(InheritanceRelation relation);",
"public OBOProperty getDefaultRelationship() {\n return DEFAULT_REL; // genotype influences phenotype\n }",
"boolean isSetFurtherRelations();",
"@Ignore\r\n @Test\r\n public void testSetType() {\r\n System.out.println(\"testSetType()\");\r\n Relation instance = new Relation(null, null);\r\n instance.setDirection(Relation.OUT);\r\n instance.setType(\"singer\");\r\n }",
"public ProAddAttrRecord() {\n super(ProAddAttr.PRO_ADD_ATTR);\n }",
"@Override\n\t\tprotected void resetAttribute() {\n\t\t}",
"@Override\n\tpublic Instances relationalValue(final int attIndex) {\n\t\treturn null;\n\t}",
"public void removeNonMemberInheritanceRelation(InheritanceRelation relation) throws ChameleonProgrammerException;",
"@Override\n public void addAttribute(ConfigurationNode attr)\n {\n attributes.addNode(attr);\n attr.setAttribute(true);\n attr.setParentNode(this);\n }",
"@PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto updateExistingRelationAttribute(\n @NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, DesignOptionRelationDto newValues,\n Class<T> clazz, Class<A> toNodeType);",
"public Option()\n {\n setOptionName(\"___\");\n setOptionPrice(9999.99);\n }",
"public void setNilCascadeType()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.microsoft.schemas.xrm._2011.metadata.CascadeType target = null;\r\n target = (com.microsoft.schemas.xrm._2011.metadata.CascadeType)get_store().find_element_user(CASCADETYPE$0, 0);\r\n if (target == null)\r\n {\r\n target = (com.microsoft.schemas.xrm._2011.metadata.CascadeType)get_store().add_element_user(CASCADETYPE$0);\r\n }\r\n target.setNil();\r\n }\r\n }",
"Relationship createRelationship();",
"public void disableAddAssociation() {\n System.out.println(\"disable add affliation\");\n teams_addAssociation.setDisable(false);\n teams_removeAssociation.setDisable(true);\n }",
"public void set_relation(String relation){\n\t\tthis.relation = relation;\n\t}",
"public void addRelation(String value) {\n/* 262 */ addStringToBag(\"relation\", value);\n/* */ }",
"@Override\r\n\t\tpublic boolean hasAttributes()\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}",
"Relation getNegation();",
"void setNilAttributeTypeDisplayName();",
"public void setRelationAttributes(Map<String, String> relationAttributes) {\n this.relationAttributes = relationAttributes;\n }",
"public void addImpliedRelationship(String parentTableName, String childTableName, String fkColumnName) {\n if (parentTableName.equalsIgnoreCase(childTableName)) {\n return;\n }\n \n // Don't create a relationship if one already exists in the config\n Iterator i = config.getRelationship().iterator();\n while (i.hasNext()) {\n Relationship r = (Relationship) i.next();\n if (r.getPrimaryKeyTable().equals(parentTableName) && r.getForeignKeyTable().equals(childTableName)) {\n return;\n }\n }\n \n Relationship r = FACTORY.createRelationship();\n r.setName(childTableName);\n r.setPrimaryKeyTable(parentTableName);\n r.setForeignKeyTable(childTableName);\n \n KeyPair pair = FACTORY.createKeyPair();\n pair.setPrimaryKeyColumn(\"ID\");\n pair.setForeignKeyColumn(fkColumnName);\n \n r.getKeyPair().add(pair);\n r.setMany(true);\n \n config.getRelationship().add(r);\n }",
"public RelationshipElement ()\n\t{\n\t\tthis(null, null);\n\t}",
"protected void addAddableOption(final JComponent setting) {\n settings.inverse().get(setting).setValue(null);\n addOptionPanel.addOption(setting);\n }",
"protected abstract boolean populateAttributes();",
"void removeConstraintRelation(IViewRelation relation);",
"private boolean isEmpty(ListItem<PropertyWrapper> attribute) {\n return false;\n }",
"@Override\n\tpublic boolean isMissing(final Attribute att) {\n\t\treturn false;\n\t}",
"AdditionalAttributes setAttribute(String name, Object value, boolean force);",
"public void addRelationAttrProp(String propName, String attrName, String value) {\n if (relationAttrProps.get(propName) == null) {\n relationAttrProps.put(propName, new HashMap<String, String>());\n }\n if (attrName != null && value != null) {\n relationAttrProps.get(propName).put(attrName, value);\n }\n }",
"private static void addRequiredOption(Options options, String opt, String longOpt, boolean hasArg, String description) {\n Option option = new Option(opt, longOpt, hasArg, description);\n option.setRequired(true);\n options.addOption(option);\n }",
"public interface IRelation {\n\n\t/**\n\t * Gets the negation of the relation.\n\t */\n\tRelation getNegation();\n}",
"@Override\n protected void onNullNonKeyAttribute(String attributeName) {\n if (getLocalSaveBehavior() == DynamoDBMapperConfig.SaveBehavior.UPDATE_SKIP_NULL_ATTRIBUTES\n || getLocalSaveBehavior() == DynamoDBMapperConfig.SaveBehavior.APPEND_SET) {\n return;\n } else {\n /* Delete attributes that are set as null in the object. */\n getAttributeValueUpdates()\n .put(attributeName,\n new AttributeValueUpdate()\n .withAction(\"DELETE\"));\n }\n }",
"public DefaultAttribute( String upId )\n {\n setUpId( upId );\n }",
"@Override\r\n\tpublic String getAttribute() {\n\t\treturn null;\r\n\t}",
"public Builder clearExtra() {\n \n extra_ = getDefaultInstance().getExtra();\n onChanged();\n return this;\n }",
"@Override\n\tpublic boolean insertOneEdge(NodeRelation nodeRelation) {\n\t\treturn false;\n\t}",
"void removeRelation(IViewRelation relation);",
"public boolean isPureFK() { // derived property\n return !_additionalFK && !_referrerAsOne;\n }",
"LinkRelation createLinkRelation();",
"public DBFKRelationPropertySheet ()\r\n {\r\n initComponents ();\r\n }",
"@Test(description = \"update interface with one relationship for non existing interface\")\n public void updateOneRelationship4NonExisting()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final RelationshipData rel = data.getRelationship(\"TestType\");\n data.create();\n\n final InterfaceData inter = data.getInterface(\"TestInterface\").addRelationship(rel);\n this.update(inter);\n\n Assert.assertEquals(this.mql(\"print interface '\" + inter.getName() + \"' select relationship dump\"),\n rel.getName(),\n \"check that only one relationship is defined\");\n }",
"@Ignore\r\n @Test\r\n public void testSetDirection() {\r\n System.out.println(\"testSetDirection()\");\r\n Relation instance = new Relation(\"singer\");\r\n instance.setDirection(Relation.OUT);\r\n }",
"@Override\n\tpublic int isOrNoSet() {\n\t\treturn 0;\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn \"(relation \" +\n\t\t\t\t(this.source != null ? this.source.getId() : \"nil\") + \" \" +\n\t\t\t\tthis.name.toString() + \" \" +\n\t\t\t\t(this.dest != null ? this.dest.toString() : \"nil\") + \")\";\n\t}",
"@Optional\n Association<GebaeudeArtStaBuComposite> gebaeudeArtStaBu();",
"public BegsBuilder preserveEdgeAttribute(StdAttribute attribute) {\n return preserveEdgeAttribute(attribute.name());\n }",
"@Override\n public final boolean hasForfeitAttribute() {\n return true;\n }",
"@Override\n\tpublic void setMandatory(boolean mandatory) {\n\t\t\n\t}",
"@Override\n\tpublic String toString(final Attribute att) {\n\t\treturn null;\n\t}",
"public PersonBuilderName noID()\n {\n edma_value[0] = null;\n return this;\n }",
"private void setRelationsValid(boolean value)\n {\n __relationsValid = value;\n }",
"@Override\n\t\tprotected void resetAttribute() {\n\t\t\tsuper.resetAttribute();\n\t\t\tmissing = false;\n\t\t\tmalformed = false;\n\t\t}",
"@Override\n\tpublic void setMissing(final int attIndex) {\n\n\t}",
"public void unsetDesc()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(DESC$10);\r\n }\r\n }",
"public void addOption(String property, List options, boolean runtime) {\n\t\tif (geneartor == null) {\n\t\t\tgeneartor = new CombinationGenerator();\n\t\t}\n\t\tif (propertyKeys == null) {\n\t\t\tpropertyKeys = new ArrayList<>();\n\t\t}\n\t\tif (!propertyKeys.contains(property)) {\n\t\t\tgeneartor.addDimension(options);\n\t\t\tpropertyKeys.add(property);\n\t\t\tif (runtime) runtimeKeys.set(propertyKeys.size()-1);\n\t\t}\n\t}",
"QueryElement addEmpty(String collectionProperty);",
"private Attributes adjustForeignAttributes(Attributes attributes) {\n return attributes;\n }",
"public void defineAttributeIfNotExists(String attrName, String typeDef) {\n log.debug(\"defineAttributeOrClearValuesIfExists(): \" + attrName + \": \" + typeDef);\n Assert.notNull(attrName, \"null attrName\");\n\n attrName = attrName.toLowerCase();\n ResultSet resultSet = attrNST.selectRows(\"name = '\" + attrName + \"'\", \"data_type\", \"*\");\n if (!resultSet.next()) {\n defineAttributeInternal(attrName, typeDef);\n }\n }",
"private Element generateEmptyOutboundElem(XmlProcessor hqmfXmlProcessor) {\n\t\tElement outboundRelElem = hqmfXmlProcessor.getOriginalDoc().createElement(OUTBOUND_RELATIONSHIP);\n\t\toutboundRelElem.setAttribute(TYPE_CODE, \"COMP\");\n\t\treturn outboundRelElem;\n\t}",
"boolean hasRelation();",
"@Override\r\n\t\tpublic boolean hasAttribute(String name)\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}",
"@Override\n\tpublic void uiDecisionSetDefaultAttributes() {\n\t\t// Add default attributes for decisions related to UI elements access\n\t\tAuthentication auth = SecurityContextHolder.getContext().getAuthentication();\n\t\tattrCatAry.add(\"SUBJECT\");\n\t\tattrTypeAry.add(\"INTEGER\");\n\t\tattrIdAry.add(\"com.axiomatics.seniority\");\n\t\tInteger seniority = null;\n\t\ttry {\n\t\t\tseniority = userRepository.findByEmail(auth.getName()).getSeniority();\n\t\t} catch (Exception e) {\n\t\t\tlog.info(e.toString());\n\t\t}\n\t\tattrValAry.add(seniority);\n\t\tlog.info(\"UI DECISION SET DEFAULT ATTRIBUTE WORKING...\");\n\n\t}",
"public void setDescriptorOnly( boolean descriptorOnly );",
"public Value setNotDontDelete() {\n checkNotUnknown();\n if (isNotDontDelete())\n return this;\n Value r = new Value(this);\n r.flags &= ~ATTR_DONTDELETE_ANY;\n r.flags |= ATTR_NOTDONTDELETE;\n return canonicalize(r);\n }",
"public Value setDontDelete() {\n checkNotUnknown();\n if (isDontDelete())\n return this;\n Value r = new Value(this);\n r.flags &= ~ATTR_DONTDELETE_ANY;\n r.flags |= ATTR_DONTDELETE;\n return canonicalize(r);\n }",
"public void addRelation(final IWiktionaryRelation relation) {\n\t\tif (relations == null)\n\t\t\trelations = new ArrayList<>();\n\t\trelations.add(relation);\n\t}",
"static Attribute createAttribute(String name, Field field) {\n\t\tAttribute attribute = new Attribute(name, field);\n\t\tattribute.setKind(Attribute.NONE);\n\t\tattribute.setPreferenceType(Attribute.GAIN);\n\t\treturn attribute;\n\t}",
"org.hl7.fhir.ObservationRelated addNewRelated();",
"@Override\n\tpublic void add() {\n\t\tperson.addRelationship(\"Friend\", friend);\n\t}",
"public Builder clearForceDeleteNull() {\n \n forceDeleteNull_ = false;\n onChanged();\n return this;\n }",
"public Builder clearPersonOutputCharacteristicsNull() {\n \n personOutputCharacteristicsNull_ = false;\n onChanged();\n return this;\n }",
"@Override\n public boolean hasFerocityAttribute() {\n return true;\n }",
"public void setOptional(boolean optional) {\n\t\tthis.optional = optional;\n\t}",
"public OntologyLinkModeTool()\n \t{\n \tedu.tufts.vue.ontology.ui.OntologyBrowser.getBrowser().addOntologySelectionListener(this);\n \t//creationLink.setID(\"<creationLink>\"); // can't use label or it will draw one \n \t//invisibleLinkEndpoint.addLinkRef(creationLink);\n \tcreationLink=null;\n invisibleLinkEndpoint.setSize(0,0);\n \n \t}",
"@attribute(value = \"\", required = false)\r\n\tpublic void addItem(Item i) {\r\n\t}",
"@Override\n public TransferRelation getTransferRelation() {\n return null;\n }",
"@Override\n public void onRPClassAddAttribute(RPClass rpclass,\n String name, Definition.Type type) {\n }",
"public DmcAttribute<?> addHsExtendedRef(SomeRelation value){\n DmcAttribute<?> attr = ((ExtendedRefHSDMO) core).addHsExtendedRef(value);\n return(attr);\n }",
"@Test(description = \"update interface with one attribute for non existing interface\")\n public void updateOneAttribute4NonExisting()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final AttributeStringData attr = data.getAttributeString(\"Attribute\");\n data.create();\n\n final InterfaceData inter = data.getInterface(\"TestInterface\").addAttribute(attr);\n this.update(inter);\n\n Assert.assertEquals(this.mql(\"print interface '\" + inter.getName() + \"' select attribute dump\"),\n attr.getName(),\n \"check that only one attribute is defined\");\n }",
"@Override\n\tpublic List<PersonRelation> getPersonRelation(PersonRelation personRelation) {\n\t\treturn null;\n\t}",
"public void setRequired(boolean required);",
"@Override\r\n\tpublic RequiredData requiredData() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic RequiredData requiredData() {\n\t\treturn null;\r\n\t}",
"@Override\n\tpublic void attributeAdded(TGAttribute attribute, TGEntity owner) {\n gLogger.log(TGLogger.TGLevel.Debug, \"Attribute is created\");\n\t}"
] | [
"0.5587403",
"0.554081",
"0.54481083",
"0.53763914",
"0.53485775",
"0.52557695",
"0.5242994",
"0.5183513",
"0.5094017",
"0.5075576",
"0.50709575",
"0.5051925",
"0.5036145",
"0.50190026",
"0.4994057",
"0.49706966",
"0.4959169",
"0.49573636",
"0.4957286",
"0.49434203",
"0.49400365",
"0.49377877",
"0.49295768",
"0.49294314",
"0.49277145",
"0.4927417",
"0.49000746",
"0.48989266",
"0.48926932",
"0.48841998",
"0.4873842",
"0.48450285",
"0.479363",
"0.47922367",
"0.47666135",
"0.47651443",
"0.47651157",
"0.47593132",
"0.47569346",
"0.47563624",
"0.47535318",
"0.4745676",
"0.47391114",
"0.47330055",
"0.4730484",
"0.47296458",
"0.47255474",
"0.4725011",
"0.47227812",
"0.4715806",
"0.47094062",
"0.47045815",
"0.47017547",
"0.4689075",
"0.46828622",
"0.4679378",
"0.46727002",
"0.46661577",
"0.46572998",
"0.46546388",
"0.4641771",
"0.46361268",
"0.4634183",
"0.4631063",
"0.46295357",
"0.46288395",
"0.46282414",
"0.4626077",
"0.4614545",
"0.46004817",
"0.45935217",
"0.45921668",
"0.4581977",
"0.45736375",
"0.4568502",
"0.45639116",
"0.45516136",
"0.4547263",
"0.45448035",
"0.45436215",
"0.4542162",
"0.45364866",
"0.4535918",
"0.45321953",
"0.45317483",
"0.4521147",
"0.45139256",
"0.45120806",
"0.4508162",
"0.45080745",
"0.4507511",
"0.4505636",
"0.45027927",
"0.44972694",
"0.44949907",
"0.44944024",
"0.44929817",
"0.44901407",
"0.44901407",
"0.44888434"
] | 0.5734789 | 0 |
Generic service for updating an existing DesignOption Relationship (e.g. Quality Attributes, etc.) for neo4J relationships | @PreAuthorize("hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')")
<T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto updateExistingRelationAttribute(
@NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, DesignOptionRelationDto newValues,
Class<T> clazz, Class<A> toNodeType); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface DesignOptionService {\n\n DesignOptionDto getDesignOption(@NotNull Long id);\n\n\n @PreAuthorize(\"hasRole('ROLE_USER')\")\n DesignOptionDto createDesignOption(DesignOptionChangeRequestDto designOption);\n\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#id, 'at.decisionexpert.neo4jentity.node.DecisionGuidanceModel', 'OWNER')\")\n DesignOptionDto updateDesignOptionProperties(@NotNull Long id, @NotNull DesignOptionChangeRequestDto newValues);\n\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#id, 'at.decisionexpert.neo4jentity.node.DecisionGuidanceModel', 'OWNER')\")\n void deleteDesignOption(@NotNull Long id);\n\n /**\n * Adding an empty relation attribute for a given DesignOption\n *\n * @param idDesignOption Which DesignOption\n * @param attributeInfo The DTO where the information's of the relation and the toNode are stored (from client)\n * @param relationClass Which Relation (Given by Type)\n * @param toNodeType To which node type\n * @param <T> Type identifier for Relation Class\n * @return a new DesignOptionRelation\n */\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto createRelation(\n @NotNull Long idDesignOption, DesignOptionRelationDto attributeInfo, Class<T> relationClass, Class<A> toNodeType);\n\n /**\n * Generic service for updating an existing DesignOption Relationship (e.g.\n * Quality Attributes, etc.) - for neo4J relationships\n *\n * @param idDesignOption Which DesignOption\n * @param idDesignOptionRelation Which DesignOption Relationship (e.g. DesignOption Quality\n * Attribute)\n * @param newValues The new Values for the DesignOption Relation -> for convinience\n * stored in a model\n * @param clazz The neo4j class information of the Type T (needed, because no\n * class information at runtime)\n * @return The updated and already persisted DesignOption Relation\n */\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto updateExistingRelationAttribute(\n @NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, DesignOptionRelationDto newValues,\n Class<T> clazz, Class<A> toNodeType);\n\n /**\n * Generic service for deleting an existing DesignOption Relationship (e.g.\n * Quality Attributes, etc.) - for neo4J relationships\n *\n * @param idDesignOption Which DesignOption\n * @param idDesignOptionRelation Which Relation\n * @param relationClass The neo4j class information of the Type T (needed, because no\n * class information at runtime)\n */\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<? extends CoreData>> void deleteRelationAttribute(\n @NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, Class<T> relationClass);\n}",
"@Override\n public void updateRelationship(LineageRelationship lineageRelationship) {\n GraphTraversalSource g = graphFactory.getGraphTraversalSource();\n Iterator<Edge> edge = g.E().has(PROPERTY_KEY_RELATIONSHIP_GUID, lineageRelationship.getGuid());\n if (!edge.hasNext()) {\n log.debug(EDGE_GUID_NOT_FOUND_WHEN_UPDATE, lineageRelationship.getGuid());\n rollbackTransaction(g);\n return;\n }\n commit(graphFactory, g, this::addOrUpdatePropertiesEdge, g, lineageRelationship, PROPERTIES_UPDATE_EXCEPTION);\n }",
"public void onRelationshipChanged();",
"@Test(description = \"update interface with one relationship for existing interface with another interface\")\n public void updateOneRelationship4ExistingOneRelationships()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final RelationshipData rel1 = data.getRelationship(\"TestRel1\");\n final RelationshipData rel2 = data.getRelationship(\"TestRel2\");\n final InterfaceData inter = data.getInterface(\"TestInterface\").addRelationship(rel1);\n data.create();\n\n inter.removeRelationships()\n .addRelationship(rel2);\n this.update(inter);\n\n Assert.assertEquals(this.mql(\"print interface '\" + inter.getName() + \"' select relationship dump\"),\n rel2.getName(),\n \"check that only second relationship is defined\");\n }",
"AdPartner updateAdPartner(AdPartner adPartner);",
"@Test(description = \"update interface with one relationship for existing interface with all relationships\")\n public void updateOneRelationship4ExistingAllRelationships()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final RelationshipData rel = data.getRelationship(\"TestRel\");\n final InterfaceData inter = data.getInterface(\"TestInterface\").addAllRelationships();\n data.create();\n\n inter.removeRelationships()\n .addRelationship(rel);\n this.update(inter);\n\n Assert.assertEquals(this.mql(\"print interface '\" + inter.getName() + \"' select relationship dump\"),\n rel.getName(),\n \"check that only one relationship is defined\");\n }",
"private void updateRelationship() {\n Statement statement = null;\n try {\n statement = this.connection.createStatement();\n ResultSet resultSet = statement.executeQuery(\"SELECT * FROM relationship\");\n Utils.printResultSet(resultSet);\n System.out.print(\"Select a relationship to update. Enter its id: \");\n Scanner scanner = new Scanner(System.in);\n String id = scanner.next();\n System.out.print(\"What do you want to update? Person1, Person2, or the relationship? \");\n String field = scanner.next();\n if (field.equalsIgnoreCase(\"Person1\")) {\n System.out.print(\"What is the first name of the person you want to update this relationship with?: \");\n String newPerson = scanner.next();\n int newID = Utils.selectPersonFromFirstName(newPerson, connection);\n statement.executeUpdate(\"UPDATE relationship SET person1_id = \" +\n newID + \" WHERE relation_id = \" + id);\n }\n else if (field.equalsIgnoreCase(\"Person2\")) {\n System.out.print(\"What is the first name of the person you want to update this relationship with?: \");\n String newPerson = scanner.next();\n int newID = Utils.selectPersonFromFirstName(newPerson, connection);\n statement.executeUpdate(\"UPDATE relationship SET person2_id = \" +\n newID + \" WHERE relation_id = \" + id);\n }\n else if (field.equalsIgnoreCase(\"relationship\")) {\n System.out.println(\"Enter the new relationship: \");\n String newRelationship = scanner.nextLine();\n statement.executeUpdate(\"UPDATE relationship SET relationship = \" +\n newRelationship + \" WHERE relation_id = \" + id);\n }\n else {\n System.out.println(\"Field not identified. Enter again. \");\n this.updateReunion();\n }\n\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"Relationship createRelationship();",
"private String replaceIntermediateObjectWithRel(Context context, String strOldRelId ,String strNewRelId ,String strNewRelIdSide,Map attributeMap) throws Exception {\r\n\r\n\t\tString strNewConnId=\"\";\r\n\t\tboolean isRelToRel = true;\r\n\t\tboolean isFrom = true;\r\n\r\n\t\ttry{\r\n\r\n\t\tDomainRelationship domRel = new DomainRelationship(strOldRelId);\r\n //Get the attributes on Relationship\r\n /*Map attributeMap = new HashMap();\r\n attributeMap = domRel.getAttributeMap(context,true);*/\r\n\r\n\r\n\t\t//Get the \"Type\" of rel\r\n\t\tStringList slRelSelects = new StringList(1);\r\n slRelSelects.addElement(DomainRelationship.SELECT_TYPE);\r\n\r\n if(strNewRelIdSide!=null && strNewRelIdSide.equalsIgnoreCase(\"from\")){\r\n \t//New Rel replaces FL/GBOM which is on \"from\" side of Old Rel hence we query now \"to\" side of Old Rel\r\n \tslRelSelects.add(\"to.id\");\r\n slRelSelects.add(\"torel.id\");\r\n\r\n }else if(strNewRelIdSide!=null && strNewRelIdSide.equalsIgnoreCase(\"to\")){\r\n \t//New Rel replaces FL/GBOM which is on \"to\" side of Old Rel hence we query now \"from\" side of Old Rel\r\n \tslRelSelects.add(\"from.id\");\r\n slRelSelects.add(\"fromrel.id\");\r\n }\r\n\r\n Hashtable htRelData = domRel.getRelationshipData(context,slRelSelects);\r\n\r\n String strFromSideOfRel =\"\";\r\n String strToSideOfRel =\"\";\r\n String strRelId =\"\";\r\n String strObjId =\"\";\r\n\r\n StringList slRelTypes = (StringList) htRelData.get(DomainRelationship.SELECT_TYPE);\r\n String strRelType = (String) slRelTypes.get(0);\r\n RelationshipType RelType = new RelationshipType(strRelType);\r\n\r\n\r\n if((StringList) htRelData.get(\"from.id\")!=null || ((StringList)htRelData.get(\"fromrel.id\"))!=null ){\r\n\r\n \tStringList slFromSideOfRel = new StringList();\r\n \tif(!((StringList)htRelData.get(\"from.id\")).isEmpty()){\r\n \t\tslFromSideOfRel = (StringList) htRelData.get(\"from.id\");\r\n \t\tstrFromSideOfRel = (String) slFromSideOfRel.get(0);\r\n\r\n \t\tisRelToRel = false;\r\n \t\t//isFrom = false;\r\n \t\tstrObjId = strFromSideOfRel;\r\n\r\n\r\n \t}else if(!((StringList)htRelData.get(\"fromrel.id\")).isEmpty()){\r\n \t\tslFromSideOfRel = (StringList) htRelData.get(\"fromrel.id\");\r\n \t\tstrFromSideOfRel = (String) slFromSideOfRel.get(0);\r\n\r\n \t\tstrRelId = strFromSideOfRel;\r\n \t\tisFrom = false;\r\n \t}\r\n }\r\n\r\n if((StringList) htRelData.get(\"to.id\")!=null || ((StringList)htRelData.get(\"torel.id\"))!=null ){\r\n\r\n \tStringList slToSideOfRel = new StringList();\r\n \tif(!((StringList)htRelData.get(\"to.id\")).isEmpty()){\r\n \t\tslToSideOfRel = (StringList) htRelData.get(\"to.id\");\r\n \t\tstrToSideOfRel = (String) slToSideOfRel.get(0);\r\n\r\n \t\tisRelToRel = false;\r\n \t\tstrObjId = strToSideOfRel;\r\n \t\tisFrom = false;\r\n \t}else if(!((StringList)htRelData.get(\"torel.id\")).isEmpty()){\r\n\r\n \t\tslToSideOfRel = (StringList) htRelData.get(\"torel.id\");\r\n\r\n \t\tstrToSideOfRel = (String) slToSideOfRel.get(0);\r\n \t\tstrRelId =strToSideOfRel;\r\n \t\t//isFrom = false;\r\n \t}\r\n }\r\n\r\n\r\n if(isRelToRel){\r\n\r\n strNewConnId = connectRelationship(context, RelType, strRelId,strNewRelId, isFrom);\r\n\r\n }else{\r\n\r\n \tstrNewConnId = connectObject(context, RelType, strObjId,strNewRelId, isFrom);\r\n }\r\n\r\n\t\t\t StringList relDataSelects = new StringList();\r\n\t\t\t relDataSelects.addElement(\"frommid.id\");\r\n\t\t\t relDataSelects.addElement(\"tomid.id\");\r\n\r\n\t\t\t Map gbomRelData = domRel.getRelationshipData(context,relDataSelects);\r\n\t\t\t StringList sLFrommid = new StringList();\r\n\t\t\t StringList sLTomid = new StringList();\r\n\r\n\t\t\t sLFrommid = (StringList) gbomRelData.get(\"frommid.id\");\r\n\t\t\t if(!sLFrommid.isEmpty()){\r\n\t\t\t\tfor(int i=0;i<sLFrommid.size();i++){\r\n\r\n\t\t\t\t\tString strFromMid = (String)sLFrommid.get(i);\r\n\t\t\t\t\tsetToRelationship(context,strFromMid,strNewConnId,true);\r\n\t\t\t }\r\n\t\t\t }\r\n\r\n\r\n\t\t\t sLTomid = (StringList) gbomRelData.get(\"tomid.id\");\r\n\t\t\t if(!sLTomid.isEmpty()){\r\n\t\t\t\tfor(int i=0;i<sLTomid.size();i++){\r\n\r\n\t\t\t\t\tString strToMid = (String)sLTomid.get(i);\r\n\t\t\t\t\tsetToRelationship(context,strToMid,strNewConnId,false);\r\n\t\t\t }\r\n\t\t\t }\r\n\r\n\t\t\tDomainRelationship domNewConnId = new DomainRelationship(strNewConnId);\r\n\t\t\tmqlLogRequiredInformationWriter(\"Rel id :: \"+ strNewConnId +\"\\n\");\r\n\t\t mqlLogRequiredInformationWriter(\"Attribute value Map set for this rel id :: \"+ attributeMap +\"\\n\\n\");\r\n\t domNewConnId.setAttributeValues(context, attributeMap);\r\n\r\n\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn strNewConnId;\r\n\t}",
"@PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto createRelation(\n @NotNull Long idDesignOption, DesignOptionRelationDto attributeInfo, Class<T> relationClass, Class<A> toNodeType);",
"@Test(description = \"update interface with all relationships for existing interface with one relationship\")\n public void updateAllRelationships4ExistingRelationship()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final RelationshipData rel = data.getRelationship(\"TestType\");\n final InterfaceData inter = data.getInterface(\"TestInterface\").addRelationship(rel);\n data.create();\n\n inter.addAllRelationships();\n this.update(inter);\n\n Assert.assertEquals(this.mql(\"print interface '\" + inter.getName() + \"' select relationship dump\"),\n \"all\",\n \"check that only all relationship is defined\");\n }",
"public interface IRelationship<A extends IAttribute> extends IErdNode\n{\n\n /**\n * check the relationship, if the two connected entities are the same\n *\n * @return recursive\n */\n boolean isRecursive();\n\n /**\n * check if this relationship is a weak relationship\n * -> one of the entities is weak\n *\n * @return weak\n */\n boolean isWeakRelationship();\n\n /**\n * return the description of the relationship\n *\n * @return description\n */\n String getDescription();\n\n /**\n * create new attribute to relationship\n *\n * @param p_id name of the attribute\n * @param p_property of the attribute\n * @return self-reference\n */\n A createAttribute( @NonNull final String p_id, @Nonnull final String p_property );\n\n /**\n * get all connected attributes from the relationship in a map\n *\n * @return map with all attributes\n */\n Map<String, IAttribute> getConnectedAttributes();\n\n /**\n * connect entity incl. cardinality to the relationship\n *\n * @param p_entity name of the entity\n * @param p_cardinality cardinality\n * @return self-reference\n */\n IEntity<A> connectEntity( @NonNull final IEntity<IAttribute> p_entity, @NonNull final String p_cardinality );\n\n /**\n * return the connected entities in a map\n *\n * @return connected entities\n */\n Map<String, Collection<String>> getConnectedEntities();\n\n}",
"void setAssociatedObject(IEntityObject relatedObj);",
"private String getNewRelForConfigFeatType(Context context,Map flMap,Map htChildObjData,String strParentFeatureId,String strParentFeatureType)\r\n throws Exception{\r\n\r\n \tString newReltoConnect=\"\";\r\n \ttry{\r\n\r\n \t\tString strInherited = (String)flMap.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_INHERITED+\"]\");\r\n \t\tString strMandatory = (String)flMap.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_MANDATORY_FEATURE+\"]\");\r\n\r\n \t\t//Need to check \"Inactive Varies By\" relationship\r\n \t\t/*if(strInherited!=null && strInherited.equalsIgnoreCase(\"True\")\r\n \t\t && strMandatory!=null && strMandatory.equalsIgnoreCase(\"No\")){*/\r\n \t\t/*This means CF is added to the Product due to add DV.. it is rolled up\r\n \t\t * Need to decide it should be \"Varies By\" or \"Inactive Varies By\" rel\r\n \t\t * Also simultaneously check for new \"Valid Context\" & \"Invalid Context\" relationship\r\n \t\t */\r\n \t\t//Get the Product Id.. compute whether DV is Active /Inactive under this Product context\r\n \t\tif(strParentFeatureType!=null\r\n \t\t\t\t&& strParentFeatureType.equals(ConfigurationConstants.TYPE_PRODUCT_VARIANT)){\r\n\r\n \t\t\t//Get the PFL Id from PV Id for connection\r\n \t\t\tDomainObject domPVId = new DomainObject(strParentFeatureId);\r\n\r\n \t\t\tStringBuffer sbRelPattern = new StringBuffer(50);\r\n \t\t\tsbRelPattern.append(ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST);\r\n\r\n \t\t\tStringList sLRelSelects = new StringList();\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].id\");\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.id\");\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.id\");\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.name\");\r\n\r\n\r\n\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].torel.to.from[\"+ ConfigurationConstants.RELATIONSHIP_VARIES_BY+ \"].to.type\");\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_VARIES_BY+ \"].to.type\");\r\n\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].torel.id\");\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].frommid.type\");\r\n \t\t\tsLRelSelects.addElement(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].frommid[\"+ ConfigurationConstants.RELATIONSHIP_INACTIVE_VARIES_BY+ \"].id\");\r\n\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.add(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].torel.to.from[\"+ ConfigurationConstants.RELATIONSHIP_VARIES_BY+ \"].to.type\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.add(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_VARIES_BY+ \"].to.type\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.add(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].id\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.add(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].frommid[\"+ ConfigurationConstants.RELATIONSHIP_INACTIVE_VARIES_BY+ \"].id\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.add(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.id\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.add(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.name\");\r\n\r\n \t\t\tMap featureListMapList = domPVId.getInfo(context,sLRelSelects);\r\n\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.remove(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].torel.to.from[\"+ ConfigurationConstants.RELATIONSHIP_VARIES_BY+ \"].to.type\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.remove(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_VARIES_BY+ \"].to.type\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.remove(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].id\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.remove(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].frommid[\"+ ConfigurationConstants.RELATIONSHIP_INACTIVE_VARIES_BY+ \"].id\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.remove(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.id\");\r\n \t\t\tDomainConstants.MULTI_VALUE_LIST.remove(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].to.from[\"+ ConfigurationConstants.RELATIONSHIP_FEATURE_LIST_TO+ \"].to.name\");\r\n\r\n\r\n \t\t\tStringList sLInactiveVBy = new StringList();\r\n \t\t\tsLInactiveVBy = (StringList)featureListMapList.get(\"from[\"+ ConfigurationConstants.RELATIONSHIP_PRODUCT_FEATURE_LIST+ \"].frommid[\"+ ConfigurationConstants.RELATIONSHIP_INACTIVE_VARIES_BY+ \"].id\");\r\n\r\n\r\n \t\t\t//Check the PV id is present in \"Invalid Contexts\" attribute value\r\n\r\n \t\t\tif(sLInactiveVBy!=null && !sLInactiveVBy.isEmpty()){\r\n\r\n \t\t\t\tfor(int j=0;j<sLInactiveVBy.size();j++){\r\n\r\n \t\t\t\t\tString strRelInaVaBy = (String)sLInactiveVBy.get(j);\r\n \t\t\t\t\tDomainRelationship.setType(context, strRelInaVaBy, ConfigurationConstants.RELATIONSHIP_INVALID_CONTEXT);\r\n\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\tif(strInherited!=null && strInherited.equalsIgnoreCase(\"True\")\r\n \t\t\t\t\t&& strMandatory!=null && strMandatory.equalsIgnoreCase(\"No\")){\r\n\r\n \t\t\t\t//Varies by/ Inactive Varies By\r\n \t\t\t\tif(flMap.get(\"to[\"+ConfigurationConstants.RELATIONSHIP_INACTIVE_FEATURE_LIST_FROM+\"].id\")!=null){\r\n \t\t\t\t\t//DV is Inactive\r\n \t\t\t\t\tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_INACTIVE_VARIES_BY;\r\n \t\t\t\t}else{\r\n \t\t\t\t\t//DV is Active\r\n \t\t\t\t\tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_VARIES_BY;\r\n \t\t\t\t}\r\n \t\t\t}else if(strInherited!=null && strMandatory.equalsIgnoreCase(ConfigurationConstants.RANGE_VALUE_YES)){\r\n\r\n \t\t\t\t\t\t //MCF2: If Parent type is not eaqual to Product or Product Line , then change rel to \"Configuration Feature\"\r\n\t\t\t\t\t\t if(!mxType.isOfParentType(context,strParentFeatureType, ConfigurationConstants.TYPE_PRODUCTS) &&\r\n\t\t\t\t\t\t\t !mxType.isOfParentType(context,strParentFeatureType, ConfigurationConstants.TYPE_PRODUCT_LINE)){\r\n\r\n\t\t\t\t\t\t\t newReltoConnect = ConfigurationConstants.RELATIONSHIP_CONFIGURATION_FEATURES;\r\n\t\t\t\t\t\t }else{\r\n\t\t\t\t\t\t\t \tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_MANDATORY_CONFIGURATION_FEATURES;\r\n\t\t\t\t\t\t }\r\n\r\n }else{\r\n \t\t\t\tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_CONFIGURATION_FEATURES;\r\n \t\t\t}\r\n \t\t}else{\r\n \t\t\tif(strInherited!=null && strInherited.equalsIgnoreCase(\"True\")\r\n \t\t\t\t\t&& strMandatory!=null && strMandatory.equalsIgnoreCase(\"No\")){\r\n \t\t\t\t//Varies by/Inactive Varies By\r\n \t\t\t\tif(flMap.get(\"to[\"+ConfigurationConstants.RELATIONSHIP_INACTIVE_FEATURE_LIST_FROM+\"].id\")!=null){\r\n \t\t\t\t\t//DV is Inactive\r\n \t\t\t\t\tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_INACTIVE_VARIES_BY;\r\n\r\n \t\t\t\t}else{\r\n \t\t\t\t\t//DV is Active\r\n \t\t\t\t\tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_VARIES_BY;\r\n \t\t\t\t}\r\n \t\t\t}else{\r\n\r\n \t\t\t\t//To check it should be \"Varies by\"/\"Inactive Varies By\"/\"Configuration Feaures\" rel\r\n \t\t\t\tString attrActCount = (String)flMap.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_ACTIVE_COUNT+\"]\");\r\n \t\t\t\tString attrIncActCount = (String)flMap.get(\"attribute[\"+ConfigurationConstants.ATTRIBUTE_INACTIVE_COUNT+\"]\");\r\n\r\n \t\t\t\tint iattrActCount = 0;\r\n \t\t\t\tiattrActCount = Integer.parseInt(attrActCount);\r\n\r\n \t\t\t\tint iattrIncActCount = 0;\r\n \t\t\t\tiattrIncActCount = Integer.parseInt(attrIncActCount);\r\n\r\n \t\t\t\tif(iattrActCount > 0){\r\n \t\t\t\t\tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_VARIES_BY;\r\n \t\t\t\t}else if(iattrIncActCount>0){\r\n \t\t\t\t\tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_INACTIVE_VARIES_BY;\r\n \t\t\t\t}else{\r\n if(strInherited!=null && strMandatory.equalsIgnoreCase(ConfigurationConstants.RANGE_VALUE_YES)){\r\n\r\n \t\t\t\t\t//MCF3: If Parent type is not eaqual to Product or Product Line , then change rel to \"Configuration Feature\"\r\n \t\t\t\t\t\t if(!mxType.isOfParentType(context,strParentFeatureType, ConfigurationConstants.TYPE_PRODUCTS) &&\r\n \t\t\t\t\t\t\t\t !mxType.isOfParentType(context,strParentFeatureType, ConfigurationConstants.TYPE_PRODUCT_LINE)){\r\n\r\n \t\t\t\t\t\t\t\t newReltoConnect = ConfigurationConstants.RELATIONSHIP_CONFIGURATION_FEATURES;\r\n\r\n \t\t\t\t\t\t\t }else{\r\n \t\t\t\t\t\t\t\t \tnewReltoConnect = ConfigurationConstants.RELATIONSHIP_MANDATORY_CONFIGURATION_FEATURES;\r\n \t\t\t\t\t\t\t }\r\n }else{\r\n newReltoConnect = ConfigurationConstants.RELATIONSHIP_CONFIGURATION_FEATURES;\r\n }\r\n }\r\n \t\t\t\t}\r\n \t\t}\r\n \t}catch (Exception e) {\r\n \t\te.printStackTrace();\r\n \t}\r\n \treturn newReltoConnect;\r\n }",
"int updateByExampleSelective(@Param(\"record\") MyUserRoleRelation record, @Param(\"example\") MyUserRoleRelationExample example);",
"@Test(description = \"update interface with one relationship for non existing interface\")\n public void updateOneRelationship4NonExisting()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final RelationshipData rel = data.getRelationship(\"TestType\");\n data.create();\n\n final InterfaceData inter = data.getInterface(\"TestInterface\").addRelationship(rel);\n this.update(inter);\n\n Assert.assertEquals(this.mql(\"print interface '\" + inter.getName() + \"' select relationship dump\"),\n rel.getName(),\n \"check that only one relationship is defined\");\n }",
"int updateByExampleSelective(Disproduct record, DisproductExample example);",
"public interface RelationshipService {\n int add(Relationship relationship);\n}",
"@PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<? extends CoreData>> void deleteRelationAttribute(\n @NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, Class<T> relationClass);",
"int updateByExample(@Param(\"record\") MyUserRoleRelation record, @Param(\"example\") MyUserRoleRelationExample example);",
"@Override\n public void upsertRelationship(LineageRelationship lineageRelationship) {\n GraphTraversalSource g = graphFactory.getGraphTraversalSource();\n LineageEntity firstEnd = lineageRelationship.getSourceEntity();\n LineageEntity secondEnd = lineageRelationship.getTargetEntity();\n\n upsertToGraph(firstEnd, secondEnd, lineageRelationship.getTypeDefName(), lineageRelationship.getGuid());\n\n BiConsumer<GraphTraversalSource, LineageRelationship> addOrUpdatePropertiesEdge = this::addOrUpdatePropertiesEdge;\n commit(graphFactory, g, addOrUpdatePropertiesEdge, g, lineageRelationship,\n UNABLE_TO_ADD_PROPERTIES_ON_EDGE_FROM_RELATIONSHIP_WITH_TYPE +\n lineageRelationship.getTypeDefName() + AND_GUID + lineageRelationship.getGuid());\n }",
"int updateByPrimaryKeySelective(NjProductTaticsRelation record);",
"public interface PolicyClassifierUpdate extends ModelEntity, Buildable<PolicyClassifierUpdateBuilder>{\n\n /**\n * Is Policy classifier shared\n *\n * @return the true if shared and false if not shared\n */\n boolean isShared();\n\n /**\n * Gets the Protocol\n *\n * @return the Protocol\n */\n Protocol getProtocol();\n\n /**\n * Gets the Direction\n *\n * @return the Direction\n */\n Direction getDirection();\n\n /**\n * Gets the Port range\n *\n * @return the Port range\n */\n String getPortRange();\n\n /**\n * Gets the description\n *\n * @return the description\n */\n String getDescription();\n}",
"public Promise<ResourceResponse, ResourceException> updateInstance(final Context context, \n final String relationshipId, final UpdateRequest request) {\n try {\n final String rev = request.getRevision();\n final ReadRequest readRequest = Requests.newReadRequest(REPO_RESOURCE_PATH.child(relationshipId));\n final JsonValue newValue = convertToRepoObject(firstResourcePath(context, request), request.getContent());\n\n // If the request is from ManagedObjectSet then update (if changed) and return the promise after formatting.\n if (context.containsContext(ManagedObjectSetContext.class)) {\n return getConnection()\n // current resource in the db\n .readAsync(context, readRequest)\n // update once we have the current record\n .thenAsync(new AsyncFunction<ResourceResponse, ResourceResponse, ResourceException>() {\n @Override\n public Promise<ResourceResponse, ResourceException> apply(ResourceResponse oldResource)\n throws ResourceException {\n return updateIfChanged(context, relationshipId, rev, oldResource, newValue);\n }\n });\n }\n ResourceResponse result;\n \n // Get the before value of the managed object\n final ResourceResponse beforeValue = getManagedObject(context);\n\n // Read the relationship\n final ResourceResponse oldResource = getConnection().readAsync(context, readRequest).getOrThrow();\n \n // Perform update\n result = updateIfChanged(context, relationshipId, rev, oldResource, newValue).getOrThrow();\n \n // Get the after value of the managed object\n final ResourceResponse afterValue = getManagedObject(context);\n \n // Do activity logging.\n activityLogger.log(context, request, \"update\", getManagedObjectPath(context), beforeValue.getContent(), \n afterValue.getContent(), Status.SUCCESS);\n\n // Changes to the relationship will trigger sync on the managed object that this field belongs to.\n managedObjectSyncService.performSyncAction(context, request, getManagedObjectId(context), \n SyncServiceAction.notifyUpdate, beforeValue.getContent(), afterValue.getContent());\n\n return expandFields(context, request, result);\n } catch (ResourceException e) {\n return e.asPromise();\n } catch (Exception e) {\n return new InternalServerErrorException(e.getMessage(), e).asPromise();\n }\n }",
"public interface FirewallPolicyUpdate extends ModelEntity, Buildable<FirewallPolicyUpdateBuilder> {\n\n /**\n * @return name : Human readable name for the FirewallPolicyUpdate (255 characters limit). Does not have to be unique.\n */\n public String getName();\n\n /**\n * @return description : Human readable description for the FirewallPolicyUpdate (1024 characters limit).\n */\n public String getDescription();\n\n /**\n * @return shared : When set to True makes this FirewallPolicyUpdate visible to tenants other\n * than its owner, and can be used in FirewallPolicyUpdate not owned by its tenant.\n */\n public Boolean isShared();\n\n /**\n * @return audited : When set to True by the policy owner indicates that the firewall policy has been audited.\n * This attribute is meant to aid in the firewall policy audit workflows.\n * Each time the firewall policy or the associated firewall rules are changed,\n * this attribute will be set to False and will have to be explicitly set\n * to True through an update operation.\n */\n public Boolean isAudited();\n\n /**\n * @return firewallRules(UUID)List : This is an ordered list of firewall rule uuids.\n * The firewall applies the rules in the order in which they appear in this list.\n */\n public List<String> getFirewallRuleIds();\n}",
"private void addOrUpdatePropertiesEdge(GraphTraversalSource g, LineageRelationship lineageRelationship) {\n Map<String, Object> properties = lineageRelationship.getProperties().entrySet().stream().collect(Collectors.toMap(\n e -> PROPERTY_KEY_PREFIX_ELEMENT + PROPERTY_KEY_PREFIX_INSTANCE_PROPERTY + e.getKey(),\n Map.Entry::getValue\n ));\n\n properties.values().remove(null);\n properties.computeIfAbsent(PROPERTY_KEY_ENTITY_CREATE_TIME, val -> lineageRelationship.getCreateTime());\n properties.computeIfAbsent(PROPERTY_KEY_ENTITY_CREATED_BY, val -> lineageRelationship.getCreatedBy());\n properties.computeIfAbsent(PROPERTY_KEY_ENTITY_UPDATE_TIME, val -> lineageRelationship.getUpdateTime());\n properties.computeIfAbsent(PROPERTY_KEY_ENTITY_UPDATED_BY, val -> lineageRelationship.getUpdatedBy());\n properties.computeIfAbsent(PROPERTY_KEY_LABEL, val -> lineageRelationship.getTypeDefName());\n properties.computeIfAbsent(PROPERTY_KEY_ENTITY_VERSION, val -> lineageRelationship.getVersion());\n properties.computeIfAbsent(PROPERTY_KEY_METADATA_ID, val -> lineageRelationship.getMetadataCollectionId());\n\n g.inject(properties)\n .as(PROPERTIES)\n .V(lineageRelationship.getSourceEntity().getGuid())\n .outE()\n .where(inV().hasId(lineageRelationship.getTargetEntity().getGuid()))\n .as(EDGE)\n .sideEffect(__.select(PROPERTIES)\n .unfold()\n .as(KV)\n .select(EDGE)\n .property(__.select(KV).by(Column.keys), __.select(KV).by(Column.values))).iterate();\n\n\n }",
"E update(E entiry);",
"@Override\n public void updateBys() { updateLabelLists(getRTParent().getEntityTagTypes()); fillCommonRelationshipsMenu(); }",
"DefinedProperty relChangeProperty( long relId, int propertyKey, Object value );",
"@Override\r\n public void update(Answer entity) {\n\r\n }",
"ch.crif_online.www.webservices.crifsoapservice.v1_00.FurtherRelations addNewFurtherRelations();",
"int updateByExample(Disproduct record, DisproductExample example);",
"public abstract boolean update(Domain d);",
"public void updateByEntity(Paciente paciente) {\n\t\n}",
"E update(E entity);",
"E update(E entity);",
"public void editEdge(){\n\t}",
"public final native void setRelationship(String relationship) /*-{\n this.setRelationship(relationship);\n }-*/;",
"@Override\n public void entityRPClassUpdate(RPObject entity) {\n }",
"public Address update(Address entity);",
"interface Update extends Appliable<PrivateEndpointConnection>, UpdateStages.WithId, UpdateStages.WithName, UpdateStages.WithPrivateEndpoint, UpdateStages.WithPrivateLinkServiceConnectionState, UpdateStages.WithProvisioningState {\n }",
"public interface Impl extends PersistenceFieldElement.Impl\n\t{\n\t\t/** Get the update action for this relationship element.\n\t\t * @return the update action, one of {@link #NONE_ACTION}, \n\t\t * {@link #NULLIFY_ACTION}, {@link #RESTRICT_ACTION}, \n\t\t * {@link #CASCADE_ACTION}, or {@link #AGGREGATE_ACTION}\n\t\t */\n\t\tpublic int getUpdateAction ();\n\n\t\t/** Set the update action for this relationship element.\n\t\t * @param action - an integer indicating the update action, one of:\n\t\t * {@link #NONE_ACTION}, {@link #NULLIFY_ACTION}, \n\t\t * {@link #RESTRICT_ACTION}, {@link #CASCADE_ACTION}, or \n\t\t * {@link #AGGREGATE_ACTION}\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void setUpdateAction (int action) throws ModelException;\n\n\t\t/** Get the delete action for this relationship element.\n\t\t * @return the delete action, one of {@link #NONE_ACTION}, \n\t\t * {@link #NULLIFY_ACTION}, {@link #RESTRICT_ACTION}, \n\t\t * {@link #CASCADE_ACTION}, or {@link #AGGREGATE_ACTION}\n\t\t */\n\t\tpublic int getDeleteAction ();\n\n\t\t/** Set the delete action for this relationship element.\n\t\t * @param action - an integer indicating the delete action, one of:\n\t\t * {@link #NONE_ACTION}, {@link #NULLIFY_ACTION}, \n\t\t * {@link #RESTRICT_ACTION}, {@link #CASCADE_ACTION}, or \n\t\t * {@link #AGGREGATE_ACTION}\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void setDeleteAction (int action) throws ModelException;\n\n\t\t/** Determines whether this relationship element should prefetch or not.\n\t\t * @return <code>true</code> if the relationship should prefetch, \n\t\t * <code>false</code> otherwise\n\t\t */\n\t\tpublic boolean isPrefetch ();\n\n\t\t/** Set whether this relationship element should prefetch or not.\n\t\t * @param flag - if <code>true</code>, the relationship is set to \n\t\t * prefetch; otherwise, it is not\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void setPrefetch (boolean flag) throws ModelException;\n\n\t\t/** Get the lower cardinality bound for this relationship element.\n\t\t * @return the lower cardinality bound\n\t\t */\n\t\tpublic int getLowerBound ();\n\n\t\t/** Set the lower cardinality bound for this relationship element.\n\t\t * @param lowerBound - an integer indicating the lower cardinality bound\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void setLowerBound (int lowerBound) throws ModelException;\n\n\t\t/** Get the upper cardinality bound for this relationship element. \n\t\t * Returns {@link java.lang.Integer#MAX_VALUE} for <code>n</code>\n\t\t * @return the upper cardinality bound\n\t\t */\n\t\tpublic int getUpperBound ();\n\n\t\t/** Set the upper cardinality bound for this relationship element.\n\t\t * @param upperBound - an integer indicating the upper cardinality bound\n\t\t * (use {@link java.lang.Integer#MAX_VALUE} for <code>n</code>)\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void setUpperBound (int upperBound) throws ModelException;\n\n\t\t/** Get the collection class (for example Set, List, Vector, etc.)\n\t\t * for this relationship element.\n\t\t * @return the collection class\n\t\t */\n\t\tpublic String getCollectionClass ();\n\n\t\t/** Set the collection class for this relationship element.\n\t\t * @param collectionClass - a string indicating the type of \n\t\t * collection (for example Set, List, Vector, etc.)\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void setCollectionClass (String collectionClass)\n\t\t\tthrows ModelException;\n\n\t\t/** Get the element class for this relationship element. If primitive \n\t\t * types are supported, you can use \n\t\t * <code><i>wrapperclass</i>.TYPE.toString()</code> to specify them.\n\t\t * @return the element class\n\t\t */\n\t\tpublic String getElementClass ();\n\n\t\t/** Set the element class for this relationship element.\n\t\t * @param elementClass - a string indicating the type of elements \n\t\t * in the collection. If primitive types are supported, you can use \n\t\t * <code><i>wrapperclass</i>.TYPE.toString()</code> to specify them.\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void setElementClass (String elementClass) throws ModelException;\n\n\t\t/** Get the relative name of the inverse relationship field for this \n\t\t * relationship element. In the case of two-way relationships, the two \n\t\t * relationship elements involved are inverses of each other. If this \n\t\t * relationship element does not participate in a two-way relationship, \n\t\t * this returns <code>null</code>. Note that it is possible to have \n\t\t * this method return a value, but because of the combination of \n\t\t * related class and lookup, there may be no corresponding \n\t\t * RelationshipElement which can be found.\n\t\t * @return the relative name of the inverse relationship element\n\t\t * @see #getInverseRelationship\n\t\t */\n\t\tpublic String getInverseRelationshipName ();\n\n\t\t/** Changes the inverse relationship element for this relationship \n\t\t * element. This method is invoked for both sides from \n\t\t * {@link RelationshipElement#setInverseRelationship} and should handle \n\t\t * the vetoable change events, property change events, and setting the \n\t\t * internal variable. \n\t\t * @param inverseRelationship - a relationship element to be used as \n\t\t * the inverse for this relationship element or <code>null</code> if \n\t\t * this relationship element does not participate in a two-way \n\t\t * relationship.\n\t\t * @exception ModelException if impossible\n\t\t */\n\t\tpublic void changeInverseRelationship (\n\t\t\tRelationshipElement inverseRelationship) throws ModelException;\n\t}",
"public void addRelationship(String fm_field, String fm_symbol_str, boolean fm_typed,\n String to_field, String to_symbol_str, boolean to_typed, \n String style_str, boolean ignore_ns, boolean built_in, Bundles to_add) {\n String fm_pre = \"\", to_pre = \"\";\n\n // DEBUG\n // System.err.println(\"fm_field =\\\"\" + fm_field + \"\\\"\"); System.err.println(\"fm_symbol=\\\"\" + fm_symbol_str + \"\\\"\"); System.err.println(\"fm_typed =\\\"\" + fm_typed + \"\\\"\");\n // System.err.println(\"to_field =\\\"\" + to_field + \"\\\"\"); System.err.println(\"to_symbol=\\\"\" + to_symbol_str + \"\\\"\"); System.err.println(\"to_typed =\\\"\" + to_typed + \"\\\"\");\n\n if (fm_typed) fm_pre = fm_field + BundlesDT.DELIM;\n if (to_typed) to_pre = to_field + BundlesDT.DELIM;\n\n Utils.Symbol fm_symbol = Utils.parseSymbol(fm_symbol_str),\n to_symbol = Utils.parseSymbol(to_symbol_str);\n\n // Keep track of existing relationships, update the longer term ones\n String encoded_relationship_str = Utils.encToURL(fm_field) + BundlesDT.DELIM + Utils.encToURL(fm_symbol_str) + BundlesDT.DELIM + Utils.encToURL(\"\" + fm_typed) + BundlesDT.DELIM +\n\t\t\t\t Utils.encToURL(to_field) + BundlesDT.DELIM + Utils.encToURL(to_symbol_str) + BundlesDT.DELIM + Utils.encToURL(\"\" + to_typed) + BundlesDT.DELIM +\n\t\t\t\t Utils.encToURL(style_str) + BundlesDT.DELIM + Utils.encToURL(\"\" + ignore_ns);\n if (active_relationships.contains(encoded_relationship_str) == false) active_relationships.add(encoded_relationship_str);\n if (built_in == false) updateRecentRelationships(encoded_relationship_str);\n // Is this an addition or from scratch?\n Bundles bundles; if (to_add == null) bundles = getRTParent().getRootBundles(); else bundles = to_add;\n BundlesG globals = bundles.getGlobals();\n // Go through the tablets\n Iterator<Tablet> it_tablet = bundles.tabletIterator();\n while (it_tablet.hasNext()) {\n Tablet tablet = it_tablet.next();\n\t// Check to see if this table will complete both blanks, if so, go through the bundles adding the edges to the graphs\n\tif (KeyMaker.tabletCompletesBlank(tablet,fm_field) && KeyMaker.tabletCompletesBlank(tablet,to_field)) {\n\t // Create the key makers\n\t KeyMaker fm_km = new KeyMaker(tablet,fm_field), to_km = new KeyMaker(tablet,to_field);\n\t // Go through the bundles\n\t Iterator<Bundle> it_bundle = tablet.bundleIterator();\n\t while (it_bundle.hasNext()) {\n\t Bundle bundle = it_bundle.next();\n\t // Create the combinator for the from and to keys\n\t String fm_keys[], to_keys[];\n // Transform the bundle to keys\n\t fm_keys = fm_km.stringKeys(bundle);\n\t to_keys = to_km.stringKeys(bundle);\n\t // Make the relationships\n if (fm_keys != null && fm_keys.length > 0 && to_keys != null && to_keys.length > 0) {\n for (int i=0;i<fm_keys.length;i++) for (int j=0;j<to_keys.length;j++) {\n\t // Check for not sets if the flag is specified\n if (ignore_ns && (fm_keys[i].equals(BundlesDT.NOTSET) || to_keys[j].equals(BundlesDT.NOTSET))) continue;\n\t\t// The key will be a combination of the header and the entity\n String fm_fin = fm_pre + fm_keys[i], to_fin = to_pre + to_keys[j];\n\t\t// If we're in retain mode only, make sure both nodes exist in the set\n\t\tif (retained_nodes != null && retained_nodes.size() > 0 && (retained_nodes.contains(fm_fin) == false || retained_nodes.contains(to_fin) == false)) continue;\n // Set the shape\n if (entity_to_shape.containsKey(fm_fin) == false) entity_to_shape.put(fm_fin, fm_symbol);\n\t\tif (entity_to_shape.containsKey(to_fin) == false) entity_to_shape.put(to_fin, to_symbol);\n // Create the initial world coordinate and transform as appropriate \n\t\tif (entity_to_wxy.containsKey(fm_fin) == false) { \n\t\t entity_to_wxy.put(fm_fin, new Point2D.Double(Math.random()*2 - 1, Math.random()*2 - 1));\n transform(fm_fin); }\n\t\tif (entity_to_wxy.containsKey(to_fin) == false) { \n\t\t entity_to_wxy.put(to_fin, new Point2D.Double(Math.random()*2 - 1, Math.random()*2 - 1));\n\t\t transform(to_fin); }\n // Add the reference back to this object\n graph.addNode(fm_fin); graph.addNode(to_fin);\n digraph.addNode(fm_fin); digraph.addNode(to_fin);\n // Set the weights equal to the number of bundles on the edge\n double previous_weight = graph.getConnectionWeight( graph.getEntityIndex(fm_fin), graph.getEntityIndex(to_fin)),\n di_previous_weight = digraph.getConnectionWeight(digraph.getEntityIndex(fm_fin), digraph.getEntityIndex(to_fin));\n // Check for infinite because the graph class returns infinite if two nodes are not connected\n if (Double.isInfinite( previous_weight)) previous_weight = 0.0;\n if (Double.isInfinite(di_previous_weight)) di_previous_weight = 0.0;\n // Finally, add them to both forms of the graphs\n\t \t graph.addNeighbor(fm_fin, to_fin, previous_weight + 1.0);\n graph.addNeighbor(to_fin, fm_fin, previous_weight + 1.0);\n\t\tdigraph.addNeighbor(fm_fin, to_fin, di_previous_weight + 1.0);\n // System.err.println(\"RTGraphPanel.addRelationship() : \\\"\" + fm_fin + \"\\\" => \\\"\" + to_fin + \"\\\": w=\" + (previous_weight+1.0) + \" | di_w=\" + (di_previous_weight+1.0));\n\t\t graph.addLinkReference( graph.getEntityIndex(fm_fin), graph.getEntityIndex(to_fin), bundle);\n\t\t graph.addLinkReference( graph.getEntityIndex(to_fin), graph.getEntityIndex(fm_fin), bundle);\n\t\tdigraph.addLinkReference(digraph.getEntityIndex(fm_fin), digraph.getEntityIndex(to_fin), bundle);\n // Keep track of the link style\n digraph.addLinkStyle(digraph.getEntityIndex(fm_fin), digraph.getEntityIndex(to_fin), style_str);\n\t }\n\t }\n }\n\t}\n }\n // Nullify the biconnected components\n graph_bcc = null;\n graph2p_bcc = null;\n cluster_cos = null;\n conductance = null;\n // Re-render\n getRTComponent().render();\n }",
"private org.hisp.dhis.relationship.Relationship updatedDAORelationship(\n org.hisp.dhis.relationship.Relationship relationshipDb, Relationship relationshipInput) {\n RelationshipType relationshipType =\n relationshipTypeCache.get(relationshipInput.getRelationshipType());\n relationshipDb.setRelationshipType(relationshipType);\n\n RelationshipItem fromItem = relationshipDb.getFrom();\n\n // FROM\n updateRelationshipItem(\n relationshipType.getFromConstraint(), fromItem, relationshipInput.getFrom());\n\n RelationshipItem toItem = relationshipDb.getTo();\n\n // TO\n updateRelationshipItem(relationshipType.getToConstraint(), toItem, relationshipInput.getTo());\n\n return relationshipDb;\n }",
"E update(E entity) throws ValidationException;",
"@Override\n\tpublic void Update(PersonelContract entity) {\n\n\t}",
"@PUT\n @Path(\"/{requirementId}\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n @ApiOperation(value = \"This method updates a specific requirement.\")\n @ApiResponses(value = {\n @ApiResponse(code = HttpURLConnection.HTTP_OK, message = \"Returns the updated requirement\", response = RequirementEx.class),\n @ApiResponse(code = HttpURLConnection.HTTP_UNAUTHORIZED, message = \"Unauthorized\"),\n @ApiResponse(code = HttpURLConnection.HTTP_NOT_FOUND, message = \"Not found\"),\n @ApiResponse(code = HttpURLConnection.HTTP_INTERNAL_ERROR, message = \"Internal server problems\")\n })\n public Response updateRequirement(@PathParam(\"requirementId\") int requirementId,\n @ApiParam(value = \"Requirement entity\", required = true) Requirement requirementToUpdate) {\n DALFacade dalFacade = null;\n try {\n String registratorErrors = service.bazaarService.notifyRegistrators(EnumSet.of(BazaarFunction.VALIDATION, BazaarFunction.USER_FIRST_LOGIN_HANDLING));\n if (registratorErrors != null) {\n ExceptionHandler.getInstance().throwException(ExceptionLocation.BAZAARSERVICE, ErrorCode.UNKNOWN, registratorErrors);\n }\n UserAgent agent = (UserAgent) Context.getCurrent().getMainAgent();\n long userId = agent.getId();\n Gson gson = new Gson();\n Vtor vtor = service.bazaarService.getValidators();\n vtor.validate(requirementToUpdate);\n if (vtor.hasViolations()) {\n ExceptionHandler.getInstance().handleViolations(vtor.getViolations());\n }\n dalFacade = service.bazaarService.getDBConnection();\n Integer internalUserId = dalFacade.getUserIdByLAS2PeerId(userId);\n boolean authorized = new AuthorizationManager().isAuthorized(internalUserId, PrivilegeEnum.Modify_REQUIREMENT, dalFacade);\n if (!authorized) {\n ExceptionHandler.getInstance().throwException(ExceptionLocation.BAZAARSERVICE, ErrorCode.AUTHORIZATION, Localization.getInstance().getResourceBundle().getString(\"error.authorization.requirement.modify\"));\n }\n if (requirementToUpdate.getId() != 0 && requirementId != requirementToUpdate.getId()) {\n ExceptionHandler.getInstance().throwException(ExceptionLocation.BAZAARSERVICE, ErrorCode.UNKNOWN, \"Id does not match\");\n }\n dalFacade.followRequirement(internalUserId, requirementToUpdate.getId());\n RequirementEx updatedRequirement = dalFacade.modifyRequirement(requirementToUpdate, internalUserId);\n service.bazaarService.getNotificationDispatcher().dispatchNotification(service, updatedRequirement.getLastupdated_time(), Activity.ActivityAction.UPDATE, updatedRequirement.getId(),\n Activity.DataType.REQUIREMENT, updatedRequirement.getComponents().get(0).getId(), Activity.DataType.COMPONENT, internalUserId);\n return Response.ok(gson.toJson(updatedRequirement)).build();\n } catch (BazaarException bex) {\n if (bex.getErrorCode() == ErrorCode.AUTHORIZATION) {\n return Response.status(Response.Status.UNAUTHORIZED).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n } else if (bex.getErrorCode() == ErrorCode.NOT_FOUND) {\n return Response.status(Response.Status.NOT_FOUND).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n } else {\n return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n }\n } catch (Exception ex) {\n BazaarException bex = ExceptionHandler.getInstance().convert(ex, ExceptionLocation.BAZAARSERVICE, ErrorCode.UNKNOWN, \"\");\n return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n } finally {\n service.bazaarService.closeDBConnection(dalFacade);\n }\n }",
"public void setRelationship( String relationship ) {\n this.relationship = relationship;\n }",
"public void setRelationship(Relationship r) {\n\t\trelationship = r;\n\t}",
"public Future<CtxModelObject> update(CtxModelObject identifier);",
"public void updateEntity();",
"@Override\n\tpublic void update(Design design) {\n\t\tdesignMapper.update(design);\n\t}",
"int updateByExampleSelective(@Param(\"record\") ItoProduct record, @Param(\"example\") ItoProductCriteria example);",
"CounselorBiographyTemp update(CounselorBiographyTemp entity);",
"public interface PartOfRelation\r\n{\r\n\r\n\t/**\r\n\t * Sets author\r\n\t * \r\n\t * @param author\r\n\t */\r\n\tvoid setAuthor(String author);\r\n\r\n\r\n\t/**\r\n\t * @return Author\r\n\t */\r\n\tString getAuthor();\r\n\r\n\t/**\r\n\t * Sets class type, one typical value is '300'\r\n\t * \r\n\t * @param classType\r\n\t */\r\n\tvoid setClassType(String classType);\r\n\r\n\t/**\r\n\t * @return class type\r\n\t */\r\n\tString getClassType();\r\n\r\n\t/**\r\n\t * Sets object key, for material items this is the product ID.\r\n\t * \r\n\t * @param objectKey\r\n\t */\r\n\tvoid setObjectKey(String objectKey);\r\n\r\n\t/**\r\n\t * @return Object key.\r\n\t */\r\n\tString getObjectKey();\r\n\r\n\t/**\r\n\t * Sets object type, product or an abstract product representative\r\n\t * \r\n\t * @param objectType\r\n\t */\r\n\tvoid setObjectType(String objectType);\r\n\r\n\t/**\r\n\t * @return Object type\r\n\t */\r\n\tString getObjectType();\r\n\r\n\t/**\r\n\t * Sets position in the BOM\r\n\t * \r\n\t * @param posNr\r\n\t */\r\n\tvoid setPosNr(String posNr);\r\n\r\n\t/**\r\n\t * @return Position number\r\n\t */\r\n\tString getPosNr();\r\n\r\n\t/**\r\n\t * Sets parent instance ID\r\n\t * \r\n\t * @param parentInstId\r\n\t */\r\n\tvoid setParentInstId(String parentInstId);\r\n\r\n\t/**\r\n\t * @return Parent instance ID\r\n\t */\r\n\tString getParentInstId();\r\n\r\n\t/**\r\n\t * Sets child instance ID\r\n\t * \r\n\t * @param instId\r\n\t */\r\n\tvoid setInstId(String instId);\r\n\r\n\t/**\r\n\t * @return Child instance ID\r\n\t */\r\n\tString getInstId();\r\n}",
"@Override\r\n\tpublic void update(PartyType entity) {\n\t\t\r\n\t}",
"int updateByPrimaryKeySelective(PensionRoleMenu record);",
"int updateByExampleSelective(@Param(\"record\") CraftAdvReq record, @Param(\"example\") CraftAdvReqExample example);",
"private void updateOrCreate(Resource subject, Property property, Object o) {\r\n\t\tStatement existingRelation = subject.getProperty(property);\r\n\t\tif (existingRelation != null)\r\n\t\t\tsubject.removeAll(property);\r\n\t\tsubject.addProperty(property, _write(o, true));\r\n\t}",
"int updateByExampleSelective(@Param(\"record\") GroupRoleUserRel record, @Param(\"example\") GroupRoleUserRelExample example);",
"int updateByExampleSelective(@Param(\"record\") TNavigation record, @Param(\"example\") TNavigationExample example);",
"interface WithPartnerTopicFriendlyDescription {\n /**\n * Specifies the partnerTopicFriendlyDescription property: Friendly description about the topic. This can be\n * set by the publisher/partner to show custom description for the customer partner topic. This will be\n * helpful to remove any ambiguity of the origin of creation of the partner topic for the customer..\n *\n * @param partnerTopicFriendlyDescription Friendly description about the topic. This can be set by the\n * publisher/partner to show custom description for the customer partner topic. This will be helpful to\n * remove any ambiguity of the origin of creation of the partner topic for the customer.\n * @return the next definition stage.\n */\n Update withPartnerTopicFriendlyDescription(String partnerTopicFriendlyDescription);\n }",
"public Promise<ResourceResponse, ResourceException> patchInstance(Context context, String relationshipId, \n PatchRequest request) {\n Promise<ResourceResponse, ResourceException> promise = null;\n String revision = request.getRevision();\n boolean forceUpdate = (revision == null);\n boolean retry = forceUpdate;\n boolean fromManagedObjectSet = context.containsContext(ManagedObjectSetContext.class);\n\n do {\n logger.debug(\"Attempting to patch relationship {}\", request.getResourcePath());\n try {\n\n // Read in object\n ReadRequest readRequest = Requests.newReadRequest(REPO_RESOURCE_PATH.child(relationshipId));\n ResourceResponse oldResource = connectionFactory.getConnection().readAsync(context, readRequest)\n .then(FORMAT_RESPONSE).getOrThrow();\n \n // If we haven't defined a revision, we need to get the current revision\n if (revision == null) {\n revision = oldResource.getRevision();\n }\n \n ResourceResponse managedObjectBefore = null;\n \n if (!fromManagedObjectSet) {\n // Get the before value of the managed object\n managedObjectBefore = getManagedObject(context);\n }\n \n JsonValue newValue = oldResource.getContent().copy();\n boolean modified = JsonValuePatch.apply(newValue, request.getPatchOperations());\n if (!modified) {\n logger.debug(\"Patching did not modify the relatioship {}\", request.getResourcePath());\n return newResultPromise(null);\n }\n \n // Update (if changed) and format\n promise = updateIfChanged(context, relationshipId, revision, \n newResourceResponse(oldResource.getId(), oldResource.getRevision(), \n convertToRepoObject(firstResourcePath(context, request), oldResource.getContent())), \n convertToRepoObject(firstResourcePath(context, request), newValue));\n \n // If the request is from ManagedObjectSet then return the promise\n if (fromManagedObjectSet) {\n return promise;\n }\n \n // Get the before value of the managed object\n final ResourceResponse managedObjectAfter = getManagedObject(context);\n\n // Do activity logging.\n activityLogger.log(context, request, \"update\", getManagedObjectPath(context), \n managedObjectBefore.getContent(), managedObjectAfter.getContent(), Status.SUCCESS);\n\n // Changes to the relationship will trigger sync on the managed object that this field belongs to.\n managedObjectSyncService.performSyncAction(context, request, getManagedObjectId(context), \n SyncServiceAction.notifyUpdate, managedObjectBefore.getContent(), \n managedObjectAfter.getContent());\n\n\n retry = false;\n logger.debug(\"Patch retationship successful!\");\n } catch (PreconditionFailedException e) {\n if (forceUpdate) {\n logger.debug(\"Unable to update due to revision conflict. Retrying.\");\n } else {\n // If it fails and we're not trying to force an update, we gave it our best shot\n return e.asPromise();\n }\n } catch (ResourceException e) {\n return e.asPromise();\n } catch (Exception e) {\n return new InternalServerErrorException(e.getMessage(), e).asPromise();\n }\n } while (retry);\n \n // Return the result\n return promise;\n }",
"@Override\n\tpublic void onRelationshipChanged() {\n\t\tloadData();\n\t}",
"public static void main(String args[]) {\n Model model = ModelFactory.createDefaultModel(); \n\n//set namespace\n Resource NAMESPACE = model.createResource( relationshipUri );\n \tmodel.setNsPrefix( \"rela\", relationshipUri);\n \n// Create the types of Property we need to describe relationships in the model\n Property childOf = model.createProperty(relationshipUri,\"childOf\"); \n Property siblingOf = model.createProperty(relationshipUri,\"siblingOf\");\n Property spouseOf = model.createProperty(relationshipUri,\"spouseOf\");\n Property parentOf = model.createProperty(relationshipUri,\"parentOf\"); \n \n \n// Create resources representing the people in our model\n Resource Siddharth = model.createResource(familyUri+\"Siddharth\");\n Resource Dhvanit = model.createResource(familyUri+\"Dhvanit\");\n Resource Rekha = model.createResource(familyUri+\"Rekha\");\n Resource Sandeep = model.createResource(familyUri+\"Sandeep\");\n Resource Kanchan = model.createResource(familyUri+\"Kanchan\");\n Resource Pihu = model.createResource(familyUri+\"Pihu\");\n Resource DwarkaPrasad = model.createResource(familyUri+\"Dwarkesh\");\n Resource Shakuntala = model.createResource(familyUri+\"Shakuntala\");\n Resource Santosh = model.createResource(familyUri+\"Santosh\");\n Resource Usha = model.createResource(familyUri+\"Usha\");\n Resource Priyadarshan = model.createResource(familyUri+\"Priyadarshan\");\n Resource Sudarshan = model.createResource(familyUri+\"Sudarshan\");\n Resource Pragya = model.createResource(familyUri+\"Pragya\");\n Resource Shailendra = model.createResource(familyUri+\"Shailendra\");\n Resource Rajni = model.createResource(familyUri+\"Rajni\");\n Resource Harsh = model.createResource(familyUri+\"Harsh\");\n Resource Satendra = model.createResource(familyUri+\"Satendra\");\n Resource Vandana = model.createResource(familyUri+\"Vandana\");\n Resource Priyam = model.createResource(familyUri+\"Priyam\");\n Resource Darshan = model.createResource(familyUri+\"Darshan\");\n Resource Vardhan = model.createResource(familyUri+\"Vardhan\");\n \n List<Statement> list = new ArrayList(); \n list.add(model.createStatement(Dhvanit,spouseOf,Kanchan)); \n list.add(model.createStatement(Sandeep,spouseOf,Rekha)); \n list.add(model.createStatement(DwarkaPrasad,spouseOf,Shakuntala)); \n list.add(model.createStatement(Santosh,spouseOf,Usha)); \n list.add(model.createStatement(Shailendra,spouseOf,Rajni)); \n list.add(model.createStatement(Satendra,spouseOf,Vandana)); \n list.add(model.createStatement(Sandeep,childOf,DwarkaPrasad)); \n list.add(model.createStatement(Sandeep,childOf,Shakuntala)); \n list.add(model.createStatement(Santosh,childOf,DwarkaPrasad)); \n list.add(model.createStatement(Santosh,childOf,Shakuntala)); \n list.add(model.createStatement(Shailendra,childOf,DwarkaPrasad)); \n list.add(model.createStatement(Shailendra,childOf,Shakuntala)); \n list.add(model.createStatement(Satendra,childOf,DwarkaPrasad)); \n list.add(model.createStatement(Satendra,childOf,Shakuntala)); \n list.add(model.createStatement(DwarkaPrasad,parentOf,Sandeep)); \n list.add(model.createStatement(DwarkaPrasad,parentOf,Santosh)); \n list.add(model.createStatement(DwarkaPrasad,parentOf,Shailendra)); \n list.add(model.createStatement(DwarkaPrasad,parentOf,Satendra)); \n list.add(model.createStatement(Shakuntala,parentOf,Sandeep)); \n list.add(model.createStatement(Shakuntala,parentOf,Santosh)); \n list.add(model.createStatement(Shakuntala,parentOf,Shailendra)); \n list.add(model.createStatement(Shakuntala,parentOf,Satendra)); \n list.add(model.createStatement(Sandeep,parentOf,Siddharth)); \n list.add(model.createStatement(Sandeep,parentOf,Dhvanit)); \n list.add(model.createStatement(Rekha,parentOf,Siddharth)); \n list.add(model.createStatement(Rekha,parentOf,Dhvanit)); \n list.add(model.createStatement(Siddharth,childOf,Rekha)); \n list.add(model.createStatement(Dhvanit,childOf,Rekha)); \n list.add(model.createStatement(Siddharth,childOf,Sandeep)); \n list.add(model.createStatement(Dhvanit,childOf,Sandeep)); \n list.add(model.createStatement(Harsh,childOf,Shailendra)); \n list.add(model.createStatement(Harsh,childOf,Rajni)); \n list.add(model.createStatement(Shailendra,parentOf,Harsh)); \n list.add(model.createStatement(Rajni,parentOf,Harsh)); \n list.add(model.createStatement(Santosh,parentOf,Priyadarshan)); \n list.add(model.createStatement(Santosh,parentOf,Sudarshan));\n list.add(model.createStatement(Santosh,parentOf,Pragya));\n list.add(model.createStatement(Usha,parentOf,Priyadarshan)); \n list.add(model.createStatement(Usha,parentOf,Sudarshan));\n list.add(model.createStatement(Usha,parentOf,Pragya));\n list.add(model.createStatement(Priyadarshan,childOf,Santosh));\n list.add(model.createStatement(Pragya,childOf,Santosh));\n list.add(model.createStatement(Sudarshan,childOf,Santosh));\n list.add(model.createStatement(Priyadarshan,childOf,Usha));\n list.add(model.createStatement(Pragya,childOf,Usha));\n list.add(model.createStatement(Sudarshan,childOf,Usha));\n list.add(model.createStatement(Satendra,parentOf,Priyam)); \n list.add(model.createStatement(Satendra,parentOf,Darshan));\n list.add(model.createStatement(Satendra,parentOf,Vardhan));\n list.add(model.createStatement(Vandana,parentOf,Priyam)); \n list.add(model.createStatement(Vandana,parentOf,Darshan));\n list.add(model.createStatement(Vandana,parentOf,Vardhan));\n list.add(model.createStatement(Priyam,childOf,Satendra));\n list.add(model.createStatement(Darshan,childOf,Satendra));\n list.add(model.createStatement(Vardhan,childOf,Satendra));\n list.add(model.createStatement(Priyam,childOf,Vandana));\n list.add(model.createStatement(Darshan,childOf,Vandana));\n list.add(model.createStatement(Vardhan,childOf,Vandana));\n list.add(model.createStatement(Pihu,childOf,Dhvanit));\n list.add(model.createStatement(Pihu,childOf,Kanchan));\n list.add(model.createStatement(Dhvanit,parentOf,Pihu));\n list.add(model.createStatement(Kanchan,parentOf,Pihu));\n list.add(model.createStatement(Siddharth,siblingOf,Dhvanit));\n list.add(model.createStatement(Dhvanit,siblingOf,Siddharth)); \n list.add(model.createStatement(Priyadarshan,siblingOf,Sudarshan));\n list.add(model.createStatement(Priyadarshan,siblingOf,Pragya));\n list.add(model.createStatement(Sudarshan,siblingOf,Priyadarshan));\n list.add(model.createStatement(Sudarshan,siblingOf,Pragya));\n list.add(model.createStatement(Pragya,siblingOf,Priyadarshan));\n list.add(model.createStatement(Pragya,siblingOf,Sudarshan)); \n list.add(model.createStatement(Priyam,siblingOf,Darshan));\n list.add(model.createStatement(Priyam,siblingOf,Vardhan)); \n list.add(model.createStatement(Darshan,siblingOf,Vardhan)); \n list.add(model.createStatement(Darshan,siblingOf,Priyam));\n list.add(model.createStatement(Vardhan,siblingOf,Priyam));\n list.add(model.createStatement(Vardhan,siblingOf,Darshan));\n list.add(model.createStatement(Santosh,siblingOf,Sandeep));\n list.add(model.createStatement(Santosh,siblingOf,Shailendra));\n list.add(model.createStatement(Santosh,siblingOf,Satendra));\n list.add(model.createStatement(Sandeep,siblingOf,Santosh));\n list.add(model.createStatement(Sandeep,siblingOf,Shailendra));\n list.add(model.createStatement(Sandeep,siblingOf,Satendra));\n list.add(model.createStatement(Shailendra,siblingOf,Santosh));\n list.add(model.createStatement(Shailendra,siblingOf,Sandeep));\n list.add(model.createStatement(Shailendra,siblingOf,Satendra));\n list.add(model.createStatement(Satendra,siblingOf,Shailendra));\n list.add(model.createStatement(Satendra,siblingOf,Santosh));\n list.add(model.createStatement(Satendra,siblingOf,Sandeep));\n \n model.add(list);\n try{\n \t File file=new File(\"/Users/siddharthgupta/Documents/workspace/FamilyModel/src/family/family.rdf\");\n \t \tFileOutputStream f1=new FileOutputStream(file);\n \t \tRDFWriter d = model.getWriter(\"RDF/XML-ABBREV\");\n \t \t\t\td.write(model,f1,null);\n \t\t}catch(Exception e) {}\n }",
"@ApiModelProperty(required = true, value = \"Type of the product relationship, such as [bundled] if the product is a bundle and you want to describe the bundled products inside this bundle; [reliesOn] if the product needs another already owned product to rely on (e.g. an option on an already owned mobile access product) [targets] or [isTargeted] (depending on the way of expressing the link) for any other kind of links that may be useful\")\n @NotNull\n\n\n public String getRelationshipType() {\n return relationshipType;\n }",
"interface WithDeliveryPackage {\n /**\n * Specifies the deliveryPackage property: Contains information about the package being shipped by the\n * customer to the Microsoft data center..\n *\n * @param deliveryPackage Contains information about the package being shipped by the customer to the\n * Microsoft data center.\n * @return the next definition stage.\n */\n Update withDeliveryPackage(DeliveryPackageInformation deliveryPackage);\n }",
"int updateByPrimaryKeySelective(AttributeExtend record);",
"E update(ID id, E entity, RequestContext context);",
"@Override\n\tpublic void updateAgence(Agence a) {\n\t\t\n\t}",
"@Override\n\tpublic void update(Category entity) {\n\n\t}",
"int updateByExample(@Param(\"record\") ItoProduct record, @Param(\"example\") ItoProductCriteria example);",
"protected void edit(HttpServletRequest request, HttpServletResponse response, ContentFeedRelForm _ContentFeedRelForm, ContentFeedRel _ContentFeedRel) throws Exception{\n\r\n m_logger.debug(\"Before update \" + ContentFeedRelDS.objectToString(_ContentFeedRel));\r\n\r\n _ContentFeedRel.setContentFeedId(WebParamUtil.getLongValue(_ContentFeedRelForm.getContentFeedId()));\r\n _ContentFeedRel.setContentId(WebParamUtil.getLongValue(_ContentFeedRelForm.getContentId()));\r\n _ContentFeedRel.setTimeCreated(WebParamUtil.getDateValue(_ContentFeedRelForm.getTimeCreated()));\r\n\r\n m_actionExtent.beforeUpdate(request, response, _ContentFeedRel);\r\n m_ds.update(_ContentFeedRel);\r\n m_actionExtent.afterUpdate(request, response, _ContentFeedRel);\r\n m_logger.debug(\"After update \" + ContentFeedRelDS.objectToString(_ContentFeedRel));\r\n }",
"int updateByExampleSelective(@Param(\"record\") CommonQuestionStrategyType record, @Param(\"example\") CommonQuestionStrategyTypeExample example);",
"interface WithSku {\n /**\n * Specifies the sku property: The resource model definition representing SKU.\n *\n * @param sku The resource model definition representing SKU.\n * @return the next definition stage.\n */\n Update withSku(Sku sku);\n }",
"@Override\n public boolean supportsUpdateSetAssociationId() {\n return false;\n }",
"int updateByExampleSelective(organize_infoBean record, organize_infoBeanExample example);",
"@Override\r\n\tpublic void updateAttach(ReviewDTO dto) {\n\r\n\t}",
"int updateByPrimaryKeySelective(Disproduct record);",
"int updateByExampleSelective(@Param(\"record\") InspectionAgency record, @Param(\"example\") InspectionAgencyExample example);",
"int updateByExampleSelective(@Param(\"record\") ReEducation record, @Param(\"example\") ReEducationExample example);",
"public interface Dependency extends Relationship , java.io.Serializable\n{\n // declare/define something only in the code\n // please fill in/modify the following section\n // -beg- preserve=no 327A646F00E6 detail_begin \"Dependency\"\n\n // -end- 327A646F00E6 detail_begin \"Dependency\"\n\n // -beg- preserve=no 3E423DBE00A1 head327A646F00E6 \"changeClient\"\n public void changeClient(ModelElement oldClient, ModelElement newClient)\n // -end- 3E423DBE00A1 head327A646F00E6 \"changeClient\"\n // declare any checked exceptions\n // please fill in/modify the following section\n // -beg- preserve=no 3E423DBE00A1 throws327A646F00E6 \"changeClient\"\n\n // -end- 3E423DBE00A1 throws327A646F00E6 \"changeClient\"\n ; // empty\n\n // -beg- preserve=no 3E423DCA0134 head327A646F00E6 \"changeSupplier\"\n public void changeSupplier(ModelElement oldSupplier, ModelElement newSupplier)\n // -end- 3E423DCA0134 head327A646F00E6 \"changeSupplier\"\n // declare any checked exceptions\n // please fill in/modify the following section\n // -beg- preserve=no 3E423DCA0134 throws327A646F00E6 \"changeSupplier\"\n\n // -end- 3E423DCA0134 throws327A646F00E6 \"changeSupplier\"\n ; // empty\n\n /** add a Client.\n * \n * @see #removeClient\n * @see #containsClient\n * @see #iteratorClient\n * @see #clearClient\n * @see #sizeClient\n */\n // -beg- preserve=no 33FFE57B03B3 add_head327A646F00E6 \"Dependency::addClient\"\n public void addClient(ModelElement client1)\n // -end- 33FFE57B03B3 add_head327A646F00E6 \"Dependency::addClient\"\n ; // empty\n\n /** disconnect a Client.\n * @see #addClient\n */\n // -beg- preserve=no 33FFE57B03B3 remove_head327A646F00E6 \"Dependency::removeClient\"\n public ModelElement removeClient(ModelElement client1)\n // -end- 33FFE57B03B3 remove_head327A646F00E6 \"Dependency::removeClient\"\n ; // empty\n\n /** tests if a given Client is connected.\n * @see #addClient\n */\n // -beg- preserve=no 33FFE57B03B3 test_head327A646F00E6 \"Dependency::containsClient\"\n public boolean containsClient(ModelElement client1)\n // -end- 33FFE57B03B3 test_head327A646F00E6 \"Dependency::containsClient\"\n ; // empty\n\n /** used to enumerate all connected Clients.\n * @see #addClient\n */\n // -beg- preserve=no 33FFE57B03B3 get_all_head327A646F00E6 \"Dependency::iteratorClient\"\n public java.util.Iterator iteratorClient()\n // -end- 33FFE57B03B3 get_all_head327A646F00E6 \"Dependency::iteratorClient\"\n ; // empty\n\n /** disconnect all Clients.\n * @see #addClient\n */\n // -beg- preserve=no 33FFE57B03B3 remove_all_head327A646F00E6 \"Dependency::clearClient\"\n public void clearClient()\n // -end- 33FFE57B03B3 remove_all_head327A646F00E6 \"Dependency::clearClient\"\n ; // empty\n\n /** returns the number of Clients.\n * @see #addClient\n */\n // -beg- preserve=no 33FFE57B03B3 size_head327A646F00E6 \"Dependency::sizeClient\"\n public int sizeClient()\n // -end- 33FFE57B03B3 size_head327A646F00E6 \"Dependency::sizeClient\"\n ; // empty\n\n /** DONT USE; link management internal\n */\n // -beg- preserve=no 33FFE57B03B3 _link_body327A646F00E6 \"Dependency::_linkClient\"\n public void _linkClient(ModelElement client1);\n // -end- 33FFE57B03B3 _link_body327A646F00E6 \"Dependency::_linkClient\"\n\n /** DONT USE; link management internal\n */\n // -beg- preserve=no 33FFE57B03B3 _unlink_body327A646F00E6 \"Dependency::_unlinkClient\"\n public void _unlinkClient(ModelElement client1);\n // -end- 33FFE57B03B3 _unlink_body327A646F00E6 \"Dependency::_unlinkClient\"\n\n /** add a Supplier.\n * \n * @see #removeSupplier\n * @see #containsSupplier\n * @see #iteratorSupplier\n * @see #clearSupplier\n * @see #sizeSupplier\n */\n // -beg- preserve=no 335C0D7A02E4 add_head327A646F00E6 \"Dependency::addSupplier\"\n public void addSupplier(ModelElement supplier1)\n // -end- 335C0D7A02E4 add_head327A646F00E6 \"Dependency::addSupplier\"\n ; // empty\n\n /** disconnect a Supplier.\n * @see #addSupplier\n */\n // -beg- preserve=no 335C0D7A02E4 remove_head327A646F00E6 \"Dependency::removeSupplier\"\n public ModelElement removeSupplier(ModelElement supplier1)\n // -end- 335C0D7A02E4 remove_head327A646F00E6 \"Dependency::removeSupplier\"\n ; // empty\n\n /** tests if a given Supplier is connected.\n * @see #addSupplier\n */\n // -beg- preserve=no 335C0D7A02E4 test_head327A646F00E6 \"Dependency::containsSupplier\"\n public boolean containsSupplier(ModelElement supplier1)\n // -end- 335C0D7A02E4 test_head327A646F00E6 \"Dependency::containsSupplier\"\n ; // empty\n\n /** used to enumerate all connected Suppliers.\n * @see #addSupplier\n */\n // -beg- preserve=no 335C0D7A02E4 get_all_head327A646F00E6 \"Dependency::iteratorSupplier\"\n public java.util.Iterator iteratorSupplier()\n // -end- 335C0D7A02E4 get_all_head327A646F00E6 \"Dependency::iteratorSupplier\"\n ; // empty\n\n /** disconnect all Suppliers.\n * @see #addSupplier\n */\n // -beg- preserve=no 335C0D7A02E4 remove_all_head327A646F00E6 \"Dependency::clearSupplier\"\n public void clearSupplier()\n // -end- 335C0D7A02E4 remove_all_head327A646F00E6 \"Dependency::clearSupplier\"\n ; // empty\n\n /** returns the number of Suppliers.\n * @see #addSupplier\n */\n // -beg- preserve=no 335C0D7A02E4 size_head327A646F00E6 \"Dependency::sizeSupplier\"\n public int sizeSupplier()\n // -end- 335C0D7A02E4 size_head327A646F00E6 \"Dependency::sizeSupplier\"\n ; // empty\n\n /** DONT USE; link management internal\n */\n // -beg- preserve=no 335C0D7A02E4 _link_body327A646F00E6 \"Dependency::_linkSupplier\"\n public void _linkSupplier(ModelElement supplier1);\n // -end- 335C0D7A02E4 _link_body327A646F00E6 \"Dependency::_linkSupplier\"\n\n /** DONT USE; link management internal\n */\n // -beg- preserve=no 335C0D7A02E4 _unlink_body327A646F00E6 \"Dependency::_unlinkSupplier\"\n public void _unlinkSupplier(ModelElement supplier1);\n // -end- 335C0D7A02E4 _unlink_body327A646F00E6 \"Dependency::_unlinkSupplier\"\n\n /** add a Presentation.\n * \n * @see #removePresentation\n * @see #containsPresentation\n * @see #iteratorPresentation\n * @see #clearPresentation\n * @see #sizePresentation\n */\n // -beg- preserve=no 362409A9000A add_head327A646F00E6 \"ModelElement::addPresentation\"\n public void addPresentation(PresentationElement presentation1)\n // -end- 362409A9000A add_head327A646F00E6 \"ModelElement::addPresentation\"\n ; // empty\n\n /** disconnect a Presentation.\n * @see #addPresentation\n */\n // -beg- preserve=no 362409A9000A remove_head327A646F00E6 \"ModelElement::removePresentation\"\n public PresentationElement removePresentation(PresentationElement presentation1)\n // -end- 362409A9000A remove_head327A646F00E6 \"ModelElement::removePresentation\"\n ; // empty\n\n /** tests if a given Presentation is connected.\n * @see #addPresentation\n */\n // -beg- preserve=no 362409A9000A test_head327A646F00E6 \"ModelElement::containsPresentation\"\n public boolean containsPresentation(PresentationElement presentation1)\n // -end- 362409A9000A test_head327A646F00E6 \"ModelElement::containsPresentation\"\n ; // empty\n\n /** used to enumerate all connected Presentations.\n * @see #addPresentation\n */\n // -beg- preserve=no 362409A9000A get_all_head327A646F00E6 \"ModelElement::iteratorPresentation\"\n public java.util.Iterator iteratorPresentation()\n // -end- 362409A9000A get_all_head327A646F00E6 \"ModelElement::iteratorPresentation\"\n ; // empty\n\n /** disconnect all Presentations.\n * @see #addPresentation\n */\n // -beg- preserve=no 362409A9000A remove_all_head327A646F00E6 \"ModelElement::clearPresentation\"\n public void clearPresentation()\n // -end- 362409A9000A remove_all_head327A646F00E6 \"ModelElement::clearPresentation\"\n ; // empty\n\n /** returns the number of Presentations.\n * @see #addPresentation\n */\n // -beg- preserve=no 362409A9000A size_head327A646F00E6 \"ModelElement::sizePresentation\"\n public int sizePresentation()\n // -end- 362409A9000A size_head327A646F00E6 \"ModelElement::sizePresentation\"\n ; // empty\n\n /** DONT USE; link management internal\n */\n // -beg- preserve=no 362409A9000A _link_body327A646F00E6 \"ModelElement::_linkPresentation\"\n public void _linkPresentation(PresentationElement presentation1);\n // -end- 362409A9000A _link_body327A646F00E6 \"ModelElement::_linkPresentation\"\n\n /** DONT USE; link management internal\n */\n // -beg- preserve=no 362409A9000A _unlink_body327A646F00E6 \"ModelElement::_unlinkPresentation\"\n public void _unlinkPresentation(PresentationElement presentation1);\n // -end- 362409A9000A _unlink_body327A646F00E6 \"ModelElement::_unlinkPresentation\"\n\n // declare/define something only in the code\n // please fill in/modify the following section\n // -beg- preserve=no 327A646F00E6 detail_end \"Dependency\"\n\n // -end- 327A646F00E6 detail_end \"Dependency\"\n\n}",
"int updateByExampleSelective(@Param(\"record\") CompanyExtend record, @Param(\"example\") CompanyExtendExample example);",
"public interface SpecialGovernanceActionInterface\n{\n /**\n * Link elements as peer duplicates. Create a simple relationship between two elements.\n * If the relationship already exists, the properties are updated.\n *\n * @param userId caller's userId\n * @param metadataElement1GUID unique identifier of the metadata element at end 1 of the relationship\n * @param metadataElement2GUID unique identifier of the metadata element at end 2 of the relationship\n * @param statusIdentifier what is the status of this relationship (negative means untrusted, 0 means unverified and positive means trusted)\n * @param steward identifier of the steward\n * @param stewardTypeName type of element used to identify the steward\n * @param stewardPropertyName property name used to identify steward\n * @param source source of the duplicate detection processing\n * @param notes notes for the steward\n * @param setKnownDuplicate boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.\n * @throws InvalidParameterException the unique identifier's of the metadata elements are null or invalid in some way; the properties are\n * not valid for this type of relationship\n * @throws UserNotAuthorizedException the governance action service is not authorized to create this type of relationship\n * @throws PropertyServerException there is a problem with the metadata store\n */\n void linkElementsAsPeerDuplicates(String userId,\n String metadataElement1GUID,\n String metadataElement2GUID,\n int statusIdentifier,\n String steward,\n String stewardTypeName,\n String stewardPropertyName,\n String source,\n String notes,\n boolean setKnownDuplicate) throws InvalidParameterException,\n UserNotAuthorizedException,\n PropertyServerException;\n\n\n /**\n * Identify an element that acts as a consolidated version for a set of duplicate elements.\n * (The consolidated element is created using createMetadataElement.)\n *\n * @param userId caller's userId\n * @param consolidatedElementGUID unique identifier of the metadata element\n * @param statusIdentifier what is the status of this relationship (negative means untrusted, 0 means unverified and positive means trusted)\n * @param steward identifier of the steward\n * @param stewardTypeName type of element used to identify the steward\n * @param stewardPropertyName property name used to identify steward\n * @param source source of the duplicate detection processing\n * @param notes notes for the steward\n * @param sourceElementGUIDs List of the source elements that must be linked to the consolidated element. It is assumed that they already\n * have the KnownDuplicateClassification.\n * @throws InvalidParameterException the unique identifier's of the metadata elements are null or invalid in some way; the properties are\n * not valid for this type of relationship\n * @throws UserNotAuthorizedException the governance action service is not authorized to create this type of relationship\n * @throws PropertyServerException there is a problem with the metadata store\n */\n void linkConsolidatedDuplicate(String userId,\n String consolidatedElementGUID,\n int statusIdentifier,\n String steward,\n String stewardTypeName,\n String stewardPropertyName,\n String source,\n String notes,\n List<String> sourceElementGUIDs) throws InvalidParameterException,\n UserNotAuthorizedException,\n PropertyServerException;\n}",
"int updateByPrimaryKeySelective(CraftAdvReq record);",
"int updateByPrimaryKeySelective(GirlInfo record);",
"void modifyDepartment(Department dRef);",
"CompositionSpaceToDraftAssociation update(CompositionSpaceToDraftAssociationUpdate associationUpdate) throws OXException;",
"public void update(EvaluationsDegreePk pk, EvaluationsDegree dto) throws EvaluationsDegreeDaoException;",
"@Override\r\n\tpublic void update(Cidade obj) {\n\r\n\t}",
"@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}",
"int updateByExampleSelective(@Param(\"record\") CmGroupRelIndustry record, @Param(\"example\") CmGroupRelIndustryExample example);",
"@Override\r\n\tpublic void update(ReviewDTO dto) throws Exception {\n\r\n\t}",
"public Goal saveGoalDiary(Integer goalid, Diary related_diary);",
"public void update(E entity);",
"int updateByPrimaryKey(NjProductTaticsRelation record);",
"public interface EHR_Entity extends Data_Entity {\r\n\r\n // Property http://www.owl-ontologies.com/unnamed.owl#agent_id\r\n String getAgent_id();\r\n\r\n RDFProperty getAgent_idProperty();\r\n\r\n boolean hasAgent_id();\r\n\r\n void setAgent_id(String newAgent_id);\r\n\r\n // Property http://www.owl-ontologies.com/unnamed.owl#object_ids\r\n Collection getObject_ids();\r\n\r\n RDFProperty getObject_idsProperty();\r\n\r\n boolean hasObject_ids();\r\n\r\n Iterator listObject_ids();\r\n\r\n void addObject_ids(String newObject_ids);\r\n\r\n void removeObject_ids(String oldObject_ids);\r\n\r\n void setObject_ids(Collection newObject_ids);\r\n\r\n // Property http://www.owl-ontologies.com/unnamed.owl#type\r\n String getType();\r\n\r\n RDFProperty getTypeProperty();\r\n\r\n boolean hasType();\r\n\r\n void setType(String newType);\r\n}",
"public interface UpdateData {\n\n UpdateData UpdateAttributes(String data);\n}",
"public interface Activity extends RUP_Core_Elements {\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#hasRecommendation\n */\n \n /**\n * Gets all property values for the hasRecommendation property.<p>\n * \n * @returns a collection of values for the hasRecommendation property.\n */\n Collection<? extends PM_Learning_Material> getHasRecommendation();\n\n /**\n * Checks if the class has a hasRecommendation property value.<p>\n * \n * @return true if there is a hasRecommendation property value.\n */\n boolean hasHasRecommendation();\n\n /**\n * Adds a hasRecommendation property value.<p>\n * \n * @param newHasRecommendation the hasRecommendation property value to be added\n */\n void addHasRecommendation(PM_Learning_Material newHasRecommendation);\n\n /**\n * Removes a hasRecommendation property value.<p>\n * \n * @param oldHasRecommendation the hasRecommendation property value to be removed.\n */\n void removeHasRecommendation(PM_Learning_Material oldHasRecommendation);\n\n\n /* ***************************************************\n * Property http://www.semanticweb.org/morningstar/ontologies/2019/9/untitled-ontology-9#isPerformOf\n */\n \n /**\n * Gets all property values for the isPerformOf property.<p>\n * \n * @returns a collection of values for the isPerformOf property.\n */\n Collection<? extends Role> getIsPerformOf();\n\n /**\n * Checks if the class has a isPerformOf property value.<p>\n * \n * @return true if there is a isPerformOf property value.\n */\n boolean hasIsPerformOf();\n\n /**\n * Adds a isPerformOf property value.<p>\n * \n * @param newIsPerformOf the isPerformOf property value to be added\n */\n void addIsPerformOf(Role newIsPerformOf);\n\n /**\n * Removes a isPerformOf property value.<p>\n * \n * @param oldIsPerformOf the isPerformOf property value to be removed.\n */\n void removeIsPerformOf(Role oldIsPerformOf);\n\n\n /* ***************************************************\n * Common interfaces\n */\n\n OWLNamedIndividual getOwlIndividual();\n\n OWLOntology getOwlOntology();\n\n void delete();\n\n}",
"private void mapValuesUpdateRelationship(EntityRelationshipType entityRelationshipType,\n\t\t\tEntityRelationshipType relation) {\n\t\tentityRelationshipType.setEntityRelationshiptypeId(relation.getEntityRelationshiptypeId());\n\t\tentityRelationshipType.setEntityId1(relation.getEntityId1());\n\t\tentityRelationshipType.setEntityId2(relation.getEntityId2());\n\t}"
] | [
"0.7077043",
"0.58196574",
"0.57180727",
"0.56813264",
"0.56080294",
"0.5568198",
"0.55517966",
"0.5542786",
"0.55146843",
"0.5458927",
"0.54479605",
"0.53876746",
"0.53868335",
"0.5305871",
"0.5242712",
"0.51962125",
"0.518746",
"0.51671433",
"0.5153746",
"0.5099781",
"0.5086346",
"0.50845826",
"0.5080566",
"0.5050013",
"0.50490844",
"0.503295",
"0.5016214",
"0.5007959",
"0.5006632",
"0.50035757",
"0.49862882",
"0.49860385",
"0.49771982",
"0.49770534",
"0.4973553",
"0.4973553",
"0.4957103",
"0.49422702",
"0.49341872",
"0.49328148",
"0.49119186",
"0.4899553",
"0.48841643",
"0.48759937",
"0.4869396",
"0.48650172",
"0.48549134",
"0.48425338",
"0.48275843",
"0.48227215",
"0.48196214",
"0.4818265",
"0.48156717",
"0.48129335",
"0.48111615",
"0.4809576",
"0.4806876",
"0.48009127",
"0.47899437",
"0.47818595",
"0.47784787",
"0.47743717",
"0.47704875",
"0.4763907",
"0.4758915",
"0.47518754",
"0.47393754",
"0.47389516",
"0.47365484",
"0.47284693",
"0.47276863",
"0.47270817",
"0.47268558",
"0.4725356",
"0.47222018",
"0.4702944",
"0.47003308",
"0.47001562",
"0.46991143",
"0.4696757",
"0.46850774",
"0.4683193",
"0.46814504",
"0.46771523",
"0.46611792",
"0.4658478",
"0.46555287",
"0.46552855",
"0.46531427",
"0.46518752",
"0.46464083",
"0.46410942",
"0.4635272",
"0.46332434",
"0.4632779",
"0.46315458",
"0.4631368",
"0.463116",
"0.46271065",
"0.46266222"
] | 0.6605447 | 1 |
Generic service for deleting an existing DesignOption Relationship (e.g. Quality Attributes, etc.) for neo4J relationships | @PreAuthorize("hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')")
<T extends DOAttributeRelationship<? extends CoreData>> void deleteRelationAttribute(
@NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, Class<T> relationClass); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface DesignOptionService {\n\n DesignOptionDto getDesignOption(@NotNull Long id);\n\n\n @PreAuthorize(\"hasRole('ROLE_USER')\")\n DesignOptionDto createDesignOption(DesignOptionChangeRequestDto designOption);\n\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#id, 'at.decisionexpert.neo4jentity.node.DecisionGuidanceModel', 'OWNER')\")\n DesignOptionDto updateDesignOptionProperties(@NotNull Long id, @NotNull DesignOptionChangeRequestDto newValues);\n\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#id, 'at.decisionexpert.neo4jentity.node.DecisionGuidanceModel', 'OWNER')\")\n void deleteDesignOption(@NotNull Long id);\n\n /**\n * Adding an empty relation attribute for a given DesignOption\n *\n * @param idDesignOption Which DesignOption\n * @param attributeInfo The DTO where the information's of the relation and the toNode are stored (from client)\n * @param relationClass Which Relation (Given by Type)\n * @param toNodeType To which node type\n * @param <T> Type identifier for Relation Class\n * @return a new DesignOptionRelation\n */\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto createRelation(\n @NotNull Long idDesignOption, DesignOptionRelationDto attributeInfo, Class<T> relationClass, Class<A> toNodeType);\n\n /**\n * Generic service for updating an existing DesignOption Relationship (e.g.\n * Quality Attributes, etc.) - for neo4J relationships\n *\n * @param idDesignOption Which DesignOption\n * @param idDesignOptionRelation Which DesignOption Relationship (e.g. DesignOption Quality\n * Attribute)\n * @param newValues The new Values for the DesignOption Relation -> for convinience\n * stored in a model\n * @param clazz The neo4j class information of the Type T (needed, because no\n * class information at runtime)\n * @return The updated and already persisted DesignOption Relation\n */\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto updateExistingRelationAttribute(\n @NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, DesignOptionRelationDto newValues,\n Class<T> clazz, Class<A> toNodeType);\n\n /**\n * Generic service for deleting an existing DesignOption Relationship (e.g.\n * Quality Attributes, etc.) - for neo4J relationships\n *\n * @param idDesignOption Which DesignOption\n * @param idDesignOptionRelation Which Relation\n * @param relationClass The neo4j class information of the Type T (needed, because no\n * class information at runtime)\n */\n @PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<? extends CoreData>> void deleteRelationAttribute(\n @NotNull Long idDesignOption, @NotNull Long idDesignOptionRelation, Class<T> relationClass);\n}",
"@Override\n\t\tprotected void deleteRelations(EspStatusDTO espStatusDTO) throws SQLException {\n\t\t\t\n\t\t}",
"@Override\n public void delete(SideDishEntity entity) {\n\n }",
"@Exclude\n public abstract void delete();",
"public void delRelations();",
"int deleteByExample(NjProductTaticsRelationExample example);",
"public void delete(ControlAcceso entity) {\n\n\t}",
"@Override\n\tpublic void delete(Recipe entity) {\n\t\t\n\t}",
"public void deleteRelationshipDialog() { new DeleteRelationshipDialog(); }",
"@Override\n\tpublic void delete(ExperTypeVO expertypeVO) {\n\n\t}",
"public void delete(SecRole entity);",
"@Override\n \t\t\t\tpublic void deleteGraph() throws TransformedGraphException {\n \n \t\t\t\t}",
"@Override\n\tpublic void delete(CorsoDiLaurea corso) {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAgence(Agence a) {\n\t\t\n\t}",
"public void delete() \n\t\t\t\tthrows model.ConsistencyException, PersistenceException{\n //TODO Check delegation to abstract class and overwrite if necessary!\n this.getMyCONCMModelItem().delete();\n }",
"@DELETE\n public void delete() {\n }",
"int deleteByExample(PensionRoleMenuExample example);",
"public void deleteOptions(long setId, String attribute, String[] values) throws ServerException;",
"@DELETE\n public void delete() {\n }",
"@DELETE\n public void delete() {\n }",
"@Override\n\tpublic void delete(Object entidade) {\n\t\t\n\t}",
"@DeleteMapping(\"/def-relations/{id}\")\n @Timed\n public ResponseEntity<Void> deleteDefRelation(@PathVariable Long id) {\n log.debug(\"REST request to delete DefRelation : {}\", id);\n defRelationService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }",
"void delete(Long attributeId) throws TalentStudioException;",
"@Override\n\tpublic void delete(Category entity) {\n\t\t\n\t}",
"@Override\r\n\tpublic void delete(Iterable<? extends Candidat> entities) {\n\r\n\t}",
"public Goal deleteGoalDiary(Integer goal_goalid, Integer related_diary_iddiary);",
"public void delete(Contract entity) {\n\r\n\t}",
"go.micro.runtime.RuntimeOuterClass.DeleteOptionsOrBuilder getOptionsOrBuilder();",
"@Override\n\tpublic void delete(Category entity) {\n\n\t}",
"@Override\r\n\tpublic void delete(PartyType entity) {\n\t\t\r\n\t}",
"void delete(int entityId);",
"@Override\n\t\tpublic void delete() {\n\n\t\t}",
"@DELETE\n @Path(\"/\")\n public Response delete() {\n\n if (entityDefinition == null) {\n return Response.status(Status.NOT_FOUND).build();\n }\n entityDefinition.getService().deleteCustom(entityId);\n return Response.status(Status.NO_CONTENT).build();\n }",
"@Delete\n void deleteEggDaily(EggDaily eggDaily);",
"ArrayMap<Integer,DefinedProperty> relDelete( long relId );",
"@Override\r\n public void deleteEntity(String entityName) {\n\r\n }",
"void deleteRecipe(RecipeObject recipe);",
"void delete(ViewDefinition viewDefinition);",
"void delete(E entity);",
"void delete(E entity);",
"@DisplayName(\"Delete directed edges\")\n @Test\n public void testDeleteEdgeDirected() {\n boolean directed1 = true;\n graph = new Graph(edges, directed1, 0, 5, GraphType.RANDOM);\n graph.deleteEdge(new Edge(0, 1));\n Assertions.assertTrue(graph.getNeighbours(0).isEmpty());\n }",
"@Override\n\tpublic void delete(Field entity) {\n\t\t\n\t}",
"void delete(Object entity);",
"public void delIncomingRelations();",
"int deleteByExample(ItoProductCriteria example);",
"public abstract void delete(VisitorProfile profile);",
"void removeRelation(IViewRelation relation);",
"public int delete(o dto);",
"void delete(Entity entity);",
"int deleteByExample(InspectionAgencyExample example);",
"@Override\n\tpublic void delete() {\n\n\t}",
"int deleteByExample(DisproductExample example);",
"@Override\n\tpublic void delete(Translator entity) {\n\t\t\n\t}",
"void removeDependency(Integer baseOptionId, Integer dependentOptionId);",
"void delete(Category category);",
"public abstract void delete(AbstractOrmEntity searchEntity,\r\n\t Vector<String> searchCriterias) throws Exception;",
"int deleteByExample(AttributeExtendExample example);",
"protected abstract void doDelete();",
"public void deleteParticipacao(Integer id) {\n participacaoRepository.deleteById(id);\n //listClient();\n \n}",
"@Override\n public void remove() {\n deleteFromModel();\n deleteEdgeEndpoints();\n\n setDeleted(true);\n if (!isCached()) {\n HBaseEdge cachedEdge = (HBaseEdge) graph.findEdge(id, false);\n if (cachedEdge != null) cachedEdge.setDeleted(true);\n }\n }",
"int deleteByExample(CommonQuestionStrategyTypeExample example);",
"public void deleteOptionSet(String makeModel, String optionSet) {\n\t String sql = \"DELETE FROM \"+d.getTableNameProperties()+\n\t \" WHERE MAKE_MODEL = '\"+makeModel+\n\t \"' AND OPTION_SET_NAME = '\"+optionSet+\"'\";\n\t\ttry {\n\t\t\td.executeUpdate(d.getConn(), sql);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tReadAutoToAutomobile r = new ReadAutoToAutomobile();\n\t\tAutomobile a1 = new Automobile();\n\t\tBuildAuto obj = new BuildAuto();\n\t\ta1 = r.readAutomobile(makeModel, a1);\n\t\tobj.getA1().remove(makeModel);\n\t\tobj.getA1().put(makeModel, a1);\n\t}",
"@Override\n\tpublic Result delete(CurriculumVitae entity) {\n\t\treturn null;\n\t}",
"void delete(String id, boolean force) throws PSDataServiceException, PSNotFoundException;",
"@CrossOrigin(origins = \"http://localhost:8081\")\n @DeleteMapping(path=\"/{id}\") // path name after '/option'\n public @ResponseBody ResponseEntity<?> deleteOption(@PathVariable(\"id\") Integer id) {\n // check if the option exists, then delete it if exists\n final Optional<MenuOp> menuOp = menuOpRepository.findById(id);\n if (!menuOp.isPresent()) {\n return ResponseEntity.notFound().build();\n }\n menuOpRepository.delete(menuOp.get());\n return ResponseEntity.ok().build();\n }",
"@Override\r\n\tpublic void delete(Person person) {\n\r\n\t}",
"int deleteByExample(MyUserRoleRelationExample example);",
"@Delete\n void delete(SpeciesCategory speciesCategory);",
"go.micro.runtime.RuntimeOuterClass.DeleteOptions getOptions();",
"void removeConstraintRelation(IViewRelation relation);",
"public void deleteEquipoComunidad(EquipoComunidad equipoComunidad);",
"protected void setDeleteUrl(EditingPolicyHelper policyHelper, ObjectPropertyStatement ops) {\n RequestedAction action = new DropObjectPropStmt(subjectUri, propertyUri, objectUri);\n if ( ! policyHelper.isAuthorizedAction(action) ) { \n return;\n }\n \n if (propertyUri.equals(VitroVocabulary.IND_MAIN_IMAGE)) {\n deleteUrl = ObjectPropertyTemplateModel.getImageUploadUrl(subjectUri, \"delete\");\n } else {\n ParamMap params = new ParamMap(\n \"subjectUri\", subjectUri,\n \"predicateUri\", propertyUri,\n \"objectUri\", objectUri,\n \"cmd\", \"delete\");\n \n for ( String key : data.keySet() ) {\n String value = data.get(key);\n // Remove an entry with a null value instead of letting it get passed\n // as a param with an empty value, in order to align with behavior on\n // profile page. E.g., if statement.moniker is null, a test for \n // statement.moniker?? will yield different results if null on the \n // profile page but an empty string on the deletion page.\n if (value != null) {\n params.put(\"statement_\" + key, data.get(key));\n }\n }\n \n params.put(\"templateName\", templateName);\n \n params.putAll(UrlBuilder.getModelParams(vreq));\n \n deleteUrl = UrlBuilder.getUrl(EDIT_PATH, params);\n } \n }",
"private void discoverDelete(RoutingContext rctx) {\n rctx.response().end(new ObjectBuilder().build());\n }",
"@Override\n \tpublic Representation deleteResource() {\n \t\tString interId = (String) this.getRequestAttributes().get(\"interId\");\n \t\tString srcId = (String) this.getRequestAttributes().get(\"sourceId\");\n \t\t\n \t\t// On s'assure qu'il n'est plus prsent en base de donnes\n \t\n \t\tIntervention inter = Interventions.getInstance().getIntervention(interId);\n \t\tList<Source> sources = inter.getSources();\n \t\tfor (int i = 0; i < sources.size(); i++) {\n \t\t\tif (sources.get(i).getUniqueID().equals(srcId)) {\n \t\t\t\tsources.remove(sources.get(i));\n \t\t\t}\n \t\t}\n \t\t\n \t\treturn null;\n \t}",
"public void deleteMediaRelation(MediaRelation mediarelation);",
"@Override\n public int delete( J34SiscomexOrigemDi j34SiscomexOrigemDi ) {\n return super.doDelete(j34SiscomexOrigemDi);\n }",
"public Order delete(Order order);",
"public abstract void delete();",
"public abstract void delete();",
"public abstract void delete(Context context);",
"@Override\npublic void deleteById(String id) {\n\t\n}",
"@DELETE\n @Path(\"/{requirementId}\")\n @Produces(MediaType.APPLICATION_JSON)\n @ApiOperation(value = \"This method deletes a specific requirement.\")\n @ApiResponses(value = {\n @ApiResponse(code = HttpURLConnection.HTTP_OK, message = \"Returns the deleted requirement\", response = RequirementEx.class),\n @ApiResponse(code = HttpURLConnection.HTTP_UNAUTHORIZED, message = \"Unauthorized\"),\n @ApiResponse(code = HttpURLConnection.HTTP_NOT_FOUND, message = \"Not found\"),\n @ApiResponse(code = HttpURLConnection.HTTP_INTERNAL_ERROR, message = \"Internal server problems\")\n })\n public Response deleteRequirement(@PathParam(\"requirementId\") int requirementId) {\n DALFacade dalFacade = null;\n try {\n UserAgent agent = (UserAgent) Context.getCurrent().getMainAgent();\n long userId = agent.getId();\n String registratorErrors = service.bazaarService.notifyRegistrators(EnumSet.of(BazaarFunction.VALIDATION, BazaarFunction.USER_FIRST_LOGIN_HANDLING));\n if (registratorErrors != null) {\n ExceptionHandler.getInstance().throwException(ExceptionLocation.BAZAARSERVICE, ErrorCode.UNKNOWN, registratorErrors);\n }\n dalFacade = service.bazaarService.getDBConnection();\n Integer internalUserId = dalFacade.getUserIdByLAS2PeerId(userId);\n RequirementEx requirementToDelete = dalFacade.getRequirementById(requirementId, internalUserId);\n Project project = dalFacade.getProjectById(requirementToDelete.getProjectId());\n boolean authorized = new AuthorizationManager().isAuthorized(internalUserId, PrivilegeEnum.Modify_REQUIREMENT, Arrays.asList(String.valueOf(project.getId()), String.valueOf(requirementId)), dalFacade);\n if (!authorized) {\n ExceptionHandler.getInstance().throwException(ExceptionLocation.BAZAARSERVICE, ErrorCode.AUTHORIZATION, Localization.getInstance().getResourceBundle().getString(\"error.authorization.requirement.delete\"));\n }\n Gson gson = new Gson();\n RequirementEx deletedRequirement = dalFacade.deleteRequirementById(requirementId, internalUserId);\n service.bazaarService.getNotificationDispatcher().dispatchNotification(service, deletedRequirement.getLastupdated_time(), Activity.ActivityAction.DELETE, deletedRequirement.getId(),\n Activity.DataType.REQUIREMENT, deletedRequirement.getComponents().get(0).getId(), Activity.DataType.COMPONENT, internalUserId);\n return Response.ok(gson.toJson(deletedRequirement)).build();\n } catch (BazaarException bex) {\n if (bex.getErrorCode() == ErrorCode.AUTHORIZATION) {\n return Response.status(Response.Status.UNAUTHORIZED).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n } else if (bex.getErrorCode() == ErrorCode.NOT_FOUND) {\n return Response.status(Response.Status.NOT_FOUND).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n } else {\n return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n }\n } catch (Exception ex) {\n BazaarException bex = ExceptionHandler.getInstance().convert(ex, ExceptionLocation.BAZAARSERVICE, ErrorCode.UNKNOWN, \"\");\n return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(ExceptionHandler.getInstance().toJSON(bex)).build();\n } finally {\n service.bazaarService.closeDBConnection(dalFacade);\n }\n }",
"@Override\n public void deleteVisRuleAR() {\n }",
"public void deleteByRelation(int id) throws DAOException;",
"@Override\n public void delete()\n {\n }",
"boolean delete(DishCategory dishCategory);",
"@Override\n public void delete(Iterable<? extends SideDishEntity> entities) {\n\n }",
"int deleteByPrimaryKey(String relationId);",
"@PreAuthorize(\"hasRole('ROLE_USER') and hasPermission(#idDesignOption, 'at.decisionexpert.neo4jentity.node.DesignOption', 'OWNER')\")\n <T extends DOAttributeRelationship<A>, A extends CoreData> DesignOptionRelationDto createRelation(\n @NotNull Long idDesignOption, DesignOptionRelationDto attributeInfo, Class<T> relationClass, Class<A> toNodeType);",
"public void deleteEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo) throws ODataApplicationException {\n final List<UriResource> resourcePaths = uriInfo.getUriResourceParts();\n // Note: here the first segment is always the EntitySet\n final UriResourceEntitySet uriResourceEntitySet = (UriResourceEntitySet) resourcePaths.get(0);\n final EdmEntitySet edmEntitySet = uriResourceEntitySet.getEntitySet();\n\n // 2. delete the data in backend\n final List<UriParameter> keyPredicates = uriResourceEntitySet.getKeyPredicates();\n mCRUDHandler.deleteEntityData(edmEntitySet, keyPredicates);\n\n //3. configure the response object\n response.setStatusCode(HttpStatusCode.NO_CONTENT.getStatusCode());\n }",
"public void delRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);",
"@Override\r\n\tpublic void delete() {\n\r\n\t}",
"int deleteByExample(CraftAdvReqExample example);",
"public abstract void delete() throws ArchEException;",
"LinkedService deleteById(String id);",
"@Override\r\n\tpublic void delete(String id) {\n\r\n\t}",
"@Override\n public boolean isDeleteCascaded(ManagedType<?> ownerType, String elementCollectionPath, String attributeName) {\n return false;\n }",
"public void deleteCategorie(Categorie c);",
"@Override\n\t@Transactional\n\tpublic void delete(Role role) {\n\t\t\n\t}",
"void deleteDoctor(Doctor target);"
] | [
"0.6202959",
"0.6047101",
"0.6039732",
"0.5989318",
"0.5951702",
"0.5933045",
"0.58342004",
"0.57773954",
"0.5776116",
"0.57563287",
"0.5713628",
"0.5697761",
"0.5668868",
"0.5656262",
"0.5643838",
"0.5619256",
"0.5619126",
"0.56147367",
"0.5599289",
"0.5599289",
"0.55773646",
"0.5572837",
"0.5570357",
"0.55640393",
"0.5563799",
"0.55576694",
"0.55525357",
"0.55519444",
"0.5537677",
"0.55332464",
"0.5529494",
"0.55265516",
"0.55254346",
"0.5522865",
"0.5522461",
"0.55166864",
"0.5512759",
"0.5509102",
"0.5507066",
"0.5507066",
"0.55044395",
"0.5497696",
"0.5497181",
"0.54890686",
"0.5481467",
"0.5477407",
"0.5469275",
"0.5459483",
"0.5458292",
"0.54447985",
"0.5441994",
"0.5425281",
"0.5423357",
"0.54188764",
"0.54082835",
"0.5405552",
"0.5404589",
"0.539996",
"0.5395502",
"0.53853995",
"0.5384287",
"0.5382428",
"0.5382424",
"0.5382203",
"0.53765416",
"0.53759533",
"0.53685576",
"0.5360346",
"0.5351627",
"0.534645",
"0.53461504",
"0.53443146",
"0.5342305",
"0.53402334",
"0.5338758",
"0.5338477",
"0.53312373",
"0.5329481",
"0.5329481",
"0.5328455",
"0.5323097",
"0.5313384",
"0.5302072",
"0.53013545",
"0.5301206",
"0.52972245",
"0.52861714",
"0.5285455",
"0.52843994",
"0.52826065",
"0.5276883",
"0.52766407",
"0.5272667",
"0.5272196",
"0.52718514",
"0.52708024",
"0.52703524",
"0.52685636",
"0.5267481",
"0.52607423"
] | 0.69768804 | 0 |
Permite al jugador en turno escoger un par de figuras y valida si estas son iguales o no ,si lo son aumenta el puntaje | private void escoger(){
partida.escoger(ficha1,ficha2);
ficha1=null;
ficha2=null;
this.ok=partida.ok;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void VerificarPar(){\n\t\tint numero;\n\t\tint resultado;\n\t\tString tomar;\n\t\tScanner reader = new Scanner(System.in);\n\t\tSystem.out.println(\"Ingrese un numero\");\n\t\tnumero=reader.nextInt();\n\t\tresultado=(numero%2);\n\t\tif(resultado==0){\n\t\t\tSystem.out.println(\"Numero Par: \"+(numero*2));\n\t\t}else{\n\t\t\tSystem.out.println(\"Numero Impar: \"+(numero*3));\n\t\t}\n\t\tSystem.out.println(\"Desea regresar al menu anterior?\");\n\t\treader.nextLine();\n\t\ttomar=reader.nextLine();\n\t\tif(tomar.equals(\"si\")){\n\t\t\trepetidor=true;\n\t\t}else{\n\t\t\trepetidor=false;\n\t\t}\n\t}",
"private boolean iguales(Pares f){\n\t\t\tboolean devolucion = false;\n\t\t\t\n\t\t\tif(f!=null){\n\t\t\t\tif(primero.iguales(f.getSegundo())){\n\t\t\t\t\tif(segundo.iguales(f.getPrimero())){\n\t\t\t\t\t\tif(distancia==f.getDistancia()){\n\t\t\t\t\t\t\tdevolucion=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\treturn devolucion;\n\t\t}",
"public static void quienHaGanado(Mano[] jugadores, int actual,int carro){\n if(jugadores[actual].getNPiezas()!=0){\n boolean dosIguales=false;\n actual=0;\n for (int i = 1; i < jugadores.length; i++) {\n if(jugadores[i].getPuntuacion()==jugadores[actual].getPuntuacion()){//El jug i y el actual tienen la misma putnuacion\n if(i==carro){//el jugador i es el carro\n actual=i;\n dosIguales=false;\n }\n else if(actual==carro){//el jugador actual es el carro\n dosIguales=false;\n }\n else{//ninguno es el carro y hay que acudir a un metodo para nombrar a los dos ganadores.\n dosIguales=true;\n }\n }\n if(jugadores[i].getPuntuacion()<jugadores[actual].getPuntuacion()){//el jugador i tiene menor puntuacion que el jugador actual\n actual=i;\n dosIguales=false;\n }\n }\n if(dosIguales){\n System.out.println(\"pene\");\n Excepciones.cambiarColorAzul(\"Y los GANADORES SON....\");\n for (int i = 0; i < jugadores.length; i++) {\n if (jugadores[i].getPuntuacion()==jugadores[actual].getPuntuacion()) {\n //System.out.println(\"\\t\\t\\u001B[34mEl jugador nº- \"+(i+1)+\": \"+jugadores[i].getNombre());\n Excepciones.cambiarColorAzul(\"\\t\\tEl jugador nº- \"+(i+1)+\": \"+jugadores[i].getNombre());\n }\n }\n System.out.println(\"\\u001B[30m\");\n }\n else{\n Excepciones.cambiarColorAzul(\"Y el GANADOR ES....\");\n //System.out.println(\"\\t\\t\\u001B[34mEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre()+\"\\u001B[30m\");\n Excepciones.cambiarColorAzul(\"\\t\\tEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre());\n }\n }\n else {\n Excepciones.cambiarColorAzul(\"Y el GANADOR ES....\");\n //System.out.println(\"\\t\\t\\u001B[34mEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre()+\"\\u001B[30m\");\n Excepciones.cambiarColorAzul(\"\\t\\tEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre());\n }\n }",
"public static void partida(String vpalabra[],String verror[],String vacierto[],String palabra){\r\n //comienzo ahorcado\r\n System.out.println(\"******************* AHORCADO *******************\");\r\n String letra;\r\n \r\n int contador=7;\r\n //bucle\r\n while ((contador>0)&&(ganarPartida(vacierto,vpalabra)==false)){\r\n //for (int i=0;i<verror.length;i++){\r\n //muestra el dibujo para que sepa por donde va \r\n mostrarDibujo(contador);\r\n System.out.println(\"VIDAS: \"+ contador);\r\n //mostrar vector acierto\r\n mostrarAcierto(palabra, vacierto);\r\n \r\n \r\n //pregunta letra al jugador \r\n System.out.println(\"\");\r\n System.out.println(\"\");\r\n System.out.println(\"Escribe una única letra: \");\r\n letra=leer.next();\r\n \r\n //muestra vector verror las letras erroneas que vas introduciendo\r\n muestraError(verror);\r\n System.out.println(\"\");\r\n System.out.println(\"\"); \r\n //comprueba si letra esta en la matriz palabra para acertar o fallar\r\n if (buscarLetra(vpalabra, vacierto, verror, letra)==false){\r\n //recorro verror guardando letra erronea\r\n \r\n // verror[i]=letra;\r\n contador--;\r\n } \r\n \r\n //}\r\n }\r\n \r\n if (ganarPartida(vacierto,vpalabra)==true){\r\n System.out.println(\"La palabra es: \");\r\n mostrarPalabra(palabra, vpalabra);\r\n \r\n System.out.println(\" \");\r\n System.out.println(\"¡HAS GANADO!\");\r\n } else{\r\n System.out.println(\" _ _ _ \");\r\n System.out.println(\" |/ | \");\r\n System.out.println(\" | 0 \");\r\n System.out.println(\" | /ºº/ \");\r\n System.out.println(\" | | \");\r\n System.out.println(\" | / / \");\r\n System.out.println(\" | \");\r\n System.out.println(\"---------------\");\r\n System.out.println(\"---------------\");\r\n System.out.println(\" HAS PERDIDO \");\r\n }\r\n }",
"private void usuario(){\r\n int x=0,y=0,car=0;\r\n boolean aceptar=false, exc=false;\r\n System.out.println(\"Jugador:\"+pj+\" Puntos\");\r\n try{\r\n do{\r\n try{\r\n Scanner leer = new Scanner(System.in);\r\n if(this.ind==true){\r\n System.out.println(\"Dame numero de renglon:\");\r\n try{\r\n x=leer.nextInt();\r\n }catch(InputMismatchException e){\r\n throw new ExcepcionGame(\"Debes Ingresar Numeros no Letras\",\"Modo Contrareloj\");\r\n }\r\n }\r\n else{\r\n exc=true;\r\n throw new ExcepcionGame();\r\n }\r\n if(this.ind==true){\r\n System.out.println(\"Dame numero de columna:\");\r\n try{\r\n y=leer.nextInt();\r\n }catch(InputMismatchException e){\r\n throw new ExcepcionGame(\"Debes Ingresar Numeros no Letras\",\"Modo Contrareloj\");\r\n }\r\n }\r\n else{\r\n exc=true;\r\n throw new ExcepcionGame();\r\n }\r\n try{\r\n if(compmov(x,y)==true){\r\n aceptar=true;\r\n }\r\n else{\r\n aceptar=false;\r\n System.out.println(\"Movimiento no Valido, Escoga Otra Vez\");\r\n }\r\n }catch(ArrayIndexOutOfBoundsException a){\r\n aceptar=false;\r\n System.out.println(\"Posicion No Valida\");\r\n }\r\n \r\n }catch(ExcepcionGame a){\r\n if(exc==false){\r\n aceptar=false;\r\n a.mensaje();\r\n }else{\r\n exc=false;\r\n throw new TimeOut(\"Has Rebasado tu Tiempo Limite\",\"Modo Contrareloj\");\r\n }\r\n }\r\n \r\n }while(aceptar==false); \r\n\r\n car=1;\r\n car=jugada(x,y,car,\"Jugador\");\r\n aceptar=false;\r\n do{\r\n try{\r\n Scanner leer = new Scanner(System.in);\r\n if(this.ind==true){\r\n System.out.println(\"Dame numero de renglon:\");\r\n try{\r\n x=leer.nextInt();\r\n }catch(InputMismatchException e){\r\n throw new ExcepcionGame(\"Debes Ingresar Numeros no Letras\",\"Modo Contrareloj\");\r\n }\r\n }\r\n else{\r\n exc=true;\r\n throw new ExcepcionGame();\r\n }\r\n if(this.ind==true){\r\n System.out.println(\"Dame numero de columna:\");\r\n try{\r\n y=leer.nextInt();\r\n }catch(InputMismatchException e){\r\n throw new ExcepcionGame(\"Debes Ingresar Numeros no Letras\",\"Modo Contrareloj\");\r\n }\r\n }\r\n else{\r\n exc=true;\r\n throw new ExcepcionGame();\r\n }\r\n try{\r\n if(compmov(x,y)==true){\r\n aceptar=true;\r\n }\r\n else{\r\n aceptar=false;\r\n System.out.println(\"Movimiento no Valido, Escoga Otra Vez\");\r\n }\r\n }catch(ArrayIndexOutOfBoundsException ss){\r\n aceptar=false;\r\n System.out.println(\"Posicion no Valida\");\r\n }\r\n \r\n }catch(ExcepcionGame b){\r\n if(exc==false){\r\n aceptar=false;\r\n b.mensaje();\r\n }\r\n else{\r\n exc=false;\r\n throw new TimeOut(\"Has Rebasado tu Tiempo Limite\",\"Modo Contrareloj\");\r\n }\r\n \r\n }\r\n }while(aceptar==false);\r\n jugada(x,y,car,\"Jugador\");\r\n }catch(TimeOut c){\r\n c.mensaje();\r\n }\r\n }",
"public void validarVidas(){\n if(validarChoque(lbl_enemigo,lbl_nave1)){\n vidas_n1--;\n System.out.println(\"Vidas nave1 \"+vidas_n1);\n if(vidas_n1 == 0){\n //cuando borro la nave la mando fuera de la pantalla\n this.lbl_nave1.setLocation(posX, 950);\n this.panel.remove(this.lbl_nave1);\n this.panel.repaint();\n \n }\n this.panel.remove(this.lbl_enemigo);\n this.panel.repaint();\n stop();\n }\n \n //validando choque de enemigos con naves amigas nave 2\n if(validarChoque(lbl_enemigo,lbl_nave2)){\n vidas_n2--;\n System.out.println(\"Vidas nave2 \"+vidas_n2);\n if(vidas_n2==0){\n //cuando borro la nave la mando fuera de la pantalla\n this.lbl_nave2.setLocation(posX, 950);\n this.panel.remove(this.lbl_nave2);\n this.panel.repaint();\n \n }\n this.panel.remove(this.lbl_enemigo);\n this.panel.repaint();\n stop();\n }\n \n //valido que ninguna nave enemiga haya escapado\n Point posEnemigo=this.lbl_enemigo.getLocation();\n if(posEnemigo.y == 480){// si pasa esta posicion ya F\n vidas_n1--;\n vidas_n2--;\n this.panel.remove(this.lbl_enemigo);\n this.panel.repaint();\n stop();\n if(vidas_n1 == 0){\n this.panel.remove(this.lbl_nave1);\n this.panel.repaint();\n }else if(vidas_n2 == 0){\n this.panel.remove(this.lbl_nave2);\n this.panel.repaint();\n }\n }\n \n if(vidas_n1 <= 0 && vidas_n2 <= 0){\n finalizarPartida();\n }\n }",
"private int resolver(int x, int y, int pasos) {\n \n \tif(visitado[x][y]){ // si ya he estado ahi vuelvo (como si fuera una pared el sitio en el que ya he estado)\n \t\treturn 0;\n \t}\n \tvisitado[x][y]=true; // marcamos el sitio como visitado y lo pintamos de azul\n \tStdDraw.setPenColor(StdDraw.BLUE);\n \tStdDraw.filledCircle(x+0.5, y+0.5, 0.25);\n \tStdDraw.show(0);\n \tif(x==Math.round(N/2.0)&& y== Math.round(N/2.0)){// Si estoy en la posicion central cambio encontrado y lo pongo true.\n \t\ttotal=pasos;\n \t\tencontrado=true;\n \t\treturn total;\n \t}\n \tif(encontrado)return total;\n \t\n \tdouble random = Math.random()*11;//creo un numero aleatorio\n \t\n \tif(random<3){\n \tif(!norte[x][y])resolver(x,y+1,pasos+1);// voy pal norte y vuelvo a empezar el metodo con un paso mas\n \tif(!este[x][y])resolver(x+1,y,pasos+1);\n \tif(!sur[x][y])resolver(x,y-1,pasos+1);\n \tif(!oeste[x][y])resolver(x-1,y,pasos+1);\n \t}\n \tif (random >=3 && random<6){\n \t\tif(!este[x][y])resolver(x+1,y,pasos+1);\n \tif(!sur[x][y])resolver(x,y-1,pasos+1);\n \tif(!oeste[x][y])resolver(x-1,y,pasos+1);\n \tif(!norte[x][y])resolver(x,y+1,pasos+1);\n \t}\n \tif(random>=6 && random<9){\n \t\tif(!sur[x][y])resolver(x,y-1,pasos+1);\n \tif(!oeste[x][y])resolver(x-1,y,pasos+1);\n \tif(!norte[x][y])resolver(x,y+1,pasos+1);\n \tif(!este[x][y])resolver(x+1,y,pasos+1);\n \t}\n \tif(random >=9){\n \t\tif(!oeste[x][y])resolver(x-1,y,pasos+1);\n \tif(!norte[x][y])resolver(x,y+1,pasos+1);\n \tif(!este[x][y])resolver(x+1,y,pasos+1);\n \tif(!sur[x][y])resolver(x,y-1,pasos+1);\n \t}\n \t\n \tif(encontrado){\n \t\treturn total;\n \t}\n \tStdDraw.setPenColor(StdDraw.GRAY);// si no puedo ir a ningún lado lo pinto de gris \n \tStdDraw.filledCircle(x+0.5, y+0.5, 0.25);\n \tStdDraw.show(0);\n \treturn 0;// vuelvo al punto anterior \n \n }",
"public boolean turno(Jugador jugador, int numJugador) {\n\n int colIn = 0, filaIn = 0, colFn = 0, filaFn = 0;\n boolean movimientoValido = false;\n\n do {\n System.out.println(\"\\n Turno de \" + jugador.getNombre() + \":\");\n\n System.out.println(\"\\n (Si quieres salir escribe 'no')\");\n String ficha = LecturaDatos.leerTexto(\" Elige la ficha a mover (a1): \");\n\n if (ficha.equals(\"no\")) {\n return true;\n }\n colIn = tablero.buscarIndiceLetras(ficha.charAt(0));\n filaIn = Character.getNumericValue(ficha.charAt(1)) - 1;\n\n ficha = LecturaDatos.leerTexto(\" Elige la casilla a la que moveras: \");\n colFn = tablero.buscarIndiceLetras(ficha.charAt(0));\n filaFn = Character.getNumericValue(ficha.charAt(1)) - 1;\n\n boolean sePuede = rectificarCeldas(filaIn, colIn, filaFn, colFn, jugador);\n\n if (sePuede) {\n movimientoValido = comprobarMovimiento(filaIn, colIn, filaFn, colFn, jugador, numJugador);\n if (movimientoValido) {\n realizarMovimiento(tableroPartida[filaIn][colIn], tableroPartida[filaFn][colFn]);\n tablero.mostrarTablero();\n } else {\n System.out.println(\"\\n Movimiento no valido11\");\n }\n } else {\n System.out.println(\"\\n Movimiento no valido12\");\n }\n\n } while (movimientoValido == false);\n\n // realizarMovimiento(tableroPartida[filaIn][colIn],\n // tableroPartida[filaFn][colFn]);\n // tablero.mostrarTablero();\n\n // revisar si la casilla inicial tiene letra\n\n // revisar si es x ^ o\n\n // revisar si la casilla final está vacia\n\n // comprobar si se puede hacer el movimiento\n return false;\n }",
"public void calculEtatSuccesseur() { \r\n\t\tboolean haut = false,\r\n\t\t\t\tbas = false,\r\n\t\t\t\tgauche = false,\r\n\t\t\t\tdroite = false,\r\n\t\t\t\thautGauche = false,\r\n\t\t\t\tbasGauche = false,\r\n\t\t\t\thautDroit = false,\r\n\t\t\t\tbasDroit = false;\r\n\t\t\r\n\t\tString blanc = \" B \";\r\n\t\tString noir = \" N \";\r\n\t\tfor(Point p : this.jetonAdverse()) {\r\n\t\t\tString [][]plateau;\r\n\t\t\tplateau= copieEtat();\r\n\t\t\tint x = (int) p.getX();\r\n\t\t\tint y = (int) p.getY();\r\n\t\t\tif(this.joueurActuel.getCouleur() == \"noir\") { //dans le cas ou le joueur pose un pion noir\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(p.getY()>0 && p.getY()<plateau[0].length-1 && p.getX()>0 && p.getX()<plateau.length-1) { //on regarde uniquement le centre du plateaau \r\n\t\t\t\t\t//on reinitialise x,y et plateau a chaque étape\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t\r\n\t\t\t\t\tdroite = getDroite(x,y,blanc);\r\n\t\t\t\t\thaut = getHaut(x, y, blanc);\r\n\t\t\t\t\tbas = getBas(x, y, blanc);\r\n\t\t\t\t\tgauche = getGauche(x, y, blanc);\r\n\t\t\t\t\thautDroit = getDiagHautdroite(x, y, blanc);\r\n\t\t\t\t\thautGauche = getDiagHautGauche(x, y, blanc);\r\n\t\t\t\t\tbasDroit = getDiagBasDroite(x, y, blanc);\r\n\t\t\t\t\tbasGauche = getDiagBasGauche(x, y, blanc);\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(this.plateau[x][y-1]==noir) {//regarder si à gauche du pion blanc il y a un pion noir\r\n\r\n\t\t\t\t\t\t//on regarde si il est possible de poser un pion noir à droite\r\n\t\t\t\t\t\tif(droite) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = noir;\r\n\t\t\t\t\t\t\t\ty++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//1\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(this.plateau[x-1][y]==noir) {//regardre au dessus si le pion est noir\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(bas) {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tplateau[x][y]= noir;\r\n\t\t\t\t\t\t\t\tx++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//2\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(this.plateau[x][y+1]==noir) { //regarde a droite si le pion est noir\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(gauche) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\tplateau[x][y]= noir;\r\n\t\t\t\t\t\t\t\ty--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//3\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\tif(this.plateau[x+1][y] == noir) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(haut) {\r\n\t\t\t\t\t\t\t//System.out.println(\"regarde en dessous\");\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = noir;\r\n\t\t\t\t\t\t\t\tx--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//4\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diaghautgauche\r\n\t\t\t\t\tif(this.plateau[x+1][y+1]==noir) {\r\n\t\t\t\t\t\tif(hautGauche) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = noir;\r\n\t\t\t\t\t\t\t\tx--;\r\n\t\t\t\t\t\t\t\ty--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//5\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diagbasGauche\r\n\t\t\t\t\tif(this.plateau[x-1][y+1]==noir) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(basGauche) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = noir;\r\n\t\t\t\t\t\t\t\tx++;\r\n\t\t\t\t\t\t\t\ty--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}//6\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diaghautDroit : OK!\r\n\t\t\t\t\tif(this.plateau[x+1][y-1]==noir) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(hautDroit) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = noir;\r\n\t\t\t\t\t\t\t\tx--;\r\n\t\t\t\t\t\t\t\ty++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}//7\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diagBasDroit\r\n\t\t\t\t\tif(this.plateau[x-1][y-1]==noir) {\r\n\t\t\t\t\t\tif(basDroit) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == blanc) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = noir;\r\n\t\t\t\t\t\t\t\tx++;\r\n\t\t\t\t\t\t\t\ty++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=noir;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, noir, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t\t//System.out.println(\"ajouté!\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//8\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse {//si le joueur actuel a les pions blanc\r\n\t\t\t\tif(p.getY()>0 && p.getY()<plateau[0].length-1 && p.getX()>0 && p.getX()<plateau.length-1) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\tif(this.plateau[x][y-1]==blanc) {//regarder si à gauche du pion blanc il y a un pion noir\r\n\t\t\t\t\t\t//on regarde si il est possible de poser un pion noir à droite\r\n\t\t\t\t\t\tif(getDroite(x,y,noir)) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = blanc;\r\n\t\t\t\t\t\t\t\ty++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t}//1.1\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(this.plateau[x-1][y]==blanc) {//regardre au dessus si le pion est noir\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(getBas(x, y, noir)) {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tplateau[x][y]= blanc;\r\n\t\t\t\t\t\t\t\tx++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//2.2\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(this.plateau[x][y+1]==blanc) { //regarde a droite si le pion est noir\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(getGauche(x, y, noir)) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\tplateau[x][y]= blanc;\r\n\t\t\t\t\t\t\t\ty--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//3.3\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\tif(this.plateau[x+1][y] == blanc) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(getHaut(x, y, noir)) {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = blanc;\r\n\t\t\t\t\t\t\t\tx--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//4.4\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diaghautgauche\r\n\t\t\t\t\tif(this.plateau[x+1][y+1]==blanc) {\r\n\t\t\t\t\t\tif(getDiagHautGauche(x,y,noir)) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = blanc;\r\n\t\t\t\t\t\t\t\tx--;\r\n\t\t\t\t\t\t\t\ty--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]= blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//5.5\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diagbasGauche\r\n\t\t\t\t\tif(this.plateau[x-1][y+1]==blanc) {\r\n\t\t\t\t\t\tif(getDiagBasGauche(x,y,noir)) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = blanc;\r\n\t\t\t\t\t\t\t\tx++;\r\n\t\t\t\t\t\t\t\ty--;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//6.6\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diaghautDroit\r\n\t\t\t\t\tif(this.plateau[x+1][y-1]==blanc) {\r\n\t\t\t\t\t\tif(getDiagHautdroite(x,y,noir)) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = blanc;\r\n\t\t\t\t\t\t\t\tx--;\r\n\t\t\t\t\t\t\t\ty++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}//7.7\r\n\t\t\t\t\t\r\n\t\t\t\t\tx = (int) p.getX();\r\n\t\t\t\t\ty = (int) p.getY();\r\n\t\t\t\t\tplateau= copieEtat();\r\n\t\t\t\t\t//diagBasDroit\r\n\t\t\t\t\tif(this.plateau[x-1][y-1]==blanc) {\r\n\t\t\t\t\t\tif(getDiagBasDroite(x,y,noir)) {\r\n\t\t\t\t\t\t\twhile(plateau[x][y] == noir) {\r\n\t\t\t\t\t\t\t\tplateau[x][y] = blanc;\r\n\t\t\t\t\t\t\t\tx++;\r\n\t\t\t\t\t\t\t\ty++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplateau[x][y]=blanc;\r\n\t\t\t\t\t\t\tplateau=pionPosé(x, y, blanc, plateau);\r\n\t\t\t\t\t\t\tthis.setSuccesseur(new EtatReversi(this, plateau));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}//8.8\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void validarPostagem() {\n\t\t// validando se o nome motorista ou carona foram preenchidos\n\t\tint verif = 0;\n\t\ttry {\n\t\t\tif (txtCarona.getText() == null\n\t\t\t\t\t|| txtCarona.getText().trim().equals(\"\")) {\n\n\t\t\t\tverif++;\n\n\t\t\t}\n\t\t\tif (txtMotorista.getText() == null\n\t\t\t\t\t|| txtMotorista.getText().trim().equals(\"\")) {\n\n\t\t\t\tverif++;\n\n\t\t\t}\n\t\t\tif (verif == 2) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\n\t\t\tif (txtDestino.getText() == null\n\t\t\t\t\t|| txtDestino.getText().trim().equals(\"\")) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tJOptionPane\n\t\t\t\t\t.showMessageDialog(\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"Para postar no quadro é necessário informar nome (motorista ou passageiro) \"\n\t\t\t\t\t\t\t\t\t+ \"\t\t\t\t\t\t\te local. \\n Por favor certifique se os campos foram preenchidos e tente novamente.\");\n\t\t}\n\n\t}",
"public void validar_campos(){\r\n\t\tfor(int i=0;i<fieldNames.length-1;++i) {\r\n\t\t\tif (jtxt[i].getText().length() > 0){\r\n\t\t\t}else{\r\n\t\t\t\tpermetir_alta = 1;\r\n\t\t\t}\t\r\n\t\t}\r\n\t\tif((CmbPar.getSelectedItem() != null) && (Cmbwp.getSelectedItem() != null) && (CmbComp.getSelectedItem() != null) && (jdc1.getDate() != null) && (textdescripcion.getText().length() > 1) && (textjustificacion.getText().length() > 1)){\t\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tpermetir_alta = 1;\r\n\t\t}\r\n\t\t\r\n\t}",
"private boolean camposNumCorrectos() {\n\t\t return Utilidades.isPositiveNumber(anioText.getText().trim());\n\t}",
"public boolean sePuedePreparar(String fruta, String proteina, String grano, String almidon) {\n Almuerzo almuerzo = new Almuerzo(this, fruta, proteina, grano, almidon);\n \n return almuerzo.sePuedePreparar();\n }",
"public boolean hayParadasCercanas(Coordenada coordenadaDeBusqueda) {\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}",
"@Override\n\tpublic void muestraInfo() {\n\t\tSystem.out.println(\"Adivina un número par: Es un juego en el que el jugador\" +\n\t\t\t\t\" deberá acertar un número PAR comprendido entre el 0 y el 10 mediante un número limitado de intentos(vidas)\");\n\t}",
"private static boolean juega() {\r\n\t\tv.setMensaje( \"Empieza el nivel \" + nivel + \". Puntuación = \" + puntuacion + \r\n\t\t\t\". Dejar menos de \" + (tamanyoTablero-2) + \" pelotas de cada color. \" + (tamanyoTablero-1) + \" o más seguidas se quitan.\" );\r\n\t\t// v.setDibujadoInmediato( false ); // Notar la mejoría de \"vibración\" si se hace esto y (2)\r\n\t\twhile (!v.estaCerrada() && !juegoAcabado()) {\r\n\t\t\tPoint puls = v.getRatonPulsado();\r\n\t\t\tif (puls!=null) {\r\n\t\t\t\t// Pelota pelotaPulsada = hayPelotaPulsadaEn( puls, tablero ); // Sustituido por el objeto:\r\n\t\t\t\tPelota pelotaPulsada = tablero.hayPelotaPulsadaEn( puls );\r\n\t\t\t\tif (pelotaPulsada!=null) {\r\n\t\t\t\t\tdouble coordInicialX = pelotaPulsada.getX();\r\n\t\t\t\t\tdouble coordInicialY = pelotaPulsada.getY();\r\n\t\t\t\t\tv.espera(20); // Espera un poquito (si no pasa todo demasiado rápido)\r\n\t\t\t\t\t// Hacer movimiento hasta que se suelte el ratón\r\n\t\t\t\t\tPoint drag = v.getRatonPulsado();\r\n\t\t\t\t\twhile (drag!=null && drag.x>0 && drag.y>0 && drag.x<v.getAnchura() && drag.y<v.getAltura()) { // EN CORTOCIRCUITO - no se sale de los bordes\r\n\t\t\t\t\t\tpelotaPulsada.borra( v );\r\n\t\t\t\t\t\tpelotaPulsada.incXY( drag.x - puls.x, drag.y - puls.y );\r\n\t\t\t\t\t\tpelotaPulsada.dibuja( v );\r\n\t\t\t\t\t\trepintarTodas(); // Notar la diferencia si no se hace esto (se van borrando las pelotas al pintar otras que pasan por encima)\r\n\t\t\t\t\t\t// v.repaint(); // (2)\r\n\t\t\t\t\t\tpuls = drag;\r\n\t\t\t\t\t\tdrag = v.getRatonPulsado();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// Recolocar pelota en un sitio válido\r\n\t\t\t\t\trecolocar( pelotaPulsada, coordInicialX, coordInicialY );\r\n\t\t\t\t\tquitaPelotasSiLineas( true );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tpuntuacion -= (numMovimientos*PUNTOS_POR_MOVIMIENTO); // Se penaliza por el número de movimientos\r\n\t\tif (v.estaCerrada()) return false; // Se acaba el juego cerrando la ventana\r\n\t\tif (nivelPasado()) return true; // Se ha pasado el nivel\r\n\t\treturn false; // No se ha pasado el nivel\r\n\t}",
"private boolean correcto() {\r\n return (casillas.size()>numCasillaCarcel); //&&tieneJuez\r\n }",
"public void ingresar() \r\n\t{\r\n\r\n\t\tString numeroCasilla = JOptionPane.showInputDialog(this, \"Ingresar numero en la casilla \" + sudoku.darFilaActual() + \",\" +sudoku.darColumnaActual());\r\n\t\tif (numeroCasilla == null || numeroCasilla ==\"\")\r\n\t\t{}\r\n\t\telse\r\n\t\t{\r\n\t\t\ttry\r\n\t\t\t{\tint numeroCasillaInt = Integer.parseInt(numeroCasilla);\r\n\t\t\t\tif(numeroCasillaInt > sudoku.darCantidadColumnasZona()*sudoku.darCantidadFilasZona() || numeroCasillaInt < 1)\r\n\t\t\t\t{\r\n\t\t\t\t\tJOptionPane.showMessageDialog( this, \"El numero ingresado no es valido. Debe ser un valor entre 1 y \" + sudoku.darCantidadColumnasZona()*sudoku.darCantidadFilasZona(), \"Error\", JOptionPane.ERROR_MESSAGE );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcatch(Exception e)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog( this, \"Debe ingresar un valor numerico entre 1 y \" + sudoku.darCantidadColumnasZona()*sudoku.darCantidadFilasZona(), \"Error\", JOptionPane.ERROR_MESSAGE );\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void hallarPerimetroIsosceles() {\r\n this.perimetro = 2*(this.ladoA+this.ladoB);\r\n }",
"@Test\r\n\t\tpublic void testMovimientoTorreNegra0a() {\r\n\t\t \r\n\t\t\tDatosPrueba prueba = new DatosPrueba(torreNegra0a,\r\n\t\t\t\t\t\"Error al comprobar los movimientos del rey negro en el inicio de una aprtida en la posición 8h. \");\r\n\t\t\tboolean res = this.testMovimientos(prueba); \r\n\t\t\tassertTrue(prueba.getMensaje(), res);\r\n\t\t \r\n\t\t}",
"public boolean correcto(String pars)\n {\n //><\n Stack pos= new Stack();\n ArrayList pos1= new ArrayList(2);\n ArrayList pos2= new ArrayList(2);\n for(int i=0; i<pars.length(); i++)\n {\n if(pars.charAt(i) == '(')\n {\n pos.push(i);\n }\n else if(pars.charAt(i) == ')')\n {\n if(pos.empty() == false)\n {\n pos1.add(pos.pop());\n pos1.add(i);\n }\n else\n {\n pos2.add(i);\n }\n }\n }\n \n int i=0;\n System.out.println(\"Con pareja\");\n while(i < pos1.size())\n {\n System.out.println(\"[\"+pos1.get(i)+\",\"+pos1.get(i+1)+\"]\");\n i+=2;\n }\n \n if(pos.empty()==true && pos2.isEmpty()==true)\n {\n return true;\n }\n else\n {\n System.out.println(\"\\nSin pareja\");\n if(pos.isEmpty()==false)\n {\n System.out.println(pos);\n }\n else\n {\n System.out.println(pos2);\n }\n return false;\n }\n }",
"private Boolean pulouPeca(String posicao, int eixo, Casa casa, Casa destino, Tabuleiro tabuleiro) {\n \n int x = destino.x;\n int y = destino.y;\n \n if(posicao == \"reta\") {\n switch(eixo) {\n case 1:\n if(y > casa.y){ \n for(int i = casa.y + 1; i < y; i++){ \n if (tabuleiro.getCasa(casa.x, i).getPeca() instanceof Peca ) { \n return true; }\n } \n } \n if(y < casa.y){ \n for(int i = casa.y - 1; i > y; i--){ \n if (tabuleiro.getCasa(casa.x, i).getPeca() instanceof Peca ) {\n return true; }\n }\n }\n return false;\n case 2:\n if(x > casa.x){\n for(int i = casa.x + 1; i < x; i++){\n if (tabuleiro.getCasa(i, casa.y).getPeca() instanceof Peca ) {\n return true; }\n } \n }\n if(x < casa.x){\n for(int i = casa.x - 1; i > x; i--){\n \n if (tabuleiro.getCasa(i, casa.y).getPeca() instanceof Peca ) {\n return true; }\n } \n }\n return false;\n } \n \n }\n \n if(posicao == \"diagonal\") {\n \n switch(eixo) {\n case 1:\n if(x > casa.x){\n //verifica se pulou peca\n for(int j = 1; j < x - casa.x; j++){\n if(tabuleiro.getCasa(casa.x + j, casa.y + j).getPeca() instanceof Peca){\n return true;\n }\n }\n }\n if(casa.x > x){\n //verifica se pulou peca\n for(int j = 1; j < casa.x - x; j++){\n if(tabuleiro.getCasa(x + j, y + j).getPeca() instanceof Peca){\n return true;\n }\n } \n }\n return false; \n case 2:\n if(y > casa.y){\n //verifica se pulou peca\n for(int j = 1; j < y - casa.y; j++){\n if(tabuleiro.getCasa(casa.x - j, casa.y + j).getPeca() instanceof Peca){\n return true;\n }\n }\n }\n if(casa.y > y){\n //verifica se pulou peca\n for(int j = 1; j < casa.y - y; j++){\n if(tabuleiro.getCasa(casa.x + j, casa.y - j).getPeca() instanceof Peca){\n return true;\n }\n } \n }\n return false;\n }\n }\n \n return false;\n }",
"public boolean NoEnPantalla() {\n\t\treturn x + xmapa + anchura < 0 ||\n\t\t\t\tx + xmapa - anchura > PanelJuego.ANCHURA ||\n\t\t\t\ty + ymapa + altura < 0 ||\n\t\t\t\ty + ymapa - altura > PanelJuego.ALTURA;\n\t}",
"public boolean Victoria(){\n boolean respuesta=false;\n if(!(this.palabra.contains(\"-\"))&& this.oportunidades>0 && !(this.palabra.isEmpty())){\n this.heGanado=true;\n respuesta=true;\n }\n return respuesta;\n }",
"@Test\r\n\t\tpublic void testMovimientoTorreNegra0() {\r\n\t\t \r\n\t\t\tDatosPrueba prueba = new DatosPrueba(torreNegra0,\r\n\t\t\t\t\t\"Error al comprobar los movimientos del rey negro en el inicio de una aprtida en la posición 8a. \");\r\n\t\t\tboolean res = this.testMovimientos(prueba); \r\n\t\t\tassertTrue(prueba.getMensaje(), res);\r\n\t\t \r\n\t\t}",
"public boolean validaCampos() {\n \n if(!this.ftCpf.getText().isEmpty()){\n \n String cpf = this.ftCpf.getText();\n Validador valida = new Validador();\n cpf = valida.tiraPontosCPF(cpf);\n\n\n if (!cpf.isEmpty() || cpf.length() == 11)\n if (!this.tfCarro.getText().isEmpty())\n if ((this.cbPlano.getSelectedItem().toString().equals(\"Diaria Simples\")) || ((this.cbPlano.getSelectedItem().toString().equals(\"Diaria Quilometrada\") && !this.tfQuilometragem.getText().isEmpty())))\n if (!this.tfValorTotal.getText().isEmpty())\n return true;\n else \n JOptionPane.showMessageDialog(null, \"O Valor não pode estar Zerado\", \"Informação\", JOptionPane.INFORMATION_MESSAGE);\n else\n JOptionPane.showMessageDialog(null, \"Insira a Quantidade de quilometros\", \"Informação\", JOptionPane.INFORMATION_MESSAGE);\n else\n JOptionPane.showMessageDialog(null, \"Escolha um carro\", \"Informação\", JOptionPane.INFORMATION_MESSAGE);\n else\n JOptionPane.showMessageDialog(null, \"Digite o CPF corretamente\", \"Informação\", JOptionPane.INFORMATION_MESSAGE);\n \n }\n else\n JOptionPane.showMessageDialog(null, \"Informe o CPF corretamente\", \"Informação\", JOptionPane.INFORMATION_MESSAGE);\n return false;\n \n }",
"private static boolean nivelPasado() {\r\n\t\tint[] contPelotas = new int[ COLORES_POSIBLES.length ]; // Contadores por color\r\n\t\tfor (int i=0; i<tablero.size(); i++) {\r\n\t\t\tPelota pelota = tablero.getPelota(i);\r\n\t\t\tint contColor = Arrays.asList(COLORES_POSIBLES).indexOf( pelota.getColor() ); // Posición del color de la pelota en el array de contadores\r\n\t\t\tcontPelotas[contColor]++;\r\n\t\t}\r\n\t\tfor (int contador : contPelotas) if (contador>=tamanyoTablero-2) return false;\r\n\t\treturn true;\r\n\t}",
"public void preguntarDespegue(){\n String respuesta = this.mediador.preguntarDespegue(this);\n System.out.println(respuesta);\n if (respuesta==\"SI\"){\n this.setPosicion(1);\n this.indicarEstado(\"Preparando para el despegue\");\n }\n }",
"private boolean resolver(int[][] sudoku, Posicion p) {\n if (sudoku[p.getF()][p.getC()] == 0) {\r\n for (int n = 1; n <= 9; n++) {\r\n if (esValido(n, p.getF(), p.getC(), sudoku)) {\r\n sudoku[p.getF()][p.getC()] = n;\r\n if (resolver(sudoku, pSiguiente(p))) {\r\n return true;\r\n } else {\r\n sudoku[p.getF()][p.getC()] = 0;\r\n //continuamos el 'for' probando valores\r\n }\r\n }\r\n }\r\n return false;\r\n }\r\n //Si estamos ante una celda ocupada y...\r\n //si hemos llegado al final\r\n if (p.getF() == 8 && p.getC() == 8) {\r\n System.out.println(\"solucion:\");\r\n System.out.println(Arrays.deepToString(sudoku));\r\n return true;\r\n }\r\n //si no hemos llegado al final continuamos en la siguiente posicion\r\n return resolver(sudoku, pSiguiente(p));\r\n }",
"public void main(String[] args) {\n \n Scanner entrada = new Scanner(System.in); \n String nombre;\n \n System.out.println(\"¿Cual es tu Nombre? \");\n nombre = entrada.nextLine();\n mensaje(nombre);\n \n \n \n imprimir(28, 12);\n imprimir(67, 6);\n imprimir(84, 16);\n imprimir(57, 23);\n imprimir(92, 12);\n \n \n\n \n int resultado=sumar(1, 2);\n System.out.println(\n concatenar(\"El resultado es\", \"\" +resultado));\n \n int resultado2= sumar(sumar(1, 2), 7);\n\n boolean mayor= comprobar(resultado2);\n \nif(comprobar(resultado2))\n System.out.println(\"Es mayor\");\n else\n System.out.println(\"No es mayor\");\n}",
"public boolean validarFichaEpidemiologia() {\n\n\t\tdtbxFecha_ficha.setStyle(\"background-color:white\");\n\t\t// tbxNombres_y_apellidos.setStyle(\"text-transform:uppercase;background-color:white\");\n\t\ttbxNro_identificacion.setStyle(\"background-color:white\");\n\n\t\tboolean valida = true;\n\n\t\tif (dtbxFecha_ficha.getText().trim().equals(\"\")) {\n\t\t\tdtbxFecha_ficha.setStyle(\"background-color:#F6BBBE\");\n\t\t\tvalida = false;\n\t\t}\n\t\t// if(tbxNombres_y_apellidos.getText().trim().equals(\"\")){\n\t\t// tbxNombres_y_apellidos.setStyle(\"text-transform:uppercase;background-color:#F6BBBE\");\n\t\t// valida = false;\n\t\t// }\n\t\tif (tbxNro_identificacion.getText().trim().equals(\"\")) {\n\t\t\ttbxNro_identificacion.setStyle(\"background-color:#F6BBBE\");\n\t\t\tvalida = false;\n\t\t}\n\n\t\tif (!valida) {\n\t\t\tMensajesUtil.mensajeAlerta(usuarios.getNombres()\n\t\t\t\t\t+ \" recuerde que...\",\n\t\t\t\t\t\"Los campos marcados con (*) son obligatorios\");\n\t\t}\n\n\t\treturn valida;\n\t}",
"public static void leerRegistros() {\n\n try { // Entrada a registros del archivo\n Scanner entrada = new Scanner(new File(\"data/tabula-FWC_2018_\"\n + \"Squadlists_4.csv\"));\n // Variables\n int cont = 0;\n double goals = 0;\n double totalG = 0;\n double height = 0;\n double totalH = 0;\n double promG = 0;\n double promH = 0;\n\n while (entrada.hasNext()) {\n String linea = entrada.nextLine();\n\n ArrayList<String> linea_partes = new ArrayList<>(\n Arrays.asList(linea.split(\"\\\\|\")));\n\n // Tomando las posiciones\n goals = Double.parseDouble(linea_partes.get(11)); \n height = Double.parseDouble(linea_partes.get(9));\n\n totalG = goals + totalG; // Cálculo de total de goles\n totalH = height + totalH; // Cálculo del total de estatura\n\n cont = cont + 1;\n }\n // Cálculo de promedios\n promG = totalG / cont; \n promH = totalH / cont;\n\n System.out.printf(\"El promedio de goles es: %.2f\\nEl promedio de \"\n + \"estatura es: %.2f\", promG, promH);\n entrada.close();\n } catch (Exception e) {\n System.err.println(\"Error al leer del archivo.\");\n System.exit(1);\n } // fin de catch\n }",
"public void validar() \r\n\t{\r\n\t\tString imagen = sudoku.validar();\r\n\t\tactualizarInformacion();\r\n\t\tactualizarImagen(imagen);\r\n\t}",
"public void ValidarLetra() {\n\t\t\n\t\tString valorCampo = \"\";\n\t\t\n\t\tif (campo == 1) {\n\t\t\t\n\t\t\tvalorCampo = textCampo1.getText();\n\t\t}\n\t\telse if (campo == 2) {\n\t\t\t\n\t\t\t valorCampo = textCampo2.getText();\n\t\t}\n\t\t\n\t\telse if (campo == 3) {\n\t\t\t\n\t\t\tvalorCampo = textCampo3.getText();\n\t\t}\n\t\t\n\t\telse if (campo == 4) {\n\t\t\t\n\t\t\tvalorCampo = textCampo4.getText();\n\t\t}\n\t\t\n\t\telse if (campo == 5) {\n\t\t\t\n\t\t\tvalorCampo = textCampo5.getText();\n\t\t}\n\n\t\telse if (campo == 6) {\n\t\t\t\n\t\t\tvalorCampo = textCampo6.getText();\n\t\t}\n\t\t\n\t\telse if (campo == 7) {\n\t\t\t\n\t\t\tvalorCampo = textCampo7.getText();\n\t\t}\n\t\t\n\t\telse if (campo == 8) {\n\t\t\t\n\t\t\tvalorCampo = textCampo8.getText();\n\t\t}\n\t\t\n\t\telse if (campo == 9) {\n\t\t\t\n\t\t\tvalorCampo = textCampo9.getText();\n\t\t}\n\t\t\n\t\telse if (campo == 10) {\n\t\t\t\n\t\t\tvalorCampo = textCampo10.getText();\n\t\t}\n\n\t\t \n\t\tboolean existe = palabra.contains(valorCampo);\n\t\t \n\t\t System.out.println(\" \"+existe);\n\n\n\t\t\n\t\t\n\t\tSystem.out.println(\"probando campo \"+campo);\n\t\t\n\t\t/*campo = 0;*/\n\t\t\n\t\t//System.out.println(\" inicializa \"+campo);\n\n\t}",
"public void validar(){\n\t\tif (verificador == false){\r\n\t\t\tif (contador == 1){\r\n\t\t\t\ttools.searchText(cadenaSinSeparar);\r\n\t\t\t\ttools.waitTime(25000);\r\n\t\t\t}else{\r\n\t\t\t\ttools.scroll(\"abajo\");\r\n\t\t\t\tplayAEventWhichIsPresentInAChannel();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tif (contador == 1){\r\n\t\t\t\ttools.scroll(\"abajo\");\r\n\t\t\t\tplayAEventWhichIsntPresentInAChannel();\r\n\t\t\t}else{\r\n\t\t\t\ttools.searchText(cadenaSinSeparar);\r\n\t\t\t\ttools.waitTime(25000);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n\t\tScanner lectorInt = new Scanner(System.in);\n\t\tScanner lectorString = new Scanner(System.in);\n\t\tSystem.out.println(\"Ingrese información de pasajero\");\n\t\tSystem.out.println(\"Ingrese nombre: \");\n\t\tString nombre = lectorString.nextLine();\n\t\tSystem.out.println(\"Ingrese apellido: \");\n\t\tString apellido = lectorString.nextLine();\n\t\tSystem.out.println(\"Ingrese edad: \");\n\t\tint edad = lectorInt.nextInt();\n\t\tSystem.out.println(\"Que tipo de pasajero es: 1:Pasajero Vip 2:Pasajero Económico \");\n\t\tint opcion = lectorInt.nextInt();\n\t\tString membresia = \"\";\n\t\tString descuento = \"\";\n\t\tif (opcion == 1) {\n\t\t\tSystem.out.println(\"Ingrese Código de Membresía\");\n\t\t\tmembresia = lectorString.nextLine();\n\n\t\t} else {\n\t\t\tSystem.out.println(\"Ingrese Código de Descuento\");\n\t\t\tdescuento = lectorString.nextLine();\n\t\t}\n\n\t\tPasajeroVip pasajero1 = new PasajeroVip();\n\t\tpasajero1.setNombre(nombre);\n\t\tpasajero1.setApellido(apellido);\n\t\tpasajero1.setCodigoMembresia(membresia);\n\t\tpasajero1.setEdad(edad);\n\n\t\tPasajeroVip pasajero2 = new PasajeroVip(\"Juan\", \"Tandre\", \"as2345\", 23);\n\n\t\tPasajeroEconomico pasajeroEconomico1 = new PasajeroEconomico();\n\t\tpasajeroEconomico1.setNombre(\"Helena\");\n\t\tpasajeroEconomico1.setApellido(\"Frias\");\n\t\tpasajeroEconomico1.setCodigoDescuento(\"1234df\");\n\t\tpasajeroEconomico1.setEdad(25);\n\n\t\tPasajero[][] asientos = new Pasajero[4][5];\n\t\tasientos[0][0] = pasajero1;\n\t\tasientos[0][1] = pasajero2;\n\t\tasientos[0][2] = pasajero1;\n\t\tasientos[0][3] = pasajeroEconomico1;\n\t\tasientos[1][0] = pasajero1;\n\t\tasientos[1][1] = pasajeroEconomico1;\n\n\t\tint opcionSalir = 0;\n\t\tdo {\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"Ingrese datos del asiento, 0:continuar, -1:SALIR\");\n\t\t\topcionSalir = lectorInt.nextInt();\n\t\t\tif (opcionSalir == 0) {\n\t\t\t\tSystem.out.print(\"Ingrese fila del asiento: \");\n\t\t\t\tint fila = lectorInt.nextInt();\n\t\t\t\tSystem.out.print(\"Ingrese columna del asiento: \");\n\t\t\t\tint columna = lectorInt.nextInt();\n\t\t\t\tSystem.out.println(\"Los datos del pasajero son: \");\n\t\t\t\tSystem.out.println(asientos[fila][columna]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Va ha salir del sistema\");\n\t\t\t}\n\t\t} while (opcionSalir != -1);\n\n\t}",
"public void carroNoAgregado(){\n System.out.println(\"No hay un parqueo para su automovil\");\n }",
"@Test\n\tpublic void validaRegras1() {\n\t // Selecionar Perfil de Investimento\n\t //#####################################\n\t\t\n\t\t\n\t\tsimipage.selecionaPerfil(tipoperfilvoce);\n\t\t\n\t\t//#####################################\n\t // Informar quanto será aplicado\n\t //#####################################\n\t\t \t\n\t\tsimipage.qualValorAplicar(idvaloraplicacao,valoraplicacao);\n\t\t\n\t\t//#####################################\n\t // Que valor poupar todo mês\n\t //#####################################\n\t\tsimipage.quantopoupartodomes(idvalorpoupar,valorpoupar,opcao);\n\t\t\t\t\n\t \t//#####################################\n\t \t//Por quanto tempo poupar\n\t \t//#####################################\n\t \t\n\t\t//Informar o total de Meses ou Anos\n\t \tsimipage.quantotempopoupar(idperiodopoupar,periodopoupar); \n\t \t\n\t\t//Selecionar Combobox Se Meses ou Anos \n\t \tsimipage.selecionamesano(mesano, idmesano);\n\t \t\n\t \t//#####################################\n\t \t//Clica em Simular\n\t \t//#####################################\n\t \t\n\t \tsimipage.clicaremsimular(); \n\t\t\n\t\t\t\t\n\t}",
"private boolean isPosicaoFerrovia(int posicao) {\n return (posicao == 5 || posicao == 15 || posicao == 25 || posicao == 35);\n }",
"public void confirmar(){\r\n if((gato[0][0]==gato[0][1])&&(gato[0][0]==gato[0][2])&&(gato[0][0]!=' ')){\r\n //si encuentra alguna victoria la variable ganador agarra el simbolo del ganador 'o' o 'x'\r\n //para confirmar quien gano\r\n ganador=gato[0][0];\r\n //es lo que tomara tirar para salir del while si hay una victoria\r\n victoria=1; \r\n \r\n }\r\n\r\n if((gato[1][0]==gato[1][1])&&(gato[1][0]==gato[1][2])&&(gato[1][0]!=' ')){\r\n ganador=gato[1][0];\r\n victoria=1;\r\n }\r\n\r\n if((gato[2][0]==gato[2][1])&&(gato[2][0]==gato[2][2])&&(gato[2][0]!=' ')){\r\n ganador=gato[2][0];\r\n victoria=1;\r\n }\r\n\r\n if((gato[0][0]==gato[1][0])&&(gato[0][0]==gato[2][0])&&(gato[0][0]!=' ')){\r\n ganador=gato[0][0];\r\n victoria=1;\r\n }\r\n\r\n if((gato[0][1]==gato[1][1])&&(gato[0][1]==gato[2][1])&&(gato[0][1]!=' ')){\r\n ganador=gato[0][1];\r\n victoria=1;\r\n }\r\n\r\n if((gato[0][2]==gato[1][2])&&(gato[0][2]==gato[2][2])&&(gato[0][2]!=' ')){\r\n ganador=gato[0][2];\r\n victoria=1;\r\n }\r\n\r\n if((gato[0][0]==gato[1][1])&&(gato[0][0]==gato[2][2])&&(gato[0][0]!=' ')){\r\n ganador=gato[0][0];\r\n victoria=1;\r\n }\r\n\r\n if((gato[2][0]==gato[1][1])&&(gato[2][0]==gato[0][2])&&(gato[2][0]!=' ')){\r\n ganador=gato[2][0];\r\n victoria=1;\r\n }\r\n }",
"private void compruebaColisiones()\n {\n // Comprobamos las colisiones con los Ufo\n for (Ufo ufo : ufos) {\n // Las naves Ufo chocan con la nave Guardian\n if (ufo.colisionaCon(guardian) && ufo.getVisible()) {\n mensajeDialogo(0);\n juego = false;\n }\n // Las naves Ufo llegan abajo de la pantalla\n if ((ufo.getPosicionY() - ufo.getAlto() > altoVentana)) {\n mensajeDialogo(0);\n juego = false;\n }\n // El disparo de la nave Guardian mata a una nave Ufo\n if (ufo.colisionaCon(disparoGuardian) && ufo.getVisible()) {\n ufo.setVisible(false);\n disparoGuardian.setVisible(false);\n disparoGuardian.setPosicion(0, 0);\n ufosMuertos++;\n }\n }\n\n // El disparo de las naves Ufo mata a la nave Guardian\n if (guardian.colisionaCon(disparoUfo)) {\n disparoUfo.setVisible(false);\n mensajeDialogo(0);\n juego = false;\n }\n\n // Si el disparo Guardian colisiona con el disparo de los Ufo, se\n // eliminan ambos\n if (disparoGuardian.colisionaCon(disparoUfo)) {\n disparoGuardian.setVisible(false);\n disparoGuardian.setPosicion(0, 0);\n disparoUfo.setVisible(false);\n }\n }",
"public boolean jeu() {\n int k;\n\n String compJoueur = \"\";\n String compOrdi = \"\";\n String reponse;\n\n boolean victoireJoueur = false;\n boolean victoireOrdi = false;\n String mystJoueur = challenger.nbMystere(); /**nb que le joueur doit trouver*/\n String mystOrdi = defenseur.nbMystere(); /**nb que l'ordinateur doit trouver*/\n String propOrdi = defenseur.proposition(); /**ordinateur genere un code aleatoire en premiere proposition*/\n log.info(\"Proposition ordinateur : \" + propOrdi); /**afficher proposition ordinateur*/\n String propJoueur = \"\";\n String goodResult = MethodesRepetitives.bonResultat();\n\n\n for (k = 1; !victoireJoueur && !victoireOrdi && k <= nbEssais; k++) { /**si ni le joueur ou l'ordinateur n'ont gagne et si le nombre d'essais n'est pas atteind, relancer*/\n\n compOrdi = MethodesRepetitives.compare(mystOrdi, propOrdi); /**lancer la methode de comparaison du niveau defenseur*/\n log.info(\"Reponse Ordinateur :\" + compOrdi); /**afficher la comparaison*/\n propJoueur = challenger.proposition(); /**demander une saisie au joueur selon le mode challenger*/\n compJoueur = MethodesRepetitives.compare(mystJoueur, propJoueur); /**comparer selon le mode challenger*/\n log.info(\"Reponse Joueur :\" + compJoueur); /**afficher la comparaison*/\n\n if (compOrdi.equals(goodResult)) { /**si l'ordinateur a gagne, changement de la valeur victoireOrdi*/\n victoireOrdi = true;\n }else if(compJoueur.equals(goodResult)) {/**si le joueur a gagne changement de la valeur victoireJoeur*/\n victoireJoueur = true;\n } else if (k < nbEssais) { /**sinon redemander un code a l'ordinateur selon les symboles de comparaison*/\n propOrdi = defenseur.ajuste(propOrdi, compOrdi);\n log.info(\"Proposition Ordinateur :\" + propOrdi);\n }\n }\n\n if (victoireOrdi || !victoireJoueur)/**si l'ordinateur ou le joueur perdent alors perdu sinon gagne*/\n victoireJoueur = false;\n else\n victoireJoueur = true;\n\n return victoireJoueur;\n\n\n }",
"private void validaDados(int numeroDePacientes, double gastosEmCongressos) throws Exception{\n\t\tif(numeroDePacientes >= 0) {\n\t\t\tthis.numeroDePacientes = numeroDePacientes;\n\t\t}else {\n\t\t\tthrow new Exception(\"O numero de pacientes atendidos pelo medico nao pode ser negativo.\");\n\t\t}\n\t\tif(gastosEmCongressos >= 0) {\n\t\t\tthis.gastosEmCongressos = gastosEmCongressos;\n\t\t}else {\n\t\t\tthrow new Exception(\"O total de gastos em congressos do medico nao pode ser negativo.\");\n\t\t}\n\t}",
"public static void main(String[] args) {\n int numeros[] = {2, 3, 4, 2, 4, 5, 6, 2, 1, 2};\n //Creamos segundo arreglo con iguall tamaño que el arreglo nùmeros\n int cuadrados[] = new int[numeros.length];\n //Arreglo para almacenar el proceso de la operación\n String procesos[] = new String[numeros.length];\n //Creamos ciclo de repeticiòn para recorrer arreglo \n for (int indice = 0; indice < numeros.length; indice++) {\n int cuadrado = numeros[indice] * numeros[indice];\n //Almacenamos el proceso de la opreaciòn en el arreglo cuadrados\n cuadrados[indice] = cuadrado;\n \n //Almacenar resultado en el arreglo procesos\n procesos[indice] = numeros[indice] + \"x\" + numeros[indice];\n }\n //Ciclo de repetición para mostrar arreglos\n String print_numeros = \"numeros - \";\n String print_cuadrados = \"cuadrados - \";\n String print_procesos = \"procesoss - \";\n for (int indice = 0; indice < numeros.length; indice++) {\n print_numeros = print_numeros + numeros[indice] + \", \";\n print_cuadrados = print_cuadrados + cuadrados[indice] + \", \";\n print_procesos = print_procesos + procesos[indice] + \", \";\n\n }\n System.out.println(print_numeros);\n System.out.println(print_cuadrados);\n System.out.println(print_procesos);\n \n //suma solo numeros pares\n int acumulador_pares=0;\n for (int indice = 0; indice < 10; indice++) {\n boolean par= detectar_par(numeros[indice]);\n if (par == true) {\n acumulador_pares = acumulador_pares + numeros[indice];\n \n }\n }\n System.out.println(\"La suma de los nùmeros pares es: \"+acumulador_pares);\n \n }",
"private static boolean poserTapis(){\n\t\tSystem.out.println(\"Choisisser une premiere case pour poser la premiere partie du tapis\");\n\t\tint premiereCaseTapis = console.obtenirDirection();\n\t\tint direction = premiereCaseTapis;\n\t\tint posXTapis = 0, posYTapis = 0;\n\n\t\t//Pose du premier carre de tapis\n\t\ttry{\n\t\t\tif(premiereCaseTapis == 1){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-2][jeu.getAssam().getYPion()-1].setCouleurTapis(tour);\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-2;\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-1;\n\t\t\t}\n\n\t\t\telse if(premiereCaseTapis == 2){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()][jeu.getAssam().getYPion()-1].setCouleurTapis(tour);\n\t\t\t\tposXTapis = jeu.getAssam().getXPion();\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-1;\n\t\t\t}\n\n\t\t\telse if(premiereCaseTapis == 3){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-1][jeu.getAssam().getYPion()-2].setCouleurTapis(tour);\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-2;\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-1;\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-1][jeu.getAssam().getYPion()].setCouleurTapis(tour);\n\t\t\t\tposYTapis = jeu.getAssam().getYPion();\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-1;\n\t\t\t}\n\n\t\t} catch (ArrayIndexOutOfBoundsException e){\n\t\t\tconsole.afficherImpossiblePoserTapis();\n\t\t\treturn false;\n\t\t}\n\n\n\n\n\t\tconsole.afficherJeu();\n\t\tSystem.out.println(\"Choisissez la deuxieme case\");\n\n\t\t//Pose du second petit carre de tapis\n\t\twhile(true){\n\t\t\tint d = console.obtenirDirection();\n\t\t\t//pour ne pas faire de demi tour ou erreur de d\n\t\t\tif(direction == 1 && d == 2 || direction == 2 && d == 1 || direction == 3 && d == 4 || direction == 4 && d == 3 || d<1 || d>4){\n\t\t\t\tconsole.afficherImpossibleChoisirDirection();\n\t\t\t} else {\n\t\t\t\ttry{\n\t\t\t\t\tif(d == 1){\n\t\t\t\t\t\tjeu.cases[posXTapis-1][posYTapis].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse if(d == 2){\n\t\t\t\t\t\tjeu.cases[posXTapis+1][posYTapis].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse if(d == 3){\n\t\t\t\t\t\tjeu.cases[posXTapis][posYTapis-1].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse {\n\t\t\t\t\t\tjeu.cases[posXTapis][posYTapis+1].setCouleurTapis(tour);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t} catch (ArrayIndexOutOfBoundsException e){\n\t\t\t\t\tconsole.afficherImpossiblePoserTapis();\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tjeu.getJoueurs()[tour-1].useTapis();\n\t\treturn true;\n\n\n\t}",
"private boolean verificarMascota(Perro perro, int edad){\n //Propiedades del perro a evaluar\n String raza = perro.getRaza();\n String tamano = perro.getTamano();\n\n boolean bandera = false;\n\n //Si hay un niño pequeño, y se le asigna un perro con tamaño pequeño y no es raza peligrosa\n if (edad < 10 && tamano.equals(\"pequeno\") && verificarRaza(raza))\n bandera = true;\n \n //Si hay un niño grande y se le asigna un perro con tamaño pequeño o mediano y no es raza peligrosa\n else if (18 > edad && edad > 10 && (tamano.equals(\"pequeno\") || tamano.equals(\"mediano\")) && verificarRaza(raza))\n bandera = true;\n\n //Si no hay niños \n else if (edad > 18)\n bandera = true;\n\n //Si la familia no es apta\n else\n bandera = false;\n\n return bandera;\n }",
"public static void main (String[] args){\n\t\tScanner scan = new Scanner(System.in); //Acá se declaran las nuevas clases y sus variables para la simulación del juego.\n\t\tGuerrero gue = new Guerrero();\n\t\tExplorador exp = new Explorador();\n\t\tCazador ca = new Cazador(); //Nueva clase agregada.\n\t\tMascota mas = new Mascota(); //Nueva clase agregada.\n\t\tEnemigo ene = new Enemigo();\n\t\tJefe jefe = new Jefe(); \n\t\tJefazo je = new Jefazo(); //Nueva clase agregada.\n\t\tint turnos = 0; //Variables que se usarán para el control de turnos.\n\t\tint turnosJ = 0;\n\t\tint turnosJe = 0;\n\t\tint opcion = 0;\n\t\tint decision = 0;\n\t\ttry{ //Bloque try para obtener excepciones e irregularidades en el programa.\n\t\t//Presentación al usuario.\n\t\t\tSystem.out.println(\"Bienvenido a este simulador de un videojuego, hoy tendras que superar dos batallas para proclamarte vencedor.\\nPero primero, contesta estas preguntas:\\n\");\n\t\t\tgue.DarNombre(); //Método para asignar nombre al guerrero.\n\t\t\texp.DarNombre(); //Método para asignar nombre al explorador.\n\t\t\t\n\t\t\tSystem.out.println(\"\\nOk, ahora que has nombrado a tus personajes, es momento de librar tu primera batalla!\");\n\t\t\tSystem.out.println(\"Pero antes, deseas el modo normal o deseas enfrentar a un jefe especial?\\n1. Modo normal.\\n2. It's boss time!\"); //Decision para tomar el modo normal o enfrentarte al jefe más poderoso.\n\t\t\tdecision = scan.nextInt();\n\t\t\tif (decision == 1){\n\t\t\t\tSystem.out.println(\"Bien, prepárese para el modo normal:\\n\");\n\t\t\t\twhile (turnos != 10){ //Hasta que los turnos lleguen a 10, la batalla sigue su curso.\n\t\t\t\t\tSystem.out.println(\"Turno del guerrero\");\n\t\t\t\t\tgue.AtaqueG(); //Método para el ataque del guerrero.\n\t\t\t\t\tSystem.out.println(\"Turno del explorador\");\n\t\t\t\t\texp.AtaqueE(); //Método para el ataque del explorador.\n\t\t\t\t\tSystem.out.println(\"Turno del enemigo\");\n\t\t\t\t\tene.AtaqueEn(); //Método para el ataque del enemigo.\n\t\t\t\t\tturnos = turnos + 1; //Contador de turnos.\n\t\t\t\t}\n\t\t\t\tif (turnos == 10){ //Cuando llegue a 10 el número de turnos, se le pregunta al usuario si quiere pasar contra el jefe.\n\t\t\t\t\tSystem.out.println(\"Bien, tras 10 turnos seguro que la batalla fue extenuante, desea continuar?\\n1.Si.\\n2.No.\");\n\t\t\t\t\topcion = scan.nextInt();\n\t\t\t\t\tif (opcion == 1){\n\t\t\t\t\t\tSystem.out.println(\"Bien, ahora sigue la batalla contra el jefe, prepárese.\");\n\t\t\t\t\t\twhile (turnosJ != 15){ //15 turnos es el máximo de turnos disponibles para intentar aniquilar al jefe.\n\t\t\t\t\t\t\tnew Guerrero(); //Se reestablecen los valores del Guerrero y el Explorador.\n\t\t\t\t\t\t\tnew Explorador();\n\t\t\t\t\t\t\tnew Jefe();\n\t\t\t\t\t\t\tSystem.out.println(\"Turno del guerrero\");\n\t\t\t\t\t\t\tgue.AtaqueG();\n\t\t\t\t\t\t\tSystem.out.println(\"Turno del explorador\");\n\t\t\t\t\t\t\texp.AtaqueE();\n\t\t\t\t\t\t\tSystem.out.println(\"Turno del jefe\");\n\t\t\t\t\t\t\tjefe.AtaqueJ(); //Método de ataque del jefe.\n\t\t\t\t\t\t\tturnosJ = turnosJ + 1; //Contador de turnos.\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (turnosJ == 15){ //Cuando llegue a 15 turnos, se acaba la pelea, el jefe y los enemigos que quedaban se van.\n\t\t\t\t\t\t\tSystem.out.println(\"Escuchas de repente unos pasos acercarse cada vez mas. El jefe al que enfrentabas huye despavorido... Deseas quedarte?\\1.Si\\n2.No.\");\n\t\t\t\t\t\t\topcion = scan.nextInt();\n\t\t\t\t\t\t\tif (opcion == 1){\n\t\t\t\t\t\t\t\tSystem.out.println(\"Tu y tu amigo explorador se quedan en el lugar, luego de curarse, ven como un cazador huye con su mascota\\nmientras un temible ser mucho mas poderoso va tras ellos. Preparense para combatir!\");\n\t\t\t\t\t\t\t\twhile (turnosJe != 30){ //30 turnos es el máximo para intentar derrotar al jefazo.\n\t\t\t\t\t\t\t\t\tnew Guerrero();\n\t\t\t\t\t\t\t\t\tnew Explorador();\n\t\t\t\t\t\t\t\t\tnew Cazador();\n\t\t\t\t\t\t\t\t\tnew Mascota();\n\t\t\t\t\t\t\t\t\tnew Jefazo(); //Se reestablecen valores.\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"Turno del guerrero\");\n\t\t\t\t\t\t\t\t\tgue.AtaqueG();\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"Turno del explorador\");\n\t\t\t\t\t\t\t\t\texp.AtaqueE();\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"Turno del cazador\");\n\t\t\t\t\t\t\t\t\tca.AtaqueC();\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"Turno del jefazo\");\n\t\t\t\t\t\t\t\t\tje.AtaqueJe();\n\t\t\t\t\t\t\t\t\tturnosJe = turnosJe + 1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (turnosJe == 30){ //Termina la pelea y el juego.\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"Menos mal, el jefazo se canso y ya los dejo en paz, que suerte tuvieron.\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (opcion == 2){ //Decidió correr, sabia decisión.\n\t\t\t\t\t\t\t\tSystem.out.println(\"Bueno, como bien dicen, patitas para que las quiero, escondase en un lugar seguro y gracias por jugar!\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (opcion == 2){ //Si la respuesta es que no quiere luchar contra el jefe, se despide al usuario.\n\t\t\t\t\t\tSystem.out.println(\"Bien, muchas gracias por jugar!\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (decision == 2){ //Pelea contra el nuevo jefe.\n\t\t\t\tSystem.out.println(\"Bueno, usted asi lo quiso, le ponemos al mas yuca de todos.\");\n\t\t\t\tSystem.out.println(\"Preparense para combatir!\");\n\t\t\t\twhile (turnosJe != 30){ //30 turnos es el máximo de turnos disponibles para aniquilar al jefazo.\n\t\t\t\t\tnew Guerrero();\n\t\t\t\t\tnew Explorador();\n\t\t\t\t\tnew Cazador();\n\t\t\t\t\tnew Mascota();\n\t\t\t\t\tnew Jefazo();\n\t\t\t\t\tSystem.out.println(\"Turno del guerrero\");\n\t\t\t\t\tgue.AtaqueG();\n\t\t\t\t\tSystem.out.println(\"Turno del explorador\");\n\t\t\t\t\texp.AtaqueE();\n\t\t\t\t\tSystem.out.println(\"Turno del cazador\");\n\t\t\t\t\tca.AtaqueC();\n\t\t\t\t\tSystem.out.println(\"Turno del jefazo\");\n\t\t\t\t\tje.AtaqueJe();\n\t\t\t\t\tturnosJe = turnosJe + 1;\n\t\t\t\t}\n\t\t\t\tif (turnosJe == 30){ //Termina la pelea al llegar a los 30 turnos.\n\t\t\t\t\tSystem.out.println(\"Menos mal, el jefazo se canso y ya los dejo en paz, que suerte tuvieron.\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e){ //Mensaje que muestra al hallar excepciones.\n\t\t\tSystem.out.println(\"Por favor, ingrese un numero de opcion que sea valido.\");\n\t\t}\n\t}",
"private boolean estValide(Deplacement unDeplacement, Couleur couleurJoueur) {\n\t\tboolean estOK = true; \n\n\t\t//toutes les positions\n\t\tPosition[] positions = unDeplacement.toArray(new Position[0]);\n\n\t\t//on teste s'il y a au moins deux positions\n\t\testOK = estOK && (positions.length >= 2); \n\n\t\tif (estOK) {\n\t\n\t\t\t//on teste si toutes les positions sont valides\n\t\t\tfor (int i = 0; ( (i < positions.length)&&(estOK) ); i++) {\n\t\t\t\testOK = estOK && (positions[i].estValide()); \n\t\t\t}\n\t\t\tif(!estOK) return false;\n\n\t\t\t//position de depart\n\t\t\tPosition depart = positions[0];\n\n\t\t\t//on teste s'il y a un pion de la couleur du joueur\n\t\t\tPion aDeplacer = obtenirPion(depart); \n\t\t\testOK = estOK && (aDeplacer != null); \n\t\t\testOK = estOK && (aDeplacer.aMemeCouleur(couleurJoueur)); \n\t\t\t\n\t\t\t//on teste que les cases sont libres\t\t\n\t\t\tfor (int i = 1; ( (i < positions.length)&&(estOK) ); i++) {\n\t\t\t\testOK = estOK && (obtenirPion(positions[i]) == null); \n\t\t\t}\n\t\t\tif(!estOK) return false;\n\t\t\t\n\t\t\tArrayList<Position> pionsSuppr = new ArrayList<Position>();\n\t\t\tArrayList<Pion> piecesSuppr = new ArrayList<Pion>();\n\t\t\tfor (int i = 1; ( (i < positions.length)&&(estOK) ); i++) {\n\t\t\t\testOK = estOK && Position.estDiagonale(positions[i-1], positions[i]);\n\t\t\t\tif(!estOK) break;\n\t\t\t\t\n\t\t\t\tCollection<Position> c = Position.diagonale(positions[i-1], positions[i]); \n\t\t\t\tif (c.size() == 1) {\n\t\t\t\t\tif(!(aDeplacer instanceof Dame)) {\n\t\t\t\t\t\tfor (Position pos: c) {\n\t\t\t\t\t\t\tPion aSupprimer = obtenirPion(pos); \n\t\t\t\t\t\t\testOK = estOK && ( (aSupprimer != null) && (!aSupprimer.aMemeCouleur(couleurJoueur)) );\n\t\t\t\t\t\t\tif (estOK) {\n\t\t\t\t\t\t\t\tpionsSuppr.add(pos);\n\t\t\t\t\t\t\t\tpiecesSuppr.add(aSupprimer);\n\t\t\t\t\t\t\t\tsupprimerPion(pos);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tint nbPionsSupprimes = 0;\n\t\t\t\t\t\tfor (Position pos: c) {\n\t\t\t\t\t\t\tPion aSupprimer = obtenirPion(pos); \n\t\t\t\t\t\t\tif(aSupprimer != null) {\n\t\t\t\t\t\t\t\testOK = estOK && (!aSupprimer.aMemeCouleur(couleurJoueur));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (estOK && (aSupprimer != null)) {\n\t\t\t\t\t\t\t\tnbPionsSupprimes++;\n\t\t\t\t\t\t\t\tpionsSuppr.add(pos);\n\t\t\t\t\t\t\t\tpiecesSuppr.add(aSupprimer);\n\t\t\t\t\t\t\t\tsupprimerPion(pos);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(nbPionsSupprimes == 0) {\n\t\t\t\t\t\t\testOK = estOK && (positions.length == 2);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\testOK = estOK && (nbPionsSupprimes == 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (c.size() > 1) {\n\t\t\t\t\t//c'est valide que pour une dame\n\t\t\t\t\tif(!(aDeplacer instanceof Dame)) {\n\t\t\t\t\t\testOK = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t//est une dame\n\t\t\t\t\t\tint nbPionsSupprimes = 0;\n\t\t\t\t\t\tfor (Position pos: c) {\n\t\t\t\t\t\t\tPion aSupprimer = obtenirPion(pos); \n\t\t\t\t\t\t\tif(aSupprimer != null) {\n\t\t\t\t\t\t\t\testOK = estOK && (!aSupprimer.aMemeCouleur(couleurJoueur));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (estOK && (aSupprimer != null)) {\n\t\t\t\t\t\t\t\tnbPionsSupprimes++;\n\t\t\t\t\t\t\t\tpionsSuppr.add(pos);\n\t\t\t\t\t\t\t\tpiecesSuppr.add(aSupprimer);\n\t\t\t\t\t\t\t\tsupprimerPion(pos);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(nbPionsSupprimes == 0) {\n\t\t\t\t\t\t\testOK = estOK && (positions.length == 2);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\testOK = estOK && (nbPionsSupprimes == 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (c.size() == 0) {\n\t\t\t\t\testOK = estOK && (positions.length == 2);\n\t\t\t\t\tif(!(aDeplacer instanceof Dame)) {\n\t\t\t\t\t\tif (couleurJoueur.equals(Couleur.noir())) {\n\t\t\t\t\t\t\testOK = estOK && (positions[i].j() - positions[i-1].j() > 0);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\testOK = estOK && (positions[i].j() - positions[i-1].j() < 0);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (int i=0; i<pionsSuppr.size(); i++) {\n\t\t\t\tajouterPion(piecesSuppr.get(i), pionsSuppr.get(i));\n\t\t\t}\n\t\t}\n\n\t\treturn estOK; \n }",
"public static boolean validacao(String dados, int N_DADOS_SOCIO, String participantes[][], int posicao) throws IOException {\n\n String arrValidacao[] = dados.split(\";\");\n\n if (arrValidacao.length != Configuracoes.N_DADOS_SOCIO) {\n if (dados.length() != 0) {\n Erros.erroInscricoes(dados + \" -- Numero de campos invalido\");\n }\n\n return false;\n }\n\n //estrutura para 4 campos dados\n String nSocio = arrValidacao[0].trim();\n String nome = arrValidacao[1].trim();\n String marca = arrValidacao[2].trim();\n String data = arrValidacao[3].trim();\n\n //valida se o nome contem nome e apelido\n if (!nomeValido(nome)) {\n Erros.erroInscricoes(\"Nome: \" + nome + \" com nao possui nome e apelido\");\n return false;\n }\n\n //valida estrutura de datas\n if (!validaData(data)) {\n Erros.erroInscricoes(\"data: \" + data + \" estrutura invalida\");\n return false;\n }\n\n if (indexOf(participantes, nSocio, posicao) != -1) {\n Erros.erroInscricoes(\"Nº socio: \" + nSocio + \" ja registado em estrutura de dados\");\n return false;\n }\n\n return true;\n }",
"public void crearPeliculaNueva(){\n //Atributos de pelicula\n String titulo;\n String autor;\n Multimedia.FORMATO formato;\n GregorianCalendar anyo;\n double duracion = 0;\n String actorPrincipal;\n String actrizPrincipal;\n\n boolean validado = false;\n\n\n titulo = pedirString( \"titulo\"); // Pido el titulo\n autor = pedirString(\"autor\"); // Pido el autor\n formato = pedirFormato(); // Pido el formato\n anyo = pedirAnyo(); // Pido el anyo\n\n do{\n System.out.println(\"Introduce la duracion:\");\n try {\n duracion = Double.parseDouble(lector.nextLine());\n validado = true;\n\n if(duracion <= 0){\n validado = false;\n System.out.println(\"la duracion no puede ser un numero negativo\");\n }\n }catch (NumberFormatException nfe){\n System.out.println(\"Por favor, introduce un numero.\");\n }\n\n }while(!validado);\n validado = false;\n\n // Pido el actor\n do {\n System.out.println(\"Actor: \");\n actorPrincipal = lector.nextLine();\n validado = titulo.length() > 2;\n if(!validado) {\n System.out.println(\"El actor debe tener almenos 2 caracteres\");\n Lib.pausa();\n }\n } while (!validado);\n\n validado = false;\n\n // Pido la actriz\n do {\n System.out.println(\"Actriz: \");\n actrizPrincipal = lector.nextLine();\n validado = titulo.length() > 2;\n if(!validado) {\n System.out.println(\"La actriz debe tener almenos 2 caracteres\");\n Lib.pausa();\n }\n } while (!validado);\n\n\n // Finalmente creo la pelicula y lo anyado a las peliculas de la tienda.\n tienda.getPeliculas().add(new Pelicula(titulo, autor, formato, anyo, duracion, actorPrincipal, actrizPrincipal));\n System.out.println(\"Pelicula creado con exito\");\n Lib.pausa();\n\n }",
"public boolean interpreta(String com[]){\n\t\tint i, contv = 0, j;\n\t\tchar tok;\n\t\tString aux;\n\t\t\n\t\tfor(i = 0 ; i < com.length && com[i] != null; i++){\n\t\t\tcom[i]=com[i].trim();\n\t\t\tcom[i]=com[i].trim();\n\t\t\tcom[i]=com[i].replace(\"fimenquanto\",\"#\");\n\t\t\tcom[i]=com[i].replace(\"fimse\",\"*\");\n\t\t\tcom[i]=com[i].replace(\"else\",\",\");\n\t\t\tcom[i]=com[i].replace(\"se\",\".\");\n\t\t\tcom[i]=com[i].replace(\"op\",\"$\");\n\t\t\tcom[i]=com[i].replace(\":\",\"[\");//Para chamar a funcao abacaxi:\n\t\t\tcom[i]=com[i].replace(\"{\",\"+\");\n\t\t\tcom[i]=com[i].replace(\"}\",\"-\");\n\t\t\tcom[i]=com[i].replace(\"end\",\":\");//Fim do ELSE\n\t\t\tcom[i]=com[i].replace(\"enquanto\",\"@\");\n\t\t\tcom[i]=com[i].replace(\"imprime\",\"%\");\n\t\t\tcom[i]=com[i].replace(\"le\",\"?\");\n\t\t}\n\t\tboolean baleado=false;\n\t\tint salvaFuncao = 0, jaEntrou = 1;\n\t\tMate mat = new Mate();\n\n\t\tfor(i = 0; i < (com.length - 1) && com[i] != null; ++i){\n\t\t\ttok = com[i].charAt(0);\n\t\t\taux = com[i].substring(1);\n\t\t\taux = aux.trim();\n\t\t\t\n\t\t\tswitch(tok){//Caso IF\n\t\t\t\tcase '.':\n\t\t\t\t\tbaleado = Logico.funcaoSe(var, aux, 2);\n\t\t\t\t\tif(baleado == false){\n\t\t\t\t\t\ti = Logico.linha(com, i);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase ',': //Caso ELSE IF\n\t\t\t\t\tif(baleado){\n\t\t\t\t\t\ti = Logico.linha(com, i);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*': \t//fim if\n\t\t\t\t\tbreak;\n\t\t\t\tcase ':': //fim ELSE\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase '$': \t//criar variavel\n\t\t\t\t\tString[] nova = aux.split(\"=\");\n\t\t\t\t\tString nok = new String();\n\t\t\t\t\tnova[1] = nova[1].trim();\n\t\t\t\t\tnok = nova[1].substring(0);\n\t\t\t\t\t//double valor = Mate.soma(nova[1], var);\n\t\t\t\t\tint jaka,contador;\n\t\t\t\t\tdouble value;\n\t\t\t\t\tchar jui = ' ';\n\t\t\t\t\tfor(jaka=0,contador=0; jaka < nok.length(); ++jaka){\n\t\t\t\t\t\tjui = nova[1].charAt(jaka);\n\t\t\t\t\t\tif(jui == '+' || jui == '-' || jui == '*' || jui == '/')\n\t\t\t\t\t\t\tcontador++;\n\t\t\t\t\t}\n\t\t\t\t\tif(contador > 0){\n\t\t\t\t\t\tvalue = mat.calcula(nok, 0, var);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tvalue = Mate.soma(nova[1], var);\n\t\t\t\t\t}\n\t\t\t\t\tnova[0] = nova[0].trim();\n\t\t\t\t\tvar.atlVar( nova[0] , value);\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase '@':\t//while\n\t\t\t\t\tif(Logico.funcaoSe(var, aux, 1) == true){\n\t\t\t\t\t\tlaco.push(i);\n\t\t\t\t\t}else{\n\t\t\t\t\t\ti = Logico.linha(com, i);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase '#':\t//fim while\n\t\t\t\t\tif(laco.vazio() == true){\n\t\t\t\t\t\t//if(com[laco.pop()].charAt(0) == '@'){\n\t\t\t\t\t\t\ti = (laco.pop() - 1);\n\t\t\t\t\t\t//}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tcase '[': //Onde está a FUNCAO. Necessário guardar essa posicao\n\t\t\t\t\tsalvaFuncao = i;\n\t\t\t\t\tString[] nome = aux.split(\";\");\n\t\t\t\t\tnome[0] = nome[0].trim();\n\t\t\t\t\t//System.out.println(\"NOME = \"+nome[0]);\n\t\t\t\t\ti = Logico.achaFuncao(com, i, nome[0]);\n\t\t\t\t\tjaEntrou++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tjaEntrou--;\n\t\t\t\t\tif(jaEntrou == 0)\n\t\t\t\t\t\treturn true;\n\t\t\t\t\ti = salvaFuncao;\n\t\t\t\t\tbreak;\n\t\t\t\tcase '+':\n\t\t\t\t\treturn true;\n\t\t\t\tcase '%':\t//imprime\n\t\t\t\t\taux = aux.trim();\n\t\t\t\t\tImp.imprime(aux, var);\n\t\t\t\t\tbreak;\n\n\t\t\t\t\t\n\t\t\t\tcase '?':\t//scaner leitur\n\t\t\t\t\tdouble get = scan.nextDouble();\n\t\t\t\t\tvar.atlVar(aux, get);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn true;\n\t}",
"public static void main(String[] args) {\n\t\t\tString nome;\n\t\t\tint prova \t\t= 5; \n\t\t\tint projeto\t\t= 3; \n\t\t\tint exercicio \t= 2;\n\t\t\tint qtdAlunos = 0;\n\t\t\tint nAprovados \t= 0;\n\t\t\tint nRprovados \t= 0;\n\t\t\tint nAf \t\t= 0;\n\t\t\tdouble nota1,nota2,nota3,notaAf,sem1,sem2;\n\t\t\tdouble mediaGeral = 0;\n\t\t\tdouble menor = 0;\n\t\t\tdouble maior=0;\n\t\t\tdouble bim1=0;\n\t\t\tdouble bim2=0;\n\n\t\t\t\n\t\t\t\n\t\t\tScanner Al = new Scanner(System.in);\n\t\t\tSystem.out.print(\"Informe o numero de alunos.\");\n\t\t\tqtdAlunos = Al.nextInt();\n\t\t\tString [][]alunos = new String[qtdAlunos][3];\n\t\t\n\t\t\t\n\t\t\tScanner Nota = new Scanner(System.in);\n\t\t\tsem1=0;\n\t\t\tsem2=0;\n\t\t\tScanner Al2 = new Scanner(System.in);\n\t\t\tSystem.out.println(\"Informe a Disciplina para lançamento das notas:\t \");\n\t\t\t\n\t\t\tString disciplina = Al2.nextLine();\n\n\t\t\t\tfor(int x=0;x < qtdAlunos;x++){\n\t\t\t\t\tnota1=0;\n\t\t\t\t\tnota2=0;\n\t\t\t\t\tnota3=0;\n\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"Informe o Nome do Aluno\t \");\n\t\t\t\t\tnome = Al2.nextLine();\n\t\t\t\t\t\n\t\t\t\t\tfor(int y=1;y<=4;y++) {\n\t\t\t\t\t\tSystem.out.println(\"*************************************************************\");\n\t\t\t\t\t\tSystem.out.println(\"* \"+y+\"° Bimestre *\");\n\t\t\t\t\t\tSystem.out.println(\"*************************************************************\");\n\t\t\t\t\t\t\n\t\t\t\t\t\tSystem.out.print(\"Informe a Nota da Prova\t \");\n\t\t\t\t\t\tnota1 = Nota.nextDouble();\n\t\t\t\t\t\n\t\t\t\t\t\tSystem.out.print(\"Informe a Nota do Projeto\t \");\n\t\t\t\t\t\tnota2 = Nota.nextDouble();\n\n\t\t\t\t\t\tSystem.out.print(\"Informe a Nota do Exercício \");\n\t\t\t\t\t\tnota3= Nota.nextDouble();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(y==1) {\n\t\t\t\t\t\t\tbim1=((nota1*prova)+(nota2*projeto)+(nota3*exercicio))/(prova+projeto+exercicio);\n\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\tbim2=((nota1*prova)+(nota2*projeto)+(nota3*exercicio))/(prova+projeto+exercicio);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(y==2) {\n\t\t\t\t\t\t\tsem1=(bim1+bim2)/2;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(y==4) {\n\t\t\t\t\t\t\tsem2=(bim1+bim2)/2;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif((sem1+sem2)/2 < 5 ) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"Aluno reprovado \");\n\t\t\t\t\t\t\t\t//reprovado\n\t\t\t\t\t\t\t\talunos[x][0]= nome;\n\t\t\t\t\t\t\t\talunos[x][1]= Double.toString((sem1+sem2)/2);\n\t\t\t\t\t\t\t\talunos[x][2]= \"Reprovado\";\t\t\n\t\t\t\t\t\t\t\tnRprovados=nRprovados+1;\n\t\t\t\t\t\t\t}else if((sem1+sem2)/2 > 5 && (sem1+sem2)/2<=7.9 ){\n\t\t\t\t\t\t\t\tSystem.out.println(\"Aluno Necessita realiar a AF \");\n\t\t\t\t\t\t\t\tSystem.out.println(\"Nota Necessaria para Aprovacao: \"+ Math.round((10+(-(sem1+sem2)/2))* 100.0)/100.0);\n\t\t\t\t\t\t\t\tSystem.out.println(\"Informe a Nota da AF \");\n\t\t\t\t\t\t\t\tnotaAf = Nota.nextDouble();\n\t\t\t\t\t\t\t\tnAf=nAf+1;\n\t\t\t\t\t\t\t\tif(notaAf<(10+(-(sem1+sem2)/2))) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\talunos[x][0]= nome;\n\t\t\t\t\t\t\t\t\talunos[x][1]= Double.toString(notaAf);\n\t\t\t\t\t\t\t\t\talunos[x][2]= \"Reprovado - AF\";\t\n\t\t\t\t\t\t\t\t\tnRprovados=nRprovados+1;\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\talunos[x][0]= nome;\n\t\t\t\t\t\t\t\t\talunos[x][1]= Double.toString(notaAf);\n\t\t\t\t\t\t\t\t\talunos[x][2]= \"Aprovado -AF\";\t\t\n\t\t\t\t\t\t\t\t\tnAprovados=nAprovados+1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\talunos[x][0]= nome;\n\t\t\t\t\t\t\t\talunos[x][1]= Double.toString(Math.round(((sem1+sem2)/2)* 100.0)/100.0);\n\t\t\t\t\t\t\t\talunos[x][2]= \"Aprovado\";\t\n\t\t\t\t\t\t\t\tnAprovados=nAprovados+1;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\t\t\t\t\t\n\t\t\t\t\t\t\tif(menor==0 || Double.parseDouble(alunos[x][1])< menor) {\n\t\t\t\t\t\t\t\tmenor=Double.parseDouble(alunos[x][1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(maior==0 || Double.parseDouble(alunos[x][1])> maior){\n\t\t\t\t\t\t\t\tmaior=Double.parseDouble(alunos[x][1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmediaGeral+=Double.parseDouble(alunos[x][1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \");\n\t\t\t\tSystem.out.println(\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \");\n\t\t\t\tSystem.out.println(\"#############################################################\");\n\t\t\t\tSystem.out.println(\"# Disciplina : \"+disciplina+\" \");\n\t\t\t\tSystem.out.println(\"#============================================================\");\n\t\t\t\tSystem.out.println(\"# Entrada de Dados dos alunos \");\n\t\t\t\tSystem.out.println(\"#============================================================\");\n\t\t\t\tSystem.out.println(\"# Quantidade de Alunos :\"+qtdAlunos+\" \");\n\t\t\t\tSystem.out.println(\"#============================================================\");\n\t\t\t\tSystem.out.println(\"#\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \");\n\t\t\t\tSystem.out.println(\"# Menor Nota :\"+menor+\" \");\n\t\t\t\tSystem.out.println(\"# Maior Nota :\"+maior+\" \");\n\t\t\t\tSystem.out.println(\"#\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \");\n\t\t\t\tSystem.out.println(\"#Numero de Aprovados :\"+nAprovados+\"\t\t\t\t\t\t \");\n\t\t\t\tSystem.out.println(\"#Numero de Reprovados:\"+nRprovados+\"\t\t\t\t\t\t \");\n\t\t\t\tSystem.out.println(\"#Numero de AF :\"+nAf+\"\t\t\t\t\t\t\t\t \");\n\t\t\t\tSystem.out.println(\"#===========================================================#\");\n\t\t\t\tSystem.out.println(\"# Média Turma :\"+Math.round(((mediaGeral/qtdAlunos)* 100.0)/100.0));\n\t\t\t\tSystem.out.println(\"#===========================================================#\");\t\t\t\n\t\t\t\tSystem.out.println(\"#===========================================================#\");\n\t\t\t\tSystem.out.println(\"#...................Lista dos Alunos........................#\");\n\t\t\t\tSystem.out.println(\"#===========================================================#\");\n\t\t\t\tSystem.out.println(\"#############################################################\");\n\t\t\t\tSystem.out.println(\"Nome: |Nota |Status \");\n\t\t\t\tSystem.out.println(\"-------------------------------------------------------------\");\n\t\t\t\t\n\t\t\t\tfor(int i=0;i<alunos.length;i++){\n\t\t\t\t\tSystem.out.println(alunos[i][0].length()<= 29 ? String.format (\"%-29.29s\",alunos[i][0]) +\"|\"+ String.format (\"%-14.14s\",alunos[i][1])+\"|\"+ alunos[i][2] : alunos[i][0].substring(0, 29) +\"|\"+ alunos[i][1]+\"|\"+ alunos[i][2] );\t\n\n\t\t\t\t}\n\t\t\t\tAl.close();\n\t\t\t\tAl2.close();\n\t\t\t\tNota.close();\n\t\t\n\t}",
"public void joueDeuxHumains()\n\t{\n\t\tboolean fin = false;\n\t\tboolean result = false;\n\t\tint etoiles;\n\t\tint choix;\n\t\tint i = 0;\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tint x2 = 0;\n\t\tint y2 = 0;\n\t\tString couleur;\n\t\tetoiles = initialiser();\n\t\twhile (!fin)\n\t\t{\n\t\t\tif (i % 2 == 0)\n\t\t\t{\n\t\t\t\tcouleur = \"bleu\";\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcouleur = \"rouge\";\n\t\t\t}\n\t\t\tSystem.out.println(\"1-Jouer\");\n\t\t\tSystem.out.println(\"2-Afficher une composante\");\n\t\t\tSystem.out.println(\"3-Vérifier si une case relie une composante\");\n\t\t\tSystem.out.println(\"4-Regarder s'il existe un chemin entre deux cases d'une couleur donnée\");\n\t\t\tSystem.out.println(\"5-Afficher le nombre minimum de cases entre deux cases données (x,y) et (z,t)\");\n\t\t\tSystem.out.println(\"6-Quitter\");\n\t\t\tchoix = clavier.nextInt();\n\t\t\tafficher(i);\n\t\t\tswitch (choix)\n\t\t\t{\n\t\t\t\tcase 1:\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"### Ajout d'une case pour jouer ###\");\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de x ?\");\n\t\t\t\t\tx = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de y ?\");\n\t\t\t\t\ty = clavier.nextInt();\n\t\t\t\t\tcompressionChemin(x, y);\n\t\t\t\t\tresult = tableauPeres_[x][y].colorerCase(couleur);\n\t\t\t\t\t//System.out.println(existeCheminCases(getLesVoisins(x, y, couleur), tableauPeres_[x][y], couleur));\n\t\t\t\t\tif (getNbEtoiles(x, y, couleur) < getNbEtoiles(getLesVoisins(x, y, couleur).getX(), getLesVoisins(x, y, couleur).getY(), couleur))\n\t\t\t\t\t{\n\t\t\t\t\t\tunion(getLesVoisins(x, y, couleur).getX(), getLesVoisins(x, y, couleur).getY(), x, y);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tunion(x, y, getLesVoisins(x, y, couleur).getX(), getLesVoisins(x, y, couleur).getY());\n\t\t\t\t\t}\n\t\t\t\t\tpreparerScore(x, y, couleur);\n\t\t\t\t\tafficheScores(couleur);\n\t\t\t\t\tnombresEtoiles(x, y, couleur);\n\t\t\t\t\t++i;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tSystem.out.println(\"### Afficher une composante ###\");\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de x ?\");\n\t\t\t\t\tx = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de y ?\");\n\t\t\t\t\ty = clavier.nextInt();\n\t\t\t\t\tcompressionChemin(x, y);\n\t\t\t\t\tcompressionChemin(x2, y2);\n\t\t\t\t\tafficheComposante(x, y, couleur);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tSystem.out.println(\"### Tester si une case relie une composante ###\");\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de x ?\");\n\t\t\t\t\tx = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de y ?\");\n\t\t\t\t\ty = clavier.nextInt();\n\t\t\t\t\tcompressionChemin(x, y);\n\t\t\t\t\tif(!relieComposantes(x, y, couleur))\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"Cette case ne relie aucune composante.\");\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"Cette case relie une ou plusieurs composante(s).\");\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tSystem.out.println(\"### Tester s'il existe un chemin entre deux cases données ###\");\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de x de la première case ?\");\n\t\t\t\t\tx = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de y de la première case ?\");\n\t\t\t\t\ty = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de x de la deuxième case ?\");\n\t\t\t\t\tx2 = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de y de la deuxième case ?\");\n\t\t\t\t\ty2 = clavier.nextInt();\n\t\t\t\t\tcompressionChemin(x, y);\n\t\t\t\t\tcompressionChemin(x2, y2);\n\t\t\t\t\tif (existeCheminCases(tableauPeres_[x][y], tableauPeres_[x2][y2], couleur))\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"Il existe un chemin entre les deux cases.\");\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"Il n'existe pas de chemin entre les deux cases.\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5:\n\t\t\t\t\tSystem.out.println(\"### Afficher nombre minimum de cases qui relie deux cases ###\");\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de x de la première case ?\");\n\t\t\t\t\tx = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de y de la première case ?\");\n\t\t\t\t\ty = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de x de la deuxième case ?\");\n\t\t\t\t\tx2 = clavier.nextInt();\n\t\t\t\t\tSystem.out.println(\"Quel est la valeur de y de la deuxième case ?\");\n\t\t\t\t\ty2 = clavier.nextInt();\n\t\t\t\t\tcompressionChemin(x, y);\n\t\t\t\t\tcompressionChemin(x2, y2);\n\t\t\t\t\tSystem.out.println(relierCasesMin(x, y, x2, y2, couleur));\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6:\n\t\t\t\t\tfin = true;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (scoreJ2_ == etoiles)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Joueur bleu a gagné !\");\n\t\t\t\tfin = true;\n\t\t\t}\n\t\t\telse if (scoreJ1_ == etoiles)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Joueur rouge a gagné !\");\n\t\t\t\tfin = true;\n\t\t\t}\n\n\t\t}\n\t}",
"@Test\n\tpublic void probandoParametrosDevuelta() {\n\n\t\tString outFolder = ArbolFileSources.userFolder + \"/Dropbox/julio_box/educacion/maestria_explotacion_datos_uba/materias/cuat_2_dm_finanzas/entregable/historia/\";\n\t\ttry {\n\n\t\t\t// String[] seed = { \"101723\", \"208403\", \"663552\", \"826668\",\n\t\t\t// \"980641\" };\n\t\t\t// Integer[] maximaProfundidadList = { 6,7 };\n\t\t\t// Integer[] minParentSizeList = {300, 400, 500 };\n\t\t\t// // cuenta que va a ser el porcentaje variable del current padre\n\t\t\t// Integer[] minChildSizeList = { 65,70,90 };\n\n\t\t\t// String[] seed = { \"101723\", \"208403\", \"663552\", \"826668\",\n\t\t\t// \"980641\" };\n\t\t\t// Integer[] maximaProfundidadList = { 6,7 };\n\t\t\t// Integer[] minParentSizeList = {300, 400 };\n\t\t\t// // cuenta que va a ser el porcentaje variable del current padre\n\t\t\t// Integer[] minChildSizeList = { 65,70 };\n\n\t\t\tString[] seed = { \"101723\", \"208403\", \"663552\", \"826668\", \"980641\" };\n\t\t\tInteger[] maximaProfundidadList = { 7 };\n\t\t\tInteger[] minParentSizeList = { 300, 350, 400 };\n\t\t\t// cuenta que va a ser el porcentaje variable del current padre\n\t\t\tInteger[] minChildSizeList = { 65, 70 };\n\n\t\t\t// para cada semilla correr los arboles\n\n\t\t\tString resultSyntax = ArbolesSQLEjecutador.generaSyntaxSpssIterativoVarsYHisto(outFolder, maximaProfundidadList, minParentSizeList, minChildSizeList, seed);\n\t\t\tString timeStampFolder = UtilidadesGenerales.getTimeStamp(null, null);\n\t\t\tUtilidadesGenerales.writeToFile(resultSyntax, \"UTF-8\", outFolder + timeStampFolder + \"_syntax.txt\");\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail(e.getMessage());\n\t\t}\n\t}",
"public static void principal(String[] args) \n {\n Exercicio01 e = new Exercicio01();\n // declaração de variaveis que armazenam o valor dos lados\n float a,b,c;\n // instancia de objeto da classe Scanner para ler teclado\n Scanner teclado = new Scanner(System.in);\n // inserção dos valores dos lados\n System.out.println(\"Digite o valor do lado A\");\n a = teclado.nextFloat();\n System.out.println(\"Digite o valor do lado B\");\n b = teclado.nextFloat();\n System.out.println(\"Digite o valor do lado C\");\n c = teclado.nextFloat();\n // estrutura para verificar tipo do triangulo\n if((a != b)&& (a != c)&& (b!=c))\n {\n System.out.println(\"O triangulo é ESCALENO\");\n }\n else if((a == b) && (a == c)&& (c == b))\n {\n System.out.println(\"O triangulo é EQUILATERO\");\n }\n else\n {\n System.out.println(\"O triangulo é ISOCELES\");\n }\n System.out.println(\"=======================================\");\n System.out.print(\"O perimetro do triangulo é : \");\n System.out.println(e.calcPerimetro(a, b, c));\n System.out.print(\"A área do triangulo é : \");\n System.out.println(e.calcArea(a, b, c));\n System.out.println(\"\");\n }",
"private void permuta(String parziale,String lettere,int livello, List<String> risultato) {\r\n\t\tif(lettere.length()==0) { //caso terminale\r\n\t\t\t\r\n\t\t\t//la soluzione parziale è anche sol completa\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t//if(parziale è una parola valida?){ -->bisogna dargli accesso a dizionario\r\n\t\t\trisultato.add(parziale);\r\n\t\t\t\r\n\t\t}else {\r\n\t\t\t//fai ricorsione\r\n\t\t\t//sottoproblema== una lettera(un singolo carattere) di 'lettere'\r\n\t\t\tfor(int pos=0;pos<lettere.length();pos++) {\r\n\t\t\t\tchar tentativo= lettere.charAt(pos);\r\n\t\t\t\t\r\n\t\t\t\tString nuovaParziale=parziale+tentativo;\r\n\t\t\t\tString nuovaLettere= lettere.substring(0,pos)+ lettere.substring(pos+1);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//if(nuovaParziale è un Prefisso valido di almeno una parola nel dizionario){\r\n\t\t\t\t\t//esempio aqz-->NO car-->SI\r\n\t\t\t\tpermuta(nuovaParziale, nuovaLettere, livello+1,risultato);\r\n\t\t\t\t\r\n\t\t\t\t//backtracking -->si può escludere introducendo nuove parziali senza toccare i parametri di input\r\n\t\t\t\t//rimettere a posto parziale\r\n\t\t\t\t//rimettere a posto lettere\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public boolean validarFichaEpidemiologia() {\n\t\t\n\t\tboolean valida = true;\n\t\t\n\t\tif(!valida){\n\t\t\tMensajesUtil.mensajeAlerta(usuarios.getNombres()+\" recuerde que...\",\"Los campos marcados con (*) son obligatorios\");\n\t\t}\n\t\t\n\t\treturn valida;\n\t}",
"public static boolean compruebaArgumentos(String[] args) {\n\t\t\n\t\tArrayList<String> ids = new ArrayList<String>();\n\t\tInteger i = 0, j = 0;\n\t\t\n\t\tif (args.length % 2 != 0 || args.length == 0) {\n\t\t\tmensajeDepuracion(\"El numero de argumentos es invalido\");\n\t\t\treturn false;\n\t\t}\n\t\telse {\n\t\t\tfor(i = 0; i<args.length; i++) {\n\t\t\t\tif (i%2 == 0) { //este tiene que ser un ID\n\t\t\t\t if(ids.contains(args[i]) == true || Integer.parseInt(args[i]) < 0) {// Esta linea comprueba ademas que los ids sean positivos\n\t\t\t\t\t\tmensajeDepuracion(String.join(\"El id: \", args[i], \" es invalido o esta repetido\"));\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tids.add(args[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif ( args[i].equals(\"127.0.0.1\") || args[i].split(\"\\\\.\").length != 4) {\n\t\t\t\t\t\tmensajeDepuracion(String.join(\"El argumento \", args[i], \" esta repetido o mal formado\"));\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tfor(j = 0; j < 4; j++) {\n\t\t\t\t\t\t\tif(Integer.parseInt(args[i].split(\"\\\\.\")[j]) < 0 || Integer.parseInt(args[i].split(\"\\\\.\")[j]) > 255) {\n\t\t\t\t\t\t\t\tmensajeDepuracion(String.join(\"El elemento \", args[i].split(\"\\\\.\")[j], \" de la direccion \", args[i], \" es invalido\") );\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}",
"static public void verificaParametros()\r\n \r\n {\r\n SynthesizerModeDesc synthesizerModeDescTemp = (SynthesizerModeDesc)synthesizer.getEngineModeDesc();\r\n System.out.println(\"Nome do engine utilizado: \"+synthesizerModeDescTemp.getEngineName());\r\n System.out.println(\"Nome do modo de funcionamento utilizado: \"+synthesizerModeDescTemp.getModeName());\r\n \tSystem.out.println(\"Nome da localidade utilizada: \"+synthesizerModeDescTemp.getLocale().toString());\r\n \t\t//verifica a flag de controle\r\n if(synthesizerModeDescTemp.getRunning()!=null)\r\n if(synthesizerModeDescTemp.getRunning().booleanValue())\r\n System.out.println(\"Engine rodando.\");\r\n else\r\n System.out.println(\"Engine parado.\");\r\n else\r\n System.out.println(\"A flag de controle não foi setada e tem valor nulo.\");\r\n \t\t//mostra as vozes suportadas\r\n Voice[] VoiceTemp = synthesizerModeDescTemp.getVoices();\r\n for(int i=0;i<VoiceTemp.length;i++)\r\n {\r\n System.out.println(\"Voz numero \"+(i+1)+\" : \"+VoiceTemp[i].getName());\r\n }\r\n }",
"public static void main(String[] args) {\n \n String palabaras[], palabraSelected=\"\";\n char juego[];\n char letra; \n char seguir; \n \n \n //puede volver a jugar.\n //con las palabras que no ha salido. Gastando palabras\n //en caso de no existir palabra terminar el juego e indicar el mensaje respectivo.\n\n\n do {\n aciertos=0; errores=0;\n bandera=false;\n\n palabaras= leerArchivo();\n \n if(palabaras.length==0){\n System.out.println(\"No se puede jugar porque no hay palabras\");\n break; \n }\n\n \n \n String nombre= palabaras[0].substring(0,18).trim().toUpperCase();\n\n String pa= String.format(\"%1$-20s\", \"walter\");\n System.out.println(pa.length());\n\n // escribirLineaArchivo(palabaras);\n \n //obtenerPalabra\n //random para obtener la palabara\n \n palabraSelected= obtenerPalabra(palabaras);\n //palabraSelected= palabraSelected.toUpperCase();\n \n //obtnerVectorJuego\n //instacia del venctor juego con el tamaño de la palabra seleccionada\n juego= obtenerVectorJuego(palabraSelected);\n \n /*//1 manera apata de llenar el vector juego con la palabra seleccinada\n for(int i=0; i<palabraSelected.length(); i++){\n \n juego[i]=palabraSelected.charAt(i);\n \n }\n */\n \n //segunda manera\n\n /* if(!palabraSelected.equals(\"fdd\")){\n\n\n }*/\n \n System.out.println(\"BIENVENIDO AL JUEGO DEL AHORCADO..\"); \n \n do {\n \n bandera=false;\n //imprimirJuego\n imprimirJuego(palabraSelected, juego);\n \n letra = solicitarLetra();\n \n //validarLetra\n validarLetra(letra, juego);\n \n //imprimirResultado\n imprimirResultado();\n \n \n } while (aciertos!=juego.length && errores!=7);\n \n \n //imprimirResultadoFinal\n imprimirResultadoFinal(juego, palabraSelected);\n\n\n\n System.out.println(\"Desea volver a jugar(S/N)? \"); \n seguir= scan.next().toUpperCase().charAt(0);\n \n eliminarPalabraArchivo(palabraSelected, palabaras);\n \n\n\n\n\n } while (seguir=='S');\n }",
"public int[] choisir(int[] coord)\r\n {\r\n int[] res = new int[3]; //tableau a rendre\r\n int x = coord[0];\r\n int y = coord[1]; //récupération des coordonnées\r\n int[] voisinage= new int[4]; //tableau qui regardera les cases adjacentes à la case cherchée\r\n voisinage[0] = getValHaut(x,y);\r\n voisinage[1] = getValDroite(x,y);\r\n voisinage[2] = getValBas(x,y);\r\n voisinage[3] = getValGauche(x,y);\r\n System.out.println(\"je choisis la case \"+x+\" \"+y+\"\");\r\n for(int i = 0; i<voisinage.length; i++ ) //parcours des possibilités si on joue sans créer d'opportunités adverses\r\n {\r\n if (Vision[x][y][i+1] == 0) //si il n'y a pas de trait déja tracé\r\n {\r\n if (voisinage[i] != 2) //si la case adjacente n'a pas déja deux traits dessinés\r\n {\r\n switch (i) //switch pour réagir selon la case a jouer\r\n {\r\n case 0:\r\n res[0]=x;\r\n res[1]=y;\r\n break;\r\n\r\n case 1:\r\n res[0]=x+1;\r\n res[1]=y;\r\n break;\r\n\r\n case 2:\r\n res[0]=x;\r\n res[1]=y+1;\r\n break;\r\n\r\n case 3:\r\n res[0]=x;\r\n res[1]=y;\r\n break;\r\n }\r\n //fin du switch sur i\r\n\r\n res[2]=i%2;\r\n return res;\r\n }\r\n //fin du si la case adjacente a déja 2 traits dessinés\r\n }\r\n //si il n'y a pas de trait déja tracé\r\n }\r\n //fin du for de parcours des possibilités de jouers sans créer d'opportunités adverses\r\n\r\n for(int i=0; i<voisinage.length ; i++ ) //Parcours des possibilités sans recherche d'opportunités\r\n {\r\n if (Vision[x][y][i+1] == 0) {\r\n switch (i) //switch pour réagir selon la case a jouer\r\n {\r\n case 0:\r\n res[0]=x;\r\n res[1]=y;\r\n break;\r\n\r\n case 1:\r\n res[0]=x+1;\r\n res[1]=y;\r\n break;\r\n\r\n case 2:\r\n res[0]=x;\r\n res[1]=y+1;\r\n break;\r\n\r\n case 3:\r\n res[0]=x;\r\n res[1]=y;\r\n break;\r\n }\r\n //fin du switch sur i\r\n\r\n res[2]=i%2;\r\n return res;\r\n }\r\n }\r\n //fin du parcours de possibilité sans recherche\r\n return tabVide;\r\n }",
"public void pararPersonaje(char letra) {\n switch (letra) {\n case 'd':\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[1][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n jugadorVista = \"Derecha\";//Guarda en la variable jugadorVista hacia donde miramos\n }\n break;\n case 's':\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[0][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n jugadorVista = \"Abajo\";\n }\n break;\n case 'a':\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[3][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n jugadorVista = \"Izquierda\";\n }\n break;\n case 'w':\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[2][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n jugadorVista = \"Arriba\";\n }\n break;\n }\n\n }",
"public void jugar(){\r\n System.out.println(\"\\n\\n\\n\");\r\n // reiniciar llena el array de gato des espacios en blanco para que el tablero este en blanco\r\n reiniciar(); \r\n //pedir nombres de los jugadores\r\n System.out.println(\"Para tirar solo escribe las coordenadas (x,y) de la casilla que quieres\"); \r\n System.out.println(\"(o) Nombre de Jugador 1: \");\r\n nom1=entrada.nextLine();\r\n System.out.println(\"(x) Nombre de Jugador 2: \");\r\n nom2=entrada.nextLine();\r\n System.out.println(\"\\n\\n\\n\");\r\n //imprime el tablero\r\n tablero(); \r\n //deja que los jugadores tiren\r\n tirar(); \r\n //confirma victorias o empates \r\n if(ganador=='o'){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"GANA \"+ nom1);\r\n System.out.println(\"\\n\\n\");\r\n }\r\n if(ganador=='x'){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"GANA \"+ nom2);\r\n System.out.println(\"\\n\\n\");\r\n }\r\n if(contador==9){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"EMPATE, sean panas \"+nom1+\" y \"+nom2+\" :)\");\r\n System.out.println(\"\\n\\n\");\r\n }\r\n\r\n }",
"private void verificarMuerte() {\n if(vidas==0){\n if(estadoJuego==EstadoJuego.JUGANDO){\n estadoJuego=EstadoJuego.PIERDE;\n //Crear escena Pausa\n if(escenaMuerte==null){\n escenaMuerte=new EscenaMuerte(vistaHUD,batch);\n }\n Gdx.input.setInputProcessor(escenaMuerte);\n efectoGameOver.play();\n if(music){\n musicaFondo.pause();\n }\n }\n guardarPuntos();\n }\n }",
"private boolean validarFormulario() {\n boolean cumple=true;\n boolean mosntrarMensajeGeneral=true;\n if(!ValidacionUtil.tieneTexto(txtNombreMedicamento)){\n cumple=false;\n };\n if(!ValidacionUtil.tieneTexto(txtCantidad)){\n cumple=false;\n };\n if(cmbTipoMedicamento.getSelectedItem()==null|| cmbTipoMedicamento.getSelectedItem().equals(\"Seleccione\")){\n setSpinnerError(cmbTipoMedicamento,\"Campo Obligatorio\");\n cumple=false;\n\n }\n if(getSucursalesSeleccionadas().isEmpty()){\n\n cumple=false;\n mosntrarMensajeGeneral=false;\n Utilitario.mostrarMensaje(getApplicationContext(),\"Seleccione una sucursal para continuar.\");\n }\n if(!cumple){\n if(mosntrarMensajeGeneral) {\n Utilitario.mostrarMensaje(getApplicationContext(), \"Error, ingrese todos los campos obligatorios.\");\n }\n }\n return cumple;\n }",
"public boolean verificaNumero() {\n if (contemSomenteNumeros(jTextFieldDeposita.getText()) || contemSomenteNumeros(jTextFieldSaca.getText())\n || contemSomenteNumeros(jTextFieldTransfere.getText())) {\n return true;\n } else {\n JOptionPane.showMessageDialog(this, \"Digite somente números, por favor. \", \"Atenção !!\", JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }",
"void evoluer()\n {\n int taille = grille.length;\n int nbVivantes = 0;\n for(int i=-1; i<2; i++)\n {\n int xx = ((x+i)+taille)%taille; // si x+i=-1, xx=taille-1. si x+i=taille, xx=0\n for(int j=-1; j<2; j++)\n {\n if (i==0 && j==0) continue;\n int yy = ((y+j)+taille)%taille;\n if (grille[xx][yy].vivante) nbVivantes++;\n }\n }\n if (nbVivantes<=1 || nbVivantes>=4) {vientDeChanger = (vivante==true); vivante = false;}\n if (nbVivantes==3) {vientDeChanger = (vivante==false); vivante = true;}\n }",
"public String ingresarLetra(String letra, String palabra)throws MyException{\n String respuesta=\"\";\n if(Integer.toString(1).equals(letra)||Integer.toString(2).equals(letra)||Integer.toString(3).equals(letra)||Integer.toString(4).equals(letra)||Integer.toString(5).equals(letra)||Integer.toString(6).equals(letra)||Integer.toString(7).equals(letra)||Integer.toString(8).equals(letra)||Integer.toString(9).equals(letra)||Integer.toString(0).equals(letra)||letra.equals(letra.toUpperCase())){\n throw new MyException(\"Debe ingresar una letra en minúsculas(a-z)\");\n }else{\n if(palabra.contains(letra)){\n if(this.palabra.contains(\"-\")){\n for(int i=0;i<this.palabra.length();i++){\n if((letra.toLowerCase().equals(palabra.toLowerCase().substring(i,i+1)))){\n respuesta+=palabra.subSequence(i, i+1);\n }else{\n respuesta+=\"-\";\n }\n }\n }else{\n for(int i=0;i<this.palabra.length();i++){\n if((letra.toLowerCase().equals(palabra.toLowerCase().substring(i,i+1)))){\n respuesta+=palabra.subSequence(i, i+1);\n }else{\n respuesta+=\"-\";\n }\n }\n this.palabra=respuesta;\n }\n }else{\n respuesta=this.ocultarPalabra(this.palabra);\n this.oportunidades-=1;\n try{\n this.cambiarEstadoImagen();\n }\n catch(NullPointerException ex){\n JOptionPane.showMessageDialog(null, \"No se pudo actualizar la imagen del ahorcado :(\\n\\n Imagen no encontrada\");\n }\n }\n return respuesta;\n }\n }",
"public boolean validarCampos() {\n\t\tboolean valid = true;\n\n\t\tif(!Util.isStringNotBlankOrNotNull(this.getPaciente().getNome())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isDateNotNull(this.getPaciente().getDataCadastro())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isStringNotBlankOrNotNull(this.getPaciente().getSexo())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isObjectNotNull(this.getPaciente().getRG())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(Util.isObjectNotNull(this.getPaciente().getRG()) && this.getPaciente().getRG() < 0) {\n\t\t\tthis.tratarMensagemErro(null, \"MSG015\");\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isObjectNotNull(this.getPaciente().getCPF())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isCPFValido(this.getPaciente().getCPF())) {\n\t\t\tthis.tratarMensagemErro(null, \"MSG006\");\n\t\t\tvalid = false;\n\t\t}\n\t\tif(Util.isCPFValido(this.getPaciente().getCPF()) && isPacienteCadastrado(this.getPaciente())) {\n\t\t\tthis.tratarMensagemErro(null, \"MSG017\");\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isStringNotBlankOrNotNull(this.getPaciente().getEndereco())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isStringNotBlankOrNotNull(this.getPaciente().getBairro())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isStringNotBlankOrNotNull(this.getPaciente().getCidade())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isStringNotBlankOrNotNull(this.getPaciente().getUF())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isDateNotNull(this.getPaciente().getDataNascimento())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isObjectNotNull(this.getPaciente().getTelefone())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\tif(!Util.isTelefoneValido(this.getPaciente().getTelefone())) {\n\t\t\tthis.tratarMensagemErro(null);\n\t\t\tvalid = false;\n\t\t}\n\t\t\n\t\treturn valid;\n\t}",
"private static boolean validos(int d1, int d2, \n\t\t\tList<Par<Integer,Integer>> v) {\n\t\tboolean result = v != null;\n\t\tfor(int i = 0 ; i < v.size() && result ; i++) {\n\t\t\tPar<Integer,Integer> p = v.get(i);\n\t\t\tresult = result && p != null;\n\t\t\tresult = result && \n\t\t\t\t\tp.primeiro() >= 0 && p.primeiro() < d1 && \n\t\t\t\t\tp.segundo() >= 0 && p.segundo() < d2;\n\t\t}\n\t\treturn result;\n\t}",
"public boolean asignarMascota(Perro perro){\n boolean bandera = false;\n Persona[] miembros_familia;\n familia_asignada = \"\";\n\n while (!bandera){\n //Recorrer todo el arreglo de Familia\n for (int i = 0; i <= numero_familias; i++){\n //Obtener los miembros de la familia actual \n miembros_familia = familias[i].getMiembros();\n\n //Recorrer cada miembro del arreglo de Persona\n for (int j = 0; j < miembros_familia.length; j++){ \n //Obtener edad del miembro\n int edad = miembros_familia[j].getEdad();\n\n //Verificar si el miembro al que se analiza puede tener la mascota y si esa familia puede tener perro\n if(verificarMascota(perro, edad)){\n if (familias[i].getNumeroMascotas() < 4){\n bandera = true;\n familias[i].setNumeroMascotas();\n familia_asignada = familias[i].getApellido();\n j = miembros_familia.length;\n i = familias.length;\n }\n }\n else{\n j = miembros_familia.length;\n }\n }\n }\n break;\n }\n return bandera;\n }",
"public static void main(String[] args) throws IOException {\n\t\t\tBufferedReader entrada = new BufferedReader(new FileReader(\"src\\\\ListaEnlazada3\\\\F.txt\"));\n\t\t\tPrintWriter salida = new PrintWriter(new FileWriter(\"src\\\\ListaEnlazada3\\\\Fsalida.txt\"));\n\t\t\tPilaEnListaEnlazada pila = new PilaEnListaEnlazada();\n\t\t\tPilaEnListaEnlazada pila2 = new PilaEnListaEnlazada();\n\t\t\tPilaEnListaEnlazada result = new PilaEnListaEnlazada();\n\t\t\tColaEnListaEnlazada cola = new ColaEnListaEnlazada();\n\t\t\tColaEnListaEnlazada cola2 = new ColaEnListaEnlazada();\n\t\t\tString str;\n\t\t\tint linea=0;\n\t\t\tint lleva=0;\n\t\t\twhile(entrada.ready())\n\t\t\t{\n\t\t\t\tstr = entrada.readLine();\n\t\t\t\tlinea++;\n\t\t\t\tif(linea==1)\n\t\t\t\t{\n\t\t\t\t\tfor(int i=0; i<str.length();i++)\n\t\t\t\t\t{\n\t\t\t\t\t\ttry\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpila.push(Integer.parseInt(str.substring(i, i+1)));//guarda el primer caracter de la cadena de texto.\n\t\t\t\t\t\t\t //En la pila, e incrementa el contador.\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch(NumberFormatException eq)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSystem.out.println(\"Hay una letra o caracter en la pila 1, la cual fue borrada.\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(linea==2)\n\t\t\t\t{\n\t\t\t\t\tfor(int i=0; i<str.length();i++)\n\t\t\t\t\t{\n\t\t\t\t\t\ttry\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpila2.push(Integer.parseInt(str.substring(i, i+1)));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch(NumberFormatException ea)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSystem.out.println(\"Hay una letra o caracter en la pila 2, la cual fue borrada.\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\telse//De no cumplise las condiciones anterirores entramos a este ciclo else.\n\t\t\t\t{\n\t\t\t\t\tfor(int i=0; i<str.length();i++)\n\t\t\t\t\t{\n\t\t\t\t\t\ttry\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpila.push(Integer.parseInt(str.substring(i, i+1)));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch(NumberFormatException ea)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSystem.out.println(\"Hay una letra o caracter en la pila 1, la cual fue borrada.\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\twhile(!pila.isEmpty()&&!pila2.isEmpty())\n\t\t\t\t{\n\t\t\t\t\tint numero = (int)pila.pop()+(int)pila2.pop()+lleva;\n\t\t\t\t\tif(numero>9)\n\t\t\t\t\t{\n\t\t\t\t\t\tcola.enqueue(numero%10);//sacamos el residuo del numero y lo guardamos en la cola\n\t\t\t\t\t\tlleva=1;//Incrementamos el lleva en 1, ya que hay un exceso en el numero.\n\t\t\t\t\t}\n\t\t\t\t\telse//Si el numero no es mayor que 9.\n\t\t\t\t\t{\n\t\t\t\t\t\tcola.enqueue(numero);//Se guarda el numero sin sacarle su residuo.\n\t\t\t\t\t\tlleva=0;//le bajamos el valor del lleva a 0, para evitar problemas de acarreo posteriores.\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(pila.isEmpty()||pila2.isEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tif(pila.size()>pila2.size())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpila2.push(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(pila.size()<pila2.size())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpila.push(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(pila.isEmpty()&&pila2.isEmpty()&&lleva==1)//Si la pila, la pila2 estan vacias y el lleva ==1 \n\t\t\t\t\t\t //significa que no hay un numero para sumar, pero estoy llevando \n\t\t\t\t\t\t //un acarreo\n\t\t\t\t\t\t //el cual tengo que tener en cuenta para la sig suma.\n\t\t\t\t\t{\n\t\t\t\t\t\tcola.enqueue(lleva);\n\t\t\t\t\t\tlleva=0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\twhile(!cola.isEmpty()&&!pila.isEmpty())\n\t\t\t\t{\n\t\t\t\t\tint numero = (int)cola.dequeue()+(int)pila.pop()+lleva;\n\t\t\t\t\tif(numero>9)\n\t\t\t\t\t{\n\t\t\t\t\t\tcola2.enqueue(numero%10);\n\t\t\t\t\t\tlleva=1;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tcola2.enqueue(numero);\n\t\t\t\t\t\tlleva=0;\n\t\t\t\t\t}\n\t\t\t\t\tif(pila.isEmpty()||cola.isEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tif(cola.size()>pila.size())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpila.push(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(pila.size()>cola.size())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcola.enqueue(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(cola.isEmpty()&&pila.isEmpty()&&lleva==1)\n\t\t\t\t\t{\n\t\t\t\t\t\tcola2.enqueue(lleva);\n\t\t\t\t\t\tlleva=0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\twhile(!pila.isEmpty()&&!cola2.isEmpty())\n\t\t\t\t{\n\t\t\t\n\t\t\t\t\tint numero = (int)cola2.dequeue()+(int)pila.pop()+lleva;\n\t\t\t\t\tif(numero>9)\n\t\t\t\t\t{\n\t\t\t\t\t\tcola.enqueue(numero%10);\n\t\t\t\t\t\tlleva=1;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tcola.enqueue(numero);\n\t\t\t\t\t\tlleva=0;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(pila.isEmpty()||cola2.isEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tif(cola2.size()>pila.size())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpila.push(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(pila.size()>cola2.size())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcola2.enqueue(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(cola2.isEmpty()&&pila.isEmpty()&&lleva==1)\n\t\t\t\t\t{\n\t\t\t\t\t\tcola.enqueue(lleva);\n\t\t\t\t\t\tlleva=0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//Sirve para invertir los valores y mostrarlos como una suma normal.\n\t\t\twhile(!cola.isEmpty()||!cola2.isEmpty()||!pila.isEmpty())\n\t\t\t{\n\t\t\t\tif(!cola.isEmpty())\n\t\t\t\t{\n\t\t\t\t\tresult.push((int)cola.dequeue());\n\t\t\t\t}\n\t\t\t\telse if(!cola2.isEmpty())\n\t\t\t\t{\n\t\t\t\t\tresult.push((int)cola2.dequeue());\n\t\t\t\t}\n\t\t\t\telse if(!pila.isEmpty())\n\t\t\t\t{\n\t\t\t\t\tresult.push((int)pila.pop());\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile(!result.isEmpty())\n\t\t\t{\n\t\t\t\tcola2.enqueue((int)result.pop());\n\t\t\t}\n\t\t\tSystem.out.print(\"Suma: \"+cola2.toString());\n\t\t\tsalida.print(\"Suma total:\"+cola2.toString());\n\t\t\tentrada.close();\n\t\t\tsalida.close();\n\t}",
"public static void main(String[] args) {\n // variables iniciales\n int semilla ; \n int tpoblacion ;\n double pcruza ;\n double pmutaccion ;\n int iteraciones ;\n int ttablero ;\n ArrayList<Integer> fitvalores = new ArrayList<>();\n ArrayList<int []> poblacion = new ArrayList<>();//ponemos tableros a la poblacion inicial\n ArrayList<int []> nuevagen = new ArrayList<>();\n /*Scanner sc=new Scanner(System.in);\n System.out.println(\"Ingrese semilla: \");\n semilla=sc.nextInt();\n System.out.println(\"Ingrese numero de reinas \");\n ttablero=(sc.nextInt()-1);\n System.out.println(\"Ingrese tamaño de la poblacion: \");\n tpoblacion=sc.nextInt();\n System.out.println(\"Ingrese numero de generaciones: \");\n iteraciones=sc.nextInt();\n System.out.println(\"Ingrese probabilidad de cruza (con coma en un rango de 0,0 a 1,0): \");\n pcruza=sc.nextDouble();\n System.out.println(\"Ingrese probabilidad de mutacion (con coma en un rango de 0,0 a 1,0): \");\n pmutaccion=sc.nextDouble();\n System.out.println();*/\n \n if (args.length <6) { //si hay más de 1 parámetro\n\t\t\tSystem.out.println(\"Debe ingresar 6 variables (semilla reinas poblacion generaciones probcruza probmutacion)\");\n\t\t\t\n\t\t} \n \n \n else {\n //recibe las variables como strings\n\tString ssemilla =args[0]; \n String sttablero =args[1];\n String stpoblacion =args[2];\n String siteraciones =args[3];\n String spcruza =args[4];\n String spmutaccion =args[5];\n //cambiar de string a enteros y decimales\n \n int isemilla = Integer.parseInt(ssemilla);\n int itpoblacion = Integer.parseInt(stpoblacion);\n double ipcruza = Double.parseDouble(spcruza);\n double ipmutaccion = Double.parseDouble(spmutaccion);\n int iiteraciones = Integer.parseInt(siteraciones);\n int itablero = Integer.parseInt(sttablero);\n // le pasamos el valor a las variables\n \n semilla =isemilla; \n tpoblacion =itpoblacion;\n pcruza =ipcruza;\n pmutaccion =ipmutaccion;\n iteraciones =iiteraciones;\n ttablero =itablero;\n/**/\n int gen=1;\n boolean find=false;\n //inicializamos la poblacion de tableros randomicamente 1ra generacion\n for(int i=0;i<tpoblacion;i++){\n int[] tablero= RandomizeArray(0, ttablero);\n poblacion.add(tablero);\n int fit=fittnes(tablero);\n if (fit==0) {\n //dibujo(tablero);\n System.out.println(Arrays.toString(tablero));\n System.out.println(\"En generacion 0\");\n dibujo(tablero);\n find=true;\n \n break;\n }\n fitvalores.add(fit);\n }//fin llenado de la poblacion inicial\n \n \n \n //acá construiriamos 1 generacion\n int m = 0;\n if (find==false){\n for (int i = 0; i < iteraciones; i++) {\n m++;\n for (int kk = 0; kk < tpoblacion; kk++) {\n //selecionamos dos padres por medio de la ruleta . solo obtenemos el iindice del tablero\n int padre1=ruolette(fitvalores,poblacion, semilla); \n int padre2=ruolette(fitvalores,poblacion, semilla);\n // System.out.println(\"padre 1 \"+padre1);\n //volvemos a elegir el padre 2 si es igual al padre 1\n\n if (padre2==padre1) {\n if (padre1==poblacion.size()) {\n padre2=padre1-1;\n // System.out.println(\"padres iguales pero se cambió\");\n }\n else{\n padre2=padre1+1;\n }\n }\n \n // System.out.println(\"padre 2 \"+padre2);\n //random decimal para ver si se cruzan los padres\n double randomdeccc=randomadec(0,1,semilla);\n \n //obtenemos la mitad para hacer a los hijos\n int mitad=randomanint(0,ttablero, semilla);\n //recuperar padre y madre seleccionados\n int [] padrek=obtenerpadre(poblacion, ttablero, padre1);\n int [] padres=obtenerpadre(poblacion, ttablero, padre2);\n int [] hijo1= new int[ttablero];\n int [] hijo2= new int[ttablero];\n //realizamos la cruza\n boolean cruza;\n //obtenemos la probabilidad de cruza\n cruza=probabilidadcruza(pcruza, randomdeccc);\n if(cruza==true){\n hijo1 =cruza( padrek, padres, ttablero, mitad, 1);\n hijo2 =cruza( padrek, padres, ttablero, mitad, 2);\n }\n // for (int i = 0; i <ttablero+1; i++) {\n // System.out.print( hijo1[i]);\n // }\n // System.out.println(\" \");\n // for (int i = 0; i <ttablero+1; i++) {\n // System.out.print( hijo2[i]);\n // }\n // System.out.println(\" \");\n //reparamosa a los hijos si se repiten los numeros\n int[] hijoreparauno=reparacion2(hijo1,ttablero);\n int[] hijoreparados=reparacion2(hijo2,ttablero);\n //seleccionamos numeros enteros para hacer la mutacion. si esta dentro de la probabilidad\n int num1=randomanint(0, ttablero, semilla);\n int num2=randomanint(0, ttablero, semilla);\n //nos aseguramon que no salga el mismo numero\n if (num1==num2) {\n if (num1==ttablero) {\n num2=num1-1;\n \n }\n else{\n num2=num1+1;\n }\n }\n \n // System.out.println(\"numero 1 \"+num1);\n // System.out.println(\"numero 2 \"+num2);\n //seleccionamos la probabilidad para la mutacion\n double probmut=randomadec(0,1,semilla);\n //hacemos la mutacion de los hijos\n int[] hijolistouno=mutacion(hijo1,ttablero,num1,num2,probmut,pmutaccion);\n int[] hijolistodos=mutacion(hijo2,ttablero,num1,num2,probmut,pmutaccion);\n //agregamos lo hijos a la nueva generacion\n //nuevagen.add(hijolistouno);\n // nuevagen.add(hijolistodos);\n poblacion.add(padre1, hijolistouno);\n poblacion.add(padre2, hijolistodos);\n int fit=fittnes(hijolistouno);\n if (fit==0) {\n //dibujo(hijolistouno);\n System.out.println(Arrays.toString(hijolistouno));\n System.out.println(\"En generacion \"+(m));\n dibujo(hijolistouno);\n // System.out.println(0);\n find=true;\n break;\n }\n int fiti=fittnes(hijolistodos);\n if (fiti==0) {\n //dibujo(hijolistouno);\n System.out.println(Arrays.toString(hijolistodos));\n System.out.println(\"En generacion \"+(m));\n // System.out.println(0);\n find=true;\n break;\n }\n \n \n fitvalores.add(padre1,fit);\n fitvalores.add(padre2,fiti);\n //se crea una nueva generacion\n }//fin llenado de una nueva poblacion\n }//fin de la creacion de generaciones (while) \n int mejor=100;\n \n for(int i = 0; i < fitvalores.size(); i++){\n\t if(fitvalores.get(i)<mejor){\n mejor=fitvalores.get(i);\n \t}\n\t\t\t\n\t}\n int [] mejorcito=obtenerpadre(poblacion, ttablero, mejor);\n if (find==false) {\n \n \n System.out.println(\"la mejor solucion es \");\n dibujo(mejorcito);\n System.out.println(Arrays.toString(mejorcito));\n System.out.print(\"generaciones escaneadas \"+m);\n }\n }\n }\n }",
"private void verificaVencedor(){\n\n // Metodo para verificar o vencedor da partida\n\n if(numJogadas > 4) {\n\n String vencedor = tabuleiro.verificaVencedor();\n\n vencedor = (numJogadas == tabuleiro.TAM_TABULEIRO && vencedor == null) ? \"Deu Velha!\" : vencedor;\n\n if (vencedor != null) {\n\n mostraVencedor(vencedor);\n temVencedor = true;\n\n }\n\n }\n\n }",
"private String pedirCasilla(String mensaje) {\n char columna;\n int fila;\n String casilla;\n do {\n casilla = ManejoInfo.getTextoSimple(\"la casilla \" + mensaje);\n columna = casilla.charAt(0);\n fila = Character.getNumericValue(casilla.charAt(1));\n if (!validarColum(columna) && fila >= 9) {\n System.out.println(\"\\nIngrese una casilla valida!\\n\");\n }\n } while (!validarColum(columna) && fila >= 9);\n return casilla;\n }",
"private boolean numeroValido(int numero, int ren, int col){\n return verificaArea(numero,ren,col)&&verificaRenglon(numero,ren) && verificaColumna(numero,col);\n }",
"private boolean esCoordenadaValida(Coordenada c) {\n assert c != null : \"Error: la coordenada introducida no puede ser null\";\n int fila = c.getFila();\n int columna = c.getColumna();\n\n return (fila>=0 && fila<=casillas.length-1) &&\n (columna>=0 && columna<=casillas[0].length-1);\n }",
"boolean judgeValid()\r\n\t{\r\n\t\tif(loc.i>=0 && loc.i<80 && loc.j>=0 && loc.j<80 && des.i>=0 && des.i<80 && des.j>=0 && des.j<80)\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t\t\r\n\t}",
"@Override\n\tpublic void preparar() {\n\t\tSystem.out.println(\"massa, presunto, queijo, calabreza e cebola\");\n\t\t\n\t}",
"private boolean esPrimo(int pNumero)\r\n\t{\r\n\t\tboolean esPrimo = true;\r\n\t\tfor(int i=2; i<=pNumero/2 && esPrimo;i++)\r\n\t\t{\r\n\t\t\tif(pNumero%i == 0)\r\n\t\t\t{\r\n\t\t\t\tesPrimo = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn esPrimo;\r\n\t}",
"public void main(String[] args) {\n String datas=\"\";\n try {\n File myObj = new File(\"configuracion.txt\");\n Scanner myReader = new Scanner(myObj);\n while (myReader.hasNextLine()) {\n String data = myReader.nextLine();\n datas = datas + data;\n }\n myReader.close();\n }\n catch (FileNotFoundException e) {\n System.out.println(\"An error occurred.\");\n e.printStackTrace();\n }\n\n String[] partes = datas.split(\">\"); //separa el contenido del fichero en diferentes string\n String[] cambios; //y lo vuelve a separar para quitar los titulos entre <>. Ej: <Localizaciones>\n for (int i = 1; i < 4; i++) {\n cambios=partes[i].split(\"<\");\n partes[i]=cambios[0];\n }\n \n //calcular num de elementos de cada parte\n int[] numelementos = new int[3];\n for (int i = 0; i < 3; i++) {\n for(int j=0; j<partes[i+1].length(); j++){\n if(partes[i+1].charAt(j)=='(')\n numelementos[i]++;\n if(partes[i+1].charAt(j)==')'){\n if(numelementos[i]==0)\n flag1=1;\n }\n }\n }\n\n localizacionesString = new String [numelementos[0]]; //incializa la informacion de cada objeto \n personajesString = new String [numelementos[1]]; //segun el largo de los strings que hemos separado\n objetosString = new String [numelementos[2]];\n String cambio = \"\";\n int count = 0 ;\n\n //Se rellena cada string con un for propio\n //Dentro de un try para deteccion de errores\n try {\n //for para Localizaciones\n for (int i=0; count<numelementos[0]; ++i){ \n if (partes[1].charAt(i)==')'){\n localizacionesString[count]=\"\";\n cambio=cambio+partes[1].charAt(i);\n localizacionesString[count]=localizacionesString[count]+cambio;\n ++count;\n cambio=\"\";\n continue;\n }\n if (partes[1].charAt(i)==','){ //Control de errores en el txt /*\n if(partes[1].charAt(i+1)!=' '){\n cambio=cambio+\", \";\n continue;\n }\n if(partes[1].charAt(i+1)==' '&&partes[1].charAt(i+2)==' '){\n cambio=cambio+\", \";\n ++i;\n for(;;i++){\n if(partes[1].charAt(i)!=' ')\n break;\n }\n }\n }\n cambio=cambio+partes[1].charAt(i);\n if(cambio.charAt(0)==' ')\n cambio=\"\"; \n }\n for (int f,i = 0; i < numelementos[0]; i++) {\n f=0;\n for (int j = 0; j < localizacionesString[i].length(); j++) {\n if(localizacionesString[i].charAt(j)==')'||localizacionesString[i].charAt(j)=='('){\n ++f;\n }\n }\n if(f<2||f>2){\n flag1=1;\n }\n } // */\n \n count = 0;\n\n //for para Personajes\n for (int i=0; count<numelementos[1]; ++i){\n if (partes[2].charAt(i)==')'){\n personajesString[count]=\"\";\n cambio=cambio+partes[2].charAt(i);\n personajesString[count]=personajesString[count]+cambio;\n ++count;\n cambio=\"\";\n continue;\n }\n cambio=cambio+partes[2].charAt(i);\n if(cambio.charAt(0)==' ')\n cambio=\"\";\n }\n for (int f,i = 0; i < numelementos[1]; i++) { //Control de errores/*\n f=0;\n for (int j = 0; j < personajesString[i].length(); j++) {\n if(personajesString[i].charAt(j)==')'||personajesString[i].charAt(j)=='('){\n ++f;\n }\n }\n if(f<2||f>2){\n flag1=1;\n }\n } // */\n \n count=0;\n\n //for para Objetos\n for (int i=0; count<numelementos[2]; ++i){\n if (partes[3].charAt(i)==')'){\n objetosString[count]=\"\";\n cambio=cambio+partes[3].charAt(i);\n objetosString[count]=objetosString[count]+cambio;\n ++count;\n cambio=\"\";\n continue;\n }\n cambio=cambio+partes[3].charAt(i);\n if(cambio.charAt(0)==' ')\n cambio=\"\";\n }\n for (int f,i = 0; i < numelementos[2]; i++) { //Control de errores/*\n f=0;\n for (int j = 0; j < objetosString[i].length(); j++) {\n if(objetosString[i].charAt(j)==')'||objetosString[i].charAt(j)=='('){\n ++f;\n }\n }\n if(f<2||f>2){\n flag1=1;\n }\n } // */\n\n \n } catch (Exception e) {\n System.out.println(\"ERROR EN LECTURA FICHERO\");\n flag1 = 1;\n }\n \n \n\n\n\n\n\n //leer fichero de objetivos(funciona igual que el de configuracion.txt)\n\n datas=\"\";\n try {\n File myObj = new File(\"objetivos.txt\");\n Scanner myReader = new Scanner(myObj);\n while (myReader.hasNextLine()) {\n String data = myReader.nextLine();\n datas = datas + data;\n }\n myReader.close();\n }\n\n catch (FileNotFoundException e) {\n System.out.println(\"An error occurred.\");\n e.printStackTrace();\n }\n\n partes = datas.split(\">\");\n for (int i = 1; i < 3; i++) {\n cambios=partes[i].split(\"<\");\n partes[i]=cambios[0];\n }\n \n numelementos = new int[2];\n for(int i=0 ; i<2 ; i++){\n for(int j=0; j<partes[i+1].length(); j++){\n if(partes[i+1].charAt(j)=='('){\n numelementos[i]++;\n if(partes[i+1].charAt(j)==')'){\n if(numelementos[i]==0)\n flag2=1;\n }\n }\n }\n }\n\n localizacionesObjetivoString = new String [numelementos[0]];\n objetosObjetivoString = new String [numelementos[1]];\n cambio=\"\";\n\n count = 0;\n\n try {\n // for para las localizaciones objetivo\n for (int i=0; count<numelementos[0]; ++i){\n if (partes[1].charAt(i)==')'){\n localizacionesObjetivoString[count]=\"\";\n cambio=cambio+partes[1].charAt(i);\n localizacionesObjetivoString[count]=localizacionesObjetivoString[count]+cambio;\n ++count;\n cambio=\"\";\n continue;\n }\n cambio=cambio+partes[1].charAt(i);\n if(cambio.charAt(0)==' ')\n cambio=\"\";\n }\n for (int f,i = 0; i < numelementos[0]; i++) { //Control de errores /*\n f=0;\n for (int j = 0; j < localizacionesObjetivoString[i].length(); j++) {\n if(localizacionesObjetivoString[i].charAt(j)==')'||localizacionesObjetivoString[i].charAt(j)=='('){\n ++f;\n }\n }\n if(f<2||f>2){\n flag2=1;\n }\n } // */\n\n count=0;\n\n // for para los objetos objetivo\n for (int i=0; count<numelementos[1]; ++i){\n if (partes[2].charAt(i)==')'){\n objetosObjetivoString[count]=\"\";\n cambio=cambio+partes[2].charAt(i);\n objetosObjetivoString[count]=objetosObjetivoString[count]+cambio;\n ++count;\n cambio=\"\";\n continue;\n }\n cambio=cambio+partes[2].charAt(i);\n if(cambio.charAt(0)==' ')\n cambio=\"\";\n }\n for (int f,i = 0; i < numelementos[0]; i++) { //Control de errores /*\n f=0;\n for (int j = 0; j < objetosObjetivoString[i].length(); j++) {\n if(objetosObjetivoString[i].charAt(j)==')'||objetosObjetivoString[i].charAt(j)=='('){\n ++f;\n }\n }\n if(f<2||f>2){\n flag2=1;\n }\n } // */\n\n } catch (Exception e) {\n System.out.println(\"ERRROR EN LA LECTURA DE FICHERO\");\n flag2=1;\n }\n \n System.out.println(\"\");\n }",
"public static int seleccionarCarro(Mano[] jug){//error no vio la 0,0\n int numeroDoble=6;\n int toret=0;\n while(numeroDoble>=0){\n int n=0;\n while(n<jug.length){\n int f=0;\n while( f<jug[n].getNPiezas() && \n (jug[n].getUnaPieza(f).getN1()!=numeroDoble || jug[n].getUnaPieza(f).getN2()!=numeroDoble))\n f++;\n \n if(f<jug[n].getNPiezas()){\n System.out.println(\"Encontrada la \"+numeroDoble+\",\"+numeroDoble\n +\", la tiene él jugador \"+(n+1)+\" y el tiene \"\n + \"el primer turno\");\n toret=n;\n numeroDoble=-10;\n \n }\n n++;\n }\n numeroDoble-=1;\n }\n if(numeroDoble==-1){\n toret=(int) (Math.random()*jug.length);\n System.out.println(\"No se ha encontrado ningun jugador con alguna pieza doble.\\n\"\n + \"Empieza el jugador \"+toret);\n }\n return toret;\n }",
"boolean sprawdz_przegrana(){\n for(int i=0;i<figura_jakas.getWspolzedne_figorki().size();i++)\n if(sprawdz_kolizje_z_innymi_klockami(0))\n return true;\n return false;\n }",
"private boolean revisar(GrafoAristaPonderada G) {\n\n // check peso\n double pesoTotal = 0.0;\n for (Arista a : aristas()) {\n pesoTotal += a.peso();\n }\n if (Math.abs(pesoTotal - peso()) > EPSILON_PUNTO_FLOTANTE) {\n System.err.printf(\n \"Peso de la aristas no es igual a peso(): %f vs. %f\\n\",\n pesoTotal, peso());\n return false;\n }\n\n // check that it is acyclic\n UF uf = new UF(G.V());\n for (Arista e : aristas()) {\n int v = e.unVertice(), w = e.otroVertice(v);\n if (uf.estanConectados(v, w)) {\n System.err.println(\"No es un bosque\");\n return false;\n }\n uf.union(v, w);\n }\n\n // check that it is a spanning forest\n for (Arista a : G.aristas()) {\n int v = a.unVertice(), w = a.otroVertice(v);\n if (!uf.estanConectados(v, w)) {\n System.err.println(\"No es un bosque de expansion\");\n return false;\n }\n }\n\n // check that it is a minimal spanning forest (cut optimality conditions)\n for (Arista a : aristas()) {\n\n // all aristas in MST except a\n uf = new UF(G.V());\n for (Arista o : aristas()) {\n int x = o.unVertice(), y = o.otroVertice(x);\n if (o != a) uf.union(x, y);\n }\n\n // check that e is min peso edge in crossing cut\n for (Arista o : G.aristas()) {\n int x = o.unVertice(), y = o.otroVertice(x);\n if (!uf.estanConectados(x, y)) {\n if (o.peso() < a.peso()) {\n System.err.println(\"Arista \" + o + \n \" viola las condiciones de optimalidad\"\n + \"del corte\");\n return false;\n }\n }\n }\n\n }\n\n return true;\n }",
"private Boolean precond() {\r\n\t\tcalculoCantidadSacar(grupoPuestosController.getIdConcursoPuestoAgr());\r\n\t\t/**\r\n\t\t * fin incidencia 0001649\r\n\t\t */\r\n\t\tBoolean respuesta = validacionesIteracion();\r\n\t\treturn respuesta;\r\n\t}",
"private boolean verificarCamposVacios() {\n \n boolean bandera = false; // false = campos no vacios\n \n if(this.jTextFieldDigiteCodigo.getText().equals(\"\") || this.jTextFieldDigiteCodigo.getText().equals(\"Digite Código\"))\n {\n mostrarError(jLabelErrorDigiteCodigo, \"Rellenar este campo\",jTextFieldDigiteCodigo);\n bandera=true;\n }\n return bandera;\n }",
"private boolean validarMezcla() {\n\t\tint grado = nodos.get(0).getGrado();\n\t\tboolean retorno = true;\n\t\tfor (Nodo n : nodos) {\n\t\t\tif (n.getGrado() != grado) {\n\t\t\t\tif (n.getGrado() < grado) {\n\t\t\t\t\tSystem.err.println(\"Error en la mezcla del grafo\");\n\t\t\t\t\tSystem.exit(4321);\n\t\t\t\t} else\n\t\t\t\t\tgrado = n.getGrado();\n\t\t\t}\n\t\t}\n\t\treturn retorno;\n\t}",
"private boolean validarCampos() {\n\t\t// TODO Auto-generated method stub\n\t\tif (txtCedula.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese un numero de cedula\");\n\t\t\treturn false;\n\t\t}\n\t\tif (txtNombre.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese un nombre\");\n\t\t\treturn false;\n\t\t}\n\t\tif (txtApellidos.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese los apellidos\");\n\t\t\treturn false;\n\t\t}\n\t\tif (txtCorreo.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese el correo\");\n\t\t\treturn false;\n\t\t}\n\t\tif (!Utilidades.validarEmailFuerte(txtCorreo.getText().trim())) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese un correo valido\");\n\t\t\treturn false;\n\t\t}\n\t\tif (txtDireccion.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese la direccion\");\n\t\t\treturn false;\n\t\t}\n\t\tif (txtTelefono.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese el numero de telefono\");\n\t\t\treturn false;\n\t\t}\n\t\tif (txtUsuario.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese el nombre de usuario\");\n\t\t\treturn false;\n\t\t}\n\t\tif (txtContrasenia.getText().trim().equals(\"\")) {\n\t\t\tUtilidades.mostrarMensaje(\"Complete el campo\", \"Por favor ingrese una contraseña\");\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"private boolean validar(String nombre,String direccion, int numero, String estado) {\r\n\t\tif (nombre == null || nombre.equals(\"\") || direccion == null || direccion.equals(\"\") || estado == null || estado == null || numero==0) {\r\n\t\t\t\r\n\t\t\treturn false;\r\n\t\t}else {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t}",
"public static void main(String[] args) throws ArgumentInvalideException, PartieFinieException {\n if(args.length == 1) {\n if(args[0].equals(\"-tests\")) {\n System.out.println(\"Lancement des tests\");\n PrincipaleTests.lancerTests();\n if(PrincipaleTests.succes_tests)\n System.out.println(\"\\nTous les tests se sont bien passés.\");\n return;\n } else {\n System.out.println(\"option '\"+args[0]+\"' inconnue\");\n return;\n }\n }\n\n Partie p= null;\n Scanner scan = new Scanner(System.in);\n System.out.println(\"Voulez-vous reprendre votre sauvegarde ? (O/N)\");\n String reponse = scan.nextLine();\n\n if (reponse.toUpperCase().equals(\"O\")) {\n try {\n p = Sauvegarde.recuperer(\"Sauvegarde.txt\");\n } catch (FileNotFoundException e) {\n System.out.println(\"Le fichier de lecture n'existe pas \");\n } catch (ClassNotFoundException e) {\n System.out.println(\"Impossible de convertir la sauvegarde\");\n } catch (IOException e) {\n System.out.println(\"Probleme lors de la lecture\");\n }\n }\n\n if(p == null) { // Si on veut creer un partie ou si on a pas pu récupérer la sauvegarde\n System.out.println(\"\\nCréation de la partie\");\n int nb_colonnes, nb_joueurs, nb_ordinateurs;\n // Grille\n System.out.println(\"Grille :\\nCombien de colonnes ?\");\n nb_colonnes = demanderEntier(1, 50);\n\n // Joueurs\n System.out.println(\"Combien y a-t-il de joueurs ?\");\n nb_joueurs = demanderEntier(0, null);\n System.out.println(\"Combien y a-t-il d'ordinateurs ?\");\n nb_ordinateurs = demanderEntier(0, nb_joueurs);\n\n Joueur[] joueurs = new Joueur[nb_joueurs];\n\n for(int i=0; i<nb_joueurs-nb_ordinateurs; i++)\n joueurs[i] = new JoueurReel();\n\n for(int i=nb_joueurs-nb_ordinateurs; i<nb_joueurs; i++)\n joueurs[i] = new JoueurOrdinateur();\n\n p=new Partie(new Grille(nb_colonnes), joueurs);\n\n }\n // On lance la partie\n int nb_colonnes;\n boolean nouvelle_partie = false; // S'il faut creer une\n reponse = \"O\";\n while(reponse.toUpperCase().equals(\"O\")){\n if(nouvelle_partie) {\n System.out.println(\"Grille :\\nCombien de colonnes ?\");\n nb_colonnes = demanderEntier(1, 50);\n p.rejouer(nb_colonnes);\n } else {\n nouvelle_partie = true;\n }\n\n if(lancerPartie(p) == CODE_FIN_JOUEUR_A_GAGNE) {\n System.out.println(\"Voulez-vous rejouer ? (O/N)\");\n reponse = scan.nextLine();\n } else {\n break;\n }\n }\n }",
"public static void main(String[] args) {\n\t\tScanner leitura = new Scanner(System.in);\r\n\t\tSystem.out.println(\"digite o nome do Aluno\");\r\n\t\tString aluno = leitura.next();\r\n\t\tSystem.out.println(\"digite a primeira nota do aluno\");\r\n\t\tdouble nota1 = leitura.nextDouble();\r\n\t\tSystem.out.println(\"digite a segunda nota do aluno\");\r\n\t\tdouble nota2 = leitura.nextDouble();\r\n\t\tSystem.out.println(\"digite a terceira nota do aluno\");\r\n\t\tdouble nota3 = leitura.nextDouble();\r\n\t\tdouble media = (nota1+nota2+nota3)/3;\r\n\t\tif(media >= 7){\r\n\t\t\tSystem.out.println(aluno+\" Você está Aprovado\");\r\n\t\t\tSystem.out.println(\"sua media é :\"+media);\r\n\t\t}\r\n\t\telse if(media >= 6){\r\n\t\t\tSystem.out.println(aluno+\" Você está em Recuperação\");\r\n\t\t\tSystem.out.println(\"sua media é :\"+media);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tSystem.out.println(aluno+\" Você está Reprovado\");\r\n\t\t\tSystem.out.println(\"sua media é :\"+media);\r\n\t\t}\r\n\t\t\r\n\t}",
"private boolean procesoComer(int a, int b)\n {\n ArrayList<Integer> muertes;\n muertes = animales.get(a).get(b).come();\n if (muertes.get(0) > krill) {\n krill = 0;\n return false;\n } else {\n krill -= muertes.get(0);\n }\n for (int i = 1; i < muertes.size(); i++) {\n for (int j = 0; j < muertes.get(i); j++) {\n if (animales.get(i).size() > 0) {\n animales.get(i).get(0).destruir(); //Reduce en 1 la cantidad\n animales.get(i).remove(0);\n } else {\n return false;\n }\n }\n }\n return true;\n }",
"public void q0() {\n\r\n if(cont < car.length) { //cuantos espacios tiene mi arreglo \r\n\r\n if(car[cont]!='0'&&car[cont]!='1'&&car[cont]!=' ') { //el arreglo car en el contador 0 lo vamos a comparar si es = a \r\n\r\n System.out.println(\"Error\");\r\n //cont++; //incrememnto mi contador \r\n //q0(); //si no lo dejo en 0 \r\n }\r\n\r\n else if (car[cont]=='0') { //si es una b me muevo al q1 \r\n \r\n System.out.println(\"q0-----> \"+car[cont]+\" ----->q1\");\r\n cont++;\r\n cont0++;\r\n q1(); //nos va a mover al estado uno \r\n }\r\n\r\n else if (car[cont]=='1') { //si es una b me muevo al q1 \r\n \r\n System.out.println(\"q0-----> \"+car[cont]+\" ----->q3\");\r\n cont++;\r\n cont1++;\r\n q3(); //nos va a mover al estado uno \r\n } \r\n\r\n else if (car[cont]==' ') { //si es una b me muevo al q1 \r\n \r\n System.out.println(\"q0-----> \"+car[cont]+\" ----->q0\");\r\n cont++;\r\n Space();\r\n q0(); //nos va a mover al estado uno \r\n } \r\n } \r\n\r\n else if (cont == car.length) {\r\n\r\n Paridad();\r\n }\r\n }",
"public static boolean dadosValidos(int linhas, int colunas, \n\t\t\tList<Par<Integer,Integer>> casas, \n\t\t\tList<Par<Integer,Integer>> estradas, \n\t\t\tList<Par<Integer,Integer>> agua) {\n\n\t\tboolean validos = linhas > 0 && colunas > 0;\n\t\tvalidos = validos && validos(linhas, colunas, casas) && \n\t\t\t\tvalidos(linhas, colunas, estradas) && \n\t\t\t\tvalidos(linhas, colunas, agua);\n\n\t\treturn validos;\n\t}",
"private boolean comprobarCampos(){\n if(jTextField1.getText().isEmpty() || jTextField2.getText().isEmpty()){\n JOptionPane.showMessageDialog(this, \"No se debe dejar campos en blanco\", \n \"ERROR: campos en blanco\", JOptionPane.ERROR_MESSAGE);\n }\n if (jComboBox1.getSelectedIndex() == 0|| entrenador.getNacionalidad().equals(\"\")){\n JOptionPane.showMessageDialog(this, \"Debes indicar un pais\", \"ERROR: Nacionalidad incorrecta\", \n JOptionPane.ERROR_MESSAGE);\n return false;\n }\n if(jXDatePicker1.getDate() == null){\n JOptionPane.showMessageDialog(this, \"Debes indicar una fecha de nacimiento\", \n \"ERROR: Fecha de nacimiento vacía\", JOptionPane.ERROR_MESSAGE);\n return false;\n }\n return true;\n }",
"private boolean existePrise(Couleur couleurJoueur) {\n\t\tif (deplacementMax(couleurJoueur) > 2) {\n\t\t\treturn true;\n\t\t}\n\t\tDeplacement deplacementCourant;\n\t\tfor(int i = 0; i < Constantes.N; i++) {\n\t\t\tfor(int j = 0; j < Constantes.N; j++) {\n\t\t\t\tPosition pos = new Position(i, j);\n\t\t\t\tif((obtenirPion(pos) != null) && obtenirPion(pos).aMemeCouleur(couleurJoueur)) {\n\t\t\t\t\tdeplacementCourant = new Deplacement();\n\t\t\t\t\tdeplacementCourant.add(pos);\n\t\t\t\t\tfor(int ii = 0; ii < Constantes.N; ii++) {\n\t\t\t\t\t\tfor(int jj = 0; jj < Constantes.N; jj++) {\n\t\t\t\t\t\t\tdeplacementCourant.add(new Position(ii, jj));\n\t\t\t\t\t\t\tif(estValide(deplacementCourant, couleurJoueur) && estPrise(deplacementCourant, couleurJoueur)) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tdeplacementCourant.remove(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public static int BuscarPerrox(Perro BaseDeDatosPerros[], String razas[], int codPerro) {\n int cont = 0;\r\n boolean condicion = false;\r\n char generoPerro, generoPerr, generPerro = 'd';\r\n String razaPerr, tipoRaza;\r\n do {\r\n System.out.println(\"Ingrese el Genero de perro : Macho(M),Hembra (H)\");\r\n generoPerro = TecladoIn.readLineNonwhiteChar();\r\n\r\n if (ValidacionDeGenero(generoPerro)) {\r\n generPerro = generoPerro;\r\n condicion = true;\r\n } else {\r\n System.out.println(\".......................................................\");\r\n System.out.println(\"Ingrese un Genero Correcto: Macho('M') o Hembra ('H')\");\r\n System.out.println(\".......................................................\");\r\n condicion = false;\r\n }\r\n } while (condicion != true);\r\n \r\n tipoRaza=IngresarRazaCorrecta();\r\n \r\n for (int i = 0; i < codPerro; i++) {\r\n razaPerr = BaseDeDatosPerros[i].getRaza();\r\n generoPerr = BaseDeDatosPerros[i].getGenero();\r\n\r\n if (tipoRaza.equals(razaPerr) && (generPerro == generoPerr)) {\r\n cont++;\r\n }\r\n\r\n }\r\n\r\n \r\n\r\n return cont;}",
"public String procesarPrestamo(int carneEstudiante, String codigoLibro, Date fechaPrestamo, boolean validarCantidadCopias) {\n //PASO 1----------------------------------------------------------------------------------------------------\n if (!buscarEstudiante(carneEstudiante)) {\n return \"El estudiante no se encuentra registrado en el sistema\";\n } \n //PASO 2----------------------------------------------------------------------------------------------------\n else {\n if (comprobarLibrosPrestados(estudiante)) {\n return \"Se ha llegado al limite de prestamos por estudiante\";\n }\n //PASO 3---------------------------------------------------------------------------------------------------- \n else {\n if (!buscarLibro(codigoLibro)) {\n return \"El libro no se encuentra registrado en el sistema\";\n }\n //PASO 4---------------------------------------------------------------------------------------------------- \n else {\n if(validarCantidadCopias){\n \n if (!comprobarExistencias(libro)) {\n return \"Se han agotado las existencias del libro solicitado\"; \n }\n }\n //PASO 5---------------------------------------------------------------------------------------------------- \n fechaLimitePrestamo = manejadorFechas.sumarDias(fechaPrestamo,2); \n prestamo = new Prestamo(0,libro.getCodigo(), estudiante.getCarne(), fechaPrestamo, fechaLimitePrestamo,true, 0,0);\n guardarPrestamo(prestamo);\n agregarListado(estudiante, prestamo);\n if(validarCantidadCopias){\n disminuirCantidad(libro);\n }\n return \"Prestamo Realizado Exitosamente\"; \n } \n }\n }\n }",
"public static void target() {\n Scanner escaner = new Scanner(System.in);\n Random aleatorio = new Random();\n int cantidadParticipantesTarget;\n int decisionTiro;\n int probabilidadesTiro;\n int[] punteosParticipantesTarget = new int[4];\n String[] nombresParticipantesTarget = new String[4];\n boolean decisionNumeroParticipantes;\n\n do {\n System.out.println(\"Bienvenido al juego de Target\");\n System.out.println(\"El juego consiste en tiros hacia un tablero de 5 zonas\");\n System.out.println(\"Zonas: 0,10,20,30,40 puntos respectivamente\");\n System.out.println(\"El juego se basa en probabilidades y la descripciones del tiro\");\n System.out.println(\"Puedes elegir el tipo que creas mas conveniente para ganar\");\n System.out.println(\"Gana el primero a llegar a 200 puntos, y si ambos llegan al mismo tiempo ambos ganan\");\n System.out.println(\"Intenta jugarlo\");\n System.out.println(\" xxxxxxxxxxxxxxx \");\n System.out.println(\" x x \");\n System.out.println(\" xx xxxxxxxxxxxxx xx \");\n System.out.println(\" xxx x x xxx \");\n System.out.println(\" xxxx x xxxxxxxxx x xxxx \");\n System.out.println(\" xxxxx x x x x xxxxx \");\n System.out.println(\" xxxxx x x x x x xxxxx \");\n System.out.println(\" xxxxx x x x x xxxxx \");\n System.out.println(\" xxxx x xxxxxxxxx x xxxx \");\n System.out.println(\" xxx x x xxx \");\n System.out.println(\" xx xxxxxxxxxxxxx xx \");\n System.out.println(\" x x \");\n System.out.println(\" xxxxxxxxxxxxxxx \");\n System.out.println(\"Cuantos jugadores participaran? (minimo 1 persona, maximo 4 personas)\");\n cantidadParticipantesTarget = Integer.parseInt(escaner.nextLine());\n\n //Ciclo y condicion que nos permite saber si la cantidad de jugadores estan establecidas en el limite\n if ((cantidadParticipantesTarget > 0) && (cantidadParticipantesTarget < 5)) {\n decisionNumeroParticipantes = true;\n } else {\n System.out.println(\"Parece que has salido del rango de participantes admitidos, vuelve a ingresar\");\n decisionNumeroParticipantes = false;\n }\n\n } while (decisionNumeroParticipantes == false);\n\n System.out.println(\"\\n\\n\\n\\n\");\n //ingresamos los nombres y los asignamos a nuestra variable global, depende de cuantos jugadores esten jugando esa sera su magnitud\n for (int contador = 0; contador < cantidadParticipantesTarget; contador++) {\n System.out.println(\"Ingrese el Nombre del Jugador No.-\" + (contador + 1));\n nombresParticipantesTarget[contador] = asignarNombres();\n }\n System.out.println(\"\\n\\n\\n\\n\");\n\n decisionNumeroParticipantes = true;\n\n//Ciclo que empieza el juego en General, no terminara hasta que decisionNumeroParticipantes = false\n while (decisionNumeroParticipantes == true) {\n\n //Este for nos indica los turnos de los participantes, con magnitud de cantidadParticipantesTarget que son los participantes establecidos\n for (int turno = 0; turno < cantidadParticipantesTarget; turno++) {\n System.out.println(\"\\n\\nTURNO DE \" + nombresParticipantesTarget[turno]);\n System.out.println(\"Tipo de Tiro Descripcion Resultado del Tiro\");\n System.out.println(\"(Ingresa el valor mostrado) \\n\");\n System.out.println(\" 1 Rapido con el dardo arriba Al centro o fallo completo\");\n System.out.println(\" del brazo \");\n System.out.println(\" 2 Controlado con el dardo arriba En zonas de 10,20 o 30 puntos\");\n System.out.println(\" del brazo\");\n System.out.println(\" 3 Con el dardo bajo el brazo En cualquier zona incluyendo fallo completo\");\n decisionTiro = Integer.parseInt(escaner.nextLine());\n\n //decision del tipo de tiro segun la descripcion\n //para decidir estos tiros utilizamos la variable probabilidadesTiro para determinar el destino del tiro y lo asignamos segun cada caso\n switch (decisionTiro) {\n\n case 1:\n System.out.println(nombresParticipantesTarget[turno] + \" ha usado tipo de tiro 1\");\n probabilidadesTiro = aleatorio.nextInt(2) + 1;\n if (probabilidadesTiro == 1) {\n System.out.println(\"FUE TIRO AL CENTRO, PERFECTO!\");\n System.out.println(\"Obtienes 40 puntos\");\n punteosParticipantesTarget[turno] += 40;\n } else {\n System.out.println(\"OH NO!, HAS FALLADO POR COMPLETO EL TIRO\");\n System.out.println(\"Obtienes 0 puntos\");\n }\n\n break;\n\n case 2:\n probabilidadesTiro = aleatorio.nextInt(3) + 1;\n System.out.println(nombresParticipantesTarget[turno] + \" ha usado tipo de tiro 2\");\n\n switch (probabilidadesTiro) {\n case 1:\n System.out.println(\"HAS ACERTADO EN LA ZONA DE 10 PUNTOS, BIEN HECHO!\");\n punteosParticipantesTarget[turno] += 10;\n break;\n\n case 2:\n System.out.println(\"HAS ACERTADO EN LA ZONA DE 20 PUNTOS, MUY BIEN HECHO!\");\n punteosParticipantesTarget[turno] += 20;\n break;\n\n default:\n System.out.println(\"HAS ACERTADO EN LA ZONA DE 30 PUNTOS, GENIAL!\");\n punteosParticipantesTarget[turno] += 30;\n }\n break;\n\n default:\n System.out.println(nombresParticipantesTarget[turno] + \" ha usado tipo de tiro 3\");\n probabilidadesTiro = aleatorio.nextInt(5) + 1;\n\n switch (probabilidadesTiro) {\n case 1:\n System.out.println(\"FUE TIRO AL CENTRO, PERFECTO!\");\n System.out.println(\"Obtienes 40 puntos\");\n punteosParticipantesTarget[turno] += 40;\n break;\n\n case 2:\n System.out.println(\"HAS ACERTADO EN LA ZONA DE 30 PUNTOS, GENIAL!\");\n punteosParticipantesTarget[turno] += 30;\n break;\n\n case 3:\n System.out.println(\"HAS ACERTADO EN LA ZONA DE 20 PUNTOS, MUY BIEN HECHO!\");\n punteosParticipantesTarget[turno] += 20;\n break;\n\n case 4:\n System.out.println(\"HAS ACERTADO EN LA ZONA DE 10 PUNTOS, BIEN HECHO!\");\n punteosParticipantesTarget[turno] += 10;\n break;\n\n default:\n System.out.println(\"OH NO!, HAS FALLADO POR COMPLETO EL TIRO\");\n System.out.println(\"Obtienes 0 puntos\");\n }\n }\n }\n\n//Despues de cada turno mostramos la tabla de jugadores, el punteo que llevan , y su estado es decir si han ganado o no\n System.out.println(\"\\n\\n\");\n System.out.println(\" Jugador Punteo Estado\");\n for (int contador = 0; contador < cantidadParticipantesTarget; contador++) {\n System.out.print(nombresParticipantesTarget[contador] + \" \" + punteosParticipantesTarget[contador]);\n\n if (punteosParticipantesTarget[contador] >= 200) {\n System.out.println(\" HA GANADO\");\n decisionNumeroParticipantes = false;\n asignarPunteo(1, nombresParticipantesTarget[contador]);\n } else {\n System.out.println(\" NO HA GANADO\");\n }\n\n }\n escaner.nextLine();\n\n }\n\n System.out.println(\"FIN DEL JUEGO\");\n\n }",
"public void Ganhou() {\n\t\tString[] g = new String[10]; \n\t\tg[0] = m[0][0] + m[0][1] + m[0][2];\n\t\tg[1] = m[1][0] + m[1][1] + m[1][2];\n\t\tg[2] = m[2][0] + m[2][1] + m[2][2];\n\t\t\n\t\tg[3] = m[0][0] + m[1][0] + m[2][0];\n\t\tg[4] = m[0][1] + m[1][1] + m[2][1];\n\t\tg[5] = m[0][2] + m[1][2] + m[2][2];\n\t\t\n\t\tg[6] = m[0][0] + m[1][1] + m[2][2];\n\t\tg[7] = m[2][0] + m[1][1] + m[0][2];\n\t\tg[8] = \"0\";\n\t\tg[9] = \"0\";\n\t\t\n\t\tfor(int i= 0; i<10; i++) {\n\t\t\tif(g[i].equals(\"XXX\")){\n\t\t\t\tJOptionPane.showMessageDialog(null,\"X GANHOU\");\n\t\t\t\tacabou = true;\n\t\t\t\temp = 0; \n\t\t\t\tbreak;\n\t\t\t} else if (g[i].equals(\"OOO\")) {\n\t\t\t\tJOptionPane.showMessageDialog(null,\"O GANHOU\");\n\t\t\t\tacabou = true;\n\t\t\t\tbreak;\n\t\t\t} \n\t\t}\n\t\t\n\t\tif (emp == 9) {\n\t\t\tJOptionPane.showMessageDialog(null,\"EMPATOU\");\t\n\t\t\tacabou = true;\n\t\t}\n\t}",
"public void ispisiSveNapomene() {\r\n\t\tint i = 0;// redni broj napomene\r\n\t\tint brojac = 0;\r\n\t\tfor (Podsjetnik podsjetnik : lista) {\r\n\r\n\t\t\ti++;\r\n\t\t\tSystem.out.println(i + \")\" + podsjetnik);\r\n\t\t\tbrojac = i;\r\n\t\t}\r\n\t\tif (brojac == 0) {\r\n\t\t\tSystem.out.println(\"Nema unesenih napomena!!\");\r\n\t\t}\r\n\r\n\t}"
] | [
"0.6594521",
"0.65004534",
"0.64260435",
"0.6368419",
"0.61664915",
"0.61437845",
"0.61400354",
"0.61347574",
"0.6125482",
"0.6093145",
"0.6078443",
"0.5980953",
"0.5979303",
"0.59630686",
"0.5955144",
"0.5936617",
"0.5930205",
"0.59272593",
"0.5924949",
"0.59232414",
"0.5923117",
"0.5910355",
"0.5894206",
"0.5894078",
"0.5892014",
"0.588928",
"0.5865631",
"0.58562243",
"0.58555466",
"0.5848896",
"0.5836903",
"0.58336425",
"0.58314866",
"0.5824721",
"0.58244365",
"0.58101785",
"0.58073413",
"0.5802881",
"0.5801596",
"0.5795262",
"0.5793159",
"0.5785423",
"0.5775409",
"0.5773698",
"0.5755793",
"0.57406324",
"0.57371736",
"0.5730661",
"0.5727007",
"0.5725631",
"0.57198596",
"0.5718784",
"0.57133776",
"0.5711235",
"0.5704813",
"0.5702141",
"0.57013345",
"0.5692",
"0.5691341",
"0.5689573",
"0.5683488",
"0.5667474",
"0.56609344",
"0.5659394",
"0.56517935",
"0.56481135",
"0.56433475",
"0.56335765",
"0.5630957",
"0.56307304",
"0.5624385",
"0.5619426",
"0.56186163",
"0.5618324",
"0.56162125",
"0.5611198",
"0.56086165",
"0.56085056",
"0.56072116",
"0.5599708",
"0.5593798",
"0.55882716",
"0.558816",
"0.5585417",
"0.55831176",
"0.558307",
"0.5580313",
"0.5580237",
"0.557957",
"0.55736625",
"0.55723435",
"0.5567878",
"0.55603766",
"0.5560182",
"0.5559668",
"0.5556491",
"0.5554541",
"0.5551851",
"0.5549588",
"0.55416685",
"0.55394876"
] | 0.0 | -1 |
Revela el jugador ganador en el momento | public Jugador ganador(){
return partida.ganador();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Jugador jugador() {\r\n\treturn jugador;\r\n }",
"public Jugador obtenerJugador();",
"public void golpearJugador(Jugador j) {\n\t\t\n\t}",
"public int jogadorAtual() {\n return vez;\n }",
"public jugador(){\n\t\tnombre=\"Dave\";\n\t\ttipo=\"jugador\";\n\t\tpoderataque=6;\n\t\tpuntosvida=20;\n\t}",
"public static void quienHaGanado(Mano[] jugadores, int actual,int carro){\n if(jugadores[actual].getNPiezas()!=0){\n boolean dosIguales=false;\n actual=0;\n for (int i = 1; i < jugadores.length; i++) {\n if(jugadores[i].getPuntuacion()==jugadores[actual].getPuntuacion()){//El jug i y el actual tienen la misma putnuacion\n if(i==carro){//el jugador i es el carro\n actual=i;\n dosIguales=false;\n }\n else if(actual==carro){//el jugador actual es el carro\n dosIguales=false;\n }\n else{//ninguno es el carro y hay que acudir a un metodo para nombrar a los dos ganadores.\n dosIguales=true;\n }\n }\n if(jugadores[i].getPuntuacion()<jugadores[actual].getPuntuacion()){//el jugador i tiene menor puntuacion que el jugador actual\n actual=i;\n dosIguales=false;\n }\n }\n if(dosIguales){\n System.out.println(\"pene\");\n Excepciones.cambiarColorAzul(\"Y los GANADORES SON....\");\n for (int i = 0; i < jugadores.length; i++) {\n if (jugadores[i].getPuntuacion()==jugadores[actual].getPuntuacion()) {\n //System.out.println(\"\\t\\t\\u001B[34mEl jugador nº- \"+(i+1)+\": \"+jugadores[i].getNombre());\n Excepciones.cambiarColorAzul(\"\\t\\tEl jugador nº- \"+(i+1)+\": \"+jugadores[i].getNombre());\n }\n }\n System.out.println(\"\\u001B[30m\");\n }\n else{\n Excepciones.cambiarColorAzul(\"Y el GANADOR ES....\");\n //System.out.println(\"\\t\\t\\u001B[34mEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre()+\"\\u001B[30m\");\n Excepciones.cambiarColorAzul(\"\\t\\tEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre());\n }\n }\n else {\n Excepciones.cambiarColorAzul(\"Y el GANADOR ES....\");\n //System.out.println(\"\\t\\t\\u001B[34mEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre()+\"\\u001B[30m\");\n Excepciones.cambiarColorAzul(\"\\t\\tEl jugador nº- \"+(actual+1)+\": \"+jugadores[actual].getNombre());\n }\n }",
"Jugador consultarGanador();",
"private static void eligeJugadores() {\r\n\t\tint eleccion;\r\n\t\tdo {\r\n\t\t\tSystem.out.print(\"Elige el numero de jugadores [2,6]: \");\r\n\t\t\teleccion = Teclado.leerInt();\r\n\t\t} while (eleccion < 2 || eleccion > 6);\r\n\t\tnJugadores = eleccion;\r\n\t\tjugadores = new JugadorM[nJugadores];\r\n\t\tjugadores[0] = new JugadorM(\"Jugador\", true);\r\n\t\tfor (int i = 1; i < jugadores.length; i++)\r\n\t\t\tjugadores[i] = new JugadorM(\"Maquina\" + i, false);\r\n\t}",
"public void jugar(){\r\n System.out.println(\"\\n\\n\\n\");\r\n // reiniciar llena el array de gato des espacios en blanco para que el tablero este en blanco\r\n reiniciar(); \r\n //pedir nombres de los jugadores\r\n System.out.println(\"Para tirar solo escribe las coordenadas (x,y) de la casilla que quieres\"); \r\n System.out.println(\"(o) Nombre de Jugador 1: \");\r\n nom1=entrada.nextLine();\r\n System.out.println(\"(x) Nombre de Jugador 2: \");\r\n nom2=entrada.nextLine();\r\n System.out.println(\"\\n\\n\\n\");\r\n //imprime el tablero\r\n tablero(); \r\n //deja que los jugadores tiren\r\n tirar(); \r\n //confirma victorias o empates \r\n if(ganador=='o'){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"GANA \"+ nom1);\r\n System.out.println(\"\\n\\n\");\r\n }\r\n if(ganador=='x'){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"GANA \"+ nom2);\r\n System.out.println(\"\\n\\n\");\r\n }\r\n if(contador==9){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"EMPATE, sean panas \"+nom1+\" y \"+nom2+\" :)\");\r\n System.out.println(\"\\n\\n\");\r\n }\r\n\r\n }",
"private static void joga(JogoMancala jogo) throws MancalaException {\n jogo.iniciaJogo();\n Jogador jogadorAtual = jogo.getJogadorAtual();\n while(!jogo.fimDeJogo()) {\n jogadorAtual = jogo.umaJogada(jogadorAtual.escolheJogada(jogo), JogoMancala.COM_EVENTO);\n }\n }",
"private static void operacionesJugar() {\r\n\t\tjuego.actualizarJugadores(respuesta);\r\n\t\tJugadorM[] ganadores;\r\n\t\ttry {\r\n\t\t\tint before = juego.getNJugadoresActivos();\r\n\t\t\tganadores = juego.finalizarRonda();\r\n\t\t\tif (ganadores.length == 0) {\r\n\t\t\t\tescribirRonda(false);\r\n\t\t\t\tmostrarEmpateRonda();\r\n\t\t\t} else if (ganadores.length == before) {\r\n\t\t\t\tescribirRonda(false);\r\n\t\t\t\tmostrarEmpateRonda();\r\n\t\t\t} else if (ganadores.length == 1) {\r\n\t\t\t\tescribirRonda(true);\r\n\t\t\t\tFINhayGanador(ganadores[0]);\r\n\t\t\t\tjuego.nextRonda();\r\n\t\t\t} else {\r\n\t\t\t\tmostrarGanadoresRonda(ganadores);\r\n\t\t\t\tescribirRonda(true);\r\n\t\t\t\tjuego.nextRonda();\r\n\t\t\t}\r\n\t\t} catch (AllRondasCompleteException e) {\r\n\t\t\tFINtotalRondasAlcanzadas(e);\r\n\t\t}\r\n\t}",
"public void repartirGanancias() {\n\t\t \n\t\t System.out.println(\"JUGADORES EN GANANCIAS:\");\n\t\t for(int i = 0; i < idJugadores.length;i++) {\n\t\t\t System.out.println(\"idJugador [\"+i+\"] : \"+idJugadores[i]);\n\t\t }\n\t\t System.out.println(\"GANADORES EN GANANCIA\");\n\t\t for(int i = 0; i < ganador.size();i++) {\n\t\t\t System.out.println(\"Ganador [\"+i+\"] : \"+ganador.get(i));\n\t\t }\n\t\t if(ganador.size() >= 1) {\n\t\t\t for(int i = 0; i < idJugadores.length; i++) {\n\n\t\t\t\t if(contieneJugador(ganador, idJugadores[i])) {\n\t\t\t\t\t System.out.println(\"Entra ganador \"+idJugadores[i]);\n\t\t\t\t\t if(verificarJugadaBJ(manosJugadores.get(i))) {\n\t\t\t\t\t\t System.out.println(\"Pareja nombre agregado: \"+idJugadores[i]);\n\t\t\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(idJugadores[i],25));\n\t\t\t\t\t }else {\n\t\t\t\t\t\t System.out.println(\"Pareja nombre agregado --> \"+idJugadores[i]);\n\t\t\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(idJugadores[i],20));\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t } \n\t\t }else {\n\t\t\t System.out.println(\"no ganó nadie\");\n\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"null\",0));\n\t\t }\n\t }",
"public static void jogar(int numeroJogador) {\n\t\tint ponto = 0;\r\n\t\t\r\n\t\t//em quanto jogador nao fizer 5 pontos ele vai repetir o laço\r\n\t\twhile (ponto < 5) {\r\n\t\t\t//joga o dado1 e dao2 (gerando valor aleatorio de 1 a 6)\r\n\t\t\tint dado1 = (int) (new Random().nextInt(6) + 1);\r\n\t\t\tint dado2 = (int) (new Random().nextInt(6) + 1);\r\n\t\t\t//se o valor da soma do dado1 e dado2 for 7 ou 11, ele ganha 1 ponto\r\n\t\t\tif (((dado1 + dado2) == 7) || ((dado1 + dado2) == 11)) {\r\n\t\t\t\tponto++;\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"jogador \"+numeroJogador+\"º. Ponto = \"+ ponto);\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t//depois de fazer os 5 pontos, é verificado em que posição o jogador esta.\r\n\t\tif (posicao == 0) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"Primeiro jogador a fazer 5 pontos: \"+numeroJogador+\". Ganhou 5000,00\");\t\t\t\r\n\t\t} else if (posicao == 1) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"Segundo jogador a fazer 5 pontos: \"+numeroJogador+\". Ganhou 4000,00\");\t\t\t\r\n\t\t} else if (posicao == 2) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"Terceiro jogador a fazer 5 pontos: \"+numeroJogador+\". Ganhou 3000,00\");\t\t\t\r\n\t\t} else if (posicao > 2) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"jogador \" + numeroJogador + \"º esta em \" + posicao + \"º posicao. Não ganhou nada\");\r\n\t\t}\r\n\t}",
"public void usar(Jugador jugador){\n System.out.println(\"\\n\" + jugador.masHambreIVitales(this.calorias) + \"\\n\");\n }",
"public void jugar(){\n\t\tdo {\n\t\t\t\n\t\t\tSystem.out.printf(\"\\n-------- HANGMAN --------\\n\");\n\t\t\tdibujar();\n\t\t\tSystem.out.printf(\"\\n Errores: %d \\n\\n\", partida.getErrores());\n\t\t\tescribir();\n\t\t\tSystem.out.printf(\"Ingrese una letra: \\n\");\n\t\t\tlectura = entrada.nextLine();\n\t\t\tletra = lectura.charAt(0);\n\t\t\tpartida.accionar(letra);\n\t\t\t\n\t\t} while(!partida.parada());\n\t\t\n\t\t//Aquí se dibuja el estado final del juego.\n\t\t\n\t\tSystem.out.printf(\"\\n-------- HANGMAN --------\\n\");\n\t\tdibujar();\n\t\tSystem.out.printf(\"\\n Errores: %d \\n\\n\", partida.getErrores());\n\t\tescribir();\n\t\tSystem.out.printf(\"\\nTerminó el juego!!\\n\");\n\t\tif(partida.getErrores() == 10){\n\t\t\tSystem.out.printf(\"\\nPerdiste!!\\n\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.printf(\"\\nGanaste!!\\n\");\n\t\t}\n\t}",
"public String retirarJugador(Jugador jugadorParaRetirar) {\n\n\t\tboolean retirado = false;\n\n\t\tfor (int i = 0; !retirado && i < this.jugadoresEnMesa.size(); i++) {\n\t\t\tif (this.jugadoresEnMesa.get(i).getId() == jugadorParaRetirar.getId()) {\n\n\t\t\t\tListaJugadores.jugadoresRetirados.add(jugadorParaRetirar);\n\n\t\t\t\tthis.jugadoresEnMesa.remove(i);\n\t\t\t\ti--;\n\t\t\t\tretirado = true;\n\n\t\t\t}\n\t\t}\n\n\t\tString mensajeRetirada;\n\t\tif (retirado) {\n\t\t\tmensajeRetirada = \"%s ha sido retirado.%s\";\n\t\t\tif (jugadorParaRetirar.getCredito() < 0)\n\t\t\t\tEasterEgg.huevoDePascua(jugadorParaRetirar.getNombre());\n\n\t\t\telse {\n\n\t\t\t\tif (jugadorParaRetirar.getCredito() == 0)\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(),\n\t\t\t\t\t\t\t\" Se le ha agotado el crédito.\");\n\n\t\t\t\telse if (jugadorParaRetirar.getCredito() >= jugadorParaRetirar.getCreditoObjetivo())\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(),\n\t\t\t\t\t\t\t\" Ha alcanzado su crédito objetivo\");\n\n\t\t\t\telse if (jugadorParaRetirar.getRondas() >= jugadorParaRetirar.getRondasMaximas())\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(),\n\t\t\t\t\t\t\t\" Ha alcanzado sus rondas máximas\");\n\n\t\t\t\telse\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(), \"\");\n\n\t\t\t}\n\n\t\t} else {\n\t\t\tmensajeRetirada = \"No se ha podido retirar al jugador.\";\n\t\t}\n\n\t\treturn mensajeRetirada;\n\n\t}",
"public Jogador jogadorDaVez() {\r\n Jogador jogadorvez = null;\r\n \r\n if (this.vezDoJogador1 ){\r\n jogadorvez = jogador1; \r\n }else{\r\n jogadorvez = jogador2;\r\n }\r\n return jogadorvez;\r\n }",
"private void acabarJogo() {\n\t\tif (mapa.isFimDeJogo() || mapa.isGanhouJogo()) {\r\n\r\n\t\t\tthis.timer.paraRelogio();\r\n\r\n\t\t\tif (mapa.isFimDeJogo()) {//SE PERDEU\r\n\t\t\t\tJOptionPane.showMessageDialog(this, \"VOCÊ PERDEU\", \"FIM DE JOGO\", JOptionPane.INFORMATION_MESSAGE);\r\n\t\t\t} else {//SE GANHOU\r\n\t\t\t\tJOptionPane.showMessageDialog(this,\r\n\t\t\t\t\t\t\"PARABÉNS \" + this.nomeJogador + \"! \" + \"TODAS AS BOMBAS FORAM ENCONTRADAS\", \"VOCÊ GANHOU\",\r\n\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\r\n\t\t\t\tiniciarRanking();//SE VENCEU MANDA O JOGADOR PRO RANKING\r\n\t\t\t}\r\n\t\t\tthis.voltarMenu();//VOLTA PRO MENU\r\n\r\n\t\t}\r\n\t}",
"public void comienzo(Jugador jugador, Estado estado) {\r\n\t\tthis.jugador = jugador;\r\n }",
"public void determinarGanador() {\n\t\t\n\t\t if(valorManos[3]>21) {\n\n\t\t\t for(int i=0;i<3;i++) {\n\t\t\t\t if(valorManos[i]<=21) {\n\t\t\t\t\t ganador.add(idJugadores[i]);\n\t\t\t\t }\n\t\t\t }\n\t\t }else if(((valorManos[0] <= valorManos[3]) && (valorManos[1] <= valorManos[3]) &&( valorManos[2] <= valorManos[3]))\n\t\t\t\t && valorManos[3] <= 21){\n\n\t\t\t ganador.add(\"dealer\");\n\n\t\t\t// numGanadores ++;\n\t\t }else if(valorManos[0]>21 && valorManos[1] >21 && valorManos[2]>21 && valorManos[3] <= 21) {\n\n\t\t\t ganador.add(\"dealer\");\n\n\t\t }\n\t\t else { \n\t\t\t for(int i=0;i<3;i++) {\n\t\t\t\t if(valorManos[i]>valorManos[3] && valorManos[i]<=21) {\n\t\t\t\t\t ganador.add(idJugadores[i]);\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t\t \n\t\t if(valorManos[0] > 21 && valorManos[1] > 21 && valorManos[2] > 21 && \n\t\t\t\t valorManos[3] > 21){\n\t\t\t\n\t\t }else if(valorManos[3]<21 && ganador.size()==0){\n\t\t\t ganador.add(\"dealer\");\n\t\t }\n\t }",
"private void girar(int delta){\r\n\t\tang = angDestino;\r\n\t}",
"private static void mostrarGanadoresRonda(JugadorM[] ganadores) {\r\n\t\tStringBuilder strWins = new StringBuilder();\r\n\t\tfor (JugadorM a : ganadores)\r\n\t\t\tstrWins.append(\"\\t\" + a + \"\\n\");\r\n\t\tSystem.out.println(\"¡RONDA \" + juego.getNRonda()\r\n\t\t\t\t+ \" ACABADA!\\n Siguen jugando:\\n\" + strWins);\r\n\t}",
"public void addJogador(Jogador j) {\n\t\tjogadores.add(j);\n\t\t//adicionar o time no jogador\n\t\tj.setTime(this);\n\t\t\n\t}",
"public void agregarVictoria(Jugador jugador) {\r\n if (!this.isReplay()) {\r\n jugador.setVictorias(jugador.getVictorias() + 1);\r\n }\r\n }",
"public static int seleccionarCarro(Mano[] jug){//error no vio la 0,0\n int numeroDoble=6;\n int toret=0;\n while(numeroDoble>=0){\n int n=0;\n while(n<jug.length){\n int f=0;\n while( f<jug[n].getNPiezas() && \n (jug[n].getUnaPieza(f).getN1()!=numeroDoble || jug[n].getUnaPieza(f).getN2()!=numeroDoble))\n f++;\n \n if(f<jug[n].getNPiezas()){\n System.out.println(\"Encontrada la \"+numeroDoble+\",\"+numeroDoble\n +\", la tiene él jugador \"+(n+1)+\" y el tiene \"\n + \"el primer turno\");\n toret=n;\n numeroDoble=-10;\n \n }\n n++;\n }\n numeroDoble-=1;\n }\n if(numeroDoble==-1){\n toret=(int) (Math.random()*jug.length);\n System.out.println(\"No se ha encontrado ningun jugador con alguna pieza doble.\\n\"\n + \"Empieza el jugador \"+toret);\n }\n return toret;\n }",
"@Override\n\tpublic void dibujar(Graphics2D g) {\n\n\t\tif (contadorJugador == 0) {\n\t\t\tenemigos.add(enemigo1);\n\t\t\tenemigos.add(enemigo2);\n\t\t\t// Se volverian a generar los objetos\n\t\t\tConstantes.volverTodoCero();\n\t\t\tcontadorJugador++;\n\t\t}\n\t\tg.scale(Constantes.ESCALAX, Constantes.ESCALAY);\n\t\t\n\t\t// Importante\n\t\tmapa.dibujar(g);\n\t\tdibujarArmas(g);\n\t\t//\n\t\tjugador.dibujar(g);\n\t\tenemigo1.dibujar(g);\n\t\tenemigo2.dibujar(g);\n\t\tcasa1.dibujar(g);\n\t\tcasa2.dibujar(g);\n\t\tcasa3.dibujar(g);\n\t\tcasa4.dibujar(g);\n\t\tcasa5.dibujar(g);\n\t\tcasa6.dibujar(g);\n\n\t\ttry {\n\t\t\t// Esto sirve para que no dispare seguido es el contador que va aumentado hasta\n\t\t\t// el tiempo que tenga cada arma\n\t\t\tif (Tecla.esperarArma != ((Armas) Tecla.objetoElegido).esperaDisparo) {\n\t\t\t\tTecla.esperarArma++;\n\t\t\t}\n\t\t} catch (NullPointerException | ClassCastException e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\n\t\t// System.out.println(Tecla.esperarArma);\n\n\t\tMapa.paredAbajo = new Rectangle(Mapa.rectanguloAbx, Mapa.rectanguloAby, Constantes.ANCHOMAPA, 3);\n\t\tMapa.paredIzquierda = new Rectangle(Mapa.rectanguloIx, Mapa.rectanguloIy, 3, Constantes.ALTOMAPA);\n\t\tMapa.paredArriba = new Rectangle(Mapa.rectanguloAx, Mapa.rectanguloAy, Constantes.ANCHOMAPA, 3);\n\t\tMapa.paredDerecha = new Rectangle(Mapa.rectanguloDx, Mapa.rectanguloDy, 3, Constantes.ALTOMAPA);\n\t\t// ---\n\t\t// Prueba\n\t\t// ---\n\n\t\trecorrerArrayBalaMover(g);\n\n\t\tg.drawRect(Mapa.rectanguloAbx, Mapa.rectanguloAby, Constantes.ANCHOMAPA, 3);\n\t\tg.drawRect(Mapa.rectanguloAx, Mapa.rectanguloAy, 3, Constantes.ALTOMAPA);\n\t\tg.drawRect(Mapa.rectanguloDx, Mapa.rectanguloDy, 3, Constantes.ALTOMAPA);\n\t\tg.drawRect(Mapa.rectanguloIx, Mapa.rectanguloIy, Constantes.ANCHOMAPA, 3);\n\n\t}",
"public void asignarPersona(Jugador j){\r\n this.jugador = j;\r\n }",
"public String getNombreJugador() {\r\n\t\treturn nombreJugador;\r\n\t}",
"public Jugador getJugador1() {\n\t\treturn jugador1;\n\t}",
"private static void eligeJuego() {\r\n\t\tint eleccion;\r\n\t\tdo {\r\n\t\t\tSystem.out.println(\"Elige el tipo de juego\\n1-\"\r\n\t\t\t\t\t+ optionsTiposJuegos[0]/*\r\n\t\t\t\t\t\t\t\t\t\t\t * + \"\\n2-\" + optionsTiposJuegos[1]\r\n\t\t\t\t\t\t\t\t\t\t\t */);\r\n\t\t\tSystem.out.print(\"Opcion: \");\r\n\t\t\teleccion = Teclado.leerInt();\r\n\t\t} while (eleccion != 1 /* && eleccion != 2 */);\r\n\t\tif (eleccion == 1)\r\n\t\t\tjuego = new PPT(jugadores, jugadores.length);\r\n\t\telse\r\n\t\t\tjuego = new Chinos(jugadores, jugadores.length);\r\n\t}",
"private static void FINhayGanador(JugadorM ganador) {\r\n\t\t// System.out.println(\"¡FIN DE JUEGO!\\nHa ganado: \" + ganador);\r\n\t\tSystem.out.println(\"Fin de juego por ganador: \" + ganador.getNombre()\r\n\t\t\t\t+ \"\\n\");\r\n\t}",
"public static void establecerMano(Monton todas,Mano[] jugadores){\n int pos;\n Pieza pieza;\n for (int i = 0; i < jugadores.length; i++) {\n for (int j = 0; j < Ajustes.PIEZAS_MANO; j++) {\n if(todas.getNPiezasMonton()>0){\n pos=(int) (Math.random()*todas.getNPiezasMonton());\n pieza=todas.getUnaPieza(pos);\n jugadores[i].setUnaPieza(pieza);\n todas.eliminarPiezaMonton(pieza); \n }\n \n }\n }\n System.out.println(\"\\nCada jugador tiene \"+jugadores[0].getNPiezas()+\" piezas.\");\n if(todas.getNPiezasMonton()!=0)\n System.out.println(\"Y en el monton quedan \"+todas.getNPiezasMonton());\n else\n System.out.println(\"No quedan piezas en el monton\");\n }",
"public Arquero(Jugador jugador){\n this.propietario = jugador;\n this.vida = 75;\n this.rangoAtaque = 3;\n this.estadoAccion = new EstadoDisponible();\n }",
"public Date getGioBatDau();",
"public Jugador(int dorsal)\n {\n Random rmd = new Random();\n edad = rmd.nextInt(23)+18 ;\n estadoForma = rmd.nextInt(11);\n int nom = rmd.nextInt(33);\n Nombres nomb = new Nombres();\n nombre = nomb.getNombre(nom);\n this.dorsal = dorsal;\n this.nombre = nombre;\n }",
"private static boolean juega() {\r\n\t\tv.setMensaje( \"Empieza el nivel \" + nivel + \". Puntuación = \" + puntuacion + \r\n\t\t\t\". Dejar menos de \" + (tamanyoTablero-2) + \" pelotas de cada color. \" + (tamanyoTablero-1) + \" o más seguidas se quitan.\" );\r\n\t\t// v.setDibujadoInmediato( false ); // Notar la mejoría de \"vibración\" si se hace esto y (2)\r\n\t\twhile (!v.estaCerrada() && !juegoAcabado()) {\r\n\t\t\tPoint puls = v.getRatonPulsado();\r\n\t\t\tif (puls!=null) {\r\n\t\t\t\t// Pelota pelotaPulsada = hayPelotaPulsadaEn( puls, tablero ); // Sustituido por el objeto:\r\n\t\t\t\tPelota pelotaPulsada = tablero.hayPelotaPulsadaEn( puls );\r\n\t\t\t\tif (pelotaPulsada!=null) {\r\n\t\t\t\t\tdouble coordInicialX = pelotaPulsada.getX();\r\n\t\t\t\t\tdouble coordInicialY = pelotaPulsada.getY();\r\n\t\t\t\t\tv.espera(20); // Espera un poquito (si no pasa todo demasiado rápido)\r\n\t\t\t\t\t// Hacer movimiento hasta que se suelte el ratón\r\n\t\t\t\t\tPoint drag = v.getRatonPulsado();\r\n\t\t\t\t\twhile (drag!=null && drag.x>0 && drag.y>0 && drag.x<v.getAnchura() && drag.y<v.getAltura()) { // EN CORTOCIRCUITO - no se sale de los bordes\r\n\t\t\t\t\t\tpelotaPulsada.borra( v );\r\n\t\t\t\t\t\tpelotaPulsada.incXY( drag.x - puls.x, drag.y - puls.y );\r\n\t\t\t\t\t\tpelotaPulsada.dibuja( v );\r\n\t\t\t\t\t\trepintarTodas(); // Notar la diferencia si no se hace esto (se van borrando las pelotas al pintar otras que pasan por encima)\r\n\t\t\t\t\t\t// v.repaint(); // (2)\r\n\t\t\t\t\t\tpuls = drag;\r\n\t\t\t\t\t\tdrag = v.getRatonPulsado();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// Recolocar pelota en un sitio válido\r\n\t\t\t\t\trecolocar( pelotaPulsada, coordInicialX, coordInicialY );\r\n\t\t\t\t\tquitaPelotasSiLineas( true );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tpuntuacion -= (numMovimientos*PUNTOS_POR_MOVIMIENTO); // Se penaliza por el número de movimientos\r\n\t\tif (v.estaCerrada()) return false; // Se acaba el juego cerrando la ventana\r\n\t\tif (nivelPasado()) return true; // Se ha pasado el nivel\r\n\t\treturn false; // No se ha pasado el nivel\r\n\t}",
"public void jugar_con_el() {\n System.out.println(nombre + \" esta jugando contigo :D\");\n }",
"public void setJugador1(Jugador jugador1) {\n\t\tthis.jugador1 = jugador1;\n\t}",
"private static void gestionarMenuManejoJugador(int opcion) {\n\t\tswitch(opcion){\n\t\tcase 1:annadirJugador();\n\t\t\tbreak;\n\t\tcase 2:eliminarJugador();\n\t\t\tbreak;\n\t\tcase 3: System.out.println(jugadores.toString());\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tbreak;\n\t\t}\n\t\t\n\t}",
"public void dibujar(Graphics g){\n\t\tg2.setColor(Color.WHITE);\n\t\tfor ( int x =0; x < game.getAmountPersonajes() ;x++){\n\t\t\tRectangle2D.Double personaje =game.getPersonaje(x).getshape(); \n\t\t\t\n\t\t\ttemporal = game.getPersonaje(x).getImage().getImage();\n\t\t\tg.drawImage(temporal, (int)personaje.getX(), (int)(personaje.getY()), this);\n\t\t}\n\t\tfor ( int x =0; x < game.getAmountObjetivos() ;x++){\n\t\t\tRectangle2D.Double objetivo =game.getObjetivo(x).getShape(); \n\t\t\ttemporal = game.getObjetivo(x).getImage().getImage();\n\t\t\tg.drawImage(temporal, (int)objetivo.getX(), (int)(objetivo.getY()), this);\n\t\t}\n\t\tif (game.getCurrentSorpresa()!=null){\n\t\t\tRectangle2D.Double s =game.getCurrentSorpresa().getShape(); \n\t\t\ttemporal = game.getCurrentSorpresa().getImage().getImage();\n\t\t\tg.drawImage(temporal, (int)s.getX(), (int)(s.getY()), this);\t\t\t\n\t\t}\n\t\tif(game.getBloque().isActive() ){\n\t\t\tRectangle2D.Double s =game.getBloque().getShape(); \n\t\t\ttemporal = game.getBloque().getImage().getImage();\n\t\t\tg.drawImage(temporal, (int)s.getX(), (int)(s.getY()), this);\n\t\t}\n\t\t\n\t\tg2.setColor(new Color(100,221,23));\n\t\tg2.fill(game.getShapePelota(0));\n\t\n\t\n\t}",
"private void moverJogadorDaVez(int dado1, int dado2) throws Exception {\n // System.out.println(\"moverJogadorDaVez\" + dado1 + \" , \" + dado2);\n\n print(\"\\ttirou nos dados: \" + dado1 + \" , \" + dado2);\n int valorDados = dado1 + dado2;\n\n int jogador = this.jogadorAtual();\n\n boolean ValoresIguais = false;\n\n\n //preciso saber se o jogador vai passar pela posição 40, o que significa\n //ganhar dinheiro\n this.completouVolta(jogador, valorDados);\n\n if (dado1 == dado2) {\n ValoresIguais = true;\n } else {\n ValoresIguais = false;\n }\n\n //movendo à posição\n this.moverJogadorAPosicao(jogador, valorDados, ValoresIguais);\n this.print(\"\\tAtual dinheiro antes de ver a compra:\" + this.listaJogadores.get(jogador).getDinheiro());\n this.print(\"\\tVai até a posição \" + this.posicoes[jogador]);\n\n //vendo se caiu na prisao\n if (this.posicoes[this.jogadorAtual()] == 30 && this.prisao == true) {\n adicionaNaPrisao(listaJogadores.get(jogadorAtual()));\n DeslocarJogador(jogador, 10);\n listaJogadores.get(jogadorAtual()).adicionarComandoPay();\n }\n\n\n\n Lugar lugar = this.tabuleiro.get(this.posicoes[jogador] - 1);//busca em -1, pois eh um vetor\n\n\n if (this.isCompraAutomatica()) {\n this.realizarCompra(jogador, lugar);\n }\n\n if (!this.posicaoCompravel(this.posicoes[jogador])) {\n this.print(\"\\t\" + lugar.getNome() + \" não está à venda!\");\n\n\n String nomeDono = (String) Donos.get(this.posicoes[jogador]);\n //não cobrar aluguel de si mesmo\n if (!nomeDono.equals(this.listaJogadores.get(this.jogadorAtual()).getNome())) {\n\n if (this.isUmJogador(nomeDono)) {\n Jogador possivelDono = this.getJogadorByName(nomeDono);\n\n if (this.isPosicaoFerrovia(this.posicoes[jogador])) {\n this.print(\"\\tO dono eh \" + possivelDono.getNome());\n if (!lugar.estaHipotecada()) {\n this.pagarFerrovia(possivelDono.getId(), jogador, 25, lugar.getNome());\n }\n } else {\n\n this.print(\"\\tO dono eh \" + possivelDono.getNome());\n int valorAluguel = 0;\n if (this.posicoes[this.jogadorAtual()] != 12 && this.posicoes[this.jogadorAtual()] != 28) {\n valorAluguel = this.tabuleiro.getLugarPrecoAluguel(this.posicoes[jogador]);\n\n } else {\n if (possivelDono.getQuantidadeCompanhias() == 1) {\n valorAluguel = 4 * valorDados;\n\n }\n if (possivelDono.getQuantidadeCompanhias() == 2) {\n valorAluguel = 10 * valorDados;\n\n }\n }\n if (!lugar.estaHipotecada()) {\n this.pagarAluguel(possivelDono.getId(), jogador, valorAluguel, lugar.getNome());\n }\n\n }\n\n }\n }\n\n }\n\n\n this.pagarEventuaisTaxas(jogador);\n\n if ((this.posicoes[this.jogadorAtual()] == 2 || this.posicoes[jogadorAtual()] == 17 || this.posicoes[jogadorAtual()] == 33) && cards == true) {\n realizaProcessamentoCartaoChest();\n }\n\n if ((this.posicoes[this.jogadorAtual()] == 7 || this.posicoes[jogadorAtual()] == 22 || this.posicoes[jogadorAtual()] == 36) && cards == true) {\n realizaProcessamentoCartaoChance();\n }\n\n\n\n\n this.print(\"\\tAtual dinheiro depois:\" + this.listaJogadores.get(jogador).getDinheiro());\n\n\n\n }",
"public void changerJoueur() {\r\n\t\t\r\n\t}",
"public String draaiGangkaart()\n {\n if (vrijeGangkaart.getOrientatie() == 4)\n {\n vrijeGangkaart.setOrientatie(1);\n } else\n {\n vrijeGangkaart.setOrientatie((vrijeGangkaart.getOrientatie() + 1));\n }\n\n return vrijeGangkaart.toString();\n }",
"private static void eliminarJugador() {\n\t\ttry {\n\t\t\tSystem.out.println(jugadores.toString());\n\t\t\tjugadores.borrar(Teclado.leerCadena(\"Nombre:\"));//indica el nombre del jugador que se desea borrar\n\t\t} catch (JugadorNoExisteException | NombreNoValidoException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\n\t}",
"private static void mostrarEmpateRonda() {\r\n\t\tSystem.out.println(\"¡RONDA \" + juego.getNRonda()\r\n\t\t\t\t+ \" EMPATADA!\\n Se repite la ronda \" + juego.getNRonda());\r\n\t}",
"public void repartirGananciasDealer() {\n\t\t if(contieneJugador(ganador,\"dealer\")) {\n\t\t\t if(verificarJugadaBJ(manosJugadores.get(3))) {\n\t\t\t\t System.out.println(\"Pareja nombre agregado dealer\");\n\t\t\t\t int cantidadGanancia = verificarCantidadGanadores() + 15;\n\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"dealer\", cantidadGanancia));\n\t\t\t }else {\n\t\t\t\t System.out.println(\"Pareja nombre agregado --> dealer\");\n\t\t\t\t int cantidadGanancia = verificarCantidadGanadores()+10;\n\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"dealer\",cantidadGanancia));\n\t\t\t }\n\t\t }else {\n\t\t\t int cantidadGanancia = verificarCantidadGanadores();\n\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"dealer\",cantidadGanancia));\n\t\t }\n\t\t \n\t }",
"public void pararJugador() {\n texture = new Texture(Gdx.files.internal(\"recursos/character.png\"));\n rectangle=new Rectangle(x,y,texture.getWidth(),texture.getHeight());\n tmp = TextureRegion.split(texture, texture.getWidth() / 4, texture.getHeight() / 4);\n switch (jugadorVista) {\n case \"Derecha\":\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[1][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n }\n break;\n case \"Izquierda\":\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[3][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n }\n break;\n case \"Abajo\":\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[0][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n }\n break;\n case \"Arriba\":\n for (int b = 0; b < regions.length; b++) {\n regions[b] = tmp[2][0];\n animation = new Animation((float) 0.2, regions);\n tiempo = 0f;\n }\n break;\n }\n }",
"@Override\n\tpublic java.util.Date getNgaygiahan() {\n\t\treturn _phieugiahan.getNgaygiahan();\n\t}",
"private void obtenerGastosDiariosMes() {\n\t\t// Obtenemos las fechas actuales inicial y final\n\t\tCalendar calendar = Calendar.getInstance();\n calendar.setTime(new Date());\n int diaFinalMes = calendar.getActualMaximum(Calendar.DAY_OF_MONTH);\n\n\t\tList<Movimiento> movimientos = this.movimientoService.obtenerMovimientosFechaUsuario(idUsuario, LocalDate.of(LocalDate.now().getYear(),LocalDate.now().getMonthValue(),1),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDate.of(LocalDate.now().getYear(),LocalDate.now().getMonthValue(), diaFinalMes));\n\t\tList<Double> listaGastos = new ArrayList<Double>();\n\t\tList<String> listaFechas = new ArrayList<String>();\n\t\t\n\t\tDate fechaUtilizadaActual = null;\n\t\tdouble gastoDiario = 0;\n\t\t\n\t\tfor (Iterator iterator = movimientos.iterator(); iterator.hasNext();) {\n\t\t\tMovimiento movimiento = (Movimiento) iterator.next();\n\t\t\tif(fechaUtilizadaActual == null) { //Comprobamos si se acaba de entrar en el bucle para inicializar la fecha del movimiento\n\t\t\t\tfechaUtilizadaActual = movimiento.getFecha();\t\t\n\t\t\t}\n\t\t\t\n\t\t\t// Si hemos cambiado de fecha del movimiento se procede a guardar los datos recogidos\n\t\t\tif(!fechaUtilizadaActual.equals(movimiento.getFecha())) {\n\t\t\t\tlistaGastos.add(gastoDiario);\n\t\t\t\tlistaFechas.add(fechaUtilizadaActual.getDate()+\"/\"+Utils.getMonthForInt(fechaUtilizadaActual.getMonth()).substring(0, 3));\n\t\t\t\tgastoDiario = 0; // Reiniciamos el contador del gasto\n\t\t\t\tfechaUtilizadaActual = movimiento.getFecha(); // Almacenemos la fecha del nuevo gasto\n\t\t\t}\n\t\t\t\n\t\t\t// Si el movimiento que se ha realizado es un gasto lo sumamos al contador de gasto\n\t\t\tif(movimiento.getTipo().equals(TipoMovimiento.GASTO)) {\n\t\t\t\tgastoDiario += movimiento.getCantidad();\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t// Comprobamos si es el ultimo item del iterador y almacenamos sus datos\n\t\t\tif(!iterator.hasNext()) {\n\t\t\t\tlistaGastos.add(gastoDiario);\n\t\t\t\tlistaFechas.add(fechaUtilizadaActual.getDate()+\"/\"+Utils.getMonthForInt(fechaUtilizadaActual.getMonth()).substring(0, 3));\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tthis.listadoGastosDiariosDiagrama = new Double[listaGastos.size()];\n\t\tthis.listadoGastosDiariosDiagrama = listaGastos.toArray(this.listadoGastosDiariosDiagrama);\n\t\tthis.fechasDiagrama = new String[listaFechas.size()];\n\t\tthis.fechasDiagrama = listaFechas.toArray(this.fechasDiagrama);\n\t\t\n\t}",
"public Jogador getVencedor() {\r\n return vencedor;\r\n }",
"protected static String getmodoJuego() {\n return modoJuego;\n }",
"public static void instanciarJugador(Jugador jugador) {\n\t\tjugadores[contSalas] = jugador;\n\t\tcontJugadores++;\n\t}",
"@Override\r\n\tpublic void visitar(jugador jugador) {\n\t\t\r\n\t}",
"public void fechahoy(){\n Date fecha = new Date();\n \n Calendar c1 = Calendar.getInstance();\n Calendar c2 = new GregorianCalendar();\n \n String dia = Integer.toString(c1.get(Calendar.DATE));\n String mes = Integer.toString(c2.get(Calendar.MONTH));\n int mm = Integer.parseInt(mes);\n int nmes = mm +1;\n String memes = String.valueOf(nmes);\n if (nmes < 10) {\n memes = \"0\"+memes;\n }\n String anio = Integer.toString(c1.get(Calendar.YEAR));\n \n String fechoy = anio+\"-\"+memes+\"-\"+dia;\n \n txtFecha.setText(fechoy);\n \n }",
"public Jogador getJogador1() {\r\n return jogador1;\r\n }",
"public void Ganhou() {\n\t\tString[] g = new String[10]; \n\t\tg[0] = m[0][0] + m[0][1] + m[0][2];\n\t\tg[1] = m[1][0] + m[1][1] + m[1][2];\n\t\tg[2] = m[2][0] + m[2][1] + m[2][2];\n\t\t\n\t\tg[3] = m[0][0] + m[1][0] + m[2][0];\n\t\tg[4] = m[0][1] + m[1][1] + m[2][1];\n\t\tg[5] = m[0][2] + m[1][2] + m[2][2];\n\t\t\n\t\tg[6] = m[0][0] + m[1][1] + m[2][2];\n\t\tg[7] = m[2][0] + m[1][1] + m[0][2];\n\t\tg[8] = \"0\";\n\t\tg[9] = \"0\";\n\t\t\n\t\tfor(int i= 0; i<10; i++) {\n\t\t\tif(g[i].equals(\"XXX\")){\n\t\t\t\tJOptionPane.showMessageDialog(null,\"X GANHOU\");\n\t\t\t\tacabou = true;\n\t\t\t\temp = 0; \n\t\t\t\tbreak;\n\t\t\t} else if (g[i].equals(\"OOO\")) {\n\t\t\t\tJOptionPane.showMessageDialog(null,\"O GANHOU\");\n\t\t\t\tacabou = true;\n\t\t\t\tbreak;\n\t\t\t} \n\t\t}\n\t\t\n\t\tif (emp == 9) {\n\t\t\tJOptionPane.showMessageDialog(null,\"EMPATOU\");\t\n\t\t\tacabou = true;\n\t\t}\n\t}",
"public Nodo_Bodega ultimaAgregada(){\n return Nodo_bodega_final;\n }",
"public void abrirManoMaximo()\n {\n brazo.manoAbrirMaximo();\n }",
"public void introducirhora(){\n int horadespertar; \n }",
"public void jugarMaquinaSola(int turno) {\n if (suspenderJuego) {\n return;\n }\n CuadroPieza cuadroActual;\n CuadroPieza cuadroDestino;\n CuadroPieza MovDestino = null;\n CuadroPieza MovActual = null;\n for (int x = 0; x < 8; x++) {\n for (int y = 0; y < 8; y++) {\n cuadroActual = tablero[x][y];\n if (cuadroActual.getPieza() != null) {\n if (cuadroActual.getPieza().getColor() == turno) {\n for (int x1 = 0; x1 < 8; x1++) {\n for (int y1 = 0; y1 < 8; y1++) {\n cuadroDestino = tablero[x1][y1];\n if (cuadroDestino.getPieza() != null) {\n if (cuadroActual.getPieza().validarMovimiento(cuadroDestino, this)) {\n if (MovDestino == null) {\n MovActual = cuadroActual;\n MovDestino = cuadroDestino;\n } else {\n if (cuadroDestino.getPieza().getPeso() > MovDestino.getPieza().getPeso()) {\n MovActual = cuadroActual;\n MovDestino = cuadroDestino;\n }\n if (cuadroDestino.getPieza().getPeso() == MovDestino.getPieza().getPeso()) {\n //Si es el mismo, elijo al azar si moverlo o no\n if (((int) (Math.random() * 3) == 1)) {\n MovActual = cuadroActual;\n MovDestino = cuadroDestino;\n }\n }\n }\n }\n\n }\n }\n }\n }\n }\n }\n }\n if (MovActual == null) {\n boolean b = true;\n do {//Si no hay mov recomendado, entonces genero uno al azar\n int x = (int) (Math.random() * 8);\n int y = (int) (Math.random() * 8);\n tablero[x][y].getPieza();\n int x1 = (int) (Math.random() * 8);\n int y1 = (int) (Math.random() * 8);\n\n MovActual = tablero[x][y];\n MovDestino = tablero[x1][y1];\n if (MovActual.getPieza() != null) {\n if (MovActual.getPieza().getColor() == turno) {\n b = !MovActual.getPieza().validarMovimiento(MovDestino, this);\n //Si mueve la pieza, sale del while.\n }\n }\n } while (b);\n }\n if (MovActual.getPieza().MoverPieza(MovDestino, this)) {\n this.setTurno(this.getTurno() * -1);\n if (getRey(this.getTurno()).isInJacke(this)) {\n if (Pieza.isJugadorAhogado(turno, this)) {\n JOptionPane.showMessageDialog(null, \"Hacke Mate!!! - te lo dije xD\");\n if (JOptionPane.showConfirmDialog(null, \"Deseas Empezar una nueva Partida¿?\", \"Nueva Partida\", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {\n ordenarTablero();\n } else {\n suspenderJuego = true;\n }\n return;\n } else {\n JOptionPane.showMessageDialog(null, \"Rey en Hacke - ya t kgste\");\n }\n } else {\n if (Pieza.isJugadorAhogado(turno, this)) {\n JOptionPane.showMessageDialog(null, \"Empate!!!\\nComputadora: Solo por que te ahogaste...!!!\");\n if (JOptionPane.showConfirmDialog(null, \"Deseas Empezar una nueva Partida¿?\", \"Nueva Partida\", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {\n ordenarTablero();\n } else {\n suspenderJuego = true;\n }\n return;\n }\n if (Pieza.getCantMovimientosSinCambios() >= 50) {\n JOptionPane.showMessageDialog(null, \"Empate!!! \\nComputadora: Vaya, han pasado 50 turnos sin comernos jeje!!!\");\n if (JOptionPane.showConfirmDialog(null, \"Otra Partida Amistosa¿?\", \"Nueva Partida\", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {\n ordenarTablero();\n } else {\n suspenderJuego = true;\n }\n return;\n }\n }\n }\n if (this.getTurno() == turnoComputadora) {\n jugarMaquinaSola(this.getTurno());\n }\n }",
"public void mueve( double tiempoDeMovimiento, double giro) {\n\t\tif (giro > 0){\n\t\t\tsetPosX( posX + (suVelocidad*4) * Math.sin(suDireccionActual+giro/180.0*Math.PI) * tiempoDeMovimiento );\n\t\t} else {\n\t\t\tsetPosX( posX + suVelocidad * Math.sin(suDireccionActual+giro/180.0*Math.PI) * tiempoDeMovimiento );\n\t\t}\n\t\tsetPosY( posY + suVelocidad * -Math.cos(suDireccionActual/180.0*Math.PI) * tiempoDeMovimiento );\n\n\t\t// el negativo es porque en pantalla la Y crece hacia abajo y no hacia arriba\n\t}",
"public Jugador getJugador2() {\n\t\treturn jugador2;\n\t}",
"public java.lang.String getHora_hasta();",
"public String retornaHora(){\n\t\tCalendar calendar = new GregorianCalendar();\n\t\tSimpleDateFormat hora = new SimpleDateFormat(\"HH\");\n\t\tSimpleDateFormat minuto = new SimpleDateFormat(\"mm\");\n\t\tDate date = new Date();\n\t\tcalendar.setTime(date);\n\t\treturn hora.format(calendar.getTime()) + \"h\" + minuto.format(calendar.getTime());\n\t}",
"public void onResultado(Ficha ganador) {\r\n\t\tString gana = null;\r\n\t\tif (ganador == Ficha.BLANCA) {\r\n\t\t\tgana = \"blancas\";\r\n\t\t} else if (ganador == Ficha.NEGRA) {\r\n\t\t\tgana = \"negras\";\r\n\t\t}\r\n\t\tJOptionPane.showMessageDialog(null,\r\n\t\t\t\t\"Han ganado las \" + gana , \"Ganador\",\r\n\t\t\t\tJOptionPane.NO_OPTION);\r\n\t\t\r\n\t}",
"public boolean fechaVigente(String fechafinal, String horafinal)\r\n\t{\r\n\t\tboolean vigente = true;\r\n\t\tGregorianCalendar calendario = new GregorianCalendar();\r\n\t\tint añoactual = calendario.get(Calendar.YEAR);\r\n\t\tint mesactual = (calendario.get(Calendar.MONTH)+1);\r\n\t\tint diaactual = calendario.get(Calendar.DAY_OF_MONTH);\r\n\t\tString fechaactual = añoactual+\"-\"+mesactual+\"-\"+diaactual;\r\n\t\tint horasactuales = calendario.get(Calendar.HOUR_OF_DAY);\r\n\t\tint minutosactuales = calendario.get(Calendar.MINUTE);\r\n\t\tint segundosactuales = calendario.get(Calendar.SECOND);\r\n\t\tString horaactual = horasactuales+\":\"+minutosactuales+\":\"+segundosactuales;\r\n\t\t\r\n\t\tint añofinal = 0;\r\n\t\tint mesfinal = 0;\r\n\t\tint diafinal = 0;\r\n\t\t\r\n\t\tint horasfinales = 0;\r\n\t\tint minutosfinales = 0;\r\n\t\tint segundosfinales = 0;\r\n\r\n\t\tString numerofecha = \"\";\r\n\t\tfor (int i = 0; i < (fechafinal.length()); i++) \r\n\t\t{\r\n\t\t\tchar digito = fechafinal.charAt(i);\r\n\t\t\tif(digito == '0' || digito == '1' || digito == '2' || digito == '3' || digito == '4' || digito == '5' || digito == '6' || digito == '7' || digito == '8' || digito == '9')\r\n\t\t\t{\r\n\t\t\t\tnumerofecha += digito;\r\n\t\t\t\tif((i+1) == (fechafinal.length()))\r\n\t\t\t\t{\r\n\t\t\t\t\tif(añofinal == 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tañofinal = Integer.parseInt(numerofecha);\r\n\t\t\t\t\t\tnumerofecha = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(mesfinal == 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tmesfinal = Integer.parseInt(numerofecha);\r\n\t\t\t\t\t\tnumerofecha = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(diafinal == 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tdiafinal = Integer.parseInt(numerofecha);\r\n\t\t\t\t\t\tnumerofecha = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tif(añofinal == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tañofinal = Integer.parseInt(numerofecha);\r\n\t\t\t\t\tnumerofecha = \"\";\r\n\t\t\t\t}\r\n\t\t\t\telse if(mesfinal == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tmesfinal = Integer.parseInt(numerofecha);\r\n\t\t\t\t\tnumerofecha = \"\";\r\n\t\t\t\t}\r\n\t\t\t\telse if(diafinal == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tdiafinal = Integer.parseInt(numerofecha);\r\n\t\t\t\t\tnumerofecha = \"\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tString numerohora = \"\";\r\n\t\tfor (int i = 0; i < (horafinal.length()); i++) \r\n\t\t{\r\n\t\t\tchar digito = horafinal.charAt(i);\r\n\t\t\tif(digito == '0' || digito == '1' || digito == '2' || digito == '3' || digito == '4' || digito == '5' || digito == '6' || digito == '7' || digito == '8' || digito == '9')\r\n\t\t\t{\r\n\t\t\t\tnumerohora += digito;\r\n\t\t\t\tif((i+1) == (horafinal.length()))\r\n\t\t\t\t{\r\n\t\t\t\t\tif(horasfinales == 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\thorasfinales = Integer.parseInt(numerohora);\r\n\t\t\t\t\t\tnumerohora = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(minutosfinales == 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tminutosfinales = Integer.parseInt(numerohora);\r\n\t\t\t\t\t\tnumerohora = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(segundosfinales == 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tsegundosfinales = Integer.parseInt(numerohora);\r\n\t\t\t\t\t\tnumerohora = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tif(horasfinales == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\thorasfinales = Integer.parseInt(numerohora);\r\n\t\t\t\t\tnumerohora = \"\";\r\n\t\t\t\t}\r\n\t\t\t\telse if(minutosfinales == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tminutosfinales = Integer.parseInt(numerohora);\r\n\t\t\t\t\tnumerohora = \"\";\r\n\t\t\t\t}\r\n\t\t\t\telse if(segundosfinales == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tsegundosfinales = Integer.parseInt(numerohora);\r\n\t\t\t\t\tnumerohora = \"\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tString fechafinal2 = añofinal+\"-\"+mesfinal+\"-\"+diafinal;\r\n\t\tString horafinal2 = horasfinales+\":\"+minutosfinales+\":\"+segundosfinales;\r\n\t\tif(añoactual >= añofinal)\r\n\t\t{\r\n\t\t\tif(mesactual >= mesfinal)\r\n\t\t\t{\r\n\t\t\t\tif(diaactual >= diafinal)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(horasactuales >= horasfinales)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(minutosactuales >= minutosfinales)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tvigente = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn vigente;\r\n\t}",
"public void sacarPaseo(){\r\n\t\t\tSystem.out.println(\"Por las tardes me saca de paseo mi dueño\");\r\n\t\t\t\r\n\t\t}",
"public void actualizarPantallaJuego(float delta)\r\n {\r\n //recuadroInfoJuego.actualizarTiempo(delta); // Con esto actualizamos el tiempo del HUD\r\n\r\n // Con el siguiente ciclo actualizamos el movimiento o posicion de los monstruos\r\n for (int i=0; i < enemigos.size(); i++)\r\n {\r\n // Metodo encargado de renovar las posiciones dado un diferencial de tiempo\r\n enemigos.get(i).actualizarPosicion(delta);\r\n\r\n // En caso que el enemigo haya muerto entonces\r\n if (enemigos.get(i).haMuerto())\r\n {\r\n // Se lo pasamos al jugador contrario de modo que\r\n try\r\n {\r\n // Le enviamos un mensaje sobre que tipo de enemigo debe generar de manera aleatoria\r\n String aux = \"Transferir enemigo: \" + enemigos.get(i).getTipo() + \"\\n\";\r\n socketCliente.getOutputStream().write(aux.getBytes());\r\n }\r\n catch (Exception e)\r\n {\r\n e.printStackTrace();\r\n }\r\n\r\n // Se suma su valor en puntaje al puntaje general obtenido por el usuario\r\n recuadroInfoJuego.agregarPuntaje(enemigos.get(i).getPuntaje());\r\n\r\n // Luego, se suma uno al numero total de enemigos eliminados por el jugador\r\n recuadroInfoJuego.anotarEnemigo();\r\n\r\n // Y se elimina el monstruo de la lista de enemigos\r\n enemigos.remove(i);\r\n i = i - 1;\r\n }\r\n }\r\n\r\n // Si ya se cumplio el tiempo para generar otro monstruo entonces\r\n if (contaTiempo >= tiempoParaGeneracion)\r\n {\r\n // Agregamos un nuevo enemigo aleatorio en coordenas generadas tambien de manera aleatoria\r\n enemigos.add(new Monstruo(MathUtils.random(0, MainGame.ANCHO_VIRTUAL), MathUtils.random(0, MainGame.ALTO_VIRTUAL), MathUtils.random(1,5), true));\r\n\r\n // Y reseteamos el contador de tiempo\r\n contaTiempo = 0;\r\n }\r\n\r\n // O si se detecto que me pasaron un monstruo entonces\r\n if (enemigoTransferido != -1)\r\n {\r\n // Genero el tipo de monstruo especificado en coordenadas aleatorias\r\n enemigos.add(new Monstruo(MathUtils.random(0, MainGame.ANCHO_VIRTUAL), MathUtils.random(0, MainGame.ALTO_VIRTUAL), enemigoTransferido, true));\r\n\r\n // Y reinicio el dectector de monstruos tranferidos\r\n enemigoTransferido = -1;\r\n }\r\n\r\n contaTiempo = contaTiempo + delta; // Por ultimo se cuenta el tiempo\r\n }",
"public void mueveJugador(Jugador uno) {\r\n\t\tuno.getKm().remove(uno);\r\n\t\tint nKilometro = uno.getKm().getnKilometro();\r\n\t\tfor(Kilometro k : kilometros)\r\n\t\t{\r\n\t\t\tif(k.getnKilometro() == (nKilometro + 1))\r\n\t\t\t{\r\n\t\t\t\tuno.setKm(k);\r\n\t\t\t\tk.add(uno);\r\n\t\t\t\tthis.update(this.getGraphics());\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"public int getGanadas(){\n\t\treturn ganadas;\n\t}",
"public Jugador(float x, float y, Colisiones colision, Main main,float wReescalado,float hReescalado) {\n this.x = x;\n this.y = y;\n this.colisiones=colision;\n this.main=main;\n this.wReescalado=wReescalado;\n this.hReescalado=hReescalado;\n rectangles=colisiones.getRect();//Obtengo el array de rectangulo en colisiones\n texture = new Texture(Gdx.files.internal(\"recursos/character.png\"));//Asigno a texture el archivo png de mi personaje\n jugadorVista = \"\";//Agigno comillas a jugador vista\n rectangle=new Rectangle(x,y,texture.getWidth(),texture.getHeight());//Creo el rectangulo de mi jugador con las propiedades de texture\n tmp = TextureRegion.split(texture, texture.getWidth() / 4, texture.getHeight() / 4);//Divido mi texture region en las partes indicadas para asignarlas a la matria\n //Los valores de la division de tpm equivalen al numero de filas y numero de columnas de mi png(En mi caso tengo 4 filas que son los diferentes movimientos y 4 columnas una para cada movimiento)\n //Ejemplo:Fila 1-->Movimiento a la derecha: Columna 1-->Quieto Columna -->Mueve un pie: Columna 3 --->Muevo el otro pie: Columna 4-->Vuelvo a estar quieto\n regions = new TextureRegion[4];//Asigno al array regions la longuitud por la que haya dividido en ancho my imagen\n for (int b = 0; b < regions.length; b++) {//Con este bucle voy cargando las imagenes y da la ilusion de que anda\n regions[b] = tmp[0][0];\n animation = new Animation((float) 0.2, regions);//Inicializamos el constructor pasandole por parametros el tiempo que dura y el array\n tiempo = 0f;\n }\n }",
"public void hora()\n {\n horaTotal = HoraSalida - HoraLlegada;\n\n }",
"public Relogio()\n\t{\n \n\t\thora = 0;\n\t\tminuto = 0;\n\t\tsegundo = 0;\n //forma.format(hora);\n if((hora<0 || hora>23) || (minuto<0 || minuto>59) || (segundo<0 || segundo>59)){\n System.out.println(\"Valor de tempo invalido!\");\n }\n\t}",
"public static void dormir(){\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n int restoDeMana; //variables locales a utilizar\n int restoDeVida;\n if(oro>=30){ //condicion de oro para recuperar vida y mana\n restoDeMana=10-puntosDeMana;\n puntosDeMana=puntosDeMana+restoDeMana;\n restoDeVida=150-puntosDeVida;\n puntosDeVida=puntosDeVida+restoDeVida;\n //descotando oro al jugador\n oro=oro-30;\n System.out.println(\"\\nrecuperacion satisfactoria\");\n }\n else{\n System.out.println(\"no cuentas con 'Oro' para recuperarte\");\n }\n }",
"public void setGiro( double gradosGiro ) {\n\t\t// De grados a radianes...\n\t\tmiGiro = gradosGiro/180*Math.PI;\n\t\t// El giro en la pantalla es en sentido horario (inverso):\n\t\tmiGiro = -miGiro; // Cambio el sentido del giro\n\t\t// Y el gr·fico del coche apunta hacia arriba (en lugar de derecha OX)\n\t\tmiGiro = miGiro + Math.PI/2; // Sumo 90∫ para que corresponda al origen OX\n\t}",
"@Override\n\tpublic void UpdateDateOfBirth(Gamers gamer) {\n\t\tSystem.out.println(\"Lütfen yeni doğum gününüzü giriniz\");\n\t\tint NewDateOfBirth;\n\t\tNewDateOfBirth=sc.nextInt();\n\t\tsc.nextLine();\n\t\tgamer.setDateOfBirth(NewDateOfBirth);\n\t\tdbserviceadaptors.Save(gamer);\n\t\tSystem.out.println(\"Yeni doğum gününüz \"+NewDateOfBirth+\" olarak güncellendi.\");\n\t\t\n\t}",
"private static void tourJeu(){\n\n\t\twhile(true){\n\t\t\tconsole.afficherEtatJoueurs();\n\t\t\tpasserTour();\n\t\t\tconsole.quelJoueurJoue(tour);\n\t\t\tconsole.afficherJeu();\n\t\t\tconsole.afficherDirectionAssam();\n\n\t\t\tint n;\n\t\t\twhile ((n = console.demanderNbDeplacement()) == -1 );\n\n\t\t\tconsole.afficherDirectionChoisie(n);\n\t\t\tdemanderDeplacerAssam(n);\n\n\n\t\t\tif(joueurElimine == jeu.getJoueurs().length-1){\n\t\t\t\tpasserTour();\n\t\t\t\tconsole.afficherGagnant(tour);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(verifTapis()){\n\t\t\t\tstatistique();\n\t\t\t\treturn;\n\t\t\t}\n\n\n\t\t}\n\t}",
"@Override\n public void calcularIntGanado() {\n intGanado = saldo;\n for(int i = 0; i < plazoInv; i++){\n intGanado += inve * 12;\n intGanado += intGanado * (intAnual / 100);\n }\n intGanado = intGanado - (inve + saldo);\n }",
"public void reagir(int hora) {\n if (hora < 12) {\n System.out.println(\"abanar\");\n } else {\n System.out.println(\"ignorar\");\n }\n }",
"@Override\n\tpublic String maju() {\n\t\tif (gigiMasuk) {\n\t\t\treturn super.maju();\n\t\t}else {\n\t\t\treturn \"..............\";\n\t\t}\n\t}",
"private boolean soyYo(Jugador jugador){\r\n return this.jugador==jugador;\r\n }",
"@RequiresApi(api = Build.VERSION_CODES.O)\n private String obtenerSegundos(){\n try{\n this.minutos = java.time.LocalDateTime.now().toString().substring(17,19);\n }catch (StringIndexOutOfBoundsException sioobe){\n this.segundos = \"00\";\n }\n return this.minutos;\n }",
"public ArrayList<Jugador> getJugadores() \n\t{\n\t\treturn jugadores;\n\t}",
"private Jugador oponente(Jugador jugador,Jugador[] jugadores){\r\n for (Jugador jugador1 : jugadores) {\r\n if (jugador1!=jugador){\r\n return jugador1;\r\n }\r\n }\r\n return null;\r\n }",
"static void Jogo (String nome, String Classe)\n {\n Scanner scan = new Scanner (System.in);\n \n int pontos = 0;\n int pontuador = 0;\n int erro = 0;\n\n int [] aleatorio; // cria um vetor para pegar a resposta da função de Gerar Perguntas Aleatórias \n aleatorio = GerarAleatorio(); // Pega a Reposta da função\n \n \n long start = System.currentTimeMillis(); // inicia o Cronometro do Jogo\n \n for (int i = 0; i < aleatorio.length; i++) // Para cada cada pergunta Aleatoria do tamanho total de perguntas(7) ele chama a pergunta montada e compara as respostas do usario \n { // com a função que tem todas as perguntas certas\n \n System.out.println((i + 1) + \") \" + MostrarPergunta (aleatorio[i])); //chama a função que monta a pergunta, passando o numero da pergunta (gerado aleatoriamente) \n \n String Certa = Correta(aleatorio[i]); // pega a resposta correta de acordo com o numero com o numero da pergunta\n \n System.out.println(\"Informe sua resposta: \\n\");\n String opcao = scan.next();\n \n if (opcao.equals(Certa)) // compara a resposta do usuario com a Resposta correta guardada na função \"Correta\"\n { // marca os pontos de acordo com a Classe escolhida pelo jogador \n pontuador++;\n if (Classe.equals(\"Pontuador\")) \n {\n pontos = pontos + 100;\n \n System.out.println(\"Parabens você acertou!: \" + pontos + \"\\n\");\n\n if(pontuador == 3)\n {\n pontos = pontos + 300;\n \n System.out.println(\"Parabens você acertou, e ganhou um Bonus de 300 pontos. Seus Pontos: \" + pontos + \"\\n\");\n \n pontuador = 0;\n }\n }\n else\n {\n pontos = pontos + 100;\n System.out.println(\"Parabens você acertou. Seus pontos: \" + pontos + \"\\n\");\n } \n }\n \n else if (opcao.equals(Certa) == false) \n {\n erro++;\n \n if (Classe.equals(\"Errar\")) \n {\n if(erro == 3)\n {\n pontos = pontos + 50;\n \n System.out.println(\"Infelizmente Você errou. Mas acomulou 3 erros e recebeu um bonus de 50 pontos: \" + pontos + \"\\n\");\n \n erro = 0;\n }\n }\n else\n {\n pontuador = 0;\n \n pontos = pontos - 100; \n System.out.println(\"Que pena vc errou, Seus pontos atuais: \" + pontos + \"\\n\");\n }\n }\n }\n \n long end = System.currentTimeMillis(); //Encerra o Cronometro do jogador\n \n tempo(start, end, nome, pontos, Classe); //manda para a função Tempo, para calcular os minutos e segundos do usuario \n \n }",
"private void iniciarRondaJuego() {\n\n\t\tthis.mostrarMensaje(\"bloqueando al servidor para despertar al jugador 1\");\n\t\tbloqueoJuego.lock();\n\n\t\t// despertar al jugador 1 porque es su turno\n\t\ttry {\n\t\t\tthis.mostrarMensaje(\"Despertando al jugador 1 para que inicie el juego\");\n\t\t\tjugadores[0].setSuspendido(false);\n\t\t\tjugadores[1].setSuspendido(false);\n\t\t\tesperarInicio.signalAll();\n\t\t} catch (Exception e) {\n\n\t\t} finally {\n\t\t\tthis.mostrarMensaje(\"Desbloqueando al servidor luego de despertar al jugador 1 para que inicie el juego\");\n\t\t\tbloqueoJuego.unlock();\n\t\t}\n\t}",
"private void moverJogadorAPosicao(int jogador, int valorDados, boolean iguais) {\n int tentativasDeSairDaPrisao = this.listaJogadores.get(jogadorAtual()).getTentativasSairDaPrisao();\n //Analisando se o cara esta preso, se a prisao ta ativada e se o cara tentou um numero de vezes menos que tres\n //ou se a funcao prisao esta falsa\n //ou se o jogador nao esta preso\n if ((JogadorEstaPreso(this.listaJogadores.get(jogadorAtual()).getNome()) && iguais && this.prisao == true && tentativasDeSairDaPrisao <= 2) || this.prisao == false || (!JogadorEstaPreso(this.listaJogadores.get(jogadorAtual()).getNome()) && this.prisao == true)) {\n if (JogadorEstaPreso(this.listaJogadores.get(jogadorAtual()).getNome()) && iguais && this.prisao == true && tentativasDeSairDaPrisao < 2);\n {\n this.sairdaPrisao(this.listaJogadores.get(jogadorAtual()));\n this.listaJogadores.get(jogadorAtual()).setTentativasSairDaPrisao(0);\n }\n this.posicoes[jogador] = (this.posicoes[jogador] + valorDados);\n if (posicoes[jogador] > 40) {\n posicoes[jogador] = posicoes[jogador] - 40;\n }\n }\n\n //analisando se o jogador esta preso e lanca numeros diferentes nos dados\n if (JogadorEstaPreso(this.listaJogadores.get(jogadorAtual()).getNome()) && !iguais && this.prisao == true) {\n //analisa se estourou as tentativas\n //se estourou\n if (this.listaJogadores.get(jogadorAtual()).getTentativasSairDaPrisao() == 2) {\n this.sairdaPrisao(this.listaJogadores.get(jogadorAtual()));\n this.listaJogadores.get(jogadorAtual()).retirarDinheiro(50);\n this.listaJogadores.get(jogadorAtual()).setTentativasSairDaPrisao(0);\n this.posicoes[jogador] = (this.posicoes[jogador] + valorDados);\n if (posicoes[jogador] > 40) {\n posicoes[jogador] = posicoes[jogador] - 40;\n }\n\n } //se nao estourou\n else if (this.listaJogadores.get(jogadorAtual()).getTentativasSairDaPrisao() < 2) {\n this.listaJogadores.get(jogadorAtual()).addTentativasSairDaPrisao();\n }\n\n\n }\n\n\n }",
"public void setJugador2(Jugador jugador2) {\n\t\tthis.jugador2 = jugador2;\n\t}",
"public GestionGastosGenerales() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setResizable(false);\n this.setTitle(\"Gestión de Gastos Generales\");\n \n try{\n String query = \"SELECT convert(varchar, getdate(), 105) as FECHA\";\n String[] columnas = {\"FECHA\"};\n LinkedList<LinkedList<String>> fecha = Globales.baseDatos.select(query, columnas);\n if(fecha == null){\n throw new NoConectionDataBaseException(\"Error al conectarse con la base de datos: \" + Globales.baseDatos.getUltimoError());\n }\n if(fecha.size() <1){\n throw new NoConectionDataBaseException(\"Error al conectarse con la base de datos: No se encontraron datos de la fecha actual\");\n }\n String[] fechaArray = fecha.get(0).get(0).split(\"-\");\n if(fechaArray.length != 3){\n throw new NoTypeRequiredException(\"No se puede procesar la fecha obtenida de la base de datos\");\n }\n \n ano = Integer.parseInt(fechaArray[2]);\n \n mes = Integer.parseInt(fechaArray[1]);\n \n int contadorAnos = ano - anoInicial;\n String[] listaAnos = new String[contadorAnos + 1];\n listaAnos[0] = anoInicial.toString();\n \n for(int i = 0; i<contadorAnos;i++){\n Integer tempInt = anoInicial+(i+1);\n listaAnos[i+1] = tempInt.toString();\n }\n DefaultComboBoxModel anoModel = new DefaultComboBoxModel(listaAnos);\n anoCB.setModel(anoModel);\n \n DefaultComboBoxModel mesModel = new DefaultComboBoxModel(generarListaMeses(mes));\n mesCB.setModel(mesModel);\n \n anoCB.setSelectedIndex(anoCB.getItemCount()-1);\n mesCB.setSelectedIndex(mesCB.getItemCount()-1);\n \n //termina seccion de ajuste de fecha\n actualizarTabla();\n \n \n \n }\n catch(NoConectionDataBaseException e){\n JOptionPane.showMessageDialog(this, e.getMessage(), \"Error de conexión con la base de datos\", JOptionPane.ERROR_MESSAGE);\n \n }\n catch(NoTypeRequiredException e){\n JOptionPane.showMessageDialog(this, e.getMessage(), \"Error al guardar el registro\", JOptionPane.WARNING_MESSAGE);\n }\n }",
"public static String convertirAGrados(String dato) {\n\t\tString g = \"\";\n\t\tString[] info = dato.replace(\".\", \",\").split(\",\");\n\t\tDouble min = Double.valueOf(\"0.\" + info[1]) * 60;\n\t\tString[] i = min.toString().replace(\".\", \",\").split(\",\");\n\t\tDouble seg = Double.valueOf(\"0.\" + i[1]) * 60;\n\t\tg = info[0] + \",\" + i[0] + \",\" + String.valueOf(seg.intValue());\n\t\treturn g;\n\t}",
"public static void miedo(){\n int aleatorio; //variables locales a utilizar\n Random numeroAleatorio = new Random(); //declarando variables tipo random para aleatoriedad\n aleatorio = (numeroAleatorio.nextInt(10-5+1)+5);\n \n if(oro>aleatorio){//condicion de finalizar battalla y sus acciones\n oroPerdido= (nivel*2)+aleatorio;\n oro= oro-oroPerdido;\n System.out.println(\"Huiste de la batalla!!!\");\n\t\t System.out.println(\"oro perdido:\"+oroPerdido);\n opcionMiedo=1; //finalizando battalla por huida del jugador \n }\n else{\n System.out.println(\"No pudes huir de la batalla\");\n } \n }",
"public TelaFimDeJogo() {\n initComponents();\n gerenciador.pegaJogadorDaRodada();\n mensagemBaixo.setForeground(gerenciador.pegaJogadorDaRodada().getColor());\n mensagemCima.setForeground(gerenciador.pegaJogadorDaRodada().getColor());\n mensagemCima.setText(\"PARABÉNS JOGADOR \" + gerenciador.pegaJogadorDaRodada().getNomeCor().toUpperCase() + \", VOCÊ VENCEU!!\");\n }",
"public void guardarJugadores() {\n\n\t\tString ficheroEnMesa = String.format(\"jugadoresEnMesa%d.csv\", id);\n\t\tString ficheroRetirados = \"jugadoresRetirados.csv\";\n\n\t\tGestionCSV.escribirCSV(ficheroEnMesa, jugadoresEnMesa);\n\t\tGestionCSV.escribirCSV(ficheroRetirados, jugadoresRetirados);\n\n\t}",
"public static void main(String[] args) {\n //variable tipo local que recibe la opcion de nombre para el jugador\n int numeroDeOpcion;\n //acreditacion de los puntos iniciales\n puntosDeVida= 150*(nivel+1);\n puntosDeMana= 10*(nivel+1);\n //inicializacion del juego y preguntando si desea un nombre para el personaje\n \tSystem.out.println(\" ---->BIENVENIDO AL JUEGO<----\");\n \tSystem.out.println(\"\\nDesea ingresar un nombre a su personaje [S]si, [N]no\");\n \tScanner caracterNombre=new Scanner(System.in);\n \tString opcionTemp = caracterNombre.nextLine();\n \topcion = opcionTemp.charAt(0); //leyendo opcion\n \t//Ingresando un nombre por el jugador\n \tif(opcion=='s'||opcion=='S'){\n \t\tSystem.out.println(\"Ingrese el nombre:\");\n \t\tScanner cadenaNombre=new Scanner(System.in);\n \t\tnombrePersonaje=cadenaNombre.nextLine();\n \t}\n //Estableciendo nombre predeterminado por el juego\n else{\n \tnombrePersonaje=\"Jugador1\";\n \tSystem.out.printf(\"\\nSe le a asignado el personaje:\\t\"+nombrePersonaje); \n \t}\n do{\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n //Menu de opciones principales para el jugador\n System.out.println(\"\\n..MENU DE OPCIONES..\");\n System.out.println(\"1. A la carga.\"); //Inicia la battalla\n System.out.println(\"2.Tienda.\"); //Permite comprar articulos para la batalla\n System.out.println(\"3.zzZzzZzzZ(Dormir).\");//Permite recuperar al jugador a su estado inicial \n System.out.println(\"4.Status.\"); //Muestra las estadisticas del juego\n System.out.println(\"5.Mas Poder!!!.\"); //Para aumento de nivel del juego \n System.out.println(\"6.Salir.\"); //finaliza las acciones y sale del juego\n do{//validando el numero de opcion\n System.out.println(\"Ingrese el numero de opcion:\");\n numeroDeOpcion= scanner.nextInt();\n }\n while(numeroDeOpcion<1 || numeroDeOpcion>6);\n //comparando la opcion ingresada\n switch(numeroDeOpcion){\n //mostrando los casos existentes por comparar\n case 1:{\n do{\n batalla();//llamando a la funcion batalla\n //Validando la repeticion de la fuencion o su finalizacion\n System.out.println(\"\\nDesea otra Batalla? [S]i, [N]o\");\n Scanner caracterBatalla=new Scanner(System.in);\n String opcionTemp1 = caracterBatalla.nextLine();\n repetirOpcion = opcionTemp1.charAt(0);\n opcionMiedo=0; //reiniciando la opcion miedo\n } \n //condicion del bucle para la funcion batalla \n while(repetirOpcion=='s'||repetirOpcion=='S');\n break;\n }\n case 2:{\n do{\n tienda();//llamando a la funcion tienda\n //validando la repeticion de la funcion\n System.out.println(\"\\nDesea realizar otra compra? [S]i, [N]o\");\n Scanner caracterTienda=new Scanner(System.in);\n String opcionTemp2 = caracterTienda.nextLine();\n repetirOpcion2 = opcionTemp2.charAt(0);\n }\n //condicion de bucle para la funcion tienda\n while(repetirOpcion2=='s'||repetirOpcion2=='S');\n break;\n }\n case 3:{\n do{\n dormir();//llamando a la funcion dormir\n //validando la repeticion de la funcion\n System.out.println(\"\\nDesea volver a dormir? [S]i, [N]o\");\n Scanner caracterDormir=new Scanner(System.in);\n String opcionTemp3 = caracterDormir.nextLine();\n repetirOpcion3 = opcionTemp3.charAt(0);\n }\n //condicion de bucle para la funcion dormir \n while(repetirOpcion3=='s'||repetirOpcion3=='S');\n break;\n }\n case 4:{\n do{\n status();//llamando a la funcion status\n //validando su repeticion\n System.out.println(\"\\nMostrar nuevamente? [S]i, [N]o\");\n Scanner caracterStatus=new Scanner(System.in);\n String opcionTemp4 = caracterStatus.nextLine();\n repetirOpcion4 = opcionTemp4.charAt(0);\n }\n //condicion de bucle para la funcion status \n while(repetirOpcion4=='s'||repetirOpcion4=='S');\n break;\n }\n case 5:{\n do{\n poder();//llamando a la funcion poder\n //validando la repeticion de la funcion\n System.out.println(\"\\nDesea mas poder? [S]i, [N]o\");\n Scanner caracterPoder=new Scanner(System.in);\n String opcionTemp5 = caracterPoder.nextLine();\n repetirOpcion5 = opcionTemp5.charAt(0);\n }\n //condion de bucle para la funcion poder \n while(repetirOpcion5=='s'||repetirOpcion5=='S');\n break;\n }\n \tdefault:{\n System.exit(0);//saliendo del juego\n break;\n }\n }\n //validacion del retorno al menu principal\n System.out.println(\"volver al menu [S]si, [N]no?\");\n Scanner caracterVolver=new Scanner(System.in);\n String opcionTemp6 = caracterVolver.nextLine();\n opcionSalir=opcionTemp6.charAt(0);\n }\n //condicion del bucle para menu principal\n while(opcionSalir=='S'||opcionSalir=='s'); \n }",
"public boolean gano() {\r\n\t\tboolean gano = false;\r\n\t\tint contador = 0;\r\n\t\tint c = (casillas.length * casillas[0].length) - cantidadMinas;\r\n\t\tfor(int i = 0; i< casillas.length && !gano; i++) {\r\n\t\t\tfor(int j = 0; j<casillas[i].length && !gano; j++) {\r\n\t\t\t\tif(casillas[i][j].esMina() == false) {\r\n\t\t\t\tif(casillas[i][j].darSeleccionada() == true) {// si no es mina\r\n\t\t\t\t\tcontador++;\r\n\t\t\t\t\tif(contador == c) {// no ha sido seleccionada\r\n\t\t\t\t\t\tgano = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn gano;\r\n\t}",
"public java.lang.String getHora_desde();",
"void jugar(Jugada jugada);",
"private static void eleccionJugadores() throws ListaVaciaException{\n\t\tif(jugadores.sizeJugadores()>=2){//la lista de jugadores debe ser superior a 1 para poder añadirlos a la lista de participantes\n\t\t\tdo{\n\t\t\t\t\n\t\t\t\tSystem.out.println(jugadores.toString()+\"\\n\"+\"---MAS DE 1 JUGADOR---\");\n\t\t\t\t\ttry {\n\t\t\t\t\t\tjugadorAJugar(Teclado.leerCadena(\"Nombre:\"));//nombre de los jugadores que jugaran en la partida\n\t\t\t\t\t} catch (NombreNoValidoException | JugadorYaExisteException | JugadorNoExisteException e) {\n\t\t\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t}while(DeseaContinuar.deseaContinuar(\"¿Otro Jugador?(s/n)\") || jugadores.sizeJugadores()<2);\n\t\t}else\n\t\t\tthrow new ListaVaciaException(\"La lista debe contener > 1 jugadores\");\n\t}",
"private void wczytaj_nowy_poziom(Graphics g)\n {\n while (((int) Math.round(czas_gry) == 0) || (liczba_zyc_wroga == 0)) {\n try{\n poziom++;\n liczba_punktow += punkty_poziomu;\n zmienne_poziomu(poziom);\n g.setColor(Color.BLACK);\n g.drawString(\"NOWY POZIOM: \" + poziom, (int) Math.round(getWidth() * 0.5), (int) Math.round(getHeight() * 0.5));\n gra = false;\n } catch (Exception a){\n informacja_dla_obserwatora(new Zdarzenie_panelu_gry(\"koniec_poziomow\",liczba_punktow));\n }\n }\n }",
"public Juego()\n {\n // crea la ventana principal del juego\n generaVentana();\n \n // genera las naves y los disparos del juego\n generaNaves();\n \n // responde a los eventos de pulsar las teclas de movimiento y disparo\n addKeyListener(new Eventos());\n }"
] | [
"0.71128786",
"0.7104152",
"0.7011179",
"0.6746941",
"0.6677173",
"0.66114014",
"0.65200305",
"0.64950126",
"0.6422772",
"0.63829803",
"0.6327177",
"0.6303822",
"0.6283778",
"0.62674314",
"0.6252249",
"0.6250557",
"0.624205",
"0.62385267",
"0.61996883",
"0.6185729",
"0.61691326",
"0.6092836",
"0.60585946",
"0.60291696",
"0.59992695",
"0.5995903",
"0.5991696",
"0.5981241",
"0.5970227",
"0.59656024",
"0.595155",
"0.59423214",
"0.5938348",
"0.59357244",
"0.5929183",
"0.5925666",
"0.59206986",
"0.59142387",
"0.5892686",
"0.5874143",
"0.5862573",
"0.5854423",
"0.5851761",
"0.5834037",
"0.58301115",
"0.5829318",
"0.5825187",
"0.5818443",
"0.57999444",
"0.5798418",
"0.5773148",
"0.57688993",
"0.5763358",
"0.575927",
"0.57286197",
"0.5719218",
"0.57189196",
"0.5717305",
"0.57170975",
"0.5715425",
"0.5713904",
"0.5705417",
"0.569677",
"0.5691901",
"0.5665873",
"0.56413597",
"0.5636533",
"0.5632286",
"0.562843",
"0.5623122",
"0.5620856",
"0.5620784",
"0.5616847",
"0.5594276",
"0.55917275",
"0.55894274",
"0.5587044",
"0.5584921",
"0.5577646",
"0.5571635",
"0.5569194",
"0.55611795",
"0.55608404",
"0.5554373",
"0.55541265",
"0.5552401",
"0.5551405",
"0.5547845",
"0.5547288",
"0.5544094",
"0.5540677",
"0.553568",
"0.55255115",
"0.5519454",
"0.5517509",
"0.5517209",
"0.55109054",
"0.54969615",
"0.5494846",
"0.54945546"
] | 0.73757654 | 0 |
Permite cambiar el nombre de un jugador dado su nombre y numero | public void cambiarNombre(String nuevoNombre,int numero){
partida.cambiarNombre(nuevoNombre,numero);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String digitarNombre() {\n\t\tString nombre;\n\t\tSystem.out.println(\"Digite el nombre del socio: \");\n\t\tnombre = teclado.next();\n\t\treturn nombre;\n\t}",
"private static void obterNumeroLugar(String nome) {\n\t\tint numero = gestor.obterNumeroLugar(nome);\n\t\tif (numero > 0)\n\t\t\tSystem.out.println(\"O FUNCIONARIO \" + nome + \" tem LUGAR no. \" + numero);\n\t\telse\n\t\t\tSystem.out.println(\"NAO EXISTE LUGAR de estacionamento atribuido a \" + nome);\n\t}",
"private void generarNombre() {\r\n\t\tthis.nombre = NOMBRES[(int) (Math.random() * NOMBRES.length)];\r\n\t}",
"@Override\n public void setJugadoresEsperando(int i) {\n lblNumeroJugadores.setText(Integer.toString(i));\n }",
"public String determinarNombrePosicion(int num){\r\n String atributo = \"\";\r\n switch(num){\r\n case 0:\r\n atributo = \"cantidad\";\r\n break;\r\n case 1:\r\n atributo = \"fuerza\";\r\n break;\r\n case 2:\r\n atributo = \"infanteria\";\r\n break;\r\n case 3:\r\n atributo = \"lado oscuro\";\r\n break;\r\n case 4:\r\n atributo = \"riqueza\";\r\n break;\r\n case 5:\r\n atributo = \"sigilo\";\r\n break;\r\n case 6:\r\n atributo = \"tecnologia\";\r\n break;\r\n case 7:\r\n atributo = \"velocidad\";\r\n break;\r\n }\r\n return atributo;\r\n }",
"private void asignaNombre() {\r\n\r\n\t\tswitch (this.getNumero()) {\r\n\r\n\t\tcase 1:\r\n\t\t\tthis.setNombre(\"As de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tthis.setNombre(\"Dos de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\tthis.setNombre(\"Tres de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\tthis.setNombre(\"Cuatro de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 5:\r\n\t\t\tthis.setNombre(\"Cinco de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 6:\r\n\t\t\tthis.setNombre(\"Seis de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 7:\r\n\t\t\tthis.setNombre(\"Siete de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 10:\r\n\t\t\tthis.setNombre(\"Diez de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 11:\r\n\t\t\tthis.setNombre(\"Once de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\tcase 12:\r\n\t\t\tthis.setNombre(\"Doce de \" + this.getPalo());\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}",
"public String getNombreJugador() {\r\n\t\treturn nombreJugador;\r\n\t}",
"private static void eligeJugadores() {\r\n\t\tint eleccion;\r\n\t\tdo {\r\n\t\t\tSystem.out.print(\"Elige el numero de jugadores [2,6]: \");\r\n\t\t\teleccion = Teclado.leerInt();\r\n\t\t} while (eleccion < 2 || eleccion > 6);\r\n\t\tnJugadores = eleccion;\r\n\t\tjugadores = new JugadorM[nJugadores];\r\n\t\tjugadores[0] = new JugadorM(\"Jugador\", true);\r\n\t\tfor (int i = 1; i < jugadores.length; i++)\r\n\t\t\tjugadores[i] = new JugadorM(\"Maquina\" + i, false);\r\n\t}",
"public String getName(){\n if(number == 1) return \"ace\";\n if(number == 13) return \"king\";\n if(number == 12) return \"queen\";\n if(number == 11) return \"jack\";\n else return \"\" + number;\n }",
"public String getNomeJogador(Integer idJogador) throws RemoteException;",
"public jugador(){\n\t\tnombre=\"Dave\";\n\t\ttipo=\"jugador\";\n\t\tpoderataque=6;\n\t\tpuntosvida=20;\n\t}",
"public Jugador(int dorsal)\n {\n Random rmd = new Random();\n edad = rmd.nextInt(23)+18 ;\n estadoForma = rmd.nextInt(11);\n int nom = rmd.nextInt(33);\n Nombres nomb = new Nombres();\n nombre = nomb.getNombre(nom);\n this.dorsal = dorsal;\n this.nombre = nombre;\n }",
"public int generarNombreAleatori() {\n\t\tRandom random = new Random();\n\t\treturn random.nextInt((9) - 1) + 1;\n\t}",
"static int lireNombreEntier() throws IOException {\n\t\tScanner clavier = new Scanner(System.in);\n\t\tSystem.out.print(\"\\n\\nEntrez le nombre : \");\n\t\tint nb = clavier.nextInt();\n\t\treturn nb;\n\t}",
"public static String asignarNombres() {\n Scanner escaner = new Scanner(System.in);\n String nombrePrevioArreglo;\n int contador;\n boolean nombreEncontrado = true;\n\n System.out.println(\"Bienvenido Jugador\");\n System.out.println(\"Escribe tu nombre: \\n\");\n nombrePrevioArreglo = escaner.nextLine();\n //Volvemos a construir el string que adoptara los valores del mismo pero en mayusculas\n nombrePrevioArreglo = new String((mayusculas(nombrePrevioArreglo.toCharArray())));\n\n //Empezamos desde una condicion de inicio 1 para agrandar los nombres y asignarle el nombre a la posicion 0 como al punteo\n if (nombres.length == 1) {\n nombres = new String[nombres.length + 1];\n punteos = new int[nombres.length + 1];\n nombres[0] = nombrePrevioArreglo;\n punteos[0] = 0;\n\n } else {\n //ciclo que trata de encontrar el nombre en el arreglo nombre\n for (contador = 0; contador < nombres.length; contador++) {\n if (nombrePrevioArreglo.equals(nombres[contador])) {\n nombreEncontrado = true;\n break;\n }\n nombreEncontrado = false;\n }\n /*Al no encontrar el nombre creamos dos arreglos mas (nombresAuxiliar y punteosAuxiliar) que serviran de almacenamiento tenporal mientras\n volvemos a crear el nuevo arreglo de los nombres les volvemos a colocar los datos que poseian mas el nombre nuevo\n */\n if (nombreEncontrado == false) {\n String[] nombresAuxiliar = new String[nombres.length];\n int[] punteosAuxiliar = new int[nombres.length];\n punteosAuxiliar = punteos;\n nombresAuxiliar = nombres;\n nombres = new String[nombres.length + 1];\n punteos = new int[nombres.length + 1];\n for (contador = 0; contador < nombresAuxiliar.length; contador++) {\n nombres[contador] = nombresAuxiliar[contador];\n punteos[contador] = punteosAuxiliar[contador];\n }\n punteos[nombres.length - 2] = 0;\n nombres[nombres.length - 2] = nombrePrevioArreglo;\n }\n }\n //Regresa el nombre ya registrado\n return nombrePrevioArreglo;\n\n }",
"private static String nombreMayorNota(int[] notas ,String[] nombres) {\n\t\tint notaInicial = 0;\n\t\tint posicionMayor = 0;\n\n\t\tfor (int i = 0; i < notas.length; i++) {\n\n\t\t\tif (notaInicial < notas[i]) {\n\n\t\t\t\tposicionMayor = i;\n\t\t\t\tnotaInicial = notas[i];\n\t\t\t}\n\t\t}\n\t\treturn nombres[posicionMayor];\n\t}",
"public void ordenarXNombreInsercion() {\r\n\t\tfor (int i = 1; i < datos.size(); i++) {\r\n\t\t\tfor (int j = i; j>0 && ( (datos.get(j-1).compare(datos.get(j-1), datos.get(j)))==(1) ); j--) {\r\n\t\t\t\tJugador temp = datos.get(j);\r\n\t\t\t\tdatos.set(j, datos.get(j-1));\r\n\t\t\t\tdatos.set(j-1, temp);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void jugar_con_el() {\n System.out.println(nombre + \" esta jugando contigo :D\");\n }",
"public void actualizarNombrePoder(){\n\t\tString name = ( game.getCurrentSorpresa() == null )?\"No hay sorpresa\":game.getCurrentSorpresa().getClass().getName();\n\t\tn2.setText(name.replace(\"aplicacion.\",\"\"));\n\t}",
"@Override\n public void nick_name(String nick){\n ///Pregunta el nombres y el usuario le asigna\n nickName= nick;\n nombre=nickName;\n }",
"public static void main(String[] args) {\n //variable tipo local que recibe la opcion de nombre para el jugador\n int numeroDeOpcion;\n //acreditacion de los puntos iniciales\n puntosDeVida= 150*(nivel+1);\n puntosDeMana= 10*(nivel+1);\n //inicializacion del juego y preguntando si desea un nombre para el personaje\n \tSystem.out.println(\" ---->BIENVENIDO AL JUEGO<----\");\n \tSystem.out.println(\"\\nDesea ingresar un nombre a su personaje [S]si, [N]no\");\n \tScanner caracterNombre=new Scanner(System.in);\n \tString opcionTemp = caracterNombre.nextLine();\n \topcion = opcionTemp.charAt(0); //leyendo opcion\n \t//Ingresando un nombre por el jugador\n \tif(opcion=='s'||opcion=='S'){\n \t\tSystem.out.println(\"Ingrese el nombre:\");\n \t\tScanner cadenaNombre=new Scanner(System.in);\n \t\tnombrePersonaje=cadenaNombre.nextLine();\n \t}\n //Estableciendo nombre predeterminado por el juego\n else{\n \tnombrePersonaje=\"Jugador1\";\n \tSystem.out.printf(\"\\nSe le a asignado el personaje:\\t\"+nombrePersonaje); \n \t}\n do{\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n //Menu de opciones principales para el jugador\n System.out.println(\"\\n..MENU DE OPCIONES..\");\n System.out.println(\"1. A la carga.\"); //Inicia la battalla\n System.out.println(\"2.Tienda.\"); //Permite comprar articulos para la batalla\n System.out.println(\"3.zzZzzZzzZ(Dormir).\");//Permite recuperar al jugador a su estado inicial \n System.out.println(\"4.Status.\"); //Muestra las estadisticas del juego\n System.out.println(\"5.Mas Poder!!!.\"); //Para aumento de nivel del juego \n System.out.println(\"6.Salir.\"); //finaliza las acciones y sale del juego\n do{//validando el numero de opcion\n System.out.println(\"Ingrese el numero de opcion:\");\n numeroDeOpcion= scanner.nextInt();\n }\n while(numeroDeOpcion<1 || numeroDeOpcion>6);\n //comparando la opcion ingresada\n switch(numeroDeOpcion){\n //mostrando los casos existentes por comparar\n case 1:{\n do{\n batalla();//llamando a la funcion batalla\n //Validando la repeticion de la fuencion o su finalizacion\n System.out.println(\"\\nDesea otra Batalla? [S]i, [N]o\");\n Scanner caracterBatalla=new Scanner(System.in);\n String opcionTemp1 = caracterBatalla.nextLine();\n repetirOpcion = opcionTemp1.charAt(0);\n opcionMiedo=0; //reiniciando la opcion miedo\n } \n //condicion del bucle para la funcion batalla \n while(repetirOpcion=='s'||repetirOpcion=='S');\n break;\n }\n case 2:{\n do{\n tienda();//llamando a la funcion tienda\n //validando la repeticion de la funcion\n System.out.println(\"\\nDesea realizar otra compra? [S]i, [N]o\");\n Scanner caracterTienda=new Scanner(System.in);\n String opcionTemp2 = caracterTienda.nextLine();\n repetirOpcion2 = opcionTemp2.charAt(0);\n }\n //condicion de bucle para la funcion tienda\n while(repetirOpcion2=='s'||repetirOpcion2=='S');\n break;\n }\n case 3:{\n do{\n dormir();//llamando a la funcion dormir\n //validando la repeticion de la funcion\n System.out.println(\"\\nDesea volver a dormir? [S]i, [N]o\");\n Scanner caracterDormir=new Scanner(System.in);\n String opcionTemp3 = caracterDormir.nextLine();\n repetirOpcion3 = opcionTemp3.charAt(0);\n }\n //condicion de bucle para la funcion dormir \n while(repetirOpcion3=='s'||repetirOpcion3=='S');\n break;\n }\n case 4:{\n do{\n status();//llamando a la funcion status\n //validando su repeticion\n System.out.println(\"\\nMostrar nuevamente? [S]i, [N]o\");\n Scanner caracterStatus=new Scanner(System.in);\n String opcionTemp4 = caracterStatus.nextLine();\n repetirOpcion4 = opcionTemp4.charAt(0);\n }\n //condicion de bucle para la funcion status \n while(repetirOpcion4=='s'||repetirOpcion4=='S');\n break;\n }\n case 5:{\n do{\n poder();//llamando a la funcion poder\n //validando la repeticion de la funcion\n System.out.println(\"\\nDesea mas poder? [S]i, [N]o\");\n Scanner caracterPoder=new Scanner(System.in);\n String opcionTemp5 = caracterPoder.nextLine();\n repetirOpcion5 = opcionTemp5.charAt(0);\n }\n //condion de bucle para la funcion poder \n while(repetirOpcion5=='s'||repetirOpcion5=='S');\n break;\n }\n \tdefault:{\n System.exit(0);//saliendo del juego\n break;\n }\n }\n //validacion del retorno al menu principal\n System.out.println(\"volver al menu [S]si, [N]no?\");\n Scanner caracterVolver=new Scanner(System.in);\n String opcionTemp6 = caracterVolver.nextLine();\n opcionSalir=opcionTemp6.charAt(0);\n }\n //condicion del bucle para menu principal\n while(opcionSalir=='S'||opcionSalir=='s'); \n }",
"private void actualizarNombre(Persona persona){\n \n String nombre=IO_ES.leerCadena(\"Inserte el nombre\");\n persona.setNombre(nombre);\n }",
"public String getName() {\n\t\tInteger inicio = indices.elementAt(0);\n\t\tInteger fin = (indices.size() > 1 ? indices.elementAt(1) : contenido.length());\n\t\treturn contenido.substring(inicio, fin-1);\n\t}",
"public void asignarNombre(String name);",
"public static void jogar(int numeroJogador) {\n\t\tint ponto = 0;\r\n\t\t\r\n\t\t//em quanto jogador nao fizer 5 pontos ele vai repetir o laço\r\n\t\twhile (ponto < 5) {\r\n\t\t\t//joga o dado1 e dao2 (gerando valor aleatorio de 1 a 6)\r\n\t\t\tint dado1 = (int) (new Random().nextInt(6) + 1);\r\n\t\t\tint dado2 = (int) (new Random().nextInt(6) + 1);\r\n\t\t\t//se o valor da soma do dado1 e dado2 for 7 ou 11, ele ganha 1 ponto\r\n\t\t\tif (((dado1 + dado2) == 7) || ((dado1 + dado2) == 11)) {\r\n\t\t\t\tponto++;\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"jogador \"+numeroJogador+\"º. Ponto = \"+ ponto);\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t//depois de fazer os 5 pontos, é verificado em que posição o jogador esta.\r\n\t\tif (posicao == 0) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"Primeiro jogador a fazer 5 pontos: \"+numeroJogador+\". Ganhou 5000,00\");\t\t\t\r\n\t\t} else if (posicao == 1) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"Segundo jogador a fazer 5 pontos: \"+numeroJogador+\". Ganhou 4000,00\");\t\t\t\r\n\t\t} else if (posicao == 2) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"Terceiro jogador a fazer 5 pontos: \"+numeroJogador+\". Ganhou 3000,00\");\t\t\t\r\n\t\t} else if (posicao > 2) {\r\n\t\t\tposicao++;\r\n\t\t\tSystem.out.println(\"jogador \" + numeroJogador + \"º esta em \" + posicao + \"º posicao. Não ganhou nada\");\r\n\t\t}\r\n\t}",
"public String getNombreFicheroAlumno(){\n\t\treturn \"Ev-Intermedia-Arboles-BST-Apellido1Apellido2Nombre-UOxxxx\";\n\t}",
"public String lerNome() {\n\t\treturn JOptionPane.showInputDialog(\"Digite seu Nome:\");\n\t\t// janela de entrada\n\t}",
"private static void gestionarMenuManejoJugador(int opcion) {\n\t\tswitch(opcion){\n\t\tcase 1:annadirJugador();\n\t\t\tbreak;\n\t\tcase 2:eliminarJugador();\n\t\t\tbreak;\n\t\tcase 3: System.out.println(jugadores.toString());\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tbreak;\n\t\t}\n\t\t\n\t}",
"public void cargarNombre() {\n\n System.out.println(\"Indique nombre del alumno\");\n nombre = leer.next();\n nombres.add(nombre);\n\n }",
"String getUltimoNome();",
"public Juego(String nombreJ1, String nombreJ2){\r\n\t\tMINATR = 3;\r\n\t\tMAXATR = 6;\r\n\t\tjugador1 = new Jugador(nombreJ1);\r\n\t\tjugador2 = new Jugador(nombreJ2);\r\n\t\tjugadorEnTurno = jugador1;\r\n\t}",
"public Jugador(String nombreJugador)\n {\n this.nombreJugador = nombreJugador;\n cartasQueTieneEnLaMano = new Carta[5];\n numeroCartasEnLaMano = 0;\n }",
"public static void afficherNombreDAnimaux() {\n\t System.out.println(\"**************************\");\n\t System.out.println(\"Il y a \" + totalNumber + \" animaux\");\n\t}",
"java.lang.String getNume();",
"java.lang.String getNume();",
"public void setNumero(int numero) {\n this.dado1 = numero;\n }",
"public void ordenarXNombreBurbuja() {\r\n\t\tfor (int i = datos.size(); i > 0; i-- ) {\r\n\t\t\tfor (int j=0; j<i-1; j++) {\r\n\t\t\t\tif(\tdatos.get(j).compare(datos.get(j), datos.get(j+1)) == (1)) {\r\n\t\t\t\t\tJugador tmp = datos.get(j);\r\n\t\t\t\t\tdatos.set(j, datos.get(j+1));\r\n\t\t\t\t\tdatos.set((j+1), tmp);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public int obtenirNombre() {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint nombre = scanner.nextInt();\n\t\treturn nombre;\n\t}",
"public String newName() {\n return newName(4, 9); //TODO magic numbers\n }",
"public Puntaje(String nom, int puntaje) {\n this.nombre = nom;\n this.puntos = puntaje;\n }",
"@Override\n public String getName()\n {\n if (amount > 1)\n {\n return amount + \" Nickles\";\n }\n else\n {\n return amount + \" Nickle\";\n }\n }",
"private static void eliminarJugador() {\n\t\ttry {\n\t\t\tSystem.out.println(jugadores.toString());\n\t\t\tjugadores.borrar(Teclado.leerCadena(\"Nombre:\"));//indica el nombre del jugador que se desea borrar\n\t\t} catch (JugadorNoExisteException | NombreNoValidoException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\n\t}",
"public interface Namer {\n public String name(int number, VectorDescription pos, RotationDescription rot, int lx, int ly, int lz);\n }",
"public void setPrimerNombre(String primerNombre) {\n this.primerNombre = primerNombre;\n }",
"static void jugadorAJugar(String nombre) throws NombreNoValidoException, JugadorYaExisteException, JugadorNoExisteException{\n\t\tif(jugadores.contains(nombre)&&!participantes.contains(nombre))\n\t\t\tparticipantes.volcarJugadorALista(jugadores.get(jugadores.indexOf(nombre)));\n\t\telse if(!jugadores.contains(nombre))\n\t\t\tthrow new JugadorNoExisteException(\"Jugador no existe en la lista.\");\n\t\telse\n\t\t\tthrow new JugadorYaExisteException(\"Jugador ya existe.\");\n\t\t\t\n\t}",
"public String getName() {\n return this.id + \", \" + this.nom + \" \" + this.prenom + \", \" + this.cin;\n }",
"public String separarNumeros(String Jorge){\n\t\tJorge = Jorge.replaceAll(\"[a-z]\", \"\");\n\t\tJorge = Jorge.replaceAll(\"[A-Z]\", \"\");\n\t\tJorge = Jorge.replaceAll(\"\\t\", \"\");\n\t\tJorge = Jorge.replaceAll(\"[^\\\\w\\\\s]\", \"\");\n\t\tJorge = Jorge.replaceAll(\"_\", \"\");\n\t\twhile(Jorge.contains(\" \")) {\n\t\t\tJorge = Jorge.replace(\" \", \"\");\n\t\t}\n\t\t\n\t\treturn Jorge;\n\t}",
"public void setNombreJuridico(java.lang.String nombreJuridico) {\n this.nombreJuridico = nombreJuridico;\n }",
"public void setNombreCompleto(String nombreCompleto);",
"public static void asignarPunteo(int puntos, String nombreJugador) {\n for (int sizeNombres = 0; sizeNombres < nombres.length - 1; sizeNombres++) {\n if ((nombreJugador.equals(nombres[sizeNombres])) && (puntos == 1)) {\n punteos[sizeNombres] += 1;\n break;\n }\n\n }\n\n }",
"private String getMillones(String numero) {\n String miles = numero.substring(numero.length() - 6);\r\n //se obtiene los millones\r\n String millon = numero.substring(0, numero.length() - 6);\r\n String n = \"\";\r\n if (millon.length() > 1) {\r\n n = getCentenas(millon) + \"millones \";\r\n } else {\r\n n = getUnidades(millon) + \"millon \";\r\n }\r\n return n + getMiles(miles);\r\n }",
"void detallePokemon(){\n System.out.println(numero+\" - \"+nombre);\n }",
"public void setNombres(String nombres) { this.nombres = nombres; }",
"public static int seleccionarCarro(Mano[] jug){//error no vio la 0,0\n int numeroDoble=6;\n int toret=0;\n while(numeroDoble>=0){\n int n=0;\n while(n<jug.length){\n int f=0;\n while( f<jug[n].getNPiezas() && \n (jug[n].getUnaPieza(f).getN1()!=numeroDoble || jug[n].getUnaPieza(f).getN2()!=numeroDoble))\n f++;\n \n if(f<jug[n].getNPiezas()){\n System.out.println(\"Encontrada la \"+numeroDoble+\",\"+numeroDoble\n +\", la tiene él jugador \"+(n+1)+\" y el tiene \"\n + \"el primer turno\");\n toret=n;\n numeroDoble=-10;\n \n }\n n++;\n }\n numeroDoble-=1;\n }\n if(numeroDoble==-1){\n toret=(int) (Math.random()*jug.length);\n System.out.println(\"No se ha encontrado ningun jugador con alguna pieza doble.\\n\"\n + \"Empieza el jugador \"+toret);\n }\n return toret;\n }",
"public int eliminarJugador(String nombreJugador) {\n\n Log.d(\"DATABASE\", \"Eliminando Partida\");\n\n return getWritableDatabase().delete(\n JugadorEntry.TABLE_NAME,\n JugadorEntry.NOMBRE + \" LIKE ?\",\n new String[]{nombreJugador});\n }",
"public void setNombres(String nombres);",
"public void setNomor(String nomor) {\n this.nomor = nomor;\n }",
"public void setNombres(String p) { this.nombres = p; }",
"public void ordenarXNombre() {\r\n\t\tint random = (int) Math.random() * 3 + 1;\r\n\t\tif(random==1) {\r\n\t\t\tordenarXNombreBurbuja();\r\n\t\t}\r\n\t\telse if(random==2) {\r\n\t\t\tordenarXNombreInsercion();\r\n\t\t}\r\n\t\telse if(random==3) {\r\n\t\t\tordenarXNombreSeleccion();\r\n\t\t}\r\n\t}",
"public static void jouerAuFizzBuzz(){\n\t\tint nb = Tools.inputInt(\"Tapez un nombre : \");\n\t\tint i=0;\n\t\t\n\t\twhile (i<=nb) {\n\t\t\tafficherFizzBuzzOuNombre(i);\n\t\t\ti++;\n\t\t}\n\t}",
"public String fotoToNick() {\r\n if (fotoFile == null) {\r\n foto = \"avatar.png\";\r\n } else {\r\n String nombreString = fotoFile.getName();\r\n String[] extensionStrings = nombreString.split(\"\\\\.\");\r\n foto = nick + \".\" + (extensionStrings[extensionStrings.length - 1]);\r\n }\r\n return foto;\r\n }",
"private int getNumero() {\n\t\treturn numero;\n\t}",
"public Jugador obtenerJugador();",
"public Pikachu(String name, int number)\n\t{\n\t\tsuper(name, number);\n\t}",
"private void cambiarNombre(BaseDeDatos baseDeDatos, String nombre, Equipo equipo) {\r\n int equipoID = equipo.getId();\r\n String query = \"{ call datos_equipo.modificar_nombre(?,?) }\";\r\n baseDeDatos.update(query, equipoID, nombre);\r\n }",
"public void nombreParking (String queNombreParking) {\n nombreParking = queNombreParking;\n\n }",
"@Override\n\tpublic void muestraInfo() {\n\t\tSystem.out.println(\"Adivina un número par: Es un juego en el que el jugador\" +\n\t\t\t\t\" deberá acertar un número PAR comprendido entre el 0 y el 10 mediante un número limitado de intentos(vidas)\");\n\t}",
"public String imprimir(String nome, int n){\n\t\tnome = nome.toUpperCase();\n\t\tif(nome == \"B\"){\n\t\t\treturn this.vetorB[n];\n\t\t}else if(nome == \"S\"){\n\t\t\treturn this.vetorS[n];\n\t\t}else if(nome == \"I\"){\n\t\t\treturn this.vetorI[n];\n\t\t}else\n\t\t\treturn null;\n\t}",
"public void cambiarTitulo(int codVideojuego, String tituloNuevo)\n {\n if(codVideojuego>=0 && codVideojuego<=listaDeVideojuegos.size()) {\n Videojuegos Videojuego = listaDeVideojuegos.get(codVideojuego - 1);\n Videojuego.setTitulo(tituloNuevo);\n }\n else if(codVideojuego<=0 && codVideojuego>listaDeVideojuegos.size()){\n System.out.println(\"No hay videojuegos con ese codigo, introduce otro existente.\");\n }\n }",
"private String getPlayerName(int i) {\n\t\tSystem.out.println(\"\\nEnter Player \"+i+\"'s Name:\");\n\t\treturn GetInput.getInstance().aString();\n\t}",
"public String getNomeAluno( int posicao)\n\t{\n\t\treturn gradeNomes[posicao];\n\t}",
"public int getNumero() {\n return dado1;\n }",
"public ViajeroEntity updateName(Long viajerosId, String newName) {\n LOGGER.log(Level.INFO, \"Actualizando nombre del viajero con id = {0}\", viajerosId);\n ViajeroEntity viajero = em.find(ViajeroEntity.class, viajerosId);\n viajero.setNombreUsuario(newName);\n return em.merge(viajero);\n }",
"public static void OrdenarNumeros(){\n\t\t//Variables\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tString tomar;\n\n\t\tScanner reader = new Scanner(System.in);\n\t\tSystem.out.println(\"Ingrese tres numeros numero\");\n\t\ta=reader.nextInt();\n\t\tb=reader.nextInt();\n\t\tc=reader.nextInt();\n\t\tif(a>b && b>c){\n\t\t\tTexto=a+\",\"+b+\",\"+c;\n\t\t}else if(a>c && c>b){\n\t\t\tTexto=a+\",\"+c+\",\"+b;\n\t\t}else if(b>a && a>c){\n\t\t\tTexto=b+\",\"+a+\",\"+c;\n\t\t}else if(b>c && c>a){\n\t\t\tTexto=b+\",\"+c+\",\"+a;\n\t\t}else if(c>a && a>b){\n\t\t\tTexto=c+\",\"+a+\",\"+b;\n\t\t}else if(c>b && b>a ){\n\t\t\tTexto=c+\",\"+b+\",\"+a;\n\t\t}\n\t\tSystem.out.println(Texto);\n\t\tSystem.out.println(\"Desea regresar al menu anterior?\");\n\t\treader.nextLine();\n\t\ttomar=reader.nextLine();\n\t\tif(tomar.equals(\"si\")){\n\t\t\trepetidor=true;\n\t\t}else{\n\t\t\trepetidor=false;\n\t\t}\n\t}",
"private String formulerMonNom() {\n\t return \"Je m'appelle \" + this.nom; // appel de la propriété nom\n\t }",
"public void ordenarXNombreSeleccion() {\r\n\t\tfor (int i = 0; i < datos.size()-1; i++) {\r\n\t\t\tJugador menor = datos.get(i);\r\n\t\t\tint cual = i;\r\n\t\t\tfor (int j = i + 1; j < datos.size(); j++) {\r\n\t\t\t\tif((datos.get(j).compare(datos.get(j), menor))==(-1)) {\r\n\t\t\t\t\tmenor = datos.get(j);\r\n\t\t\t\t\tcual = j;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tJugador temp = datos.get(i);\r\n\t\t\tdatos.set(i, menor);\r\n\t\t\tdatos.set(cual, temp);\r\n\t\t}\r\n\t}",
"public void jugar(){\r\n System.out.println(\"\\n\\n\\n\");\r\n // reiniciar llena el array de gato des espacios en blanco para que el tablero este en blanco\r\n reiniciar(); \r\n //pedir nombres de los jugadores\r\n System.out.println(\"Para tirar solo escribe las coordenadas (x,y) de la casilla que quieres\"); \r\n System.out.println(\"(o) Nombre de Jugador 1: \");\r\n nom1=entrada.nextLine();\r\n System.out.println(\"(x) Nombre de Jugador 2: \");\r\n nom2=entrada.nextLine();\r\n System.out.println(\"\\n\\n\\n\");\r\n //imprime el tablero\r\n tablero(); \r\n //deja que los jugadores tiren\r\n tirar(); \r\n //confirma victorias o empates \r\n if(ganador=='o'){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"GANA \"+ nom1);\r\n System.out.println(\"\\n\\n\");\r\n }\r\n if(ganador=='x'){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"GANA \"+ nom2);\r\n System.out.println(\"\\n\\n\");\r\n }\r\n if(contador==9){\r\n System.out.println(\"\\n\\n\");\r\n System.out.println(\"EMPATE, sean panas \"+nom1+\" y \"+nom2+\" :)\");\r\n System.out.println(\"\\n\\n\");\r\n }\r\n\r\n }",
"public void pedirNickname() {\n\t\tTextInputDialog dialog = new TextInputDialog(\"walter\");\n\t\tdialog.setTitle(\"Usuario\");\n\t\tdialog.setHeaderText(null);\n\t\tdialog.setContentText(\"Please enter your nickname:\");\n\t\tOptional<String> result = dialog.showAndWait();\n\t\tresult.ifPresent(name -> {\n\t\t\ttry {\n\t\t\t\tMain.getPartida().agregar(dialog.getContentText());\n\t\t\t\tMain.getPartida().guardar();\n\t\t\t\n\t\t\t} catch (JugadorYaRegistradoException | JugadorNoEncontradoException e) {\n\t\t\t\t\n\t\t\t\tAlert alert = new Alert(AlertType.INFORMATION);\n\t\t\t\talert.setTitle(\"Pokemon Training\");\n\t\t\t\talert.setHeaderText(null);\n\t\t\t\talert.setContentText(e.getMessage());\n\t\t\t\tStage stage = (Stage) alert.getDialogPane().getScene().getWindow();\n\t\t\t\tstage.getIcons().add(new Image(\"data/pokeBall.png\"));\n\t\t\t\tButtonType butthole = new ButtonType(\"Suck my dick\");\n\t\t\t\talert.getButtonTypes().setAll(butthole);\n\t\t\t\tOptional<ButtonType>asshole=alert.showAndWait();\n\t\t\t\tasshole.ifPresent(f-> pedirNickname());\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t}",
"public String generaNumPatente() {\n String numeroPatente = \"\";\r\n try {\r\n int valorRetornado = patenteActual.getPatCodigo();\r\n StringBuffer numSecuencial = new StringBuffer(valorRetornado + \"\");\r\n int valRequerido = 6;\r\n int valRetorno = numSecuencial.length();\r\n int valNecesita = valRequerido - valRetorno;\r\n StringBuffer sb = new StringBuffer(valNecesita);\r\n for (int i = 0; i < valNecesita; i++) {\r\n sb.append(\"0\");\r\n }\r\n numeroPatente = \"AE-MPM-\" + sb.toString() + valorRetornado;\r\n } catch (Exception ex) {\r\n LOGGER.log(Level.SEVERE, null, ex);\r\n }\r\n return numeroPatente;\r\n }",
"public String nombreCanciones() {\r\n\t\t\r\n\t\tString titulo=\"\";\r\n\t\tfor(int i=0; i<misCanciones.size();i++) {\r\n\t\t\ttitulo=misCanciones.get(i).getTitulo();\r\n\t\t}\r\n\t\t\r\n\t\treturn titulo;\r\n\t\t\r\n\t}",
"public void RenameArchivo()//Método que renombra un archivo\n {\n JFileChooser fichero = new JFileChooser();//Creamos objeto de la clase JFileChooser\n fichero.showOpenDialog(null);//Abrimos la ventana para seleccionar el archivo\n ARCHIVO = fichero.getSelectedFile();//En objeto File asignamos el objeto fichero a renombrar\n\n //Se ingresa el nuevo nombre\n String newName = JOptionPane.showInputDialog(null, \"Ingrese el nuevo nombre del archivo: \");\n newName = ARCHIVO.getParent() + \"\\\\\" + newName + \".txt\";//Agregamos el path y le concatenamos nombre y extension\n File archivo = new File(newName);//Creamos nuevo archivo para que almacene el nuevo nombre\n boolean ren = ARCHIVO.renameTo(archivo);//Realizamos el renombramiento\n\n if (ren)//Si se hizo correctamente, muestra le mensaje\n {\n JOptionPane.showMessageDialog(null, \"Renombrado correcto del archivo en: \" + archivo.getParent());\n } else//Si no, muestra mensaje de error\n {\n JOptionPane.showMessageDialog(null, \"El renombrado no se ha podido realizar\");\n }\n ARCHIVO = null;//Volvemos a null la constante ARCHIVO\n }",
"public void generarCodigo(){\r\n this.setCodigo(\"c\"+this.getNombre().substring(0,3));\r\n }",
"protected static String getmodoJuego() {\n return modoJuego;\n }",
"String getPrimeiroNome();",
"public static String getNameOne() {\n\tString name;\n\tname = playerOneName.getText();\n\treturn name;\n\n }",
"private String getNomeArquivoItem(File ordem, long numItem)\n\t{\n\t\tDecimalFormat \tdf \t\t\t= new DecimalFormat(\"000\");\n\t\tString\t\t\tnomeArquivo\t= null;\n\t\tPattern \t\tpattern \t= null;\n\t\tPatternMatcher \tmatcher \t= new AwkMatcher();\n\t\tPatternCompiler compiler \t= new AwkCompiler();\n\t\tSubstitution \tsub\t\t\t= new StringSubstitution(\"_\"+df.format(numItem)+\".dat\");\n\t\ttry\n\t\t{\n\t\t\tpattern = compiler.compile(\"[.]dat\");\n\t\t\tnomeArquivo = Util.substitute(matcher,pattern,sub,ordem.getAbsolutePath());\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\t/* Caso algum erro ocorra na troca da extensao do arquivo, entao\n\t\t\t * o arquivo fica com o nome original acrescido da extensao .zip\n\t\t\t */\n\t\t\tSystem.out.println(\"Erro ao criar o nome do arquivo do item para concatenacao. \"+e);\n\t\t\tnomeArquivo = ordem.getAbsolutePath()+\".\"+df.format(numItem);\n\t\t}\n\t\treturn nomeArquivo;\n\t\t//return nomeArquivo.replaceAll(\"[.]dat\",\"_\"+df.format(numItem)+\".dat\");\n\t}",
"public void setNombre(String nombre) {// ---> SE DEBE PONER EN EL PARAMETRO EL MISMO NOMBRE DEL ATRIBUTO DECLARADO.\r\n\t\tthis.nombre = nombre;\r\n\t}",
"public void setNumero(int numero) { this.numero = numero; }",
"public void damePersonaje(String personaje){\n this.personaje=personaje;\n\n\n\n }",
"@Override\n\tpublic String damePatente() {\n\t\treturn \"TJH 123\";\n\t}",
"@Override\n\tpublic String getName() {\n\t\treturn nombre;\n\t}",
"public String getPlayername(Player player) {\n System.out.println(\"――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――\");\n System.out.println(\"Merci de d'indiquer le nom du joueur \"+player.getColor().toString(false)+\" : \");\n String name = readInput.nextLine();\n return name;\n }",
"public void nommerHeros() {\n\t\tSystem.out.println(\"\\nComment voulez vous appeler votre personnage ?\");\n\t\tthis.nom = Clavier.entrerClavierString();\n\t\tSystem.out.println(\"\\n*********Bienvenue dans le labyrinthe \" + getNom()+\"*********\");\n\t}",
"public void setNomNiveles (String IdNivel, String Contador, String IdCategoria){\n nivelesId = getNivelId( IdNivel );\n if ( nivelesId.moveToFirst() ){//Muestra los valores encontrados en la consulta\n labelNivel.setText( nivelesId.getString(1) + \" - Preguntas : \" + Contador + \" / \" + getPreguntasTotal(IdCategoria, IdNivel ) );\n }\n\n }",
"private static String getName(){\r\n\t\treturn new StringBuilder(input.next()).substring(0,3);\r\n\t}",
"void suplantarIdUsuer(String nombre) throws Exception {\n\t\tLibro[] librosPres = new Libro[Const.MAXLIBROSPRES];\n\t\tint bpn = busquedaPrimerNulo();\n\t\tUsuario[] vu = ArrayObject.listadoUsuarios();\n\n\t\tMiObjectInputStream oi = null;\n\n\t\ttry { // comprueba que el archivo FUSUARIOS existe antes de leerlo\n\t\t\toi = new MiObjectInputStream(new FileInputStream(Const.FUSUARIOS));\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Archivo no encontrado - suplantarIdUsuer - \" + e.toString());\n\t\t}\n\n\t\t// busca donde se encuentra el primer usuario null del archivo para crear un\n\t\t// usuario nuevo en ese mismo lugar para obtener un id ordenado. Del mismo modo\n\t\t// la primera vez que esto se ustiliza llena el archivode usuarios de nulos pero\n\t\t// no elimna los usuarios que se encuentran por debajo\n\t\tUsuario u = (Usuario) oi.readObject();\n\t\tu = new Usuario(bpn, nombre, librosPres);\n\t\tvu[bpn] = u;\n\n\t\ttry {\n\t\t\tFileOutputStream fo = new FileOutputStream(Const.FUSUARIOSAUX, true);\n\t\t\tMiObjectOutputStream oo = new MiObjectOutputStream(fo);\n\t\t\tint i = 0;\n\t\t\twhile (i < vu.length) {\n\t\t\t\tu = vu[i];\n\t\t\t\too.writeObject(u);\n\t\t\t\ti++;\n\t\t\t} // finaliza el while para la lectura\n\t\t\too.close();\n\n\t\t} catch (Exception e) { // encaso de encontrar el archivos pero no puede leerlo\n\t\t\tSystem.out.println(\"Problemas al leer el archivo - suplantarIdUsuer - \" + e.toString());\n\t\t}\n\t\toi.close();\n\t}",
"public String getNomeGiocatore(int i) {\n return null;\r\n }",
"public bebedor(String nombre)\n {\n // initialise instance variables\n this.nombre = nombre;\n alcoholimetro = 0;\n }",
"public void setIdMuestra(String nombreMuestra) {\r\n\t\tthis.nombreMuestra = nombreMuestra;\r\n\t}",
"public static int saisirNombre() {\n int saisie = 0;\n\n try {\n saisie = scanner.nextInt();\n } catch ( final InputMismatchException ex ) {\n // Vidage du scanner\n scanner.next();\n\n System.err.println( \"Veuillez saisir un nombre !\" );\n saisie = saisirNombre();\n }\n\n return saisie;\n }"
] | [
"0.68069416",
"0.64268637",
"0.6056196",
"0.60304946",
"0.59807444",
"0.5956819",
"0.5935322",
"0.5915026",
"0.59103954",
"0.58716685",
"0.58425504",
"0.5838128",
"0.58294934",
"0.57945263",
"0.57786113",
"0.57631963",
"0.5750487",
"0.57411087",
"0.5722023",
"0.57182366",
"0.5710846",
"0.5701639",
"0.56850386",
"0.56680995",
"0.56384766",
"0.5622227",
"0.55971336",
"0.5591863",
"0.5588693",
"0.5580343",
"0.5578516",
"0.55489624",
"0.5532532",
"0.55151796",
"0.55151796",
"0.55111855",
"0.5501961",
"0.5493856",
"0.54885644",
"0.5484259",
"0.54840267",
"0.54815716",
"0.54611456",
"0.5449547",
"0.54448414",
"0.54402316",
"0.543102",
"0.5430089",
"0.54299706",
"0.54231095",
"0.5413523",
"0.54130733",
"0.54084504",
"0.53858304",
"0.538069",
"0.53792024",
"0.5376924",
"0.5375276",
"0.53675854",
"0.536449",
"0.53577524",
"0.5350883",
"0.5321319",
"0.5317649",
"0.5317167",
"0.5311033",
"0.53103423",
"0.53091884",
"0.5302806",
"0.52951485",
"0.5281322",
"0.5278796",
"0.5274935",
"0.52705175",
"0.52606773",
"0.52606267",
"0.5259805",
"0.5248306",
"0.5245879",
"0.52455676",
"0.52378774",
"0.52366185",
"0.5228228",
"0.52258533",
"0.5213675",
"0.52077335",
"0.5207598",
"0.52072924",
"0.52055943",
"0.5202756",
"0.5202491",
"0.5202379",
"0.51882833",
"0.51875496",
"0.51852024",
"0.5184299",
"0.51812094",
"0.5178589",
"0.517757",
"0.51770234"
] | 0.69219595 | 0 |
Retorna los nombres de los jugadores en una lista | public String[] nombres(){
return partida.nombres();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String[] listadoJugadoresEnMesa() {\n\n\t\tString[] listado = new String[this.jugadoresEnMesa.size()];\n\n\t\tfor (int i = 0; i < this.jugadoresEnMesa.size(); i++)\n\t\t\tlistado[i] = String.format(\"%d - %s\", (i + 1), this.jugadoresEnMesa.get(i).info());\n\n\t\treturn listado;\n\t}",
"public void mostrarListaJugadores(){\n for (int i = 0; i < jugadores.length; i++) {\n \n if(jugadores[i]!=null){\n System.out.println(\" \"+jugadores[i].toString()+\" \");\n }\n \n }\n }",
"public static ArrayList<String> getReglesNoms() throws IOException{\n return ctrl_Persistencia.llistaFitxers(\"@../../Dades\",\"regles\");\n }",
"public List<String> q3() {\n\t\treturn jogadores.stream()\n\t\t\t\t.limit(20).map(Jogador::getFullName)\n\t\t\t\t.collect(Collectors.toList());\n\t}",
"public void afficherListeNoms(){\r\n\t\tfor (String nom: noms){\r\n\t\t\tSystem.out.println(nom);\r\n\t\t}\r\n\t}",
"public ArrayList<Jugador> getJugadores() \n\t{\n\t\treturn jugadores;\n\t}",
"@Nonnull List<String> getNameList();",
"public List<String> getListe()\n\t\t\t{\n\t\t\t\treturn personnes;\n\t\t\t}",
"public ListaJugadores recuperarJugadores() throws SQLException {\n ListaJugadores listaJugadores = null;\n try {\n getConexion();\n String consulta = \"SELECT nombre FROM JUGADORES\";\n Statement statement = conexion.createStatement();\n ResultSet registros = statement.executeQuery(consulta);\n while (registros.next()) {\n String nombre = registros.getString(\"nombre\");\n Jugador jugador = new Jugador(nombre);\n listaJugadores.agregarJugador(jugador);\n }\n } finally {\n closeConexion();\n }\n return listaJugadores;\n }",
"private List<String> getMovieNames() {\n List<String> movieNames = new ArrayList<>();\n for (Movie movie: this.movies) {\n movieNames.add(movie.getName());\n }\n return movieNames;\n }",
"public List<String> nicknames();",
"public List<String> q3() {\n\t\tList<String> top20 = jogadores.stream()\n\t\t\t\t.map(x-> x.getFullName())\n\t\t\t\t.collect(Collectors.toList());\n\t\treturn top20.subList(0,20);\n\t}",
"public static ArrayList<String> getResultatNoms() throws IOException{\n return ctrl_Persistencia.llistaFitxers(\"@../../Dades\",\"resultats\");\n }",
"public List<Jogador> getListaJogadores() {\n terminarAVez();\n return this.listaJogadores;\n }",
"Collection<String> names();",
"private String[] getCandidateNames() {\n int index = 1;\n ArrayList<Candidate> candidates = model.getCandidates();\n String[] names = new String[candidates.size()+1];\n \n // Adds the names of the candidate to an array.\n names[0] = \"\"; // Blank candidate (used when you don't want to select more candidates).\n for (Candidate candidate : candidates) {\n names[index++] = candidate.getName();\n }\n \n return names;\n }",
"public List getNominations() \n {\n final ArrayList newList = new ArrayList();\n CollectionPerformer aPerformer = new CollectionPerformer()\n {\n public void performBlock(Object listElement, Object keyValue)\n {\n newList.add(listElement);\n }\n };\n aPerformer.perform(this.nominations);\n return Collections.unmodifiableList(newList);\n }",
"public String getNombreJugador() {\r\n\t\treturn nombreJugador;\r\n\t}",
"public List<String > getNames(){\n List<String> names = new ArrayList<>();\n String fNameQuery = \"SELECT \" + _IDP + \",\" + COL_F_NAME + \",\" + COL_L_NAME + \" FROM \" + TPYTHONISTAS + \" ;\";\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor c = db.rawQuery(fNameQuery, null);\n String name;\n if (c.moveToFirst()) {\n do {\n // put together NameID#, period, Lastname, Firstname\n name = c.getString(0) + \". \" + c.getString(2) + \", \" + c.getString(1);\n names.add(name);\n } while (c.moveToNext());\n }\n c.close();\n db.close();\n return names;\n }",
"public ArrayList<String> getNombreTodosJefes() {\r\n\t\treturn this.controlador.getNombreTodosJefes();\r\n//\t\treturn nombreJefesDepartamento;\r\n\t}",
"public ArrayList<Player> getListaJugadores(){\n return listaJugadores;\n }",
"public List<String> nomeAnimais(){\n\t\tfor (Animal a: this.animais) {\n\t\t\tthis.nomes.add(a.getNomeNumero());\n\t\t}\n\t\treturn this.nomes;\n\t}",
"public static List<String> getOnlinePlayerNames() {\n Iterable<User> onlineUsers = SlapPlugin.getInstance().getEssentials().getOnlineUsers();\n return StreamSupport.stream(onlineUsers.spliterator(), false)\n .map(user -> StringUtils.isEmpty(user.getNickname()) ? user.getName() : user.getNickname())\n .collect(Collectors.toList());\n }",
"public String[] getNombresDepartamentosJefe(){\r\n //Primero obtenemos el arrayList con los departamentos\r\n ArrayList<String> dpts=controlador.getDepartamentosJefe(getEmpleadoActual().getEmplId());\r\n //Devolvemos como array\r\n String[] array=new String[dpts.size()];\r\n dpts.toArray(array);\r\n return array;\r\n \t/*String[] array=new String[departamentosJefe.size()];\r\n for(int i=0;i<departamentosJefe.size();i++){\r\n \tarray[i]=departamentosJefe.get(i).getNombreDepartamento();\r\n }\r\n return array;*/\r\n }",
"private List<String> getTagNames() {\n String query = \"SELECT DISTINCT ?tagName WHERE { ?thing isa:tag [isa:tagName ?tagName; isa:tagDetail ?tagDetail]}\";\n List<Map<String, String>> results = moduleContext.getModel().executeSelectQuery(query);\n List<String> tags = new ArrayList<>();\n results.forEach(solution -> tags.add(solution.get(\"tagName\")));\n return tags;\n }",
"public ArrayList<Jogador> getJogadores() {\r\n return jogadores;\r\n }",
"public static List getAllNames() {\n List polovniautomobili = new ArrayList<>();\n try {\n CONNECTION = DriverManager.getConnection(URL, USERNAME, PASSWORD);\n String query = \"SELECT naziv FROM polovni\";\n try (PreparedStatement ps = CONNECTION.prepareStatement(query)) {\n ResultSet result = ps.executeQuery();\n while (result.next()) {\n String naziv = result.getString(\"naziv\");\n polovniautomobili.add(naziv);\n\n }\n\n ps.close();\n CONNECTION.close();\n }\n CONNECTION.close();\n } catch (SQLException ex) {\n Logger.getLogger(Register.class.getName()).log(Level.SEVERE, null, ex);\n }\n return polovniautomobili;\n }",
"public ListaJugadores() {\n\n\t\tListaJugadores.numListasJugadores++;\n\n\t\tthis.id = ListaJugadores.numListasJugadores;\n\n\t\tthis.jugadoresEnMesa = new ArrayList<Jugador>();\n\t\tthis.cargarJugadoresEnMesa();\n\n\t\tif (ListaJugadores.jugadoresRetirados == null) {\n\t\t\tListaJugadores.jugadoresRetirados = new ArrayList<Jugador>();\n\t\t\tthis.cargarJugadoresRetirados();\n\t\t}\n\n\t}",
"public String[] getNames() {\r\n\t\tfinal List<String> names=new ArrayList<>();\r\n\r\n\t\tString s;\r\n\t\tfor (Map.Entry<String,Map<String,Object>> entry1: data.entrySet()) {\r\n\t\t\ts=entry1.getKey();\r\n\t\t\tif (names.indexOf(s)<0) names.add(s);\r\n\t\t\tfor (Map.Entry<String,Object> entry2: entry1.getValue().entrySet()) {\r\n\t\t\t\ts=entry2.getKey();\r\n\t\t\t\tif (names.indexOf(s)<0) names.add(s);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn names.toArray(new String[0]);\r\n\t}",
"public ArrayList<String> obtenerNombresMedicos() {\n ArrayList<String> nombres = new ArrayList<String>();\n for (int i = 0; i < medicos.length; i++) {\n if (medicos[i] != null) {\n nombres.add(medicos[i].getNombre());\n }\n }\n return nombres;\n }",
"public List<String> getDelegationNames(){\t\t\r\n\t\tConnection conn = DBConnect.getConnection();\r\n\t\tString sql = \"select delegation_name from delegation\";\r\n\t\tList<String> names = new ArrayList<String>();\r\n\t\ttry {\r\n\t\t\tPreparedStatement pst = conn.prepareStatement(sql);\r\n\t\t\tResultSet rst = pst.executeQuery();\r\n\t\t\twhile(rst.next()) {\r\n\t\t\t\tnames.add(rst.getString(\"delegation_name\"));\r\n\t\t\t}\r\n\t\t\trst.close();\r\n\t\t\tpst.close();\r\n\t\t}catch (SQLException e) {\r\n\t\t\t// TODO: handle exception\r\n e.printStackTrace();\t\t\t\r\n\t\t}\r\n\t\treturn names;\r\n\t}",
"public ArrayList<String> GetListOfNames() {\n\t\tArrayList<String> nameList = new ArrayList<String>(); // List of names\n\n\t\tfor (Song song : songList)\n\t\t\tnameList.add(song.GetName());\n\t\treturn nameList;\n\t}",
"public static ArrayList<Puntaje> listadoPuntajes(String ruta, String jugador)\n { \n ArrayList<String> listadoPuntajes = helper.HelperArchivo.leerLineasArchivo(ruta);\n ArrayList<Puntaje> listado = new ArrayList<>(); \n int nivel;\n double puntajeGanado;\n \n for(String puntaje : listadoPuntajes)\n {\n System.out.println(\"puntaje=\"+puntaje);\n String[] puntajePart = puntaje.split(\",\"); \n if(jugador.equalsIgnoreCase(puntajePart[0]))\n { \n nivel = Integer.parseInt(puntajePart[1]);\n puntajeGanado = Double.parseDouble(puntajePart[2]); \n listado.add(new Puntaje(jugador,nivel,puntajeGanado));\n } \n } \n return listado;\n }",
"List<String> getFruitNameList() {\t\n\t\tList<String> fruitNameList = new ArrayList<>();\n\t\tfor(Fruit fruit : fruitList){\n\t\t\tfruitNameList.add(fruit.getName());\n\t\t}\n\t\treturn fruitNameList;\n\t}",
"public ArrayList<String> getNombrePropiedades(){\n ArrayList<String> listaPropiedades = new ArrayList();\n \n for(TituloPropiedad propiedad :propiedades){\n listaPropiedades.add(propiedad.getNombre());\n }\n return listaPropiedades;\n }",
"public abstract String[] names() throws TrippiException;",
"private String[] getnames(String name) {\n\t\tString tt[]={name};\n\t\t//tt[0]=name;\n\t\tList<Integer> imp=new ArrayList<Integer>();\n int temp=0;\n\t\ttemp=name.length();\n char ch[]=name.toCharArray();\n for(int i=0;i<temp;i++){\n \tif(ch[i]==' ')\n \t{imp.add(i);\n \t//System.out.println(i);\n \t}\n\n }\n int h=0;\n int nxt;\n\n Iterator<Integer> iterator = imp.iterator();\n int i=0;\n while(iterator.hasNext())\n { nxt=iterator.next();\n\n // System.out.println(haha);\n tt[i]=name.substring(h,nxt);\n i++;\n h=nxt+1;\n }\n\n\t\t\n\t\treturn tt;\n\t}",
"public String[] getNames(){\n \t\tString[] outStrings = new String[otherNames.length+1];\n \t\toutStrings[0] = this.name;\n\t\tfor(int i=1;i<otherNames.length;i++)\n \t\t\toutStrings[i] = this.otherNames[i-1];\n \t\treturn outStrings;\n \t}",
"public ArrayList<String> getNames(){\r\n \t\tArrayList<String> names = new ArrayList<String>();\r\n \t\tfor (Enumeration<Tag> temp = tags.elements(); temp.hasMoreElements();) \r\n \t\t\tnames.add(temp.nextElement().getName());\r\n \t\treturn names;\r\n \t}",
"public ArrayList<String> getNombreDepartamentosJefe(Empleado empleado) {\r\n\t\tArrayList<String> dptos = new ArrayList<String>();\r\n\t\tif (getEmpleadoActual().getRango() == 2) // Solo para jefes\r\n\t\t\tfor (int i=0; i<departamentosJefe.size(); i++)\r\n\t\t\t\tdptos.add(departamentosJefe.get(i).getNombreDepartamento());\r\n\t\treturn dptos;\r\n\t}",
"public List<? extends Name> getNames(String arg0) {\n\t\treturn null;\n\t}",
"Collection<String> getUsernames();",
"public String getListaGrupos () {\n String nomesGruposList = \"\";\n if(this.conversas != null && this.conversas.size() > 0){\n for(int i = 0; i < this.conversas.size(); i++){\n //nomesGruposList += conversas.get(i).nomeGrupo + \" \";\n }\n }\n return nomesGruposList;\n }",
"public String[] listObjectNames();",
"private ArrayList<String> getNames() {\n\t\tNameDialog n = new NameDialog();\n\t\tnameList = new ArrayList<String>();\n\t\ttry {\n\t\t\tnameList = n.getNames(inputs[1]);\n\t\t}catch(GameException ex) {\n\t\t\tview.close();\n\t\t\tmenuStage.show();\n\t\t}\n\t\treturn nameList;\n\t}",
"public static ArrayList<Puntaje> getListadoPuntajes(String jugador)\n {\n ArrayList<Puntaje> listado = new ArrayList<>();\n String rutaPuntaje = \"src/recursos/puntaje.txt\"; \n try \n {\n File archivo = new File(rutaPuntaje);\n if(!archivo.exists())\n return listado;\n\n listado = listadoPuntajes(rutaPuntaje,jugador); \n }\n catch(Exception ex)\n {\n return listado;\n } \n return listado; \n }",
"public static ArrayList<Jugador> leerFicheroMercado(ArrayList<Jugador> arrayJugadores) {\n ArrayList<Jugador> arrayMercado = new ArrayList<>();\n File aFile = new File(\"./src/ficheros/Mercado.txt\");\n\n try {\n FileReader fr = new FileReader(aFile);\n BufferedReader br = new BufferedReader(fr);\n String linea = br.readLine();\n\n while (linea != null) {\n String[] dividir = linea.split(\";\");\n\n for (int i = 0; i < dividir.length - 1; i++) {\n for (int j = 0; j < arrayJugadores.size(); j++) {\n if (arrayJugadores.get(j).getNombre().equals(dividir[i])) {\n arrayMercado.add(arrayJugadores.get(j));\n break;\n }\n }\n }\n linea = br.readLine();\n\n }\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return arrayMercado;\n\n }",
"public List<? extends Name> getAllNames() {\n\t\treturn null;\n\t}",
"private List<String> getNames(String tag) {\n List<String> names = new ArrayList<>();\n for (Map.Entry<String, Object> item : input.entrySet()) {\n if (item.getKey().startsWith(tag)) {\n names.add((String) item.getValue());\n }\n }\n return names;\n }",
"public String listarSensores(){\r\n String str = \"\";\r\n for(PacienteNuvem x:pacientes){//Para cada paciente do sistema ele armazena uma string com os padroes do protocolo de comunicação\r\n str += x.getNick()+\"-\"+x.getNome()+\"#\";\r\n }\r\n return str;\r\n }",
"public List<String> getPatternNames() {\n List<String> nameList = new LinkedList<String>();\r\n for(Pattern pattern : patterns) {\r\n nameList.add(pattern.getName());\r\n }\r\n Collections.sort(nameList, new Comparator<String>() {\r\n public int compare(String name1, String name2) {\r\n return name1.compareToIgnoreCase(name2);\r\n }\r\n });\r\n return nameList;\r\n }",
"@Override\n\tpublic StringList getNames() {\n\t\tStringList ss = new StringList();\n\t\tss.add(\"java\");\n\t\treturn ss;\n\t}",
"public ArrayList<String> cartasQueTieneEnLaMano()\n {\n {\n ArrayList<String> coleccionString = new ArrayList<String>();\n for (Carta objetoCarta : cartasDeJugador) {\n coleccionString.add(objetoCarta.getNombre());\n }\n return coleccionString;\n }\n }",
"public final ArrayList<String> getNames() {\r\n\t\tArrayList<String> names = new ArrayList<String>();\r\n\r\n\t\t// for every workout in our workoutList\r\n\t\tfor (Workout i : workoutList) {\r\n\t\t\t// get the name and add it to our ArrayList names\r\n\t\t\tnames.add(i.getName());\r\n\t\t}\r\n\r\n\t\treturn names;\r\n\t}",
"public ArrayList<String> retrieveFullNameList() throws Exception{\r\n\t\tArrayList<String> nameList = new ArrayList<String>();\r\n\t\tHashMap<String, ArrayList<String>> map = MySQLConnector.executeMySQL(\"select\", \"SELECT * FROM `is480-matching`.users inner join `is480-matching`.students on users.id=students.id;\");\r\n\t\tSet<String> keySet = map.keySet();\r\n\t\tIterator<String> iterator = keySet.iterator();\r\n\t\t\r\n\t\twhile (iterator.hasNext()){\r\n\t\t\tString key = iterator.next();\r\n\t\t\tArrayList<String> array = map.get(key);\t\r\n\t\t\tString username \t= array.get(2);\r\n\t\t\t\r\n\t\t\tnameList.add(username);\r\n\t\t}\r\n\t\t\r\n\t\tCollections.sort(nameList, new Comparator<String>() {\r\n\t @Override public int compare(String s1, String s2) {\r\n\t \treturn s1.compareTo(s2);\r\n\t }\r\n\t\t});\r\n\t\t\r\n\t\treturn nameList;\r\n\t}",
"List<String> getResponsibleDoctorNames();",
"public List<String> getNamesFromAllTab() {\n List<String> namesFromAllCategory = new ArrayList<>(getTexts(teamPageFactory.displayedEmployeeNames));\n if (namesFromAllCategory.isEmpty()) logger.error(\"ERROR: no employee names elements found\");\n return namesFromAllCategory;\n }",
"public List<Usuario> buscaUsuarioNome(String nome) {\r\n\t\tList<Usuario> retorno = new LinkedList<Usuario>();\r\n\r\n\t\tfor (Usuario usuario : listaDeUsuarios) {\r\n\t\t\tif (usuario.getNome().equals(nome)) {\r\n\t\t\t\tretorno.add(usuario);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn retorno;\r\n\t}",
"@GetMapping(\"/listeJoueurs\")\r\n\t@JsonView(Views.Joueur.class)\r\n\t@Transactional\r\n\tpublic List<Joueur> getListejoueurs() {\n\t\treturn partieContext.getParties().get(0).getLstJoueurs();\r\n\t}",
"private static void eleccionJugadores() throws ListaVaciaException{\n\t\tif(jugadores.sizeJugadores()>=2){//la lista de jugadores debe ser superior a 1 para poder añadirlos a la lista de participantes\n\t\t\tdo{\n\t\t\t\t\n\t\t\t\tSystem.out.println(jugadores.toString()+\"\\n\"+\"---MAS DE 1 JUGADOR---\");\n\t\t\t\t\ttry {\n\t\t\t\t\t\tjugadorAJugar(Teclado.leerCadena(\"Nombre:\"));//nombre de los jugadores que jugaran en la partida\n\t\t\t\t\t} catch (NombreNoValidoException | JugadorYaExisteException | JugadorNoExisteException e) {\n\t\t\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t}while(DeseaContinuar.deseaContinuar(\"¿Otro Jugador?(s/n)\") || jugadores.sizeJugadores()<2);\n\t\t}else\n\t\t\tthrow new ListaVaciaException(\"La lista debe contener > 1 jugadores\");\n\t}",
"public String[][] getNames () ;",
"public LinkedList<String> getNames() {\r\n return names;\r\n }",
"public List<String> getGroupNamesList() {\n q = em.createQuery(\"SELECT g.groupName FROM Groups g\");\n setGroupNamesList(q.getResultList());\n return groupNamesList;\n }",
"public List<String> getNames() {\n return names;\n }",
"@Override\r\n\tpublic List<TheaterVO> getTheatername() {\n\t\tList<TheaterVO> list = null;\r\n\t\tCriteriaBuilder cb=entityManager.getCriteriaBuilder();\r\n\t\tCriteriaQuery<TheaterVO> cq=cb.createQuery(TheaterVO.class);\r\n\t\tRoot<TheaterVO> root = cq.from(TheaterVO.class);\r\n\t\tcq.select(root);\r\n\t\ttry{\r\n\t\t\tTypedQuery<TheaterVO> tq = entityManager.createQuery(cq);\r\n\t\t\tlist=tq.getResultList();\r\n\t\t\treturn list;\r\n\t\t}catch(Exception e){\r\n\t\t\treturn list;\r\n\t\t}\r\n\t}",
"public String getNomeJogador(Integer idJogador) throws RemoteException;",
"List<T> buscarTodosComNomeLower();",
"public List<String> getAllPlayerNames() {\n List<String> playerNames = new ArrayList<>(10);\n for (Player p : players) {\n playerNames.add(p.getName());\n }\n return playerNames;\n }",
"public java.lang.String getNombreJuridico() {\n return nombreJuridico;\n }",
"public List<String> listRoomsNames() {\n return chatRooms.stream().map(ChatRoom::getChatName).collect(Collectors.toList());\n }",
"public String getAllMinionNames() throws SQLException {\n PreparedStatement selectAllMinionNamesStmt = this.connection.prepareStatement(Queries.SELECT_ALL_MINION_NAMES);\n ResultSet resultSetWithMinionNames = selectAllMinionNamesStmt.executeQuery();\n\n List<String> minionNamesInOriginalOrder = new ArrayList<>();\n\n while (resultSetWithMinionNames.next()) {\n minionNamesInOriginalOrder.add(this.getResultForOneRecord(resultSetWithMinionNames).toString());\n }\n\n StringBuilder outputMinionNames = new StringBuilder();\n\n //If the records count is even\n if (minionNamesInOriginalOrder.size() % 2 == 0) {\n for (int i = 0; i < minionNamesInOriginalOrder.size() / 2; i++) {\n outputMinionNames.append(minionNamesInOriginalOrder.get(i)).append(System.lineSeparator());\n outputMinionNames.append(minionNamesInOriginalOrder.get(minionNamesInOriginalOrder.size() - 1 - i));\n if (i < minionNamesInOriginalOrder.size() / 2 - 1) {\n outputMinionNames.append(System.lineSeparator());\n }\n }\n } else { //If it is odd\n for (int i = 0; i <= minionNamesInOriginalOrder.size() / 2; i++) {\n //This is the middle record in the minion table, if the count is odd.\n if (i == minionNamesInOriginalOrder.size() / 2) {\n outputMinionNames.append(minionNamesInOriginalOrder.get(i));\n } else {\n outputMinionNames.append(minionNamesInOriginalOrder.get(i)).append(System.lineSeparator());\n outputMinionNames.append(minionNamesInOriginalOrder.get(minionNamesInOriginalOrder.size() - 1 - i)).append(System.lineSeparator());\n }\n }\n }\n\n return outputMinionNames.toString();\n }",
"public static String[] getlistofUser() {\n\t\tString[] names = new String[workers.size()];\n\t\tfor (int i = 0; i < names.length; i++)\n\t\t\tnames[i] = workers.get(i).getUser();\n\t\treturn names;\n\t}",
"public ArrayList<String> mostraResultats(){\n ArrayList<String> tauleta = new ArrayList<>();\n for (int j=0; j<res.getClients().size(); j++) {\n for (int k=0; k<res.getClients().get(j).getAssigs().size(); k++) {\n String aux = \"\";\n for (int i = 0; i < res.getClients().get(j).getAssigs().get(k).getAntecedents().getRangs().size(); i++) {\n aux += res.getClients().get(j).getAssigs().get(k).getAntecedents().getRangs().get(i).getNom() + \"\\t\";\n }\n aux += \" -> \" + res.getClients().get(j).getAssigs().get(k).getConsequent().getNom();\n tauleta.add(aux);\n }\n }\n return tauleta;\n }",
"public ArrayList<String[]> getPatientsNameList()\r\n {\r\n\t String lists[]= new String[2];\r\n\t ArrayList<String[]> name = new ArrayList<String[]>();\r\n\t try \r\n\t {\r\n\t\tResultSet rs = stmt.executeQuery( \"SELECT * FROM PATIENTDATA;\" );\r\n\t\tint i =0;\r\n\t\twhile (rs.next())\r\n\t\t{\r\n\t\t\tlists[0] = rs.getString(\"LASTNAME\");\r\n\t\t\tlists[1]=rs.getString(\"FIRSTNAME\");\r\n\t\t\tname.add(lists);\r\n\t\t\tlists = new String[2];\r\n\t\t\ti++;\r\n\t\t}\r\n\t\treturn name;\r\n\t } \r\n\t catch (SQLException e) \r\n\t {\r\n\t\t\r\n\t\te.printStackTrace();\r\n\t }\r\n\t return name;\r\n\t \r\n }",
"Set<String> getNames();",
"public String showPlayListNames(){\n String namePlayList = \"\";\n for(int i = 0; i<MAX_PLAYLIST; i++){\n if(thePlayLists[i] != null){\n namePlayList += \"[\"+(i+1)+\"]\"+thePlayLists[i].getNamePlayList()+\"\\n\";\n }\n }\n return namePlayList;\n }",
"public ArrayList<String> getFullName(){\n\t\tArrayList<String> fullName = new ArrayList<>(); \n\t\t\n\t\tfor(int i =0; i<firstName.size(); i++) {\n\t\t\tfullName.add(firstName.get(i) + \" \" + lastName.get(i)); \n\t\t}\n\t\t\n\t\treturn fullName; \t\t\n\t}",
"public ArrayList<String> recipeNameList(){\n\t\t\n\t\tLog.d(TAG, \"Create list of recipe names\");\n\t\t\n\t\t//Temp variable to hold the recipe names\n\t\tArrayList<String> recipeNames = new ArrayList<String>();\n\t\t\n\t\t//Iterator for moving through the recipe list\n\t\tIterator<Recipe> iterator = RECIPES.iterator();\n\t\t\n\t\t// Gather the names of all of the recipes\n\t\twhile(iterator.hasNext()){\n\t\t\trecipeNames.add(((Recipe) iterator.next()).getName());\n\t\t}\n\t\t\n\t\t// If the recipe box is empty return null\n\t\tif (recipeNames.size() == 0)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t// Return the ArrayList of recipe names\n\t\treturn recipeNames;\n\t}",
"private void cargarJugadoresRetirados() {\n\n\t\tString nombreFichero = \"jugadoresRetirados.csv\";\n\n\t\tListaJugadores.jugadoresRetirados = GestionCSV.obtenerJugadores(nombreFichero);\n\n\t}",
"public String[] getNomEquips(){\n\t\tString[] noms= new String[n_equips];\n\t\tNode aux = primer; \n\t\tint i=0;\n\t\twhile((aux!=null)&&(i<n_equips)) {\n\t\t\tnoms[i] = aux.info.getNom();\n\t\t\taux=aux.Nodeseguent;\n\t\t\ti++;\n\t\t}\n\t\treturn noms;\n\t}",
"public List<String> getNamesFromDepartments() {\n List<String> employeeNames = new ArrayList<>();\n List<WebElement> teamDepartments = teamPageFactory.teamDepartments;\n for (int i = 1; i < countDepartmentTabs(); i++) {\n teamDepartments.get(i).click();\n employeeNames.addAll(getTexts(teamPageFactory.displayedEmployeeNames));\n }\n if (employeeNames.isEmpty()) Reporter.log(\"FAILURE: no employee name elements found\", true);\n return employeeNames;\n }",
"public static ArrayList<String> getNameFromPerson(ArrayList<Person> persons){\n ArrayList<String> nameList = new ArrayList<String>();\n for(Person person : persons){\n nameList.add(person.name);\n }\n return nameList;\n }",
"public List<Object[]> listAgentIdName();",
"public String getResearcherNamesList() {\r\n this.researcherNamesList = myIsern.getResearcherNamesList();\r\n return this.researcherNamesList;\r\n }",
"public String getPlayerListName ( ) {\n\t\treturn handleOptional ( ).map ( Player :: getPlayerListName ).orElse ( name );\n\t}",
"SortedSet<String> getNames();",
"@SuppressWarnings(\"deprecation\")\n \tpublic List<String> getSlaveNames() {\n \t\tComputerSet computers = Hudson.getInstance().getComputer();\n \t\tList<String> slaveNames = computers.get_slaveNames();\n \n \t\t// slaveNames is unmodifiable, therefore create a new list\n \t\tList<String> test = new ArrayList<String>();\n \t\ttest.addAll(slaveNames);\n \n \t\t// add 'magic' name for master, so all nodes can be handled the same way\n \t\tif (!test.contains(\"(master)\")) {\n \t\t\ttest.add(\"(master)\");\n \t\t}\n \t\treturn test;\n \t}",
"private static void eligeJugadores() {\r\n\t\tint eleccion;\r\n\t\tdo {\r\n\t\t\tSystem.out.print(\"Elige el numero de jugadores [2,6]: \");\r\n\t\t\teleccion = Teclado.leerInt();\r\n\t\t} while (eleccion < 2 || eleccion > 6);\r\n\t\tnJugadores = eleccion;\r\n\t\tjugadores = new JugadorM[nJugadores];\r\n\t\tjugadores[0] = new JugadorM(\"Jugador\", true);\r\n\t\tfor (int i = 1; i < jugadores.length; i++)\r\n\t\t\tjugadores[i] = new JugadorM(\"Maquina\" + i, false);\r\n\t}",
"public List<Personname> getPersonnames() {\r\n\r\n if (this.personnames == null) {\r\n\r\n this.personnames = new ArrayList<Personname>();\r\n\r\n }\r\n\r\n return this.personnames;\r\n\r\n }",
"public Set<String> getNames() {\n\t\t//\t\tArrayList<String> names = new ArrayList<String>();\n\t\t//\t\tfor (NameSSA n : name.values())\n\t\t//\t\t\tnames.add(n.current());\n\t\treturn name.keySet();\n\t}",
"public String listImageNames() {\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tfor(User user : userList) {\r\n\t\t\tsb.append(listImageNames(user.getName()) + \"\\n\");\r\n\t\t}\r\n\t\treturn sb.toString();\r\n\t}",
"@Override\n\tpublic List<JabatanModel> listJabatan() {\n\t\treturn jabatanDb.findAll();\n\t}",
"public static String obtenerListaProfesores () {\n StringBuilder sb;\n Statement stmt;\n String query;\n ResultSet result;\n try {\n iniciarConexion();\n sb = new StringBuilder();\n stmt = connection.createStatement();\n query = \"SELECT * FROM usuarios WHERE Matricula LIKE 'l%';\";\n result = stmt.executeQuery(query);\n while (result.next()) {\n sb.append(result.getString(2));\n sb.append(\" \");\n sb.append(result.getString(3));\n sb.append(\",\");\n }\n return sb.toString();\n } catch (SQLException ex) {\n Logger.getLogger(ManejoBasesDatos.class.getName()).log(Level.SEVERE, null, ex);\n return \"\";\n }\n }",
"private String[] getNomeArquivosCaixa(File ordem) throws IOException\n\t{\n\t\tCollection arquivos = new LinkedList();\n\t\tFileReader \t\tfReader \t= new FileReader(ordem);\n\t\tBufferedReader \tbuffReader \t= new BufferedReader(fReader);\n\t\tString patternNomArqCaixa = getPropriedade(\"ordemVoucher.patternArquivosCaixa\");\n\t\tString linha=null;\n\t\twhile ( (linha=buffReader.readLine()) != null )\n\t\t\t/* Verifica se o pattern dos nomes de arquivos foi encontrado */\n\t\t\tif (linha.indexOf(patternNomArqCaixa) > -1)\n\t\t\t{\n\t\t\t\t/* Faz o split da linha que contem diferentes campos separados por \",\"\n\t\t\t\t * Utiliza a classe abaixo devido a maquina da Tecnomen possuir\n\t\t\t\t * a versao 1.3 do Java\n\t\t\t\t */\n\t\t\t\t//String campos[] = linha.split(\",\");\n\t\t\t\tStringTokenizer strToken = new StringTokenizer(linha,\",\");\n\t\t\t\tString campos[] = new String[strToken.countTokens()];\n\t\t\t\tfor (int i=0; i < campos.length; i++)\n\t\t\t\t\tcampos[i] = strToken.nextToken();\n\n\t\t\t\t/* O primeiro campo e o nome do arquivo */\n\t\t\t\tarquivos.add(campos[0]);\n\t\t\t}\n\n\t\tbuffReader.close();\n\t\tfReader.close();\n\t\treturn (String[])arquivos.toArray(new String[0]);\n\t}",
"public Jugador jugador() {\r\n\treturn jugador;\r\n }",
"public ArrayList<String> retrieveUsernameList() throws Exception{\r\n\t\tArrayList<String> nameList = new ArrayList<String>();\r\n\t\tHashMap<String, ArrayList<String>> map = MySQLConnector.executeMySQL(\"select\", \"SELECT * FROM `is480-matching`.users inner join `is480-matching`.students on users.id=students.id;\");\r\n\t\tSet<String> keySet = map.keySet();\r\n\t\tIterator<String> iterator = keySet.iterator();\r\n\t\t\r\n\t\twhile (iterator.hasNext()){\r\n\t\t\tString key = iterator.next();\r\n\t\t\tArrayList<String> array = map.get(key);\t\r\n\t\t\tString username \t= array.get(1);\r\n\t\t\t\r\n\t\t\tnameList.add(username);\r\n\t\t}\r\n\t\t\r\n\t\tCollections.sort(nameList, new Comparator<String>() {\r\n\t @Override public int compare(String s1, String s2) {\r\n\t \treturn s1.compareTo(s2);\r\n\t }\r\n\t\t});\r\n\t\t\r\n\t\treturn nameList;\r\n\t}",
"private String [] lista(){\n String [] lista=new String[jTFs.length];\n for(int i=0;i<jTFs.length;i++)lista[i]=jTFs[i].getText();\n return lista;\n }",
"public ArrayList<String> getNames() {\n return names;\n }",
"public List<String> getAllNames() {\n\t\tList<String> names = new ArrayList<>();\n\t\tfor(PhoneBookEntry entry : entries.values()) {\n\t\t\tnames.add(entry.getName());\n\t\t}\n\t\tCollections.sort(names);\n\t\treturn Collections.unmodifiableList(names);\n\t}",
"public ArrayList<String> retrieveAllMajors() {\r\n\t\tArrayList<String> majors = new ArrayList<String>();\r\n\t\tHashMap<String, ArrayList<String>> map = MySQLConnector.executeMySQL(\"select\", \"SELECT * FROM second_major\");\r\n\t\tSet<String> keySet = map.keySet();\r\n\t\tIterator<String> iterator = keySet.iterator();\r\n\t\t\r\n\t\twhile (iterator.hasNext()){\r\n\t\t\tString key = iterator.next();\r\n\t\t\tArrayList<String> array = map.get(key);\t\r\n\t\t\tString major \t= array.get(1);\r\n\t\t\t\r\n\t\t\tmajors.add(major);\r\n\t\t}\r\n\t\t\r\n\t\treturn majors;\r\n\t}"
] | [
"0.69399273",
"0.68469393",
"0.6782237",
"0.66909826",
"0.6686244",
"0.66410106",
"0.66400087",
"0.6555456",
"0.65253764",
"0.6478862",
"0.6462375",
"0.6385958",
"0.63076264",
"0.6284503",
"0.6268677",
"0.623029",
"0.61864865",
"0.618495",
"0.6182282",
"0.6171357",
"0.6143529",
"0.6135494",
"0.6086971",
"0.6054285",
"0.5988326",
"0.5988226",
"0.598595",
"0.5965013",
"0.592571",
"0.5924645",
"0.5912968",
"0.5909559",
"0.59077716",
"0.59038156",
"0.5867327",
"0.58668905",
"0.58551306",
"0.58549774",
"0.58484447",
"0.58436495",
"0.5838039",
"0.5820624",
"0.58130425",
"0.5806295",
"0.5794746",
"0.57939863",
"0.5780894",
"0.57790005",
"0.5773373",
"0.57696277",
"0.5765175",
"0.5760674",
"0.5750031",
"0.57485795",
"0.5704249",
"0.56970346",
"0.5685328",
"0.56831914",
"0.567428",
"0.56595606",
"0.5658775",
"0.5657957",
"0.5649913",
"0.5644574",
"0.5644259",
"0.562268",
"0.5620098",
"0.56191367",
"0.5615134",
"0.56106675",
"0.5609925",
"0.560638",
"0.5606098",
"0.5603734",
"0.5591215",
"0.55689657",
"0.5550731",
"0.5523623",
"0.5523079",
"0.55213356",
"0.55072045",
"0.5504705",
"0.54904705",
"0.5484408",
"0.54827404",
"0.5480716",
"0.54731745",
"0.54642206",
"0.5462865",
"0.5453559",
"0.54418564",
"0.54385865",
"0.5436066",
"0.5428084",
"0.5426669",
"0.54249877",
"0.5410259",
"0.54008406",
"0.540082",
"0.5391384"
] | 0.66662425 | 5 |
Retorna el nombre del jugador en turno | public String turno(){
return partida.turno();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String digitarNombre() {\n\t\tString nombre;\n\t\tSystem.out.println(\"Digite el nombre del socio: \");\n\t\tnombre = teclado.next();\n\t\treturn nombre;\n\t}",
"public String getNombreJugador() {\r\n\t\treturn nombreJugador;\r\n\t}",
"public int generarNombreAleatori() {\n\t\tRandom random = new Random();\n\t\treturn random.nextInt((9) - 1) + 1;\n\t}",
"java.lang.String getGameName();",
"java.lang.String getGameName();",
"public static String getJoke(){\n return jokes[getRandomNumberBetweenMinMax(0, jokes.length-1)];\n }",
"public String getName() {\n\t\tInteger inicio = indices.elementAt(0);\n\t\tInteger fin = (indices.size() > 1 ? indices.elementAt(1) : contenido.length());\n\t\treturn contenido.substring(inicio, fin-1);\n\t}",
"String getUltimoNome();",
"public String getName(){\n if(number == 1) return \"ace\";\n if(number == 13) return \"king\";\n if(number == 12) return \"queen\";\n if(number == 11) return \"jack\";\n else return \"\" + number;\n }",
"public String getNomeJogador(Integer idJogador) throws RemoteException;",
"public String getPlayername(Player player) {\n System.out.println(\"――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――\");\n System.out.println(\"Merci de d'indiquer le nom du joueur \"+player.getColor().toString(false)+\" : \");\n String name = readInput.nextLine();\n return name;\n }",
"public String newName() {\n return newName(4, 9); //TODO magic numbers\n }",
"public Jugador jugador() {\r\n\treturn jugador;\r\n }",
"public Jugador obtenerJugador();",
"int getNombreLignesPlateau();",
"protected String getName(){\n return \"Chinmay Garg\";\n //TODO return roll number obtained from the app's shared preference\n }",
"public String nombreCanciones() {\r\n\t\t\r\n\t\tString titulo=\"\";\r\n\t\tfor(int i=0; i<misCanciones.size();i++) {\r\n\t\t\ttitulo=misCanciones.get(i).getTitulo();\r\n\t\t}\r\n\t\t\r\n\t\treturn titulo;\r\n\t\t\r\n\t}",
"public String getMoonPhaseName()\n\t{\n\t\tint moonInt;\n\t\ttry\n\t\t{\n\t\t\tmoonInt = Integer.valueOf(ageOfMoon);\n\t\t} catch (Exception e)\n\t\t{\n\t\t\tmoonInt = 0;\n\t\t}\n\t\treturn (MOON_PHASE.getByAge(moonInt)).getTxtName();\n\t}",
"public static String getNameOne() {\n\tString name;\n\tname = playerOneName.getText();\n\treturn name;\n\n }",
"public String findWinnerName(){\n\t\t\n\t\tContestant t = contestants[0][0];\n\t\t\n\t\tfor (int i = 0; i < contestants.length; i++) {\n\t\t\tfor (int j = 0; j < contestants[i].length; j++) {\n\t\t\t\tif(contestants[i][j].getScore()>t.getScore()) {\n\t\t\t\t\tt = contestants[i][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn t.getName();\n\t}",
"String getPlayerName();",
"protected static String getmodoJuego() {\n return modoJuego;\n }",
"public static String name(){\n return \"10.Schneiderman.Lorenzo\"; \n }",
"public String getName(){\n\t\treturn players.get(0).getName();\n\t}",
"public String getRandomJoke() {\n Random rnd = new Random();\n lInd = rnd.nextInt(jokes.length + 1);\n System.out.println(\"random num is: \" + lInd + \" max num: \" + (jokes.length +1));\n\n return jokes[lInd];\n }",
"public String getJoke() {\n int index = (int)((float)Math.random() * mJokes.size());\n return mJokes.get(index);\n }",
"public String getNombreFicheroAlumno(){\n\t\treturn \"Ev-Intermedia-Arboles-BST-Apellido1Apellido2Nombre-UOxxxx\";\n\t}",
"public int compterAnimaux(){\r\n\t\treturn noms.size();\r\n\t}",
"java.lang.String getHangmogName();",
"public String obtenerNombreAtaque(){\n\treturn nombreAtaque;\n }",
"private String getPlayerName(int i) {\n\t\tSystem.out.println(\"\\nEnter Player \"+i+\"'s Name:\");\n\t\treturn GetInput.getInstance().aString();\n\t}",
"public int obtenirNombre() {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint nombre = scanner.nextInt();\n\t\treturn nombre;\n\t}",
"String getNewPlayerName();",
"public static int seleccionarCarro(Mano[] jug){//error no vio la 0,0\n int numeroDoble=6;\n int toret=0;\n while(numeroDoble>=0){\n int n=0;\n while(n<jug.length){\n int f=0;\n while( f<jug[n].getNPiezas() && \n (jug[n].getUnaPieza(f).getN1()!=numeroDoble || jug[n].getUnaPieza(f).getN2()!=numeroDoble))\n f++;\n \n if(f<jug[n].getNPiezas()){\n System.out.println(\"Encontrada la \"+numeroDoble+\",\"+numeroDoble\n +\", la tiene él jugador \"+(n+1)+\" y el tiene \"\n + \"el primer turno\");\n toret=n;\n numeroDoble=-10;\n \n }\n n++;\n }\n numeroDoble-=1;\n }\n if(numeroDoble==-1){\n toret=(int) (Math.random()*jug.length);\n System.out.println(\"No se ha encontrado ningun jugador con alguna pieza doble.\\n\"\n + \"Empieza el jugador \"+toret);\n }\n return toret;\n }",
"@Override\n public String getPlayerName()\n {\n if (currentPlayer == 0)\n {\n return playerOneName;\n }\n else\n {\n return playerTwoName;\n }\n }",
"public String getShortName() {\n\t\tif(number == 11){\n\t\t\treturn (suit + \"j\");\n\t\t}\n\t\telse if(number == 12) {\n\t\t\treturn (suit + \"q\");\n\t\t}\n\t\telse if(number == 13) {\n\t\t\treturn (suit + \"k\");\n\t\t}\n\t\telse if(number == 14) {\n\t\t\treturn (suit + \"a\");\n\t\t}\n\t\telse {\n\t\t\treturn (suit + String.valueOf(number));\n\t\t}\n\t}",
"public String makeName() {\r\n String result = makeNameKOL();\r\n if(previousNames == null || previousNames.size() == maxNames) {\r\n return result;\r\n }\r\n \r\n while(previousNames.contains(result)) {\r\n result = makeNameKOL();\r\n }\r\n \r\n return result;\r\n }",
"int getNombreColonnesPlateau();",
"public String getJoke(){\n Random rand = new Random();\n int number=rand.nextInt(jokeList.size());\n\n return jokeList.get(number);\n }",
"public Jugador getJugador1() {\n\t\treturn jugador1;\n\t}",
"public java.lang.String getNombreJuridico() {\n return nombreJuridico;\n }",
"public Juego(String nombreJ1, String nombreJ2){\r\n\t\tMINATR = 3;\r\n\t\tMAXATR = 6;\r\n\t\tjugador1 = new Jugador(nombreJ1);\r\n\t\tjugador2 = new Jugador(nombreJ2);\r\n\t\tjugadorEnTurno = jugador1;\r\n\t}",
"@Override\n\tpublic String getName() {\n\t\treturn \"Rotera 90\\u00b0 höger\";\n\t}",
"@Override\n\tpublic String getName() {\n\t\treturn \"Rotera 90\\u00b0 höger\";\n\t}",
"String getName() {\n return getStringStat(playerName);\n }",
"String generateJoke();",
"@Override\n public String getName()\n {\n if (amount > 1)\n {\n return amount + \" Nickles\";\n }\n else\n {\n return amount + \" Nickle\";\n }\n }",
"public String getName() {\n return \"nickel\";\n }",
"String player1GetName(){\n return player1;\n }",
"public static int LongestName () {\n int result = 0;\r\n\r\n // LOOP THROUGH THE PLAYERS\r\n for (int i = 0; i < player_count; i++) {\r\n // DID WE FIND A LONGER NAME?\r\n if (player[i].GetName().length() > result)\r\n result = player[i].GetName().length();\r\n }\r\n\r\n // RETURN THE RESULT\r\n return result;\r\n }",
"String getName() ;",
"public String getPlayerName() {\n return nameLabel.getText().substring(0, nameLabel.getText().indexOf('\\''));\n }",
"private String playerToString(int turn){ \r\n\t\tif (turn == 1) { \r\n\t\t\treturn \"You\";\r\n\t\t}\r\n\t\telse{ \r\n\t\t\treturn \"Computer\";\r\n\t\t}\r\n\t}",
"public Jogador getJogador1() {\r\n return jogador1;\r\n }",
"char[] getName();",
"private void generarNombre() {\r\n\t\tthis.nombre = NOMBRES[(int) (Math.random() * NOMBRES.length)];\r\n\t}",
"java.lang.String getNume();",
"java.lang.String getNume();",
"public String getIdTurno() {\n return idTurno;\n }",
"public String getNomeAluno( int posicao)\n\t{\n\t\treturn gradeNomes[posicao];\n\t}",
"public String getName() {\n\tif (num_comp == 0)\n\t return(\"\");\n\treturn(comp[num_comp-1]);\n }",
"public String generateFullName() {\n\n\t\tString fullName;\n\t\tfullName = firstNames.get(roll.nextInt(firstNames.size()));\n\t\tfullName += \" \" + lastNames.get(roll.nextInt(lastNames.size()));\n\t\treturn fullName;\n\t}",
"public String nextTurn() {\n\t\tString turn = \"\";\n\t\tnum ++;\n\t\tif (num==100 && letter!='Z') {\n\t\t\tletter += 1;\n\t\t\tnum = 0;\n\t\t\tturn = letter+\"0\"+String.valueOf(num);\n\t\t}\n\t\telse if (num==100 && letter=='Z') {\n\t\t\tletter = 'A';\n\t\t\tnum = 0;\n\t\t\tturn = letter+\"0\"+String.valueOf(num);\n\t\t}\n\t\telse if (num>10) {\n\t\t\tturn = letter+String.valueOf(num);\n\t\t}\n\t\telse {\n\t\t\tturn = letter+\"0\"+String.valueOf(num);\n\t\t}\n\t\treturn turn;\n\t}",
"public String getChiffreJoueur() {\r\n\t\treturn this.chiffreJoueur;\r\n\t}",
"String getName(){\n\t\treturn playerName;\n\t}",
"public static void afficherNombreDAnimaux() {\n\t System.out.println(\"**************************\");\n\t System.out.println(\"Il y a \" + totalNumber + \" animaux\");\n\t}",
"public int getNickel () {\n return NNickel;\n }",
"int getDame();",
"private static String getName(){\r\n\t\treturn new StringBuilder(input.next()).substring(0,3);\r\n\t}",
"public String getRobot() {\n return nombre;\n }",
"public String getPlayerName(){\n return player1Score > player2Score ? player1Name : player2Name;\n }",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();",
"String getName();"
] | [
"0.66169757",
"0.655644",
"0.64399827",
"0.63607293",
"0.63607293",
"0.626744",
"0.62434864",
"0.62384266",
"0.6190352",
"0.61797667",
"0.6064596",
"0.60570294",
"0.60562813",
"0.60518634",
"0.60382724",
"0.60310084",
"0.5991274",
"0.59445286",
"0.593233",
"0.5929",
"0.5920124",
"0.5919584",
"0.5916624",
"0.5874768",
"0.58704793",
"0.5864834",
"0.5841466",
"0.58333164",
"0.5829647",
"0.58275837",
"0.57910043",
"0.57788473",
"0.577406",
"0.57735395",
"0.5773437",
"0.57715034",
"0.5752246",
"0.5743906",
"0.57281095",
"0.5714779",
"0.57031083",
"0.5700353",
"0.569869",
"0.569869",
"0.56739503",
"0.5670225",
"0.5661281",
"0.56581604",
"0.56555676",
"0.5648308",
"0.5646854",
"0.56450516",
"0.56425124",
"0.5635622",
"0.5621058",
"0.5619345",
"0.56122696",
"0.56122696",
"0.5610663",
"0.5608338",
"0.56024843",
"0.5601409",
"0.55997646",
"0.5588921",
"0.55794823",
"0.5579092",
"0.55649847",
"0.5563106",
"0.5562698",
"0.5548773",
"0.5542592",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866",
"0.55356866"
] | 0.6023555 | 16 |
Retorna los puntajes de los jugadores en Partida | public int[] puntajes(){
return partida.puntajes();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Jugador jugadorMasPartidos() {\n Jugador ju = new Jugador(\"\", 0, 0, 0, 0);\n for (int i = 0; i < jugadores.length; i++) {\n if (jugadores[i] != null && jugadores[i].getCantPartidosJugados() > ju.getCantPartidosJugados()) {\n ju = jugadores[i];\n }\n\n }\n return ju;\n }",
"public static ArrayList<Puntaje> getListadoPuntajes(String jugador)\n {\n ArrayList<Puntaje> listado = new ArrayList<>();\n String rutaPuntaje = \"src/recursos/puntaje.txt\"; \n try \n {\n File archivo = new File(rutaPuntaje);\n if(!archivo.exists())\n return listado;\n\n listado = listadoPuntajes(rutaPuntaje,jugador); \n }\n catch(Exception ex)\n {\n return listado;\n } \n return listado; \n }",
"public static ArrayList<Puntaje> listadoPuntajes(String ruta, String jugador)\n { \n ArrayList<String> listadoPuntajes = helper.HelperArchivo.leerLineasArchivo(ruta);\n ArrayList<Puntaje> listado = new ArrayList<>(); \n int nivel;\n double puntajeGanado;\n \n for(String puntaje : listadoPuntajes)\n {\n System.out.println(\"puntaje=\"+puntaje);\n String[] puntajePart = puntaje.split(\",\"); \n if(jugador.equalsIgnoreCase(puntajePart[0]))\n { \n nivel = Integer.parseInt(puntajePart[1]);\n puntajeGanado = Double.parseDouble(puntajePart[2]); \n listado.add(new Puntaje(jugador,nivel,puntajeGanado));\n } \n } \n return listado;\n }",
"public String[] getNombresDepartamentosJefe(){\r\n //Primero obtenemos el arrayList con los departamentos\r\n ArrayList<String> dpts=controlador.getDepartamentosJefe(getEmpleadoActual().getEmplId());\r\n //Devolvemos como array\r\n String[] array=new String[dpts.size()];\r\n dpts.toArray(array);\r\n return array;\r\n \t/*String[] array=new String[departamentosJefe.size()];\r\n for(int i=0;i<departamentosJefe.size();i++){\r\n \tarray[i]=departamentosJefe.get(i).getNombreDepartamento();\r\n }\r\n return array;*/\r\n }",
"public List<Partida> getNextPartida(String partidaId,String jugadorId){\n String consulta = \"SELECT p FROM Partida p WHERE p.id > \" + partidaId + \" AND p.jugador1.id = \"+ \"'\" + jugadorId +\"' OR p.jugador2 = \"+ \"'\" + jugadorId+\"' ORDER BY p.id ASC\";\n\n List<Partida> partida = em.createQuery(consulta, Partida.class).getResultList();\n\n return partida;\n }",
"private static void eleccionJugadores() throws ListaVaciaException{\n\t\tif(jugadores.sizeJugadores()>=2){//la lista de jugadores debe ser superior a 1 para poder añadirlos a la lista de participantes\n\t\t\tdo{\n\t\t\t\t\n\t\t\t\tSystem.out.println(jugadores.toString()+\"\\n\"+\"---MAS DE 1 JUGADOR---\");\n\t\t\t\t\ttry {\n\t\t\t\t\t\tjugadorAJugar(Teclado.leerCadena(\"Nombre:\"));//nombre de los jugadores que jugaran en la partida\n\t\t\t\t\t} catch (NombreNoValidoException | JugadorYaExisteException | JugadorNoExisteException e) {\n\t\t\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t}while(DeseaContinuar.deseaContinuar(\"¿Otro Jugador?(s/n)\") || jugadores.sizeJugadores()<2);\n\t\t}else\n\t\t\tthrow new ListaVaciaException(\"La lista debe contener > 1 jugadores\");\n\t}",
"public static List<Punto> getPuntos(){\n\t\t\n\t\tList<Punto> puntos = new ArrayList<Punto>();\n\t\ttry{\n\n\t\t\t//-12.045916, -75.195270\n\t\t\t\n\t\t\tPunto p1 = new Punto(1,-12.037512,-75.183327,0.0);\n\t\t\tp1.setDatos(getDatos(\"16/06/2017 09:00:00\", 2 , 1));\n\t\t\t\n\t\t\tPunto p2 = new Punto(2,-12.041961,-75.184786,0.0);\n\t\t\tp2.setDatos(getDatos(\"16/06/2017 09:00:00\",1 , 2));\n\t\t\t\n\t\t\tPunto p3 = new Punto(3,-12.0381,-75.1841,0.0);\n\t\t\tp3.setDatos(getDatos(\"16/06/2017 09:00:00\",2 , 2));\n\t\t\t\n\t\t\tPunto p4 = new Punto(4,-12.041542,-75.185816,0.0);\n\t\t\tp4.setDatos(getDatos(\"16/06/2017 11:00:00\",0 , 0));\n\t\t\t\n\t\t\tPunto p5 = new Punto(5,-12.037764,-75.181096,0.0);\n\t\t\tp5.setDatos(getDatos(\"16/06/2017 11:15:00\",0 , 0));\n\t\t\t\n\t\t\tPunto p6 = new Punto(6,-12.042801,-75.190108,0.0);\n\t\t\tp6.setDatos(getDatos(\"16/06/2017 11:00:00\",0 , 0));\n\t\t\t\n\t\t\tPunto p7 = new Punto(7,-12.04364,-75.184014,0.0);\n\t\t\tp7.setDatos(getDatos(\"16/06/2017 11:00:00\",0 , 0));\n\t\t\t\n\t\t\tPunto p8 = new Punto(8,-12.045739,-75.185387,0.0);\n\t\t\tp8.setDatos(getDatos(\"16/06/2017 11:30:00\",0 , 0));\n\t\t\t\n\t\t\tPunto p9 = new Punto(9,-12.04683,-75.187361,0.0);\n\t\t\tp9.setDatos(getDatos(\"16/06/2017 11:50:00\",0 , 0));\n\t\t\t\n\t\t\tPunto p10 = new Punto(10,-12.050775,-75.187962,0.0);\n\t\t\tp10.setDatos(getDatos(\"16/06/2017 12:30:00\",0 , 0));\n\t\t\t\n\t\t\tPunto p11 = new Punto(11,-12.053797,-75.184271,0.0);\n\t\t\tp11.setDatos(getDatos(\"16/06/2017 13:00:00\",0 , 0));\n\t\t\t\n\t\t\tpuntos.add(p8);\n\t\t\tpuntos.add(p9);\n\t\t\tpuntos.add(p3);\n\t\t\tpuntos.add(p4);\n\t\t\tpuntos.add(p5);\n\t\t\tpuntos.add(p6);\n\t\t\tpuntos.add(p7);\n\t\t\tpuntos.add(p10);\n\t\t\tpuntos.add(p1);\n\t\t\tpuntos.add(p2);\n\t\t\tpuntos.add(p11);\n\t\t\t\n\t\t\t\n\t\t}catch(Exception e ){\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t\t\n\t\t}\n\t\t\n\t\treturn puntos;\n\t\n\t}",
"public String[] listadoJugadoresEnMesa() {\n\n\t\tString[] listado = new String[this.jugadoresEnMesa.size()];\n\n\t\tfor (int i = 0; i < this.jugadoresEnMesa.size(); i++)\n\t\t\tlistado[i] = String.format(\"%d - %s\", (i + 1), this.jugadoresEnMesa.get(i).info());\n\n\t\treturn listado;\n\t}",
"public ListaPartidas recuperarPartidas() throws SQLException {\n ListaPartidas listaPartidas = null;\n try {\n getConexion();\n String consulta = \"SELECT MANOS.id_mano, CARTAS.valor, CARTAS.palo, JUGADORES.nombre, PARTIDAS.id_partida \" +\n \"FROM MANOS \" +\n \"LEFT JOIN PARTIDAS ON PARTIDAS.id_mano = MANOS.id_mano \" +\n \"LEFT JOIN CARTAS ON CARTAS.id_carta = MANOS.id_carta \" +\n \"LEFT JOIN JUGADORES ON JUGADORES.id_jug = PARTIDAS.id_jug \" +\n \"ORDER BY PARTIDAS.id_mano\";\n Statement statement = conexion.createStatement();\n ResultSet registros = statement.executeQuery(consulta);\n // Compruebo que se han devuelto datos\n if (registros.next()) {\n // Inicializo el contenedor que se devolverá\n listaPartidas = new ListaPartidas();\n // Declaro e inicializo los objetos que servirán de buffer para añadir datos a cada partida\n LinkedList<Jugador> listaJugadores = new LinkedList<Jugador>();\n LinkedList<Mano> resultado = new LinkedList<Mano>();\n Mano mano = new Mano();\n // Variable que sirve para controlar cuando hay una nueva partida\n int numPartida = registros.getInt(\"PARTIDAS.id_partida\");\n // Variable que sirve para controlar cuando hay una nueva mano\n int numMano = registros.getInt(\"MANOS.id_mano\");\n // Devuelvo el cursor del ResultSet a su posición inicial\n registros.beforeFirst();\n // Bucle encargado de añadir datos a los contenedores\n while (registros.next()) {\n // Declaración de variables\n String palo = registros.getString(\"CARTAS.palo\");\n String valor = registros.getString(\"CARTAS.valor\");\n String nombre = registros.getString(\"JUGADORES.nombre\");\n // Se crea una carta con el palo y el valor devuelto por la consulta SQL\n Carta carta = new Carta(palo, valor);\n // Agrego la carta a la mano\n mano.agregarCarta(carta);\n // Agrego jugadores al contenedor de jugadores controlando si hay duplicados\n if (!listaJugadores.contains(nombre) || listaJugadores.isEmpty()) {\n Jugador jugador = new Jugador(nombre);\n listaJugadores.add(jugador);\n }\n // Cuando hay una nueva mano, la añado al contenedor resultados y creo una nueva Mano\n if (numMano != registros.getInt(\"MANOS.id_mano\") || registros.isLast()) {\n numMano = registros.getInt(\"MANOS.id_mano\");\n mano.setPropietario(nombre);\n resultado.add(mano);\n mano = new Mano();\n }\n // Cuando hay una nueva partida, guardo un objeto Partida en el contenedor de partidas\n if (numPartida != registros.getInt(\"PARTIDAS.id_partida\") || registros.isLast()) {\n numPartida = registros.getInt(\"PARTIDAS.id_partida\");\n Partida partida = new Partida(numPartida, listaJugadores, resultado);\n listaPartidas.agregarPartida(partida);\n // Reinicio los buffers de datos\n listaJugadores = new LinkedList<Jugador>();\n resultado = new LinkedList<Mano>();\n }\n }\n }\n } finally {\n closeConexion();\n }\n return listaPartidas;\n }",
"public void repartirGanancias() {\n\t\t \n\t\t System.out.println(\"JUGADORES EN GANANCIAS:\");\n\t\t for(int i = 0; i < idJugadores.length;i++) {\n\t\t\t System.out.println(\"idJugador [\"+i+\"] : \"+idJugadores[i]);\n\t\t }\n\t\t System.out.println(\"GANADORES EN GANANCIA\");\n\t\t for(int i = 0; i < ganador.size();i++) {\n\t\t\t System.out.println(\"Ganador [\"+i+\"] : \"+ganador.get(i));\n\t\t }\n\t\t if(ganador.size() >= 1) {\n\t\t\t for(int i = 0; i < idJugadores.length; i++) {\n\n\t\t\t\t if(contieneJugador(ganador, idJugadores[i])) {\n\t\t\t\t\t System.out.println(\"Entra ganador \"+idJugadores[i]);\n\t\t\t\t\t if(verificarJugadaBJ(manosJugadores.get(i))) {\n\t\t\t\t\t\t System.out.println(\"Pareja nombre agregado: \"+idJugadores[i]);\n\t\t\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(idJugadores[i],25));\n\t\t\t\t\t }else {\n\t\t\t\t\t\t System.out.println(\"Pareja nombre agregado --> \"+idJugadores[i]);\n\t\t\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(idJugadores[i],20));\n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t } \n\t\t }else {\n\t\t\t System.out.println(\"no ganó nadie\");\n\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"null\",0));\n\t\t }\n\t }",
"private static void eligeJugadores() {\r\n\t\tint eleccion;\r\n\t\tdo {\r\n\t\t\tSystem.out.print(\"Elige el numero de jugadores [2,6]: \");\r\n\t\t\teleccion = Teclado.leerInt();\r\n\t\t} while (eleccion < 2 || eleccion > 6);\r\n\t\tnJugadores = eleccion;\r\n\t\tjugadores = new JugadorM[nJugadores];\r\n\t\tjugadores[0] = new JugadorM(\"Jugador\", true);\r\n\t\tfor (int i = 1; i < jugadores.length; i++)\r\n\t\t\tjugadores[i] = new JugadorM(\"Maquina\" + i, false);\r\n\t}",
"public ListaJugadores recuperarJugadores() throws SQLException {\n ListaJugadores listaJugadores = null;\n try {\n getConexion();\n String consulta = \"SELECT nombre FROM JUGADORES\";\n Statement statement = conexion.createStatement();\n ResultSet registros = statement.executeQuery(consulta);\n while (registros.next()) {\n String nombre = registros.getString(\"nombre\");\n Jugador jugador = new Jugador(nombre);\n listaJugadores.agregarJugador(jugador);\n }\n } finally {\n closeConexion();\n }\n return listaJugadores;\n }",
"public void adicionaNaPrisao(Jogador jogador) {\n print(\"\\tA prisao tinha \" + listaJogadoresNaPrisao);\n listaJogadoresNaPrisao.add(listaJogadores.get(jogadorAtual()).getNome());\n\n print(\"\\tmas chegou prisioneiro e prisao agora tem \" + listaJogadoresNaPrisao);\n }",
"List<Spprim> exportPrimesMoisToPaie(List<VentilPrime> ventilPrimeOrderedByDateAsc);",
"public static List<Parte> listarPartes(){\n List <Parte> partes=new ArrayList<>();\n Conexion.conectar();\n String sql = \"call ppartes.partesList (?)\";\n \n try {\n CallableStatement cs = Conexion.getConexion().prepareCall(sql);\n cs.registerOutParameter(1, OracleTypes.CURSOR);\n cs.execute();\n \n ResultSet rs = (ResultSet) cs.getObject(1);\n while (rs.next()){\n Parte p = new Parte();\n p.setFecha(rs.getString(\"fecha\"));\n p.setKmInicial(rs.getBigDecimal(\"kmInicial\"));\n p.setKmFinal(rs.getBigDecimal(\"kmFinal\"));\n p.setGastoPeaje(rs.getBigDecimal(\"gastosPeaje\")); \n p.setGastoDietas(rs.getBigDecimal(\"gastosDietas\"));\n p.setGastoCombustible(rs.getBigDecimal(\"gastosCombustible\"));\n p.setGastoVarios(rs.getBigDecimal(\"otrosGastos\"));\n p.setIncidencias(rs.getString(\"incidencias\"));\n p.setEstado(rs.getString(\"estado\"));\n p.setValidado(rs.getString(\"validado\"));\n p.setHorasExtras(rs.getBigDecimal(\"horasExtras\"));\n p.setIdTrabajador(rs.getBigDecimal(\"TRABAJADORES_ID\"));\n p.setNotasAdministrativas(rs.getString(\"notasAdministrativas\"));\n partes.add(p);\n }\n \n rs.close();\n cs.close();\n Conexion.desconectar();\n return partes;\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"No se puede efectuar la conexión, hable con el administrador del sistema\" + ex.getMessage());\n }\n return null;\n }",
"public List<Propriedade> getPropriedadesDoJogador() {\r\n return propriedadesDoJogador;\r\n }",
"public static List<Parte> partesTFA(){\n List <Parte> partes=new ArrayList<>();\n Conexion.conectar();\n String sql = \"call ppartes.partesTA (?)\";\n \n try {\n CallableStatement cs = Conexion.getConexion().prepareCall(sql);\n \n \n \n cs.registerOutParameter(1, OracleTypes.CURSOR);\n cs.execute();\n \n ResultSet rs = (ResultSet) cs.getObject(1);\n while (rs.next()){\n Parte p = new Parte();\n p.setFecha(rs.getString(\"fecha\"));\n p.setKmInicial(rs.getBigDecimal(\"kmInicial\"));\n p.setKmFinal(rs.getBigDecimal(\"kmFinal\"));\n p.setGastoPeaje(rs.getBigDecimal(\"gastosPeaje\")); \n p.setGastoDietas(rs.getBigDecimal(\"gastosDietas\"));\n p.setGastoCombustible(rs.getBigDecimal(\"gastosCombustible\"));\n p.setGastoVarios(rs.getBigDecimal(\"otrosGastos\"));\n p.setIncidencias(rs.getString(\"incidencias\"));\n p.setEstado(rs.getString(\"estado\"));\n p.setValidado(rs.getString(\"validado\"));\n p.setHorasExtras(rs.getBigDecimal(\"horasExtras\"));\n p.setIdTrabajador(rs.getBigDecimal(\"TRABAJADORES_ID\"));\n p.setNotasAdministrativas(rs.getString(\"notasAdministrativas\"));\n partes.add(p);\n }\n \n rs.close();\n cs.close();\n Conexion.desconectar();\n return partes;\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"No se puede efectuar la conexión, hable con el administrador del sistema\" + ex.getMessage());\n }\n return null;\n }",
"private void cargarJugadoresRetirados() {\n\n\t\tString nombreFichero = \"jugadoresRetirados.csv\";\n\n\t\tListaJugadores.jugadoresRetirados = GestionCSV.obtenerJugadores(nombreFichero);\n\n\t}",
"public ArrayList<Proceso> procesosPoliticaEnvejecimiento() {\n\t\tArrayList<Proceso> procesosPE = new ArrayList<Proceso>();\n\t\tProceso aux = this.raiz.sig;\n\t\twhile (aux != this.raiz) {\n\t\t\tint tiempoEnCola = this.tiempo - aux.tllegada + 1;\n\t\t\tif (tiempoEnCola >= this.tiempoPE) {\n\t\t\t\tProceso auxp = aux.padre;\n\t\t\t\tauxp.sig = aux.sig;\n\t\t\t\taux.sig.padre = auxp;\n\t\t\t\taux.padre = null;\n\t\t\t\tprocesosPE.add(aux);\n\t\t\t}\n\n\t\t\taux = aux.sig;\n\t\t}\n\t\tif (procesosPE.isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn procesosPE;\n\t}",
"public static void tablaPuntos(Mano[] jug){\n StringBuilder toret= new StringBuilder();\n for (int i = 0; i < jug.length; i++) {\n toret.append(jug[i].getNombre());\n toret.append(\": \\n\");\n toret.append(jug[i]);\n toret.append(\"\\nPuntos: \");\n toret.append(jug[i].getPuntuacion());\n toret.append(\"\\n\");\n }\n System.out.println(toret.toString());\n }",
"public List<Joueur> sortDivination(long partieId, long joueurId) {\n return daoJ.listerAdversaires(joueurId, partieId);\r\n\r\n //return res;\r\n }",
"private static void statistique(){\n\t\tfor(int i = 0; i<7; i++){\n\t\t\tfor(int j = 0; j<7; j++){\n\t\t\t\tfor(int l=0; l<jeu.getJoueurs().length; l++){\n\t\t\t\t\tif(jeu.cases[i][j].getCouleurTapis() == jeu.getJoueurs()[l].getNumJoueur()){\n\t\t\t\t\t\tjeu.getJoueurs()[l].setTapis(jeu.getJoueurs()[l].getTapisRest()+1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tJoueur j;\n\t\tSystem.out.println(\"// Fin de la partie //\");\n\t\tfor(int i=0; i<jeu.getJoueurs().length; i++) {\n\t\t\tj =jeu.getJoueurs()[i];\n\t\t\tSystem.out.println(\"Joueur \"+ (j.getNumJoueur()+1) + \" a obtenue \"+j.getTapisRest()+j.getMonnaie()+\" points\" );\n\t\t}\n\t}",
"public static List<Parte> partesTFC(){\n List <Parte> partes=new ArrayList<>();\n Conexion.conectar();\n String sql = \"call ppartes.partesTC (?)\";\n \n try {\n CallableStatement cs = Conexion.getConexion().prepareCall(sql);\n \n \n \n cs.registerOutParameter(1, OracleTypes.CURSOR);\n cs.execute();\n \n ResultSet rs = (ResultSet) cs.getObject(1);\n while (rs.next()){\n Parte p = new Parte();\n p.setFecha(rs.getString(\"fecha\"));\n p.setKmInicial(rs.getBigDecimal(\"kmInicial\"));\n p.setKmFinal(rs.getBigDecimal(\"kmFinal\"));\n p.setGastoPeaje(rs.getBigDecimal(\"gastosPeaje\")); \n p.setGastoDietas(rs.getBigDecimal(\"gastosDietas\"));\n p.setGastoCombustible(rs.getBigDecimal(\"gastosCombustible\"));\n p.setGastoVarios(rs.getBigDecimal(\"otrosGastos\"));\n p.setIncidencias(rs.getString(\"incidencias\"));\n p.setEstado(rs.getString(\"estado\"));\n p.setValidado(rs.getString(\"validado\"));\n p.setHorasExtras(rs.getBigDecimal(\"horasExtras\"));\n p.setIdTrabajador(rs.getBigDecimal(\"TRABAJADORES_ID\"));\n p.setNotasAdministrativas(rs.getString(\"notasAdministrativas\"));\n partes.add(p);\n }\n \n rs.close();\n cs.close();\n Conexion.desconectar();\n return partes;\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"No se puede efectuar la conexión, hable con el administrador del sistema\" + ex.getMessage());\n }\n return null;\n }",
"Partida(Jugador jugador1, Jugador jugador2, Baraja baraja) {\n\t\tthis.jugador1 = jugador1;\n\t\tthis.jugador2 = jugador2;\n\t\tthis.baraja = baraja;\n\t}",
"public Puntaje getPuntaje() \r\n {\r\n return puntaje;\r\n }",
"List<Sppprm> exportPrimesJourToPaie(List<Pointage> pointagesOrderedByDateAsc);",
"private static void operacionesJugar() {\r\n\t\tjuego.actualizarJugadores(respuesta);\r\n\t\tJugadorM[] ganadores;\r\n\t\ttry {\r\n\t\t\tint before = juego.getNJugadoresActivos();\r\n\t\t\tganadores = juego.finalizarRonda();\r\n\t\t\tif (ganadores.length == 0) {\r\n\t\t\t\tescribirRonda(false);\r\n\t\t\t\tmostrarEmpateRonda();\r\n\t\t\t} else if (ganadores.length == before) {\r\n\t\t\t\tescribirRonda(false);\r\n\t\t\t\tmostrarEmpateRonda();\r\n\t\t\t} else if (ganadores.length == 1) {\r\n\t\t\t\tescribirRonda(true);\r\n\t\t\t\tFINhayGanador(ganadores[0]);\r\n\t\t\t\tjuego.nextRonda();\r\n\t\t\t} else {\r\n\t\t\t\tmostrarGanadoresRonda(ganadores);\r\n\t\t\t\tescribirRonda(true);\r\n\t\t\t\tjuego.nextRonda();\r\n\t\t\t}\r\n\t\t} catch (AllRondasCompleteException e) {\r\n\t\t\tFINtotalRondasAlcanzadas(e);\r\n\t\t}\r\n\t}",
"@Override\n\tpublic void crearNuevaPoblacion() {\n\t\t/* Nos quedamos con los mejores individuos. Del resto, cruzamos la mitad, los mejores,\n\t\t * y el resto los borramos.*/\n\t\tList<IIndividuo> poblacion2 = new ArrayList<>();\n\t\tint numFijos = (int) (poblacion.size()/2);\n\t\t/* Incluimos el 50%, los mejores */\n\t\tpoblacion2.addAll(this.poblacion.subList(0, numFijos));\n\t\t\n\t\t/* De los mejores, mezclamos la primera mitad \n\t\t * con todos, juntandolos de forma aleatoria */\n\t\tList<IIndividuo> temp = poblacion.subList(0, numFijos+1);\n\t\tfor(int i = 0; i < temp.size()/2; i++) {\n\t\t\tint j;\n\t\t\tdo {\n\t\t\t\tj = Individuo.aleatNum(0, temp.size()-1);\n\t\t\t}while(j != i);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tpoblacion2.addAll(cruce(temp.get(i), temp.get(j)));\n\t\t\t} catch (CruceNuloException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//this.poblacion.clear();\n\t\tthis.poblacion = poblacion2;\n\t}",
"public List<Propriedade> getListaDePropriedadesComMonopolio(){\r\n List<Propriedade> proComMonopolio = new ArrayList<>();\r\n for(Propriedade pro: this.propriedadesDoJogador){\r\n for(String cor: this.monopolioNoGrupoDeCor){\r\n if(pro.getCor().equals(cor)){\r\n proComMonopolio.add(pro);\r\n break;\r\n }\r\n }\r\n }\r\n \r\n return proComMonopolio;\r\n }",
"public void initTempsPassage() {\r\n\t\tlong dureeTotale = heureDepart.getTime();\r\n\t\ttempsPassage = new Date[getItineraire().size()][2];\r\n\r\n\t\tfor (int i = 0; i < getItineraire().size(); i++) {\r\n\t\t\tfor (int j = 0; j < getItineraire().get(i).getTroncons().size(); j++) {\r\n\t\t\t\tdureeTotale += getItineraire().get(i).getTroncons().get(j).getLongueur() * 1000 / VITESSE;// Duree\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// des\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// trajets\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// en\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// seconde\r\n\r\n\t\t\t}\r\n\t\t\tif (i < listeLivraisons.size()) {\r\n\t\t\t\tif (listeLivraisons.get(i).getDebutPlageHoraire() != null\r\n\t\t\t\t\t\t&& listeLivraisons.get(i).getDebutPlageHoraire().getTime() > dureeTotale) {\r\n\t\t\t\t\ttempsPassage[i][0] = new Date(dureeTotale);\r\n\t\t\t\t\ttempsPassage[i][1] = new Date(listeLivraisons.get(i).getDebutPlageHoraire().getTime());\r\n\t\t\t\t\tdureeTotale = listeLivraisons.get(i).getDebutPlageHoraire().getTime();\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttempsPassage[i][0] = new Date(dureeTotale);\r\n\t\t\t\t}\r\n\t\t\t\tdureeTotale += listeLivraisons.get(i).getDuree() * 1000; // duree\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// de\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// livraison\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// en\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// ms\r\n\t\t\t} else {\r\n\t\t\t\ttempsPassage[i][0] = new Date(dureeTotale);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\theureArrivee = new Date(dureeTotale);\r\n\t}",
"public HashSet<Usuario> getRegistrosPendientesDeAprobacion(){\r\n\t\t\r\n\t\tif(!this.modoAdmin) return null;\r\n\t\t\r\n\t\tUsuario u;\r\n\t\tHashSet<Usuario> pendientes = new HashSet<Usuario>();\r\n\t\tfor(Proponente p: this.proponentes) {\r\n\t\t\tif( p.getClass().getSimpleName().equals(\"Usuario\")) {\r\n\t\t\t\tu = (Usuario)p;\r\n\t\t\t\tif(u.getEstado()== EstadoUsuario.PENDIENTE) {\r\n\t\t\t\t\tpendientes.add(u);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn pendientes;\r\n\t}",
"private void makeStat(int nbrParties){\n\t\tint indexTemps=0;//position à laquelle ajouter un temps de partie dans le tableaux tempsPartie\n\t\twhile(nbrParties >0){//tant qu'il reste des parties à faire\n\n\t\t\tboolean gagne=false;\n\t\t\tPlayer joueurAjouer=null;\n\t\t\tlong beforeTime=System.currentTimeMillis();\n\t\t\twhile(!gagne){//tant qu'aucun joueur n'a gagné on joue\n\t\t\t\tjoueurAjouer=jeu.whichPlayer();\n\t\t\t\t\n\t\t\t\tint value=joueurAjouer.play(jeu.getGameboard(),joueurs, null, null);\n\t\t\t\tgagne=jeu.win(joueurAjouer);\n\t\t\t\t\n\t\t\t\twhile(gagne==false &&value!=GameBoard.OK){\n\t\t\t\t\tvalue=joueurAjouer.play(jeu.getGameboard(),joueurs, null, null);\n\t\t\t\t\tgagne=jeu.win(joueurAjouer);\n\t\t\t\t\t\n\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\n\t\t\tlong afterTime=System.currentTimeMillis();\n\t\t\ttempsPartie[indexTemps]=afterTime-beforeTime;\n\t\t\tindexTemps++;\n\t\t\t\n\t\t\tif(joueurAjouer==joueur1){\n\t\t\t\tif(joueur1.getNbrJoueur()==1){// signifie que c'est lui qui a commence la partie\n\t\t\t\t\tstatJ1[0]+=1;//on incremente le nombre de parties gagnées en tant que J1\n\t\t\t\t}else{\n\t\t\t\t\tstatJ1[1]+=1;//on incremente le nombre de parties gagnées en tant que J2\n\t\t\t\t}\n\t\t\t\tstatJ1[2]+=1;// on incremente le nombre de parties totales\n\t\t\t}\n\t\t\t\n\t\t\tif(joueurAjouer==joueur2){\n\t\t\t\tif(joueur2.getNbrJoueur()==1){// signifie que c'est lui qui a commence la partie\n\t\t\t\t\tstatJ2[0]+=1;//on incremente le nombre de parties gagnées en tant que J1\n\t\t\t\t}else{\n\t\t\t\t\tstatJ2[1]+=1;//on incremente le nombre de parties gagnées en tant que J2\n\t\t\t\t}\n\t\t\t\tstatJ2[2]+=1;// on incremente le nombre de parties totales\n\t\t\t}\n\t\t\t\n\t\t\tstatJ1[3]+=Player.getNbrMurDepart()-joueur1.getNombreMur();\n\t\t\tstatJ1[4]+=joueur1.getNbrDeplacement();\n\t\t\t\n\t\t\tstatJ2[3]+=Player.getNbrMurDepart()-joueur2.getNombreMur();\n\t\t\tstatJ2[4]+=joueur2.getNbrDeplacement();\n\t\t\tresetGame();\n\t\t\tnbrParties--;\n\t\t}\n\t\tstatJ1[5]+=statJ1[3]+statJ1[4];\n\t\tstatJ2[5]+=statJ2[3]+statJ2[4];\n\t}",
"public void repartirGananciasDealer() {\n\t\t if(contieneJugador(ganador,\"dealer\")) {\n\t\t\t if(verificarJugadaBJ(manosJugadores.get(3))) {\n\t\t\t\t System.out.println(\"Pareja nombre agregado dealer\");\n\t\t\t\t int cantidadGanancia = verificarCantidadGanadores() + 15;\n\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"dealer\", cantidadGanancia));\n\t\t\t }else {\n\t\t\t\t System.out.println(\"Pareja nombre agregado --> dealer\");\n\t\t\t\t int cantidadGanancia = verificarCantidadGanadores()+10;\n\t\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"dealer\",cantidadGanancia));\n\t\t\t }\n\t\t }else {\n\t\t\t int cantidadGanancia = verificarCantidadGanadores();\n\t\t\t parejaNombreGanancia.add(new Pair<String, Integer>(\"dealer\",cantidadGanancia));\n\t\t }\n\t\t \n\t }",
"public List<Perguntas> getPerguntas(String servico) {\r\n String idSolicitacao = \"\";\r\n List<Perguntas> perguntas = new ArrayList<>();\r\n\r\n String sql = \"Select\\n\"\r\n + \" perguntas.Id_Perguntas,\\n\"\r\n + \" perguntas.pergunta,\\n\"\r\n + \" perguntas.Servico_id_servico,\\n\"\r\n + \" solicitacoes.id_solicitacao\\n\"\r\n + \"FROM \\n\"\r\n + \"\tpid \\n\"\r\n + \"\\n\"\r\n + \"INNER JOIN solicitacoes on (pid.cod_pid= solicitacoes.PID_cod_pid)\\n\"\r\n + \" INNER JOIN servico on\t(solicitacoes.Servico_id_servico=servico.id_servico)\\n\"\r\n + \" INNER JOIN perguntas on \t(servico.id_servico=perguntas.Servico_id_servico)\\n\"\r\n + \" WHERE solicitacoes.em_chamado = 3 and servico.id_servico = \" + servico + \";\";\r\n\r\n stmt = null;\r\n rs = null;\r\n\r\n try {\r\n stmt = conn.createStatement();\r\n rs = stmt.executeQuery(sql);\r\n while (rs.next()) {\r\n Perguntas p = new Perguntas();\r\n\r\n p.setIdPerguntas(rs.getInt(1));\r\n p.setIdServico(rs.getInt(3));\r\n p.setPergunta(rs.getString(2));\r\n idSolicitacao = rs.getString(4);\r\n perguntas.add(p);\r\n }\r\n mudaStatus(idSolicitacao);\r\n\r\n return perguntas;\r\n\r\n } catch (SQLException | ArrayIndexOutOfBoundsException ex) {\r\n Logger.getLogger(SimpleQueries.class\r\n .getName()).log(Level.SEVERE, null, ex);\r\n }\r\n\r\n return perguntas;\r\n }",
"public ArrayList<Jugador> getJugadores() \n\t{\n\t\treturn jugadores;\n\t}",
"public int puntoUno() {\n int contador = 0;\n for (int i = 0; i < jugadores.length; i++) {\n if (jugadores[i] != null && jugadores[i].getCantPartidosJugados() > 10) {\n contador++;\n }\n }\n return contador;\n }",
"public List<Poliza> generarPoliza(final Periodo p){\r\n\t\tList<Poliza> polizas=new ArrayList<Poliza>();\r\n\t\tfor(Date dia:p.getListaDeDias()){\r\n\t\t\ttry {\r\n\t\t\t\tPoliza res=generarPoliza(dia);\r\n\t\t\t\tpolizas.add(res);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tlogger.error(\"No genero la poliza para el dia: \"+dia+ \" \\nMsg: \"+ExceptionUtils.getRootCauseMessage(e)\r\n\t\t\t\t\t\t,e);\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn polizas;\r\n\t}",
"@Override\n //Metodo para retornar una lista de los equipos que avanzan\n public List<Equipo> getEquiposQueAvanzan(){\n List<Equipo> equipos = new ArrayList<>();\n //Recorremos la lista de partidos de la etapa mundial\n for (Partido partidito : getPartidos()){\n /*Si en el partido que estamos parados gano el local, agregamos ese equipo\n local a la lista de equipos*/\n if (partidito.getResultado().ganoLocal()){\n equipos.add(partidito.getLocal());\n }\n /*Si NO gano el local, agregamos el equipo visitante a la lista de equipos*/\n if (!partidito.getResultado().ganoLocal()){\n equipos.add(partidito.getVisitante());\n }\n }\n //Retornamos la nueva lista con los equipos que avanzan\n return equipos;\n }",
"public Jugador obtenerJugador();",
"public static List<Parte> partesTFF(String fechaIni, String fechaFin){\n List <Parte> partes=new ArrayList<>();\n Conexion.conectar();\n String sql = \"call ppartes.partesTFF (?,?,?)\";\n \n try {\n CallableStatement cs = Conexion.getConexion().prepareCall(sql);\n \n cs.setString(1, fechaIni);\n cs.setString(2, fechaFin);\n cs.registerOutParameter(3, OracleTypes.CURSOR);\n cs.execute();\n \n ResultSet rs = (ResultSet) cs.getObject(3);\n while (rs.next()){\n Parte p = new Parte();\n p.setFecha(rs.getString(\"fecha\"));\n p.setKmInicial(rs.getBigDecimal(\"kmInicial\"));\n p.setKmFinal(rs.getBigDecimal(\"kmFinal\"));\n p.setGastoPeaje(rs.getBigDecimal(\"gastosPeaje\")); \n p.setGastoDietas(rs.getBigDecimal(\"gastosDietas\"));\n p.setGastoCombustible(rs.getBigDecimal(\"gastosCombustible\"));\n p.setGastoVarios(rs.getBigDecimal(\"otrosGastos\"));\n p.setIncidencias(rs.getString(\"incidencias\"));\n p.setEstado(rs.getString(\"estado\"));\n p.setValidado(rs.getString(\"validado\"));\n p.setHorasExtras(rs.getBigDecimal(\"horasExtras\"));\n p.setIdTrabajador(rs.getBigDecimal(\"TRABAJADORES_ID\"));\n p.setNotasAdministrativas(rs.getString(\"notasAdministrativas\"));\n partes.add(p);\n }\n \n rs.close();\n cs.close();\n Conexion.desconectar();\n return partes;\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"No se puede efectuar la conexión, hable con el administrador del sistema\" + ex.getMessage());\n }\n return null;\n }",
"private void cargarJugadoresEnMesa() {\n\n\t\tString nombreFichero = String.format(\"jugadoresEnMesa%d.csv\", id);\n\n\t\tthis.jugadoresEnMesa = GestionCSV.obtenerJugadores(nombreFichero);\n\n\t}",
"public void cadastrar(Jogo j, EstatisticasGenero g, EstatisticasPlataforma p) {\n\t\tboolean plataforma = plataforma();\n\t\tif(validar() == true)\n\t\t\tif(plataforma == true) {\n\t\t\t\tDados.arrayJogos.add(j);\n\t\t\t\tcadastrarEstatisticaGenero(g.getGeneroJogo());\n\t\t\t\tcadastrarEstatisticaPlataforma(p.getPlataformaJogo());\n\t\t\t}\n\t}",
"public static void asignarPunteo(int puntos, String nombreJugador) {\n for (int sizeNombres = 0; sizeNombres < nombres.length - 1; sizeNombres++) {\n if ((nombreJugador.equals(nombres[sizeNombres])) && (puntos == 1)) {\n punteos[sizeNombres] += 1;\n break;\n }\n\n }\n\n }",
"public void sairdaPrisao(Jogador jogador) {\n print(\"\\tA prisao tinha \" + listaJogadoresNaPrisao);\n listaJogadoresNaPrisao.remove(jogador.getNome());\n\n print(\"\\tmas saiu prisioneiro e prisao agora tem \" + listaJogadoresNaPrisao);\n }",
"public String retirarJugador(Jugador jugadorParaRetirar) {\n\n\t\tboolean retirado = false;\n\n\t\tfor (int i = 0; !retirado && i < this.jugadoresEnMesa.size(); i++) {\n\t\t\tif (this.jugadoresEnMesa.get(i).getId() == jugadorParaRetirar.getId()) {\n\n\t\t\t\tListaJugadores.jugadoresRetirados.add(jugadorParaRetirar);\n\n\t\t\t\tthis.jugadoresEnMesa.remove(i);\n\t\t\t\ti--;\n\t\t\t\tretirado = true;\n\n\t\t\t}\n\t\t}\n\n\t\tString mensajeRetirada;\n\t\tif (retirado) {\n\t\t\tmensajeRetirada = \"%s ha sido retirado.%s\";\n\t\t\tif (jugadorParaRetirar.getCredito() < 0)\n\t\t\t\tEasterEgg.huevoDePascua(jugadorParaRetirar.getNombre());\n\n\t\t\telse {\n\n\t\t\t\tif (jugadorParaRetirar.getCredito() == 0)\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(),\n\t\t\t\t\t\t\t\" Se le ha agotado el crédito.\");\n\n\t\t\t\telse if (jugadorParaRetirar.getCredito() >= jugadorParaRetirar.getCreditoObjetivo())\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(),\n\t\t\t\t\t\t\t\" Ha alcanzado su crédito objetivo\");\n\n\t\t\t\telse if (jugadorParaRetirar.getRondas() >= jugadorParaRetirar.getRondasMaximas())\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(),\n\t\t\t\t\t\t\t\" Ha alcanzado sus rondas máximas\");\n\n\t\t\t\telse\n\t\t\t\t\tmensajeRetirada = String.format(mensajeRetirada, jugadorParaRetirar.getNombre(), \"\");\n\n\t\t\t}\n\n\t\t} else {\n\t\t\tmensajeRetirada = \"No se ha podido retirar al jugador.\";\n\t\t}\n\n\t\treturn mensajeRetirada;\n\n\t}",
"public void pagarSaidaDaPrisao() throws Exception {\n if (listaJogadoresNaPrisao.contains(listaJogadores.get(jogadorAtual()).getNome())) {\n listaJogadoresNaPrisao.remove(listaJogadores.get(jogadorAtual()).getNome());\n listaJogadores.get(jogadorAtual()).setTentativasSairDaPrisao(0);\n listaJogadores.get(jogadorAtual()).retirarDinheiro(50);\n\n } else {\n print(\"\\tTentou tirar \" + listaJogadores.get(jogadorAtual()).getNome());\n throw new Exception(\"player is not on jail\");\n }\n\n this.pagouPrisaoRecentemente = false;\n }",
"public List<Tb_Prod_Painel_PromoBeans> getProdPainel(Integer terminal, Integer painel) throws SQLException {\r\n try (Connection conexao = new ConexaoLocalDBMySql().getConnect()) {\r\n String sql = \"SELECT tb_prod_painel_promo.* FROM tb_prod_painel_promo \"\r\n + \" INNER JOIN tb_prod ON(tb_prod_painel_promo.codigo=tb_prod.codigo) where terminal=? and painel=? order by tb_prod_painel_promo.idtb_painel_promo\"; \r\n PreparedStatement pstm = conexao.prepareStatement(sql);\r\n pstm.setInt(1, terminal);\r\n pstm.setInt(2, painel);\r\n ResultSet rs = pstm.executeQuery();\r\n List<Tb_Prod_Painel_PromoBeans> lpb = new ArrayList<>();\r\n while (rs.next()) {\r\n Tb_Prod_Painel_PromoBeans pb = new Tb_Prod_Painel_PromoBeans();\r\n pb.setCodigo(rs.getString(\"codigo\"));\r\n pb.setDescricao(rs.getString(\"descricao\"));\r\n pb.setUnid(rs.getString(\"unid\"));\r\n pb.setValor1(rs.getFloat(\"valor1\"));\r\n pb.setValor2(rs.getFloat(\"valor2\"));\r\n pb.setOferta(rs.getBoolean(\"oferta\"));\r\n pb.setReceita(rs.getString(\"receita\")); \r\n pb.setTerminal(rs.getInt(\"terminal\"));\r\n pb.setPainel(rs.getInt(\"painel\"));\r\n lpb.add(pb);\r\n }\r\n rs.close();\r\n pstm.close();\r\n conexao.close();\r\n return lpb;\r\n }\r\n }",
"public List<Listas_de_las_Solicitudes> Mostrar_las_peticiones_que_han_llegado_al_Usuario_Administrador(int cedula) {\n\t\t//paso3: Obtener el listado de peticiones realizadas por el usuario\n\t\tEntityManagerFactory entitymanagerfactory = Persistence.createEntityManagerFactory(\"LeyTransparencia\");\n\t\tEntityManager entitymanager = entitymanagerfactory.createEntityManager();\n\t\tentitymanager.getEntityManagerFactory().getCache().evictAll();\n\t\tQuery consulta4=entitymanager.createQuery(\"SELECT g FROM Gestionador g WHERE g.cedulaGestionador =\"+cedula);\n\t\tGestionador Gestionador=(Gestionador) consulta4.getSingleResult();\n\t\t//paso4: Obtener por peticion la id, fecha y el estado\n\t\tList<Peticion> peticion=Gestionador.getEmpresa().getPeticions();\n\t\tList<Listas_de_las_Solicitudes> peticion2 = new ArrayList();\n\t\t//paso5: buscar el area de cada peticion\n\t\tfor(int i=0;i<peticion.size();i++){\n\t\t\tString almcena=\"\";\n\t\t\tString sarea=\"no posee\";\n\t\t\tBufferedReader in;\n\t\t\ttry{\n\t\t\t\tin = new BufferedReader(new InputStreamReader(new FileInputStream(\"C:/area/area\"+String.valueOf(peticion.get(i).getIdPeticion())+\".txt\"), \"utf-8\"));\n\t\t\t\ttry {\n\t\t\t\t\twhile((sarea=in.readLine())!=null){\n\t\t\t\t\t\tint s=0;\n\t\t\t\t\t\talmcena=sarea;\n\t\t\t\t\t}\n\t\t\t\t\tin.close();\n\t\t\t\t\tSystem.out.println(almcena);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\t//paso6: Mostrar un listado de peticiones observando el id, la fecha de realizacion de la peticion, hora de realizacion de la peticion, y el estado actual de la peticion\n\t\t\tListas_de_las_Solicitudes agregar=new Listas_de_las_Solicitudes();\n\t\t\tagregar.setId(String.valueOf(peticion.get(i).getIdPeticion()));\n\t\t\tagregar.setFechaPeticion(peticion.get(i).getFechaPeticion());\n\t\t\tagregar.setNombreestado(peticion.get(i).getEstado().getTipoEstado());\n\t\t\tagregar.setArea(almcena);\n\t\t\tpeticion2.add(agregar);\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(\"el usuario existe\");\n\t\treturn peticion2;\n\t\t//aun no se\n\t}",
"public List<JsonObject> notasDeVentas(){\n String nv[][]= pedidoMaterialRepository.buscarNotaVenta();\n List<JsonObject> js = new ArrayList<JsonObject>();\n \n for (int i=0;i<nv.length;i++){\n \n JsonObject jo = new JsonObject();\n jo.put(\"notaDeVenta\", nv[i][0]);\n jo.put(\"descripcion\", nv[i][1]);\n jo.put(\"cliente\", nv[i][2]);\n js.add(jo);\n }\n \n return js;\n }",
"public LinkedList<Puja> getListaPujas() {\n return new LinkedList<Puja> (ListaPujas);\n }",
"public List<JourOuvertureDto> getJourOuvertures() {\n return jourOuvertures;\n }",
"public ListaBrojeva izdvojElmenteNaParnimPozicijama() {\n if (prvi != null) {\n ListaBrojeva parni = new ListaBrojeva();\n \n Element tek = prvi;\n Element preth = null;\n Element parniKraj = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n \n if (br % 2 != 0) {\n preth.veza = tek.veza;\n if (parni.prvi == null) {\n parni.prvi = tek;\n parniKraj = tek;\n tek.veza = null; \n } else {\n parniKraj.veza = tek;\n tek.veza = null;\n parniKraj = parniKraj.veza;\n }\n tek = preth;\n }\n br++;\n }\n /*prvi element iz liste je paran, ali je preskocen, \n tako da ga sad izbacujemo iz liste i dodajemo u novu*/\n Element pom = prvi;\n prvi = prvi.veza;\n pom.veza = parni.prvi;\n parni.prvi = pom;\n return parni;\n }\n return null;\n }",
"public List<Tb_Prod_Painel_PromoBeans> getProdPainelTabelas(Integer terminal, String painel) throws SQLException {\r\n try (Connection conexao = new ConexaoLocalDBMySql().getConnect()) {\r\n String sql = \"SELECT tb_prod_painel_promo.* FROM tb_prod_painel_promo \"\r\n + \" INNER JOIN tb_prod ON(tb_prod_painel_promo.codigo=tb_prod.codigo) where terminal=? and painel in(\" + painel + \") order by tb_prod_painel_promo.idtb_painel_promo\"; \r\n PreparedStatement pstm = conexao.prepareStatement(sql);\r\n pstm.setInt(1, terminal); \r\n ResultSet rs = pstm.executeQuery();\r\n List<Tb_Prod_Painel_PromoBeans> lpb = new ArrayList<>(); \r\n while (rs.next()) {\r\n Tb_Prod_Painel_PromoBeans pb = new Tb_Prod_Painel_PromoBeans();\r\n pb.setCodigo(rs.getString(\"codigo\"));\r\n pb.setDescricao(rs.getString(\"descricao\"));\r\n pb.setUnid(rs.getString(\"unid\"));\r\n pb.setValor1(rs.getFloat(\"valor1\"));\r\n pb.setValor2(rs.getFloat(\"valor2\"));\r\n pb.setOferta(rs.getBoolean(\"oferta\"));\r\n pb.setReceita(rs.getString(\"receita\")); \r\n pb.setTerminal(rs.getInt(\"terminal\"));\r\n pb.setPainel(rs.getInt(\"painel\"));\r\n lpb.add(pb);\r\n }\r\n rs.close();\r\n pstm.close();\r\n conexao.close();\r\n return lpb;\r\n }\r\n }",
"public String recomendarProgramasPYP(){\n \n String text = \"\";\n \n for (int i = 0; i < EmpleadosPrioridadAlta.size(); i++) {\n //mayores de 70 años, con enfermedades preexistentes, pueden ser hombres\n text += \"Empleado: \"+EmpleadosPrioridadAlta.get(i).getNombre()+\"\\n\";\n text += \"PROGRAMAS DE PREVENCION Y PROMOCION RECOMENDADOS:\\n\"+\"-\"+programasPYP[1]+\"\\n\"+\"-\"+programasPYP[5]+\n \"\\n\"+\"-\"+programasPYP[6]+\"\\n--------------------------\\n\"; \n }\n \n for (int i = 0; i < EmpleadosPrioridadMediaAlta.size(); i++) {\n //entre 40 y 60, enfermedades preexistentes, pueden ser hombres.\n text += \"Empleado: \"+EmpleadosPrioridadMediaAlta.get(i).getNombre()+\"\\n\";\n \n if(EmpleadosPrioridadMediaAlta.get(i).getSexo().equals(\"hombre\")){\n text += \"PROGRAMAS DE PREVENCION Y PROMOCION RECOMENDADOS:\\n\"+\"-\"+programasPYP[1]+\n \"\\n\"+\"-\"+programasPYP[5]+\"\\n\"+\"-\"+programasPYP[6]+\"\\n--------------------------\\n\";\n }else{\n text += \"PROGRAMAS DE PREVENCION Y PROMOCION RECOMENDADOS:\\n\"+\"-\"+programasPYP[0]+\"\\n\"+\"-\"+programasPYP[1]+\n \"\\n\"+\"-\"+programasPYP[4]+\"\\n\"+\"-\"+programasPYP[5]+\"\\n\"+\"-\"+programasPYP[6]+\"\\n--------------------------\\n\";\n \n } \n }\n \n for (int i = 0; i < EmpleadosPrioridadMedia.size(); i++) {\n //personas con enfermedades preexistente entr 20 y 40\n text += \"Empleado: \"+EmpleadosPrioridadMedia.get(i).getNombre()+\"\\n\";\n if(EmpleadosPrioridadMedia.get(i).getSexo().equals(\"hombre\")){\n text += \"PROGRAMAS DE PREVENCION Y PROMOCION RECOMENDADOS:\\n\"+\"-\"+programasPYP[1]+\"\\n\"+\"-\"+programasPYP[3]+\"\\n\"+\"-\"+programasPYP[5]+\n \"\\n\"+\"-\"+programasPYP[6]+\"\\n--------------------------\\n\"; \n }else{\n text += \"PROGRAMAS DE PREVENCION Y PROMOCION RECOMENDADOS:\\n\"+\"-\"+programasPYP[0]+\"\\n\"+\"-\"+programasPYP[1]+\"\\n\"+\"-\"+programasPYP[2]+\n \"\\n\"+\"-\"+programasPYP[3]+\"\\n\"+\"-\"+programasPYP[5]+\"\\n\"+\"-\"+programasPYP[6]+\"\\n--------------------------\\n\"; \n }\n }\n \n for (int i = 0; i < EmpleadosPrioridadBaja.size(); i++) {\n //hombres o mujeres sanos.\n text += \"Empleado: \"+EmpleadosPrioridadBaja.get(i).getNombre()+\"\\n\";\n \n if(EmpleadosPrioridadBaja.get(i).getSexo().equals(\"hombre\")){\n text += \"PROGRAMAS DE PREVENCION Y PROMOCION RECOMENDADOS:\"+\"\\n\"+\"-\"+programasPYP[1]+\n \"\\n\"+\"-\"+programasPYP[3]+\"\\n\"+\"-\"+programasPYP[5]+\"\\n\"+\"-\"+programasPYP[6]+\"\\n--------------------------\\n\";\n }else{\n text += \"PROGRAMAS DE PREVENCION Y PROMOCION RECOMENDADOS:\"+\"\\n\"+\"-\"+programasPYP[0]+\"\\n\"+\"-\"+programasPYP[1]+\n \"\\n\"+\"-\"+programasPYP[2]+\"\\n\"+\"-\"+programasPYP[3]+\"\\n\"+\"-\"+programasPYP[5]+\"\\n\"+\"-\"+programasPYP[6]+\"\\n--------------------------\\n\";\n \n }\n }\n return text;\n }",
"public Jugador ganador(){\n return partida.ganador();\n }",
"public String darPista() {\r\n\t\tString msj = \"\";\r\n\t\tboolean fin = false;\r\n\t\tfor (int i = 0; i < casillas.length && !fin; i++) {\r\n\t\t\tfor (int j = 0; j < casillas[0].length && !fin; j++) {\t\t\r\n\t\t\t\tif(casillas[i][j].esMina() == false && casillas[i][j].darValor() > 0) {\r\n\t\t\t\t\tcasillas[i][j].destapar();\r\n\t\t\t\t\tmsj += i+\",\"+j;\r\n\t\t\t\t\tfin = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn msj;\r\n\t}",
"public ArrayList<String> verPuntajes(){\r\n\t\tFile archivo = new File(\"archivos/puntajes.txt\");\r\n\t\tArrayList<String> datos = new ArrayList<String>();\t\t\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tFileReader fr = new FileReader(archivo);\r\n\t\t\tBufferedReader br = new BufferedReader(fr);\r\n\t\t\tString linea = \"\";\r\n\t\t\twhile ((linea = br.readLine()) != null) {\r\n\t\t\t\tdatos.add(linea);\t\t\t\t\r\n\t\t\t}\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn datos;\r\n\t}",
"@Override\n\tpublic List<String[]> partecipazioneUtentiAiGruppi() throws DAOException{\n\t\t\n\t\tList<String[]> risultato = null;\n\t\tConnection connection = null;\n\t\tPreparedStatement statement = null;\n\t\tResultSet resultSet = null;\n\t\tString[] stringa = null;\n\t\t\n\t\ttry {\n\t\t\trisultato = new ArrayList<String[]>();\n\t\t\tconnection = DataSource.getInstance().getConnection();\n\t\t\tstatement = connection.prepareStatement(\"SELECT DISTINCT COUNT (ISCRIZIONE_GRUPPO.ID_UTENTE)*100/ATTIVITA.NUMERO_PARTECIPANTI AS PARTECIPAZIONE, ISCRIZIONE_GRUPPO.ID_GRUPPO, GRUPPO.DESCRIZIONE FROM GRUPPO INNER JOIN ISCRIZIONE_GRUPPO ON ISCRIZIONE_GRUPPO.ID_GRUPPO = GRUPPO.ID INNER JOIN ATTIVITA ON GRUPPO.ID_ATTIVITA = ATTIVITA.ID GROUP BY (ISCRIZIONE_GRUPPO.ID_UTENTE, ISCRIZIONE_GRUPPO.ID_GRUPPO, GRUPPO.ID_ATTIVITA, ATTIVITA.NUMERO_PARTECIPANTI, GRUPPO.DESCRIZIONE) ORDER BY PARTECIPAZIONE DESC\");\n\t\t\tresultSet = statement.executeQuery();\n\t\t\twhile (resultSet.next()) {\n\t\t\t\tstringa = new String[4];\n\t\t\t\tDouble perc = BigDecimal.valueOf(resultSet.getDouble(1)).setScale(2, RoundingMode.HALF_UP).doubleValue();\n\t\t\t\tstringa[0] = String.valueOf(resultSet.getLong(2));\n\t\t\t\tstringa[1] = resultSet.getString(3);\n\t\t\t\tstringa[2] = String.valueOf(perc);\n\t\t\t\tstringa[3] = String.valueOf(100-perc);\n\t\t\t\trisultato.add(stringa);\n\t\t\t}\n\t\t} catch (SQLException | DAOException e) {\n\t\t\tthrow new DAOException(\"ERRORE partecipazioneUtentiAiGruppi utenteAdmin\" + e.getMessage(), e);\n\t\t} finally {\n\t\t\tDataSource.getInstance().close(resultSet);\n\t\t\tDataSource.getInstance().close(statement);\n\t\t\tDataSource.getInstance().close(connection);\n\t\t}\n\t\treturn risultato;\n\t}",
"@Before\n\tpublic void incoporacionDeCandidatosYProvinciasHabilitadasALaJuntaElectoral(){\n\t\tmendoza.agregarPartido(pro);\n\t\tbuenosaires.agregarPartido(pro);\n\t\trionegro.agregarPartido(pro);\n\t\tentrerios.agregarPartido(pro);\n\t\tmendoza.agregarPartido(renovador);\n\t\tbuenosaires.agregarPartido(renovador);\n\t\trionegro.agregarPartido(renovador);\n\t\tentrerios.agregarPartido(renovador);\n\t\tmendoza.agregarPartido(fpv);\n\t\tbuenosaires.agregarPartido(fpv);\n\t\trionegro.agregarPartido(fpv);\n\t\tentrerios.agregarPartido(fpv);\n\n\t\t//Incorporacion de los candidatos habilitados al centro de computos\n\t\tjuntaElectoral.agregarCandidato(macri);\t\t\n\t\tjuntaElectoral.agregarCandidato(massa);\t\t\n\t\tjuntaElectoral.agregarCandidato(scioli);\n\n\t\t//Incorporacion de las provincias habilitadas al centro de computos\n\t\tjuntaElectoral.agregarProvincia(mendoza);\n\t\tjuntaElectoral.agregarProvincia(buenosaires);\n\t\tjuntaElectoral.agregarProvincia(rionegro);\n\t\tjuntaElectoral.agregarProvincia(entrerios);\n\t}",
"ArrayList<Professor> professoresFormPend();",
"public java.util.List<viaggi.Pacchetto> getPacchetti();",
"public List<String> pntremuneracion(ReportePlazaDTO reportePlazaDTO) {\n List<CustomOutputFile> lista = new ArrayList<CustomOutputFile>();\n List<String> listaString = new ArrayList<String>();\n\n String qnaCaptura = reportePlazaDTO.getQnaCaptura();\n String qnaCaptura2 = \"\";\n\n if (new Integer(qnaCaptura) % 2 == 0) {\n qnaCaptura2 = String.valueOf((new Integer(qnaCaptura) - 1));\n } else {\n qnaCaptura2 = qnaCaptura;\n }\n\n lista = \n super.persistence().get(QueryTdPlazaDAO.class).findBypntRemuneracion(qnaCaptura, \n qnaCaptura2);\n listaString.add(\"Tipo de integrante del sujeto obligado,Clave o nivel del puesto,Denominación del puesto,Denominación del cargo,Área de adscripción,Nombre completo del servidor público y/o toda persona que desempeñe un empleo cargo o comisión y/o ejerzan actos de autoridad,Sexo,Remuneración mensual bruta,Remuneración mensual neta,Percepciones adicionales en efectivo,Percepciones adicionales en especie,Periodicidad,Ingresos,Sistemas de compensación,Periodicidad,Gratificaciones,Periodicidad,Primas,Periodicidad,Comisiones,Periodicidad,Dietas,Periodicidad,Bonos,Periodicidad,Estímulos,Periodicidad,Apoyos económicos,Periodicidad,Prestaciones económicas,Prestaciones en especie,Periodicidad,Otro tipo de percepción,Fec valida,Area responsable,Año,Fec actualiza,Nota\");\n\n if (lista != null) {\n for (CustomOutputFile row: lista) {\n listaString.add(row.getRegistro());\n }\n } else\n listaString = null;\n return listaString;\n\n }",
"public String[] ListarDPIEnfermeras(){\r\n int cantidad=0;\r\n Guardia s;\r\n for (int i = 0; i < medicosenfermeras.size(); i++) {\r\n s= medicosenfermeras.get(i);\r\n if (s instanceof Enfermera) {\r\n cantidad++;\r\n }\r\n }\r\n \r\n String[] DPIEnfermeras= new String[cantidad];\r\n Guardia t;\r\n int m=0;\r\n for (int i = 0; i < medicosenfermeras.size(); i++) {\r\n t=medicosenfermeras.get(i);\r\n if (t instanceof Enfermera) {\r\n DPIEnfermeras[m]=t.getNit();\r\n m++;\r\n }\r\n }\r\n \r\n return DPIEnfermeras;\r\n }",
"public String[] requisicaoPassageiros() {\n\t\tConector con = new Conector();\r\n\t\tString params[] = new String[1];\r\n\t\tString resultado;\r\n\t\tString passageiros[];\r\n\r\n\t\tparams[0] = \"op=7\";\r\n\r\n\t\tresultado = con.sendHTTP(params);\r\n\r\n\t\tpassageiros = resultado.split(\";\");\r\n\r\n\t\treturn passageiros;\r\n\t}",
"public GrapheIndicateursProjet (Projet p) {\n seuils = p.getSeuilFixes() ;\n \n // pour l'echelle, on determine les mesures max de toutes les iterations\n \n \n iterations = p.getListeIt() ; \n nbIt = iterations.size() ;\n \n // calcul des maximums\n Iteration tempIt = null ;\n IndicateursIteration tempIndIt = null ;\n for (int i = 0 ; i < nbIt ; i++)\n {\n if (iterations.get(i) instanceof Iteration)\n {\n tempIt = (Iteration)iterations.get(i) ;\n tempIndIt = tempIt.getIndicateursIteration() ;\n // charges\n if (tempIndIt.getTotalCharges() > chargesMax) { chargesMax = tempIndIt.getTotalCharges() ; }\n\t\tif (tempIndIt.getChargeMoyenneParticipants() > moyenneChargesMax) { moyenneChargesMax = tempIndIt.getChargeMoyenneParticipants() ; }\n\t\tif (tempIndIt.getNombreParticipants() > participantsMax) { participantsMax = tempIndIt.getNombreParticipants() ; }\n\t\tif (tempIndIt.getNombreTachesTerminees() > tachesTermineesMax) { tachesTermineesMax = tempIndIt.getNombreTachesTerminees() ; }\n\t\tif (tempIndIt.getNombreMoyenTachesParticipants() > tachesParticipantsMax) { tachesParticipantsMax = tempIndIt.getNombreMoyenTachesParticipants() ; }\n\t\tif (tempIndIt.getDureeMoyenneTaches() > dureeMoyenneTacheMax) { dureeMoyenneTacheMax = tempIndIt.getDureeMoyenneTaches() ; }\n }\n }\n setPreferredSize(new Dimension(ITERATION_WIDTH * nbIt,440));\n\t//setBorder(new TitledBorder(new EtchedBorder(), \"toto\", 5, TitledBorder.ABOVE_TOP)) ;\n }",
"public ListaJugadores() {\n\n\t\tListaJugadores.numListasJugadores++;\n\n\t\tthis.id = ListaJugadores.numListasJugadores;\n\n\t\tthis.jugadoresEnMesa = new ArrayList<Jugador>();\n\t\tthis.cargarJugadoresEnMesa();\n\n\t\tif (ListaJugadores.jugadoresRetirados == null) {\n\t\t\tListaJugadores.jugadoresRetirados = new ArrayList<Jugador>();\n\t\t\tthis.cargarJugadoresRetirados();\n\t\t}\n\n\t}",
"public void publicarPropuestas() {\n try {\n //SISTEMA VERIFICA QUE LOS COMPROMISOS PARA EL PERIODO HAYAN SIDO INGRESADO\n if (this.listaCompromiso == null || this.listaCompromiso.isEmpty()) {\n //MUESTRA MENSAJE: 'DEBE INGRESAR LOS COMPROMISOS PARA PODER PUBLICAR ', NO ES POSIBLE PUBLICAR LOS RESULTADOS \n addErrorMessage(keyPropertiesFactory.value(\"cu_ne_6_lbl_mensaje_add_comprimiso_faltantes\"));\n return;\n }\n String mensajeValidacion = validarCompromisosPeriodoByPropuestaNacesidad(this.propuestaSeleccionada);\n if (mensajeValidacion != null) {\n addErrorMessage(keyPropertiesFactory.value(mensajeValidacion));\n return;\n }\n if (IConstantes.CONSTANTES_ESTADO_PROPUESTA_NECESIDAD_PRE_APROBADA.compareTo(this.propuestaSeleccionada.getConstantes().getIdConstantes()) != 0) {\n addErrorMessage(\"La propuesta debe estar en estado Pre-Aprobado\");\n return;\n }\n /*byte[] bitesPdf;\n //GENERAMOS EL REPORTE - CREADOR DE REPORTES\n try {\n HashMap mapa = new HashMap();\n mapa.put(\"p_id_periodo\", periodoSeleccionado.getIdPeriodo().intValue());\n bitesPdf = GeneradorReportesServicio.getInstancia().generarReporte(mapa, \"reporte15.jasper\");\n } catch (Exception e) {\n adicionaMensajeError(\"ERROR, Se presentaron errores al general el reporte JASPER\");\n Logger.getLogger(this.getClass().getName()).log(Level.SEVERE, \"CU-NE-06(publicarPropuestas)\", e);\n return;\n }*/\n String iniciaCodigoVic = keyPropertiesFactory.value(\"cu_ne_6_codigo_proyecto_inicia_generacion\");\n if (iniciaCodigoVic.contains(\"-----NOT FOUND-----\")) {\n addErrorMessage(keyPropertiesFactory.value(\"cu_ne_6_error_no_existe_codigo_proyecto_inicia_generacion\"));\n return;\n }\n //EL SISTEMA CAMBIA EL ESTADO DE TODAS LAS PROPUESTAS DEL LISTADO DE ''PRE-APROBADA ' A 'APROBADA' \n //Y LOS DE ESTADO 'REVISADA' A 'NO APROBADA' \n List<SieduPropuestaAsignada> lstPropuestaasignada = this.servicePropuestaAsignada.findByVigencia(this.propuestaSeleccionada);\n List<Long> lstLong = new ArrayList<>();\n for (SieduPropuestaAsignada s : lstPropuestaasignada) {\n lstLong.add(s.getPropuestaNecesidad().getIdPropuestaNecesidad());\n }\n Proyecto proyecto = new Proyecto();\n int contarProyecto = iProyectoLocal.contarProyectoByVigencia(lstLong);\n Constantes constantes = iConstantesLocal.getConstantesPorIdConstante(IConstantes.DURACION_PROYECTOS_INSTITUCIONALES);\n int numeroMesesEstimacionProyecto = Integer.parseInt(constantes.getValor());\n UsuarioRol usuarioRol = new UsuarioRol(loginFaces.getPerfilUsuarioDTO().getRolUsuarioPorIdRolDTO(IConstantesRole.EVALUADOR_DE_PROPUESTAS_DE_NECESIDADES_EN_LA_VICIN).getIdUsuarioRol());\n if (this.propuestaSeleccionada.getConstantes().getIdConstantes().equals(IConstantes.CONSTANTES_ESTADO_PROPUESTA_NECESIDAD_PRE_APROBADA)) {\n EjecutorNecesidad ejecutorNecesidadResponsable = iEjecutorNecesidadLocal.getEjecutorNecesidadPorPropuestaNecesidadYRolResponsable(this.propuestaSeleccionada.getIdPropuestaNecesidad());\n if (ejecutorNecesidadResponsable == null || ejecutorNecesidadResponsable.getUnidadPolicial() == null || ejecutorNecesidadResponsable.getUnidadPolicial().getSiglaFisica() == null) {\n addErrorMessage(\"Error, Verifique la sigla física de la Unidad Policial asociada a la propuesta: \" + this.propuestaSeleccionada.getTema());\n return;\n }\n\n this.propuestaSeleccionada.setConstantes(new Constantes(IConstantes.CONSTANTES_ESTADO_PROPUESTA_NECESIDAD_APROBADA));\n //POR CADA PROPROPUESTA APROBADA SE CREA UN PROYECTO\n //CREA UN PROYECTO DE INVESTIGACIÓN POR CADA PROPUESTA CON EL ESTADO 'APROBADA', \n //ASIGNÁNDOLE EL CÓDIGO DE INVESTIGACIÓN DE ACUERDO AL MÉTODO ESTABLECIDO(VER REQUERIMIENTOS ESPECIALES), \n //ASIGNÁNDOLE EL ÁREA Y LA LÍNEA DE INVESTIGACIÓN Y EL TEMA PROPUESTO COMO TITULO PROPUESTO\n //VIC - [Consecutivo de proyectos en el periodo][Año]- [Código interno de la Unidad Policial o Escuela]\n String codigoInternoUnidad = ejecutorNecesidadResponsable.getUnidadPolicial().getSiglaFisica();\n String codigoProyecto = iniciaCodigoVic.concat(\"-\");//VIC \n contarProyecto += 1;\n codigoProyecto = codigoProyecto.concat(String.valueOf(contarProyecto));//[Consecutivo de proyectos en el periodo]\n codigoProyecto = codigoProyecto.concat(String.valueOf(lstPropuestaasignada.get(0).getSieduPropuestaAsignadaPK().getVigencia()));//[Año]\n codigoProyecto = codigoProyecto.concat(\"-\");\n codigoProyecto = codigoProyecto.concat(codigoInternoUnidad);//[Código interno de la Unidad Policial o Escuela]\n Date fechaHoy = new Date();\n proyecto.setCodigoProyecto(codigoProyecto);\n proyecto.setLinea(this.propuestaSeleccionada.getLinea());\n proyecto.setTituloPropuesto(this.propuestaSeleccionada.getTema());\n proyecto.setTema(this.propuestaSeleccionada.getTema());\n proyecto.setPeriodo(this.propuestaSeleccionada.getPeriodo());\n proyecto.setUsuarioRol(usuarioRol);\n proyecto.setEstado(new Constantes(IConstantes.TIPO_ESTADO_PROYECTO_EN_EJECUCION));\n proyecto.setUnidadPolicial(ejecutorNecesidadResponsable.getUnidadPolicial());\n proyecto.setPropuestaNecesidad(this.propuestaSeleccionada);\n proyecto.setFechaEstimadaInicio(fechaHoy);\n Calendar fechaFinalEstimadaProyecto = Calendar.getInstance();\n fechaFinalEstimadaProyecto.setTime(fechaHoy);\n fechaFinalEstimadaProyecto.add(Calendar.MONTH, numeroMesesEstimacionProyecto);\n proyecto.setFechaEstimadaFinalizacion(fechaFinalEstimadaProyecto.getTime());\n proyecto.setFechaActualizacion(fechaHoy);\n //CREAMOS LOS COMPROMISOS PROYECTOS\n List<CompromisoProyecto> listaCompromisosProyecto = new ArrayList<CompromisoProyecto>();\n //CONSULTAMOS LOS COMPROMISOS DE ESTE PERIODO\n List<CompromisoPeriodo> listaComprimiso = iCompromisoPeriodoLocal.buscarCompromisoPeriodoByIdPropuestaNecesidad(this.propuestaSeleccionada);\n for (CompromisoPeriodo unCompromisoPeriodo : listaComprimiso) {\n CompromisoProyecto compromisoProyecto = new CompromisoProyecto();\n compromisoProyecto.setCompromisoPeriodo(unCompromisoPeriodo);\n compromisoProyecto.setProyecto(proyecto);\n compromisoProyecto.setEstado(new Constantes(IConstantes.ESTADO_COMPROMISO_PROYECTO_PENDIENTE));\n compromisoProyecto.setFechaCreacion(new Date());\n compromisoProyecto.setMaquina(loginFaces.getPerfilUsuarioDTO().getMaquinaDTO().getIpLoginRemotoUsuario());\n compromisoProyecto.setUsuarioRegistro(loginFaces.getPerfilUsuarioDTO().getIdentificacion());\n compromisoProyecto.setUsuarioRolRegistra(usuarioRol);\n listaCompromisosProyecto.add(compromisoProyecto);\n }\n //CREAMOS LAS UNIDADES EJECUTORAS PARA EL PROYECTO\n List<EjecutorNecesidadDTO> listadoEjecutorNecesidadDTOPropuesta = iEjecutorNecesidadLocal.getEjecutorNecesidadDTOPorPropuestaNecesidad(this.propuestaSeleccionada.getIdPropuestaNecesidad());\n List<EjecutorNecesidad> listaEjecutorNecesidadProyecto = new ArrayList<EjecutorNecesidad>();\n for (EjecutorNecesidadDTO unaEjecutorNecesidadDTO : listadoEjecutorNecesidadDTOPropuesta) {\n EjecutorNecesidad ejecutorNecesidadLocal = new EjecutorNecesidad();\n ejecutorNecesidadLocal.setPropuestaNecesidad(new PropuestaNecesidad(this.propuestaSeleccionada.getIdPropuestaNecesidad()));\n ejecutorNecesidadLocal.setProyecto(proyecto);\n ejecutorNecesidadLocal.setRol(new Constantes(unaEjecutorNecesidadDTO.getIdRol()));\n ejecutorNecesidadLocal.setUnidadPolicial(this.iUnidadPolicialLocal.obtenerUnidadPolicialPorId(unaEjecutorNecesidadDTO.getIdUnidadPolicial()));\n listaEjecutorNecesidadProyecto.add(ejecutorNecesidadLocal);\n }\n proyecto.setEjecutorNecesidadList(listaEjecutorNecesidadProyecto);\n proyecto.setCompromisoProyectoList(listaCompromisosProyecto);\n\n } else if (this.propuestaSeleccionada.getConstantes().getIdConstantes().equals(\n IConstantes.CONSTANTES_ESTADO_PROPUESTA_NECESIDAD_REVISADA)) {\n this.propuestaSeleccionada.setConstantes(new Constantes(IConstantes.CONSTANTES_ESTADO_PROPUESTA_NECESIDAD_NO_APROBADA));\n }\n\n //ACTUALIZAMOS EL CAMPO ROL_ACTUAL\n //CON EL OBJETIVO SE SABER EN DONDE SE ENCUENTRA LA PROPUESTA\n //ESTO SE REALIZA PARA CORREGIR \n //LA INCIDENCIA #0002754: Mientras no se publiquen los resultados de las necesidades, el estado debe ser 'Enviada a VICIN'.\n this.propuestaSeleccionada.setRolActual(IConstantes.PROPUESTA_NECESIDAD_PUBLICADA_JEFE_UNIDAD);\n /* \n\n //GENERAMOS EL NOMBRE DEL ARCHIVO DEL REPORTE\n String nombreReporteUnico = \"PROP_NECES_PERIODO\".concat(\"_\").concat(String.valueOf(System.currentTimeMillis())).concat(\".pdf\");\n String nombreReporte = \"PROP_NECES_PERIODO_\" + (periodoSeleccionado.getAnio() == null ? periodoSeleccionado.getIdPeriodo().toString() : periodoSeleccionado.getAnio().toString()) + \".pdf\";\n */\n //SE ACTUALIZAN LAS PROPUESTAS DE NECESIDAD\n servicePropuestaNecesidad.guardarPropuestaYgenerarProyecto(\n this.propuestaSeleccionada,\n proyecto);\n\n addInfoMessage(keyPropertiesFactory.value(\"cu_ne_6_lbl_mensaje_propuestas_actualizadas_ok_publicar\"));\n\n navigationFaces.redirectFacesCuNe01();\n\n } catch (Exception e) {\n\n addErrorMessage(keyPropertiesFactory.value(\"general_mensaje_error_exception\"));\n Logger.getLogger(this.getClass().getName()).log(Level.SEVERE,\n \"CU-NE-06 Evaluar propuestas de necesidades de investigación - (publicarPropuestas)\", e);\n\n }\n\n }",
"public boolean jeu() {\n int k;\n\n String compJoueur = \"\";\n String compOrdi = \"\";\n String reponse;\n\n boolean victoireJoueur = false;\n boolean victoireOrdi = false;\n String mystJoueur = challenger.nbMystere(); /**nb que le joueur doit trouver*/\n String mystOrdi = defenseur.nbMystere(); /**nb que l'ordinateur doit trouver*/\n String propOrdi = defenseur.proposition(); /**ordinateur genere un code aleatoire en premiere proposition*/\n log.info(\"Proposition ordinateur : \" + propOrdi); /**afficher proposition ordinateur*/\n String propJoueur = \"\";\n String goodResult = MethodesRepetitives.bonResultat();\n\n\n for (k = 1; !victoireJoueur && !victoireOrdi && k <= nbEssais; k++) { /**si ni le joueur ou l'ordinateur n'ont gagne et si le nombre d'essais n'est pas atteind, relancer*/\n\n compOrdi = MethodesRepetitives.compare(mystOrdi, propOrdi); /**lancer la methode de comparaison du niveau defenseur*/\n log.info(\"Reponse Ordinateur :\" + compOrdi); /**afficher la comparaison*/\n propJoueur = challenger.proposition(); /**demander une saisie au joueur selon le mode challenger*/\n compJoueur = MethodesRepetitives.compare(mystJoueur, propJoueur); /**comparer selon le mode challenger*/\n log.info(\"Reponse Joueur :\" + compJoueur); /**afficher la comparaison*/\n\n if (compOrdi.equals(goodResult)) { /**si l'ordinateur a gagne, changement de la valeur victoireOrdi*/\n victoireOrdi = true;\n }else if(compJoueur.equals(goodResult)) {/**si le joueur a gagne changement de la valeur victoireJoeur*/\n victoireJoueur = true;\n } else if (k < nbEssais) { /**sinon redemander un code a l'ordinateur selon les symboles de comparaison*/\n propOrdi = defenseur.ajuste(propOrdi, compOrdi);\n log.info(\"Proposition Ordinateur :\" + propOrdi);\n }\n }\n\n if (victoireOrdi || !victoireJoueur)/**si l'ordinateur ou le joueur perdent alors perdu sinon gagne*/\n victoireJoueur = false;\n else\n victoireJoueur = true;\n\n return victoireJoueur;\n\n\n }",
"private static Vuelo[] partidas(Vuelo [] vuelosArray){\n Ciudad concordia = new Ciudad(\"CON\",\"Concordia\");\n\n Vuelo[] listado = new Vuelo[0];\n for (Vuelo vuelo: vuelosArray) {\n if (vuelo.getCiudadOrigen().equals(concordia)) {\n listado = agregarVuelo(listado, vuelo);\n }\n }\n return listado;\n }",
"public ArrayList<String> getNombreDepartamentosJefe(Empleado empleado) {\r\n\t\tArrayList<String> dptos = new ArrayList<String>();\r\n\t\tif (getEmpleadoActual().getRango() == 2) // Solo para jefes\r\n\t\t\tfor (int i=0; i<departamentosJefe.size(); i++)\r\n\t\t\t\tdptos.add(departamentosJefe.get(i).getNombreDepartamento());\r\n\t\treturn dptos;\r\n\t}",
"public abstract DtPropuestaMinificado[] listarPropuestas() throws PropuestaNoExisteException;",
"public NSArray tosRepartFdpCompetencesAutres() {\n\t\tNSArray tosRepartFdpCompetencesAutres = super.tosRepartFdpAutre(\n\t\t\t\t\tCktlDataBus.newCondition(EORepartFdpAutre.FAU_TYPE_KEY + \"='\" + EORepartFdpAutre.TYPE_COMPETENCE + \"'\"));\n\t\treturn CktlSort.sortedArray(tosRepartFdpCompetencesAutres, EORepartFdpAutre.FAU_POSITION_KEY);\n\t}",
"public List getJbdTravelPoint2014s(JbdTravelPoint2014 jbdTravelPoint2014);",
"public static String[][] leerPedidos() {\n int cont = 0;\n try {\n Statement statement = connection.createStatement();\n ResultSet result = statement.executeQuery(\"SELECT * FROM pedido\");\n while (result.next()) {\n cont++;\n }\n \n } catch (SQLException ex) {\n Logger.getLogger(ManejoBasesDatos.class.getName()).log(Level.SEVERE, null, ex);\n }\n //matriz para guardar los registros\n String[][] reporte = new String[cont][11];\n cont = 0;\n try {\n Statement statement = connection.createStatement();\n ResultSet result = statement.executeQuery(\"SELECT * FROM pedido\");\n while (result.next()) {\n //leo los registros y los guardo cada uno en un renglon de la matriz \n reporte[cont][0] = result.getString(1);\n reporte[cont][1] = result.getString(2);\n reporte[cont][2] = result.getString(3);\n reporte[cont][3] = result.getString(4);\n reporte[cont][4] = result.getString(5);\n reporte[cont][5] = result.getString(6);\n reporte[cont][6] = result.getString(7);\n reporte[cont][7] = result.getString(8);\n reporte[cont][8] = result.getString(9);\n reporte[cont][9] = result.getString(10);\n reporte[cont][10] = result.getString(11);\n cont++;\n }\n \n } catch (SQLException ex) {\n Logger.getLogger(ManejoBasesDatos.class.getName()).log(Level.SEVERE, null, ex);\n }\n //regreso reporte completo\n return reporte;\n }",
"public List<Pregunta> getPreguntas() {\n\t\treturn pdao.getPreguntasConTag(tag);\n\t}",
"public List<Pregunta> getPreguntasUsuario(Usuario user);",
"List<Sppprm> exportPrimesCalculeesJourToPaie(List<PointageCalcule> pointagesCalculesOrderedByDateAsc);",
"private void getParticipantes() {\n mParticipantes = estudioAdapter.getParticipantes(MainDBConstants.estado + \"= '\" + Constants.STATUS_NOT_SUBMITTED+ \"'\", null);\n //ca.close();\n }",
"private void resolverEmpate(ArrayList<Jugador> jugadoresConCartas,\n\t\t\tArrayList<Jugador> jugadoresEmpatados) throws Exception {\n\t\t// Si hay jugadores empatados...\n\t\tArrayList<Jugador> empatadosCopia = new ArrayList<Jugador>();\n\t\tempatadosCopia.addAll(jugadoresEmpatados);\n\t\tfor (Jugador jugador : jugadoresConCartas)\n\t\t{\n\t\t\tif (!jugadoresEmpatados.contains(jugador))\n\t\t\t{\n\t\t\t\tañadirJugador(jugador);\n\t\t\t\tempatadosCopia.remove(jugador);\n\t\t\t}\n\t\t\t//Añadimos los jugadores que no están en conflicto\n\t\t}\n\t\tfor (Jugador jugador : empatadosCopia)\n\t\t{\n\t\t\tint index = new Random().nextInt(baraja.getBaraja().size());\n\t\t\tjugador.setCuantasRecibe(baraja.getBaraja().get(index));\n\t\t\tbaraja.getBaraja().remove(index);\n\t\t}\n\t\t// Ahora que ya han elegido carta los pondremos por orden\n\t\tCollections.sort(empatadosCopia, new Comparator<Jugador>() {\n\n\t\t\t@Override\n\t\t\tpublic int compare(Jugador j1, Jugador j2) {\n\t\t\t\treturn j1.getCuantasRecibe().getValor() - j2.getCuantasRecibe().getValor();\n\t\t\t}\n\t\t});\n\t\tfor (Jugador jugador : empatadosCopia) añadirJugador(jugador);\n\t}",
"public void armarPreguntas(){\n preguntas = file.listaPreguntas(\"Preguntas.txt\");\n }",
"public int cuantosParrafos() \r\n\t{\r\n\t\tString respuesta = JOptionPane.showInputDialog(\"cuantas estrofas quiere\");\r\n\t\tint respuesta1 = Integer.parseInt(respuesta);\r\n\t\treturn respuesta1;\r\n\t}",
"public static int seleccionarCarro(Mano[] jug){//error no vio la 0,0\n int numeroDoble=6;\n int toret=0;\n while(numeroDoble>=0){\n int n=0;\n while(n<jug.length){\n int f=0;\n while( f<jug[n].getNPiezas() && \n (jug[n].getUnaPieza(f).getN1()!=numeroDoble || jug[n].getUnaPieza(f).getN2()!=numeroDoble))\n f++;\n \n if(f<jug[n].getNPiezas()){\n System.out.println(\"Encontrada la \"+numeroDoble+\",\"+numeroDoble\n +\", la tiene él jugador \"+(n+1)+\" y el tiene \"\n + \"el primer turno\");\n toret=n;\n numeroDoble=-10;\n \n }\n n++;\n }\n numeroDoble-=1;\n }\n if(numeroDoble==-1){\n toret=(int) (Math.random()*jug.length);\n System.out.println(\"No se ha encontrado ningun jugador con alguna pieza doble.\\n\"\n + \"Empieza el jugador \"+toret);\n }\n return toret;\n }",
"public List<ParCuentasGenerales> listaCuentasGeneralesPorAsignar() {\n return parParametricasService.listaCuentasGenerales();\n }",
"public void demarrerPartie(long idPartie) {\n Partie p = daocrud.findOne(idPartie);\r\n\r\n // Erreur si pas au moins 2 joueurs dans la partie\r\n if (jService.recupererNbJoueursParPartieId(idPartie) < 2) {\r\n throw new RuntimeException(\"Erreur : nb joueurs moins 2\");\r\n }\r\n\r\n // passe le joueur d'ordre 1 à etat a la main\r\n jService.passeJoueurOrdre1EtatALaMain(idPartie);\r\n\r\n // distribue 7 cartes d'ingrédients au hasard à chaque joueur de la partie\r\n for (Joueur j : p.getJoueurs()) {\r\n\r\n cService.distribue7CartesParJoueurIdEtPartieId(j.getId(), idPartie);\r\n }\r\n\r\n }",
"public void getPropuestasOrdenadas(int confirm) throws ParseException{\n System.out.println(\"\\nSe imprimirán las propuestas de la Sala \"+getNombreSala()+\":\");\n if (propuestas.size() == 0){\n System.out.println(\"No hay reservas para esta Sala\");\n }\n else{\n for (Propuesta propuestaF : propuestas) {\n String nombreReservador = propuestaF.getReservador().getNombreCompleto();\n if (confirm == 0){\n if (propuestaF.isForAllSem()) {\n System.out.println(\"Propuesta por todo el semestre, parte el \"+propuestaF.getFechaPuntualI(0)+\" hasta \"+\n propuestaF.getFechaPuntualF(0)+\". La reserva termina el \"+\n propuestaF.getFechaPuntualI(propuestaF.getFechasPropuestasInicio().size()-1)+\" hasta \"+\n propuestaF.getFechaPuntualF(propuestaF.getFechasPropuestasFinal().size()-1));\n System.out.println(\"Esta reserva fue hecha por:\");\n if (propuestaF.getReservador() instanceof Profesor){\n System.out.println(\"Profesor \"+ nombreReservador);\n }\n else if (propuestaF.getReservador() instanceof Estudiante){\n System.out.println(\"Estudiante \"+ nombreReservador);\n }\n else{\n System.out.println(nombreReservador);\n }\n }\n else{\n int i = 0;\n int j = 0;\n int idPropuesta = 0;\n String fecha = \"01-01-50000\";\n SimpleDateFormat parseF = new SimpleDateFormat(\"dd-MM-yyyy\");\n Date fechaMasReciente = parseF.parse(fecha);\n Date fechaAux;\n Propuesta propActual;\n while(i < propuestas.size()){\n while (j < propuestas.size()){\n propActual = propuestas.get(j);\n fechaAux = propActual.getFechaPuntualI(0);\n if (fechaAux.compareTo(fechaMasReciente) < 0){\n fechaMasReciente = fechaAux;\n }\n j++;\n }\n System.out.println(\"Desde \"+propuestas.get(i).getFechaPuntualF(0)+\" hasta \"+\n propuestas.get(i).getFechaPuntualF(0));\n fecha = \"01-01-2200\";\n fechaMasReciente = parseF.parse(fecha);\n i++;\n }\n }\n }\n else if (confirm == 1){\n if (propuestaF.isForAllSem() && propuestaF.isConfirmada()) {\n System.out.println(\"Propuesta por todo el semestre, parte el \"+propuestaF.getFechaPuntualI(0)+\" hasta \"+\n propuestaF.getFechaPuntualF(0)+\". La reserva termina el \"+\n propuestaF.getFechaPuntualI(propuestaF.getFechasPropuestasInicio().size()-1)+\" hasta \"+\n propuestaF.getFechaPuntualF(propuestaF.getFechasPropuestasFinal().size()-1));\n System.out.println(\"Esta reserva fue hecha por:\");\n if (propuestaF.getReservador() instanceof Profesor){\n System.out.println(\"Profesor \"+ nombreReservador);\n }\n else if (propuestaF.getReservador() instanceof Estudiante){\n System.out.println(\"Estudiante \"+ nombreReservador);\n }\n else{\n System.out.println(nombreReservador);\n }\n }\n else if (propuestaF.isConfirmada()){\n int i = 0;\n int j = 0;\n int idPropuesta = 0;\n String fecha = \"01-01-50000\";\n SimpleDateFormat parseF = new SimpleDateFormat(\"dd-MM-yyyy\");\n Date fechaMasReciente = parseF.parse(fecha);\n Date fechaAux;\n Propuesta propActual;\n while(i < propuestas.size()){\n while (j < propuestas.size()){\n propActual = propuestas.get(j);\n fechaAux = propActual.getFechaPuntualI(0);\n if (fechaAux.compareTo(fechaMasReciente) < 0){\n fechaMasReciente = fechaAux;\n }\n j++;\n }\n System.out.println(\"Desde \"+propuestas.get(i).getFechaPuntualF(0)+\" hasta \"+\n propuestas.get(i).getFechaPuntualF(0));\n fecha = \"01-01-2200\";\n fechaMasReciente = parseF.parse(fecha);\n i++;\n }\n }\n }\n }\n }\n }",
"public int[] jouer(int[] dernierJeu, boolean ordiCommence)\r\n {\r\n System.out.println(\"dJ : \"+dernierJeu[0]+\" \"+dernierJeu[1]);\r\n\r\n //System.out.println(\"Ordinateur va jouer\");\r\n int[] res = new int[3]; //tableau a rendre\r\n if (!ordiCommence)\r\n {\r\n actualiser(dernierJeu);\r\n }\r\n\r\n res = chercher(dernierJeu[0], dernierJeu[1], 3);\r\n if (res == tabVide)\r\n {\r\n res = chercher(dernierJeu[0], dernierJeu[1], 1);\r\n if (res == tabVide)\r\n {\r\n res = chercher(dernierJeu[0], dernierJeu[1], 0);\r\n if (res == tabVide)\r\n {\r\n res = chercher(dernierJeu[0], dernierJeu[1], 2);\r\n }\r\n }\r\n }\r\n return res;\r\n }",
"public void setListaPartidas() {\r\n\t\tDefaultListModel<String> modelo = new DefaultListModel<String>();\r\n\t\t\r\n\t\tfor(int i = 0; i < this.listadoPartidas.size(); i++) {\r\n\t\t\tmodelo.add(i, this.listadoPartidas.get(i).getNombre());\r\n\t\t}\r\n\t\tthis.partidasList.setModel(modelo);\r\n\t\tif(!this.partidaSelecionada.equals(\"\")) {\r\n\t\t\tfor (Partida partida : this.listadoPartidas) {\r\n\t\t\t\tif(partida.getNombre().equals(this.partidaSelecionada)){\r\n\t\t\t\t\tlblInfoEspera.setText(Integer.toString(partida.getConectados()));\r\n\t\t\t\t\tlblInfoEstado.setText(partida.getEstado());\r\n\t\t\t\t\tlblInfoJugadoresReq.setText(Integer.toString(partida.getJugadoresReq()));\r\n\t\t\t\t\tif(principal.getVentanaEspera() != null)\r\n\t\t\t\t\t\tprincipal.getVentanaEspera().setValoresEspera(this.partidaMaxJugadores, partida.getJugadoresReq(), partida.getConectados());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public List<Jogo> jogosComJogabilidadeComum(Jogabilidade jogabilidade) {\r\n\t\tList<Jogo> listaDeJogosComMesmaJogabilidade = new ArrayList<Jogo>();\r\n\r\n\t\tfor (Jogo jogo : listaDeJogosComprados) {\r\n\t\t\tif (jogo.getJogabilidades().contains(jogabilidade)) {\r\n\t\t\t\tlistaDeJogosComMesmaJogabilidade.add(jogo);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn listaDeJogosComMesmaJogabilidade;\r\n\t}",
"public Puntaje(String nom, int puntaje) {\n this.nombre = nom;\n this.puntos = puntaje;\n }",
"@Override\n\tpublic List<String[]> popolaritaAttivitaCompleto() throws DAOException{\n\t\t\n\t\tList<String[]> risultato = null;\n\t\tConnection connection = null;\n\t\tPreparedStatement statement = null;\n\t\tResultSet resultSet = null;\n\t\tString[] stringa = null;\n\t\t\n\t\ttry {\n\t\t\trisultato = new ArrayList<String[]>();\n\t\t\tconnection = DataSource.getInstance().getConnection();\n\t\t\tstatement = connection.prepareStatement(\"SELECT NOME, COUNT2/COUNT1*100 AS PERC FROM (SELECT COUNT(*) AS COUNT1, ID_ATTIVITA FROM GRUPPO GROUP BY ID_ATTIVITA) TAB1 INNER JOIN (SELECT COUNT(*) AS COUNT2, ID_ATTIVITA FROM GRUPPO WHERE COMPLETO = 1 GROUP BY ID_ATTIVITA) TAB2 ON TAB1.ID_ATTIVITA = TAB2.ID_ATTIVITA INNER JOIN ATTIVITA ON TAB2.ID_ATTIVITA = ATTIVITA.ID ORDER BY PERC DESC\");\n\t\t\tresultSet = statement.executeQuery();\n\t\t\twhile (resultSet.next()) {\n\t\t\t\tstringa = new String[3];\n\t\t\t\tstringa[0] = String.valueOf(resultSet.getString(1));\n\t\t\t\tstringa[1] = String.valueOf(BigDecimal.valueOf(resultSet.getDouble(2)).setScale(2, RoundingMode.HALF_UP).doubleValue());\n\t\t\t\tstringa[2] = String.valueOf(BigDecimal.valueOf(100-resultSet.getDouble(2)).setScale(2, RoundingMode.HALF_UP).doubleValue());\n\n\t\t\t\trisultato.add(stringa);\n\t\t\t}\n\t\t} catch (SQLException | DAOException e) {\n\t\t\tthrow new DAOException(\"ERRORE popolaritaAttivitaCompleto utenteAdmin\" + e.getMessage(), e);\n\t\t} finally {\n\t\t\tDataSource.getInstance().close(resultSet);\n\t\t\tDataSource.getInstance().close(statement);\n\t\t\tDataSource.getInstance().close(connection);\n\t\t}\n\t\t\n\t\treturn risultato;\n\t\t\n\t}",
"private ArrayList<Tarea> getTareas(Date desde, Date hasta) {\n BDConsulter consulter = new BDConsulter(DATABASE_URL, DATABASE_USER, DATABASE_PASS);//genero la clase, que se conecta a la base postgresql\n consulter.connect();//establezco la conexion\n\n //Si no hay ningun integrante seleccionado, selecciono todos\n List<String> integrantesSeleccionados = jListIntegrantes.getSelectedValuesList();\n DefaultListModel<String> model = (DefaultListModel<String>) jListIntegrantes.getModel();\n List<String> integrantes = new ArrayList<String>();\n if (integrantesSeleccionados.size() == 0) {\n for (int i = 0; i < model.getSize(); i++) {\n System.out.println((model.getElementAt(i)));\n integrantes.add(model.getElementAt(i));\n }\n integrantesSeleccionados = integrantes;\n }\n\n ArrayList<Tarea> tareas = new ArrayList<>();\n for (String s : integrantesSeleccionados) {\n tareas.addAll(consulter.getTareas(desde, hasta, (String) jComboBoxProyecto.getSelectedItem(), (String) jComboBoxGrupos.getSelectedItem(), s));//obtengo las tareas creadas entre un rango de fecha dado\n }\n consulter.disconnect();//termino la conexion con la base//termino la conexion con la base\n return tareas;\n }",
"public static void main (String [] args){\r\n Jefatura jefe_RR=new Jefatura(\"Jeanpool\",55000,2006,9,25);\r\n jefe_RR.estableceIncentivo(2570);\r\n Empleado [] misEmpleados=new Empleado[6];\r\n misEmpleados[0]=new Empleado(\"Paco Gomez\",85000,1990,12,17);\r\n misEmpleados[1]=new Empleado(\"Ana Lopez\",95000,1995,06,02);\r\n misEmpleados[2]=new Empleado(\"Maria Martin\",105000,2002,03,15);\r\n misEmpleados[3]=new Empleado(\"Jeanpool Guerrero\");\r\n misEmpleados[4]=jefe_RR;/**--Polimorfismo: Prinicipio de sustitucion*/\r\n misEmpleados[5]=new Jefatura(\"Maria\",95000,1999,5,26);\r\n Jefatura jefa_Finanzas=(Jefatura)misEmpleados[5];/** CASTING CONVERTIR UN OBJETO A otro */\r\n jefa_Finanzas.estableceIncentivo(55000);\r\n \r\n \r\n \r\n /** for(int i=0;i<3; i++){\r\n misEmpleados[i].subeSueldo(5);\r\n \r\n }\r\n \r\n for(int i=0;i<3;i++){\r\n System.out.println(\"Nombre \"+misEmpleados[i].dimeNombre() + \"Sueldo: \"+misEmpleados[i].dimeSueldo()+ \"Fecha Alta: \"+misEmpleados[i].dameFechaContrato());\r\n }\r\n */\r\n\r\n for(Empleado elementos:misEmpleados){\r\n \r\n elementos.subeSueldo(5);\r\n \r\n }\r\n \r\n for(Empleado elementos:misEmpleados){\r\n System.out.println(\"Nombre: \"+elementos.dimeNombre()+ \" Sueldo: \"+elementos.dimeSueldo()+ \" Alta Contrato: \"+elementos.dameFechaContrato());\r\n }\r\n \r\n }",
"private void getPTs(){\n mPyTs = estudioAdapter.getListaPesoyTallasSinEnviar();\n //ca.close();\n }",
"public ArrayList<Proposta> retornaPropostasPeloIdFreela(int idUsuario) {\n\n ArrayList<Proposta> listaDePropostas = new ArrayList<>();\n\n conectarnoBanco();\n\n String sql = \"SELECT * FROM proposta\";\n\n try {\n\n st = con.createStatement();\n\n rs = st.executeQuery(sql);\n\n while (rs.next()) {\n\n if(idUsuario == rs.getInt(\"id_usuario\")){\n Proposta propostaTemp = new Proposta(rs.getString(\"propostaRealizada\"), rs.getFloat(\"valorProposta\"), rs.getInt(\"id_usuario\"), rs.getInt(\"id_projeto\"),rs.getInt(\"id_client\"));\n\n listaDePropostas.add(propostaTemp);\n }\n \n sucesso = true;\n }\n\n } catch (SQLException ex) {\n System.out.println(\"Erro ao retornar propostas pelo id do Freelancer = \" + ex.getMessage());\n sucesso = false;\n } finally {\n try {\n\n if (con != null && pst != null) {\n con.close();\n pst.close();\n }\n\n } catch (SQLException ex) {\n System.out.println(\"Erro ao fechar o bd = \" + ex.getMessage());\n }\n\n }\n\n return listaDePropostas;\n }",
"private List<Estado> estadosHijos(Estado estado){\r\n EstadoMancala estadom=(EstadoMancala)estado;\r\n Jugador jugadorEstado=estadom.jugadores()[estadom.jugadoractual];\r\n Movimiento[] movimientos=estadom.movimientos(jugadorEstado);\r\n List<Estado> estados=new ArrayList<Estado>();\r\n int cantmovs=0;\r\n if(movimientos!=null)\r\n cantmovs=movimientos.length;\r\n for (int i=0; i<cantmovs;i++){\r\n estados.add(estadom.clone().siguiente(movimientos[i]));\r\n }\r\n return estados;\r\n }",
"public String[] ListaPuertos() {\n listaPuertos = CommPortIdentifier.getPortIdentifiers();\n String[] puertos = null;\n ArrayList p = new ArrayList();\n int i = 0;\n while (listaPuertos.hasMoreElements()) {\n id_Puerto = (CommPortIdentifier) listaPuertos.nextElement();\n if (id_Puerto.getPortType() == 1) {\n p.add(id_Puerto.getName());\n }\n i++;\n }\n puertos = new String[p.size()];\n return (String[]) p.toArray(puertos);\n }",
"public List<CXPFactura> buscarFacturasPendientes(){\r\n\t\treturn getFacturaDao().buscarFacturasPendientes();\r\n\t}",
"@Override\n public ArrayList<Propiedad> getPropiedadesAgente(String pId) throws SQLException {\n ArrayList<Propiedad> resultado = new ArrayList<Propiedad>();\n resultado = (ArrayList<Propiedad>) bdPropiedad.selectQuery(\"SELECT * FROM PROPIEDAD WHERE ID_AGENTE \"\n + \"= '\" + pId + \"'\");\n return resultado;\n }",
"public String[] imprimeProfessores() {\n\t\tString[] st = new String[PROFESSORES.size()];\n\n\t\tfor (int i = 0; i < st.length; i++) {\n\n\t\t\tst[i] = PROFESSORES.get(i).getCodProfessor() + \" \" + PROFESSORES.get(i).getNome();\n\t\t}\n\n\t\treturn st;\n\t}",
"public List<UserProfile> getProfiliGestiti() {\r\n\t\tList<UserProfile> profili = getProfili();\r\n\t\t// siccome tiro su i profili ordinati per id,\r\n\t\t// so per certo che il primo � l'amministratore\r\n\t\t//profili.remove(0);\r\n\t\treturn profili;\r\n\t}"
] | [
"0.7404709",
"0.71045655",
"0.69575095",
"0.6477881",
"0.63398206",
"0.62064844",
"0.6178453",
"0.6110527",
"0.60704315",
"0.60412985",
"0.59889543",
"0.598262",
"0.59639007",
"0.59403604",
"0.5926728",
"0.59138906",
"0.58888674",
"0.5866852",
"0.58308965",
"0.5822716",
"0.58135635",
"0.5803442",
"0.57879126",
"0.5758034",
"0.57420427",
"0.5735646",
"0.5729562",
"0.5709093",
"0.5695703",
"0.56866014",
"0.56811726",
"0.56802356",
"0.5663486",
"0.5650293",
"0.5614786",
"0.5584266",
"0.557469",
"0.5557736",
"0.55558383",
"0.55343944",
"0.55186945",
"0.55146444",
"0.5510219",
"0.55079234",
"0.5487902",
"0.54848063",
"0.54828215",
"0.5472152",
"0.54495114",
"0.5446054",
"0.5445948",
"0.5444222",
"0.54382133",
"0.5434917",
"0.54301214",
"0.54268354",
"0.542061",
"0.54202724",
"0.541709",
"0.54127425",
"0.5411466",
"0.5411334",
"0.54076153",
"0.5407367",
"0.54073155",
"0.53967094",
"0.53864187",
"0.5379932",
"0.5376696",
"0.5375865",
"0.53617054",
"0.5361519",
"0.5360655",
"0.5359396",
"0.5356005",
"0.53522474",
"0.5347976",
"0.53470874",
"0.53430504",
"0.53387034",
"0.5338504",
"0.5330813",
"0.53278595",
"0.5327307",
"0.53249216",
"0.5323207",
"0.5317257",
"0.5308313",
"0.5306202",
"0.530089",
"0.53006643",
"0.52992314",
"0.5299194",
"0.52937",
"0.5292741",
"0.5286667",
"0.5284417",
"0.5284361",
"0.5278528",
"0.52748555"
] | 0.7497395 | 0 |
Processes requests for both HTTP GET and POST methods. | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
response.setContentType("text/html;charset=UTF-8");
try (PrintWriter out = response.getWriter())
{
out.println("<!DOCTYPE html>");
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet JoinGroupServlet</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Servlet JoinGroupServlet at " + request.getContextPath() + "</h1>");
out.println("</body>");
out.println("</html>");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {\n final String method = req.getParameter(METHOD);\n if (GET.equals(method)) {\n doGet(req, resp);\n } else {\n resp.setStatus(HttpServletResponse.SC_METHOD_NOT_ALLOWED);\n }\n }",
"private void processRequest(HttpServletRequest request, HttpServletResponse response) {\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n // only POST should be used\n doPost(request, response);\n }",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\nSystem.err.println(\"=====================>>>>>123\");\n\t\tString key=req.getParameter(\"method\");\n\t\tswitch (key) {\n\t\tcase \"1\":\n\t\t\tgetProvinces(req,resp);\n\t\t\tbreak;\n\t\tcase \"2\":\n\t\t\tgetCities(req,resp);\t\t\t\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tgetAreas(req,resp);\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tprocess(req, resp);\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\r\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\n\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n \tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n \t\t\tthrows ServletException, IOException {\n \t\tdoPost(req, resp);\n \t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t\tdoGet(req, resp);\r\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n processRequest(request, response);\n }",
"@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tprocessRequest(request, response);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tprocessRequest(request, response);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t\t\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\n\t\tprocess(req,resp);\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }"
] | [
"0.7004024",
"0.66585696",
"0.66031146",
"0.6510023",
"0.6447109",
"0.64421695",
"0.64405906",
"0.64321136",
"0.6428049",
"0.6424289",
"0.6424289",
"0.6419742",
"0.6419742",
"0.6419742",
"0.6418235",
"0.64143145",
"0.64143145",
"0.6400266",
"0.63939095",
"0.63939095",
"0.639271",
"0.63919044",
"0.63919044",
"0.63903785",
"0.63903785",
"0.63903785",
"0.63903785",
"0.63887113",
"0.63887113",
"0.6380285",
"0.63783026",
"0.63781637",
"0.637677",
"0.63761306",
"0.6370491",
"0.63626",
"0.63626",
"0.63614637",
"0.6355308",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896"
] | 0.0 | -1 |
Handles the HTTP GET method. | @Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void doGet( )\n {\n \n }",
"@Override\n\tprotected void executeGet(GetRequest request, OperationResponse response) {\n\t}",
"@Override\n\tprotected Method getMethod() {\n\t\treturn Method.GET;\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\n\t}",
"@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}",
"@Override\r\n\tprotected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\r\n\t}",
"void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n metGet(request, response);\n }",
"public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException {\r\n\tlogTrace( req, \"GET log\" );\r\n\tString requestId = req.getQueryString();\r\n\tif (requestId == null) return;\r\n\tif (\"get-response\".equals( requestId )) {\r\n\t try {\r\n\t\tonMEVPollsForResponse( req, resp );\r\n\t } catch (Exception e) {\r\n\t\tlogError( req, resp, e, \"MEV polling error\" );\r\n\t\tsendError( resp, \"MEV polling error: \" + e.toString() );\r\n\t }\r\n\t}\r\n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n \r\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t\t\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}",
"public void doGet() throws IOException {\n\n // search ressource\n byte[] contentByte = null;\n try {\n contentByte = ToolBox.readFileByte(RESOURCE_DIRECTORY, this.url);\n this.statusCode = OK;\n ContentType contentType = new ContentType(this.extension);\n sendHeader(statusCode, contentType.getContentType(), contentByte.length);\n } catch (IOException e) {\n System.out.println(\"Ressource non trouvé\");\n statusCode = NOT_FOUND;\n contentByte = ToolBox.readFileByte(RESPONSE_PAGE_DIRECTORY, \"pageNotFound.html\");\n sendHeader(statusCode, \"text/html\", contentByte.length);\n }\n\n this.sendBodyByte(contentByte);\n }",
"public HttpResponseWrapper invokeGET(String path) {\n\t\treturn invokeHttpMethod(HttpMethodType.HTTP_GET, path, \"\");\n\t}",
"@Override\n\tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }",
"@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t}",
"public Result get(Get get) throws IOException;",
"@Override\n public void doGet(HttpServletRequest request, HttpServletResponse response) {\n System.out.println(\"[Servlet] GET request \" + request.getRequestURI());\n\n response.setContentType(FrontEndServiceDriver.APP_TYPE);\n response.setStatus(HttpURLConnection.HTTP_BAD_REQUEST);\n\n try {\n String url = FrontEndServiceDriver.primaryEventService +\n request.getRequestURI().replaceFirst(\"/events\", \"\");\n HttpURLConnection connection = doGetRequest(url);\n\n if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) {\n PrintWriter pw = response.getWriter();\n JsonObject responseBody = (JsonObject) parseResponse(connection);\n\n response.setStatus(HttpURLConnection.HTTP_OK);\n pw.println(responseBody.toString());\n }\n }\n catch (Exception ignored) {}\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tSystem.out.println(\"get\");\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \tSystem.out.println(\"---here--get--\");\n processRequest(request, response);\n }",
"@Override\n public final void doGet() {\n try {\n checkPermissions(getRequest());\n // GET one\n if (id != null) {\n output(api.runGet(id, getParameterAsList(PARAMETER_DEPLOY), getParameterAsList(PARAMETER_COUNTER)));\n } else if (countParameters() == 0) {\n throw new APIMissingIdException(getRequestURL());\n }\n // Search\n else {\n\n final ItemSearchResult<?> result = api.runSearch(Integer.parseInt(getParameter(PARAMETER_PAGE, \"0\")),\n Integer.parseInt(getParameter(PARAMETER_LIMIT, \"10\")), getParameter(PARAMETER_SEARCH),\n getParameter(PARAMETER_ORDER), parseFilters(getParameterAsList(PARAMETER_FILTER)),\n getParameterAsList(PARAMETER_DEPLOY), getParameterAsList(PARAMETER_COUNTER));\n\n head(\"Content-Range\", result.getPage() + \"-\" + result.getLength() + \"/\" + result.getTotal());\n\n output(result.getResults());\n }\n } catch (final APIException e) {\n e.setApi(apiName);\n e.setResource(resourceName);\n throw e;\n }\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tthis.service(req, resp);\r\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t}",
"@RequestMapping(value = \"/{id}\", method = RequestMethod.GET)\n public void get(@PathVariable(\"id\") String id, HttpServletRequest req){\n throw new NotImplementedException(\"To be implemented\");\n }",
"@Override\npublic void get(String url) {\n\t\n}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString action = req.getParameter(\"action\");\r\n\t\t\r\n\t\tif(action == null) {\r\n\t\t\taction = \"List\";\r\n\t\t}\r\n\t\t\r\n\t\tswitch(action) {\r\n\t\t\tcase \"List\":\r\n\t\t\t\tlistUser(req, resp);\r\n\t\t\t\t\t\t\r\n\t\t\tdefault:\r\n\t\t\t\tlistUser(req, resp);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest request, \n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tSystem.out.println(\"Routed to doGet\");\n\t}",
"@NonNull\n public String getAction() {\n return \"GET\";\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\n\t\tprocess(req,resp);\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"@Override\r\nprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t process(req,resp);\r\n\t }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tprocess(req, resp);\n\t}",
"@Override\n\tpublic HttpResponse get(final String endpoint) {\n\t\treturn httpRequest(HTTP_GET, endpoint, null);\n\t}",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n System.out.println(\"teste doget\");\r\n }",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/plain\");\n // Actual logic goes here.\n PrintWriter out = response.getWriter();\n out.println(\"Wolken,5534-0848-5100,0299-6830-9164\");\n\ttry \n\t{\n Get g = new Get(Bytes.toBytes(request.getParameter(\"userid\")));\n Result r = table.get(g);\n byte [] value = r.getValue(Bytes.toBytes(\"v\"),\n Bytes.toBytes(\"\"));\n\t\tString valueStr = Bytes.toString(value);\n\t\tout.println(valueStr);\n\t}\n\tcatch (Exception e)\n\t{\n\t\tout.println(e);\n\t}\n }",
"@Override\r\n public void doGet(String path, HttpServletRequest request, HttpServletResponse response)\r\n throws Exception {\r\n // throw new UnsupportedOperationException();\r\n System.out.println(\"Inside the get\");\r\n response.setContentType(\"text/xml\");\r\n response.setCharacterEncoding(\"utf-8\");\r\n final Writer w = response.getWriter();\r\n w.write(\"inside the get\");\r\n w.close();\r\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n System.out.println(\"Console: doGET visited\");\n String result = \"\";\n //get the user choice from the client\n String choice = (request.getPathInfo()).substring(1);\n response.setContentType(\"text/plain;charset=UTF-8\");\n PrintWriter out = response.getWriter();\n //methods call appropriate to user calls\n if (Integer.valueOf(choice) == 3) {\n result = theBlockChain.toString();\n if (result != null) {\n out.println(result);\n response.setStatus(200);\n //set status if result output is not generated\n } else {\n response.setStatus(401);\n return;\n }\n }\n //verify chain method\n if (Integer.valueOf(choice) == 2) {\n response.setStatus(200);\n boolean validity = theBlockChain.isChainValid();\n out.print(\"verifying:\\nchain verification: \");\n out.println(validity);\n }\n }",
"@Override\n public DataObjectResponse<T> handleGET(DataObjectRequest<T> request)\n {\n if(getRequestValidator() != null) getRequestValidator().validateGET(request);\n\n DefaultDataObjectResponse<T> response = new DefaultDataObjectResponse<>();\n try\n {\n VisibilityFilter<T, DataObjectRequest<T>> visibilityFilter = visibilityFilterMap.get(VisibilityMethod.GET);\n List<Query> queryList = new LinkedList<>();\n if(request.getQueries() != null)\n queryList.addAll(request.getQueries());\n\n if(request.getId() != null)\n {\n // if the id is specified\n queryList.add(new ById(request.getId()));\n }\n\n DataObjectFeed<T> feed = objectPersister.retrieve(queryList);\n if(feed == null)\n feed = new DataObjectFeed<>();\n List<T> filteredObjects = visibilityFilter.filterByVisible(request, feed.getAll());\n response.setCount(feed.getCount());\n response.addAll(filteredObjects);\n }\n catch(PersistenceException e)\n {\n ObjectNotFoundException objectNotFoundException = new ObjectNotFoundException(String.format(OBJECT_NOT_FOUND_EXCEPTION, request.getId()), e);\n response.setErrorResponse(ErrorResponseFactory.objectNotFound(objectNotFoundException, request.getCID()));\n }\n return response;\n }",
"public void handleGet( HttpExchange exchange ) throws IOException {\n switch( exchange.getRequestURI().toString().replace(\"%20\", \" \") ) {\n case \"/\":\n print(\"sending /MainPage.html\");\n sendResponse( exchange, FU.readFromFile( getReqDir( exchange )), 200);\n break;\n case \"/lif\":\n // send log in page ( main page )\n sendResponse ( exchange, FU.readFromFile(getReqDir(exchange)), 200);\n //\n break;\n case \"/home.html\":\n\n break;\n case \"/book.html\":\n\n break;\n default:\n //checks if user is logged in\n\n //if not send log in page\n //if user is logged in then\n print(\"Sending\");\n String directory = getReqDir( exchange ); // dont need to do the / replace as no space\n File page = new File( getReqDir( exchange) );\n\n // IMPLEMENT DIFFERENT RESPONSE CODE FOR HERE IF EXISTS IS FALSE OR CAN READ IS FALSE\n sendResponse(exchange, FU.readFromFile(directory), 200);\n break;\n }\n }",
"public int handleGET(String requestURL) throws ClientProtocolException, IOException{\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\thttpGet = new HttpGet(requestURL);\t\t\r\n\t\t\t\t\t\t\r\n\t\tinputsource=null;\r\n\t\t\t\r\n\t\toutputString=\"\";\r\n\t\t\r\n\t\t//taking response by executing http GET object\r\n\t\tCloseableHttpResponse response = httpclient.execute(httpGet);\t\t\r\n\t\r\n\t\t/* \r\n\t\t * \tThe underlying HTTP connection is still held by the response object\r\n\t\t\tto allow the response content to be streamed directly from the network socket.\r\n\t\t\tIn order to ensure correct deallocation of system resources\r\n\t\t\tthe user MUST call CloseableHttpResponse.close() from a finally clause.\r\n\t\t\tPlease note that if response content is not fully consumed the underlying\r\n\t\t\tconnection cannot be safely re-used and will be shut down and discarded\r\n\t\t\tby the connection manager.\r\n\t\t */\r\n\t\t\r\n\t\t\tstatusLine= response.getStatusLine().toString();\t\t//status line\r\n\t\t\t\r\n\t\t\tHttpEntity entity1 = response.getEntity();\t\t\t\t//getting response entity from server response \t\r\n\t\t\t\t\t\r\n\t\t\tBufferedReader br=new BufferedReader(new InputStreamReader(entity1.getContent()));\r\n\r\n\t\t\tString line;\r\n\t\t\twhile((line=br.readLine())!=null)\r\n\t\t\t{\r\n\t\t\t\toutputString=outputString+line.toString();\r\n\t }\r\n\t\t\t\r\n\t\t\t//removing spaces around server response string.\r\n\t\t\toutputString.trim();\t\t\t\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t//converting server response string into InputSource.\r\n\t\t\tinputsource = new InputSource(new StringReader(outputString));\t\r\n\t\t\t\r\n\t\t\t// and ensure it is fully consumed\r\n\t\t\tEntityUtils.consume(entity1);\t\t\t//consuming entity.\r\n\t\t\tresponse.close();\t\t\t\t\t\t//closing response.\r\n\t\t\tbr.close();\t\t\t\t\t\t\t\t//closing buffered reader\r\n\t\t\t\r\n\t\t\t//returning response code\r\n\t\t\treturn response.getStatusLine().getStatusCode();\r\n\t\r\n\t}",
"@Override\n\tprotected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t logger.error(\"BISHUNNN CALLED\");\n\t\tString category = request.getParameter(\"category\").trim();\n\t\tGetHttpCall getHttpCall = new GetHttpCall();\n\t\turl = APIConstants.baseURL+category.toLowerCase();\n\t\tresponseString = getHttpCall.execute(url);\n\t\tresponse.getWriter().write(responseString);\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n //processRequest(request, response);\r\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tPrintWriter out = resp.getWriter();\n\t\tout.print(\"<h1>Hello from your doGet method!</h1>\");\n\t}",
"public void doGet(HttpServletRequest request,\n HttpServletResponse response)\n throws IOException, ServletException {\n response.setContentType(TYPE_TEXT_HTML.label);\n response.setCharacterEncoding(UTF8.label);\n request.setCharacterEncoding(UTF8.label);\n String path = request.getRequestURI();\n logger.debug(RECEIVED_REQUEST + path);\n Command command = null;\n try {\n command = commands.get(path);\n command.execute(request, response);\n } catch (NullPointerException e) {\n logger.error(REQUEST_PATH_NOT_FOUND);\n request.setAttribute(JAVAX_SERVLET_ERROR_STATUS_CODE, 404);\n command = commands.get(EXCEPTION.label);\n command.execute(request, response);\n }\n }",
"public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString search = req.getParameter(\"searchBook\");\n\t\tString output=search;\n\n\t\t//redirect output to view search.jsp\n\t\treq.setAttribute(\"output\", output);\n\t\tresp.setContentType(\"text/json\");\n\t\tRequestDispatcher view = req.getRequestDispatcher(\"search.jsp\");\n\t\tview.forward(req, resp);\n\t\t\t\n\t}",
"public void doGet( HttpServletRequest request, HttpServletResponse response )\n throws ServletException, IOException\n {\n handleRequest( request, response, false );\n }",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n public Response handleGet() {\n Gson gson = GSONFactory.getInstance();\n List allEmployees = getAllEmployees();\n\n if (allEmployees == null) {\n allEmployees = new ArrayList();\n }\n\n Response response = Response.ok().entity(gson.toJson(allEmployees)).build();\n return response;\n }",
"@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows IOException, ServletException {\n\t\tsuper.doGet(request, response);\t\t\t\n\t}",
"private static String sendGET(String getURL) throws IOException {\n\t\tURL obj = new URL(getURL);\n\t\tHttpURLConnection con = (HttpURLConnection) obj.openConnection();\n\t\tcon.setRequestMethod(\"GET\");\n\t\tString finalResponse = \"\";\n\n\t\t//This way we know if the request was processed successfully or there was any HTTP error message thrown.\n\t\tint responseCode = con.getResponseCode();\n\t\tSystem.out.println(\"GET Response Code : \" + responseCode);\n\t\tif (responseCode == HttpURLConnection.HTTP_OK) { // success\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n\t\t\tString inputLine;\n\t\t\tStringBuffer buffer = new StringBuffer();\n\n\t\t\twhile ((inputLine = in.readLine()) != null) {\n\t\t\t\tbuffer.append(inputLine);\n\t\t\t}\n\t\t\tin.close();\n\n\t\t\t// print result\n\t\t\tfinalResponse = buffer.toString();\n\t\t} else {\n\t\t\tSystem.out.println(\"GET request not worked\");\n\t\t}\n\t\treturn finalResponse;\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //processRequest(request, response);\n }",
"@Override\n \tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n \t\t\tthrows ServletException, IOException {\n \t\tdoPost(req, resp);\n \t}",
"public BufferedReader reqGet(final String route) throws\n ServerStatusException, IOException {\n System.out.println(\"first reqGet\");\n return reqGet(route, USER_AGENT);\n }",
"HttpGet getRequest(HttpServletRequest request, String address) throws IOException;",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override \r\nprotected void doGet(HttpServletRequest request, HttpServletResponse response) \r\nthrows ServletException, IOException { \r\nprocessRequest(request, response); \r\n}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\n String action = request.getParameter(\"action\");\r\n\r\n try {\r\n switch (action)\r\n {\r\n case \"/getUser\":\r\n \tgetUser(request, response);\r\n break;\r\n \r\n }\r\n } catch (Exception ex) {\r\n throw new ServletException(ex);\r\n }\r\n }",
"@Override\n protected void doGet\n (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\n\t}",
"@Test\r\n\tpublic void doGet() throws Exception {\n\t\tCloseableHttpClient httpClient = HttpClients.createDefault();\r\n\t\t// Create a GET object and pass a url to it\r\n\t\tHttpGet get = new HttpGet(\"http://www.google.com\");\r\n\t\t// make a request\r\n\t\tCloseableHttpResponse response = httpClient.execute(get);\r\n\t\t// get response as result\r\n\t\tSystem.out.println(response.getStatusLine().getStatusCode());\r\n\t\tHttpEntity entity = response.getEntity();\r\n\t\tSystem.out.println(EntityUtils.toString(entity));\r\n\t\t// close HttpClient\r\n\t\tresponse.close();\r\n\t\thttpClient.close();\r\n\t}",
"private void requestGet(String endpoint, Map<String, String> params, RequestListener listener) throws Exception {\n String requestUri = Constant.API_BASE_URL + ((endpoint.indexOf(\"/\") == 0) ? endpoint : \"/\" + endpoint);\n get(requestUri, params, listener);\n }",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tint i = request.getRequestURI().lastIndexOf(\"/\") + 1;\n\t\tString action = request.getRequestURI().substring(i);\n\t\tSystem.out.println(action);\n\t\t\n\t\tString view = \"Error\";\n\t\tObject model = \"service Non disponible\";\n\t\t\n\t\tif (action.equals(\"ProductsList\")) {\n\t\t\tview = productAction.productsList();\n\t\t\tmodel = productAction.getProducts();\n\t\t}\n\t\t\n\t\trequest.setAttribute(\"model\", model);\n\t\trequest.getRequestDispatcher(prefix + view + suffix).forward(request, response); \n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t throws ServletException, IOException {\n\tprocessRequest(request, response);\n }",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tcommandAction(request,response);\r\n\t}"
] | [
"0.7589609",
"0.71665615",
"0.71148175",
"0.705623",
"0.7030174",
"0.70291144",
"0.6995984",
"0.697576",
"0.68883485",
"0.6873811",
"0.6853569",
"0.6843572",
"0.6843572",
"0.6835363",
"0.6835363",
"0.6835363",
"0.68195957",
"0.6817864",
"0.6797789",
"0.67810035",
"0.6761234",
"0.6754993",
"0.6754993",
"0.67394847",
"0.6719924",
"0.6716244",
"0.67054695",
"0.67054695",
"0.67012346",
"0.6684415",
"0.6676695",
"0.6675696",
"0.6675696",
"0.66747975",
"0.66747975",
"0.6669016",
"0.66621476",
"0.66621476",
"0.66476154",
"0.66365504",
"0.6615004",
"0.66130257",
"0.6604073",
"0.6570195",
"0.6551141",
"0.65378064",
"0.6536579",
"0.65357745",
"0.64957607",
"0.64672184",
"0.6453189",
"0.6450501",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.64067316",
"0.6395873",
"0.6379907",
"0.63737476",
"0.636021",
"0.6356937",
"0.63410467",
"0.6309468",
"0.630619",
"0.630263",
"0.63014317",
"0.6283933",
"0.62738425",
"0.62680805",
"0.62585783",
"0.62553537",
"0.6249043",
"0.62457556",
"0.6239428",
"0.6239428",
"0.62376446",
"0.62359244",
"0.6215947",
"0.62125194",
"0.6207376",
"0.62067443",
"0.6204527",
"0.6200444",
"0.6199078",
"0.61876005",
"0.6182614",
"0.61762017",
"0.61755335",
"0.61716276",
"0.6170575",
"0.6170397",
"0.616901"
] | 0.0 | -1 |
Handles the HTTP POST method. | @Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String parameters = request.getParameter("group_name");
String[] sentences = parameters.split(";");
System.out.println(sentences[0]);
String group_name = sentences[0];
String email = sentences[1].split("=")[1];
try
{
System.out.println("Connection Established");
int theCount = JoinGroupDB.JoinTheGroup(group_name, email);
System.out.println(theCount);
if (theCount == 0)
{
response.getOutputStream().print("Cant join. Member Limit reached");
} else if (theCount == 1)
{
response.getOutputStream().print("Joined");
}
else if (theCount == -1)
{
throw new Exception("Exception caused in stored procedure");
}
} catch (Exception ex)
{
ex.printStackTrace();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void doPost(Request request, Response response) {\n\n\t}",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) {\n }",
"public void doPost( )\n {\n \n }",
"@Override\n public String getMethod() {\n return \"POST\";\n }",
"public String post();",
"@Override\n\tpublic void doPost(HttpRequest request, AbstractHttpResponse response)\n\t\t\tthrows IOException {\n\t\t\n\t}",
"@Override\n public String getMethod() {\n return \"POST\";\n }",
"public ResponseTranslator post() {\n setMethod(\"POST\");\n return doRequest();\n }",
"protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException {\n }",
"public void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows IOException {\n\n\t}",
"public void postData() {\n\n\t}",
"@Override\n public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {\n logger.warn(\"doPost Called\");\n handle(req, res);\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n metPost(request, response);\n }",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tpublic void postHandle(WebRequest request, ModelMap model) throws Exception {\n\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\t\t\r\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\n\t}",
"@Override\n\tprotected HttpMethod requestMethod() {\n\t\treturn HttpMethod.POST;\n\t}",
"@Override\n\tprotected void handlePostBody(HashMap<String, HashMap<String, String>> params, DataFormat format) throws Exception {\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n }",
"@Override\n\tprotected void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\n\n\tpublic void handlePOST(CoapExchange exchange) {\n\t\tFIleStream read = new FIleStream();\n\t\tread.tempWrite(Temp_Path, exchange.getRequestText());\n\t\texchange.respond(ResponseCode.CREATED, \"POST successfully!\");\n\t\t_Logger.info(\"Receive post request:\" + exchange.getRequestText());\n\t}",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.getWriter().println(\"go to post method in manager\");\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t\n\t}",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"public abstract boolean handlePost(FORM form, BindException errors) throws Exception;",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n super.doPost(req, resp);\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\n\t\t\t\n\t\t \n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"public void processPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n }",
"@Override\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n\t}",
"@Override\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\n\t}",
"public void doPost(HttpServletRequest request ,HttpServletResponse response){\n\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"public void post(){\n\t\tHttpClient client = new HttpClient();\n\n\t\tPostMethod post = new PostMethod(\"http://211.138.245.85:8000/sso/POST\");\n//\t\tPostMethod post = new PostMethod(\"/eshopclient/product/show.do?id=111655\");\n//\t\tpost.addRequestHeader(\"Cookie\", cookieHead);\n\n\n\t\ttry {\n\t\t\tSystem.out.println(\"��������====\");\n\t\t\tint status = client.executeMethod(post);\n\t\t\tSystem.out.println(status);\n\t\t} catch (HttpException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n//\t\ttaskCount++;\n//\t\tcountDown--;\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException {\r\n\tlogTrace( req, \"POST log\" );\r\n\tString requestId = req.getQueryString();\r\n\tif (requestId == null) {\r\n\t try {\r\n\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t } catch (IOException ex) {\r\n\t }\r\n\t logError( req, resp, new Exception(\"Unrecognized POST\"), \"\" );\r\n\t sendError(resp, \"Unrecognized POST\");\r\n\t} else\r\n\t if (\"post-request\".equals( requestId )) {\r\n\t\ttry {\r\n\t\t onMEVPostsRequest( req, resp );\r\n\t\t} catch (Exception e) {\r\n\t\t try {\r\n\t\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t\t } catch (IOException ex) {\r\n\t\t }\r\n\t\t logError( req, resp, e, \"MEV POST error\" );\r\n\t\t sendError( resp, \"MEV POST error: \" + e.toString() );\r\n\t\t}\r\n\t } else if (\"post-response\".equals( requestId )) {\r\n\t\ttry {\r\n\t\t onPVMPostsResponse( req, resp );\r\n\t\t} catch (Exception e) {\r\n\t\t try {\r\n\t\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t\t } catch (IOException ex) {\r\n\t\t }\r\n\t\t logError( req, resp, e, \"PVM POST error\" );\r\n\t\t sendError( resp, \"PVM POST error: \" + e.toString() );\r\n\t\t}\r\n\t }\r\n }",
"@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\n\t}",
"@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\n\t}",
"@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest req, HttpServletResponse resp, Object handler, ModelAndView m)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"@Override\n public final void doPost() {\n try {\n checkPermissions(getRequest());\n final IItem jSonStreamAsItem = getJSonStreamAsItem();\n final IItem outputItem = api.runAdd(jSonStreamAsItem);\n\n output(JSonItemWriter.itemToJSON(outputItem));\n } catch (final APIException e) {\n e.setApi(apiName);\n e.setResource(resourceName);\n throw e;\n\n }\n }",
"@Override\n\tvoid post() {\n\t\t\n\t}",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\tSystem.out.println(\"=========interCpetor Post=========\");\r\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tString method = request.getParameter(\"method\");\n\t\tswitch(method){\n\t\tcase \"Crawl\":\n\t\t\tcrawl(request, response);\n\t\t\tbreak;\n\t\tcase \"Extract\":\n\t\t\textract(request, response);\n\t\t\tbreak;\n\t\tcase \"JDBC\":\n\t\t\tjdbc(request, response);\n\t\t\tbreak;\n\t\tcase \"Indexer\":\n\t\t\tindexer(request, response);\n\t\t\tbreak;\n\t\t}\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n System.out.println(\"teste dopost\");\r\n }",
"protected void doPost(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response)\r\n\t/* 43: */throws ServletException, IOException\r\n\t/* 44: */{\r\n\t\t/* 45:48 */doGet(request, response);\r\n\t\t/* 46: */}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tprocess(req, resp);\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\tprocess(req,resp);\r\n\t}",
"public void handlePost(SessionSrvc session, IObjectContext context)\n throws Exception\n {\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tdoGet(request, response);\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tdoGet(request, response);\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response) {\r\n\t\tdoGet(request, response);\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}",
"@Override\n protected void doPost\n (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n try {\r\n processRequest(request, response);\r\n } catch (JSONException ex) {\r\n Logger.getLogger(PDCBukUpload.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }",
"@Override\r\n protected void doPost(HttpServletRequest request,\r\n HttpServletResponse response)\r\n throws ServletException,\r\n IOException {\r\n processRequest(request,\r\n response);\r\n\r\n }",
"@Override\r\n\tpublic void doPost(CustomHttpRequest request, CustomHttpResponse response) throws Exception {\n\t\tdoGet(request, response);\r\n\t}",
"@Override\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response,\n\t\t\tObject handler, ModelAndView modelAndView) throws Exception {\n\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoHandle(request, response);\n\t}",
"private void postRequest() {\n\t\tSystem.out.println(\"post request, iam playing money\");\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\n public void postHandle(HttpServletRequest request,\n HttpServletResponse response, Object handler,\n ModelAndView modelAndView) throws Exception {\n\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n try {\n processRequest(request, response);\n } catch (Exception ex) {\n Logger.getLogger(PedidoController.class.getName()).log(Level.SEVERE, null, ex);\n }\n }"
] | [
"0.73289514",
"0.71383566",
"0.7116213",
"0.7105215",
"0.7100045",
"0.70236707",
"0.7016248",
"0.6964149",
"0.6889435",
"0.6784954",
"0.67733276",
"0.67482096",
"0.66677034",
"0.6558593",
"0.65582114",
"0.6525548",
"0.652552",
"0.652552",
"0.652552",
"0.65229493",
"0.6520197",
"0.6515622",
"0.6513045",
"0.6512626",
"0.6492367",
"0.64817846",
"0.6477479",
"0.64725804",
"0.6472099",
"0.6469389",
"0.6456206",
"0.6452577",
"0.6452577",
"0.6452577",
"0.6450273",
"0.6450273",
"0.6438126",
"0.6437522",
"0.64339423",
"0.64253825",
"0.6422238",
"0.6420897",
"0.6420897",
"0.6420897",
"0.6407662",
"0.64041835",
"0.64041835",
"0.639631",
"0.6395677",
"0.6354875",
"0.63334197",
"0.6324263",
"0.62959254",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6280875",
"0.6272104",
"0.6272104",
"0.62711537",
"0.62616795",
"0.62544584",
"0.6251865",
"0.62274224",
"0.6214439",
"0.62137586",
"0.621211",
"0.620854",
"0.62023044",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61638993",
"0.61603814",
"0.6148914",
"0.61465937",
"0.61465937",
"0.614548",
"0.6141879",
"0.6136717",
"0.61313903",
"0.61300284",
"0.6124381",
"0.6118381",
"0.6118128",
"0.61063534",
"0.60992104",
"0.6098801",
"0.6096766"
] | 0.0 | -1 |
Returns a short description of the servlet. | @Override
public String getServletInfo() {
return "Short description";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getServletInfo()\n {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\r\n public String getServletInfo()\r\n {\r\n return \"Short description\";\r\n }",
"@Override\n public String getServletInfo()\n {\n return \"Short description\";\n }",
"@Override\r\n\tpublic String getServletInfo() {\r\n\t\treturn \"Short description\";\r\n\t}",
"@Override\r\n public String getServletInfo()\r\n {\r\n return \"Short description\";\r\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }"
] | [
"0.87634975",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8732279",
"0.8699131",
"0.8699131",
"0.8699131",
"0.8699131",
"0.8699131",
"0.8699131",
"0.8531295",
"0.8531295",
"0.85282224",
"0.85282224",
"0.85282224",
"0.8527433",
"0.8527433",
"0.8527433",
"0.8527433",
"0.8527433",
"0.8527433",
"0.8516995",
"0.8512296",
"0.8511239",
"0.8510324",
"0.84964365",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599",
"0.8492599"
] | 0.0 | -1 |
Use FileMessage.newBuilder() to construct. | private FileMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected FileMessage(MessageWireType wireId) {\n super(wireId);\n }",
"private FileMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public Builder setFile(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n file_ = value;\n onChanged();\n return this;\n }",
"private OpenFileRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"MessageFile(final String name) {\n this.name = name;\n }",
"private RetrieveFile(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private FileLocation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private OpenFileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private RetrieveFileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public File() {\n\t\tthis.name = \"\";\n\t\tthis.data = \"\";\n\t\tthis.creationTime = 0;\n\t}",
"public FileMessageFactory(Session session, String filename) throws MessageFactoryException\n {\n try\n {\n _filename = filename;\n _payload = FileUtils.readFileAsString(filename);\n _session = session;\n }\n catch (Exception e)\n {\n MessageFactoryException mfe = new MessageFactoryException(e.toString(), e);\n throw mfe;\n }\n }",
"private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public File() {\n }",
"public FileObject() {\n\t}",
"public MyFile getMyFile() {\r\n\t\tMyFile msg = new MyFile(path);\r\n\t\tString LocalfilePath = path;\r\n\r\n\t\ttry {\r\n\t\t\tFile newFile = new File(LocalfilePath);\r\n\t\t\tbyte[] mybytearray = new byte[(int) newFile.length()];\r\n\t\t\tFileInputStream fis = new FileInputStream(newFile);\r\n\t\t\tBufferedInputStream bis = new BufferedInputStream(fis);\r\n\r\n\t\t\tmsg.initArray(mybytearray.length);\r\n\t\t\tmsg.setSize(mybytearray.length);\r\n\r\n\t\t\tbis.read(msg.getMybytearray(), 0, mybytearray.length);\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Error send (Files)msg) to Server\");\r\n\t\t}\r\n\t\treturn msg;\r\n\t}",
"private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private CloseFileRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public static <T extends PMessage<T>, F extends PField> Stream<T> file(File file,\n PStructDescriptor<T, F> descriptor)\n throws IOException {\n BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));\n\n PSerializer serializer;\n in.mark(16);\n int r = in.read();\n if (r < 0) {\n throw new IOException(\"Unexpected end of stream.\");\n }\n if (r == PJsonSerializer.DEFAULT_STREAM_INITIATOR[0]) {\n serializer = new PJsonSerializer(true);\n in.reset();\n } else {\n serializer = new PFastBinarySerializer(true);\n in.reset();\n }\n\n return stream(in, serializer, descriptor);\n }",
"public Builder setObjectFileBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n\n objectFile_ = value;\n onChanged();\n return this;\n }",
"public com.google.protobuf.ByteString getFile() {\n return file_;\n }",
"@NonNull\n\t\tBuilder addFile(@NonNull File file);",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n fileName_ = value;\n onChanged();\n return this;\n }",
"public com.google.protobuf.ByteString getFile() {\n return file_;\n }",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n fileName_ = value;\n onChanged();\n return this;\n }",
"private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Message(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }",
"private static HttpMessage createMessage(\n String paramContent, String fileName, String contentType, String fileParamContent) {\n HttpMessage message = createBaseMessage();\n StringBuilder bodySb = new StringBuilder(320);\n bodySb.append(\"--------------------------d74496d66958873e\").append(CRLF);\n bodySb.append(\"Content-Disposition: form-data; name=\\\"person\\\"\").append(CRLF);\n bodySb.append(CRLF);\n bodySb.append(paramContent).append(CRLF);\n bodySb.append(\"--------------------------d74496d66958873e\").append(CRLF);\n bodySb.append(\"Content-Disposition: form-data; name=\\\"somefile\\\"; filename=\\\"\")\n .append(fileName)\n .append(\"\\\"\")\n .append(CRLF);\n bodySb.append(\"Content-Type: \").append(contentType).append(CRLF);\n bodySb.append(CRLF);\n bodySb.append(fileParamContent).append(CRLF);\n bodySb.append(\"--------------------------d74496d66958873e--\").append(CRLF);\n message.setRequestBody(bodySb.toString());\n return message;\n }",
"private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private MessageRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private FileEntry() {\n // intentionally empty\n }",
"public MessageHeader(Utils.MessageType messageType, int senderId, String fileId) {\n this.messageType = messageType;\n this.senderId = senderId;\n this.fileId = fileId;\n }",
"public FileBean() {}",
"private CloseFileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Message(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"private static MessageHeader createHeader(ConnectionHeader connectionHeader, File file) {\n\n\t\tObject[] iov = new Object[4];\n\t\tiov[0] = connectionHeader.getProtocolVersion();\n\t\tiov[1]= connectionHeader.getMessageType();\n\t\tiov[2] = connectionHeader.getDataLen();\n\t\tiov[3] = connectionHeader.getMetaLen();\n\n\t\tMessageHeader mh = new MessageHeader();\n\t\tmh.setIov(iov);\n\t\tif(file != null) {\n\t\t\tmh.setFilePath(file.getAbsolutePath());\n\t\t}\n\n\t\treturn mh;\n\t}",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n fileName_ = value;\n onChanged();\n return this;\n }",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n fileName_ = value;\n onChanged();\n return this;\n }",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n fileName_ = value;\n onChanged();\n return this;\n }",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n fileName_ = value;\n onChanged();\n return this;\n }",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n fileName_ = value;\n onChanged();\n return this;\n }",
"public Builder setFileNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n fileName_ = value;\n onChanged();\n return this;\n }",
"private StorageMessageWrapper(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public FileReceiver(String filename) {\r\n _fileName = filename;\r\n }",
"public FileContentBody(String filePath) {\n mFilePath = filePath;\n }",
"private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Messages(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public MessageHeader(Utils.MessageType messageType, String version, int senderId, String fileId, int chunkNo){\n this.messageType = messageType;\n this.version = version;\n this.senderId = senderId;\n this.fileId = fileId;\n this.chunkNo = chunkNo;\n }",
"public LogFileV2(File file) {\n try {\n if(!file.getParentFile().exists()){\n file.getParentFile().mkdirs();\n }\n this.file = file;\n this.randomAccessFile = new RandomAccessFile(file,\"rw\");\n this.fileChannel = randomAccessFile.getChannel();\n this.readMap = fileChannel.map(FileChannel.MapMode.READ_WRITE,0, CommitLogV2.FILE_SIZE);\n this.writeMap = fileChannel.map(FileChannel.MapMode.READ_WRITE,0, CommitLogV2.FILE_SIZE);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public FileInfo(File file) {\n this.file = file;\n }",
"public Messages(File i18nFile) {\n\t\tthis.i18nFile = i18nFile;\n\t}",
"public Message() {\n\tkey = MessageKey.NULL;\n\tdata = null;\n\n\tattachment = null;\n }",
"public FileNode() {\n\t}",
"private com.google.protobuf.SingleFieldBuilderV3<\n edu.usfca.cs.dfs.StorageMessages.RetrieveFile, edu.usfca.cs.dfs.StorageMessages.RetrieveFile.Builder, edu.usfca.cs.dfs.StorageMessages.RetrieveFileOrBuilder> \n getRetrieveFileFieldBuilder() {\n if (retrieveFileBuilder_ == null) {\n if (!(msgCase_ == 2)) {\n msg_ = edu.usfca.cs.dfs.StorageMessages.RetrieveFile.getDefaultInstance();\n }\n retrieveFileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n edu.usfca.cs.dfs.StorageMessages.RetrieveFile, edu.usfca.cs.dfs.StorageMessages.RetrieveFile.Builder, edu.usfca.cs.dfs.StorageMessages.RetrieveFileOrBuilder>(\n (edu.usfca.cs.dfs.StorageMessages.RetrieveFile) msg_,\n getParentForChildren(),\n isClean());\n msg_ = null;\n }\n msgCase_ = 2;\n onChanged();;\n return retrieveFileBuilder_;\n }",
"edu.usfca.cs.dfs.StorageMessages.RetrieveFileOrBuilder getRetrieveFileOrBuilder();",
"public static <T extends PMessage<T>, F extends PField> Stream<T> file(File file,\n PSerializer serializer,\n PStructDescriptor<T, F> descriptor)\n throws IOException {\n InputStream in = new BufferedInputStream(new FileInputStream(file));\n if (!serializer.streamInitiatorPartOfData()) {\n IOUtils.skipUntil(in, serializer.streamInitiator());\n }\n return StreamSupport.stream(new StreamMessageSpliterator<>(in, serializer, descriptor, is -> {\n try {\n is.close();\n return null;\n } catch(IOException e) {\n throw new UncheckedIOException(e);\n }\n }), false);\n }",
"public Builder setFileLocBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n fileLoc_ = value;\n onChanged();\n return this;\n }",
"entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();",
"entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();",
"public MimeMessage build() throws MessagingException, IOException {\n\n if (attachments != null && !attachments.isEmpty()) {\n MimeMultipart multipart = new MimeMultipart();\n MimeBodyPart body = new MimeBodyPart();\n setMessageContent(body);\n multipart.addBodyPart(body);\n String[] attachFiles = attachments.split(\",\");\n for (String filePath : attachFiles) {\n addAttachment(multipart, filePath);\n }\n message.setContent(multipart, MULTIPART_TYPE);\n } else {\n setMessageContent(message);\n }\n return message;\n }",
"public void testConstruction() throws StorageFileException, IOException {\n\t\tConversation conv = Conversation.createConversation();\r\n\t\tMessageData msg = MessageData.createMessageData(conv);\r\n\r\n\t\t// check structure\r\n\t\tassertTrue(Common.checkStructure());\r\n\t\t\r\n\t\tsetData(msg);\r\n\t\tmsg.saveToFile();\r\n\t\tlong index = msg.getEntryIndex();\r\n\t\t\r\n\t\t// for it to be re-read\r\n\t\tMessageData.forceClearCache();\r\n\t\tmsg = MessageData.getMessageData(index);\r\n\t\t\r\n\t\tcheckData(msg);\r\n\t}",
"public Builder setFileLocation(edu.usfca.cs.dfs.StorageMessages.FileLocation value) {\n if (fileLocationBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n fileLocationBuilder_.setMessage(value);\n }\n msgCase_ = 9;\n return this;\n }",
"@Test\n void buildWithFilePart() {\n MultipartFileBuilder builder = new MultipartFileBuilderImpl(\n System.getProperty(\"java.io.tmpdir\"));\n final byte[] value = UUID.randomUUID().toString().getBytes(StandardCharsets.UTF_8);\n StepVerifier\n .create(builder.build(createFilePart(value, \"file\", MediaType.TEXT_PLAIN, \"test.txt\")))\n .assertNext(multipartFile -> {\n try {\n assertFalse(multipartFile.isEmpty());\n assertEquals(\"file\", multipartFile.getName());\n assertEquals(MediaType.TEXT_PLAIN_VALUE, multipartFile.getContentType());\n assertEquals(\"test.txt\", multipartFile.getOriginalFilename());\n assertEquals(value.length, (int) multipartFile.getSize());\n assertArrayEquals(value, multipartFile.getBytes());\n\n } catch (IOException e) {\n throw ServiceException.internalServerError(\"Fatal error\", e);\n } finally {\n FileAwareMultipartFile.delete(multipartFile);\n }\n })\n .verifyComplete();\n }",
"File(String path, String type)\n {\n this.path=path;\n this.type=type;\n }",
"private BlobFromFile() {\n }",
"public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }",
"public LdifFile()\n {\n }",
"private FileUtil() {}",
"edu.usfca.cs.dfs.StorageMessages.FileLocationOrBuilder getFileLocationOrBuilder();",
"public Message build() {\n Objects.requireNonNull(transactionIdBytes);\n\n byte[] messageBytes = new byte[MESSAGE_LEN_HEADER + length];\n\n byte[] messageTypeBytes = createMessageType();\n System.arraycopy(messageTypeBytes, 0, messageBytes, MESSAGE_POS_TYPE, MESSAGE_LEN_TYPE);\n\n byte[] lengthBytes = Bytes.intToBytes(length);\n System.arraycopy(lengthBytes, 2, messageBytes, MESSAGE_POS_LENGTH, MESSAGE_LEN_LENGTH);\n\n byte[] magicCookieBytes = Bytes.intToBytes(MAGIC_COOKIE_FIXED_VALUE);\n System.arraycopy(\n magicCookieBytes, 0, messageBytes, MESSAGE_POS_MAGIC_COOKIE, MESSAGE_LEN_MAGIC_COOKIE);\n\n System.arraycopy(\n transactionIdBytes, 0, messageBytes, MESSAGE_POS_TRANSACTION_ID,\n MESSAGE_LEN_TRANSACTION_ID);\n transactionIdBytes = null;\n\n if (attributeBytes != null && attributeBytes.length > 0) {\n System.arraycopy(\n attributeBytes, 0, messageBytes, MESSAGE_LEN_HEADER, attributeBytes.length);\n attributeBytes = null;\n }\n\n return new Message(messageBytes);\n }",
"public Files files();",
"private static MultipartEntityWithProgressListener getNewFileMultipartEntity(final String parentId,\n final String name, final File file, final Date createdAt, Date modifiedAt) throws BoxRestException,\n UnsupportedEncodingException, BoxJSONException {\n MultipartEntityWithProgressListener me = new MultipartEntityWithProgressListener(\n HttpMultipartMode.BROWSER_COMPATIBLE);\n me.addContentBodyPart(Constants.PARENT_ID, new StringBody(parentId));\n\n if (modifiedAt == null) {\n modifiedAt = new Date(file.lastModified());\n }\n\n if (createdAt == null) {\n me.addBoxJSONStringEntityPart(METADATA, getBasicMetadataBodyWithModifiedAt(parentId, name, modifiedAt));\n } else {\n me.addBoxJSONStringEntityPart(METADATA, getBasicMetadataBodyWithCreatedAndModifiedAt(parentId, name,\n createdAt, modifiedAt));\n }\n\n // The contents of the file should come after the part that specifies the parent folder id, so\n // that Box's infrastructure can efficiently stream the file to its final destination based on\n // the parent folder.\n me.addContentBodyPart(KEY_FILE_NAME, new FileBody(file, PLACEHOLDER_FILENAME, \"*/*\", CharEncoding.UTF_8));\n\n return me;\n }",
"public FileInvitationInfo(String contact, long filesize,\n String filename, String sessionId) {\n mContact = contact;\n mFileSize = filesize;\n mLastFileName = filename;\n mLastSessionId = sessionId;\n }",
"public entities.Torrent.FileInfo.Builder addFilesBuilder() {\n return getFilesFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }",
"public FileServ() {\n\t\tsuper();\n\t}",
"public static RequestBody createBody(File file) {\n RequestBody fBody = RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n return fBody;\n }",
"public Builder setObjectFileKey(com.android.build.gradle.internal.cxx.caching.ObjectFileKey value) {\n if (objectFileKeyBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n objectFileKey_ = value;\n onChanged();\n } else {\n objectFileKeyBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public SignedMessagePart(){\n }",
"public Builder setFileHash(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n fileHash_ = value;\n onChanged();\n return this;\n }",
"public Builder setFileHash(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n fileHash_ = value;\n onChanged();\n return this;\n }",
"public Builder setFilenameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n\n filename_ = value;\n onChanged();\n return this;\n }",
"public Builder setFilenameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n\n filename_ = value;\n onChanged();\n return this;\n }",
"private BaseMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public MainframeFile (String name, byte[] buffer)\n // ---------------------------------------------------------------------------------//\n {\n this.name = name;\n this.buffer = buffer;\n }",
"public SplitFile() {\n\t}",
"public Builder setRetrieveFile(edu.usfca.cs.dfs.StorageMessages.RetrieveFile value) {\n if (retrieveFileBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n retrieveFileBuilder_.setMessage(value);\n }\n msgCase_ = 2;\n return this;\n }",
"public CryptFile(File file, CryptFile parentFile) {\n this.file = file;\n this.parentFile = parentFile;\n users = new Properties();\n }",
"public Builder clearFile() {\n\n file_ = getDefaultInstance().getFile();\n onChanged();\n return this;\n }",
"@java.lang.Deprecated com.google.apps.drive.activity.v2.DriveItem.FileOrBuilder getFileOrBuilder();",
"private TransformedMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }",
"public TarFile(File file) {\n this.file = file;\n }",
"public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }",
"public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }",
"public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }",
"public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }",
"public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }",
"public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }"
] | [
"0.73065406",
"0.6499085",
"0.64801854",
"0.62675405",
"0.6132587",
"0.61114043",
"0.61102885",
"0.6076123",
"0.60183215",
"0.60015893",
"0.5931848",
"0.5910556",
"0.58727974",
"0.5843724",
"0.58230674",
"0.58078647",
"0.5798066",
"0.57847905",
"0.57733434",
"0.57485074",
"0.5664835",
"0.5649676",
"0.5643209",
"0.56283265",
"0.5625389",
"0.5625389",
"0.5625389",
"0.5625389",
"0.56166816",
"0.5595408",
"0.55948806",
"0.5572127",
"0.5545269",
"0.55262977",
"0.5515182",
"0.55150735",
"0.55027217",
"0.549086",
"0.54899985",
"0.54899985",
"0.54899985",
"0.54899985",
"0.54899985",
"0.54899985",
"0.54715645",
"0.5462052",
"0.545232",
"0.5428358",
"0.5409118",
"0.5408137",
"0.53936744",
"0.5384232",
"0.5378788",
"0.53758216",
"0.5368985",
"0.534649",
"0.5341093",
"0.5334183",
"0.53279763",
"0.5323511",
"0.5323511",
"0.5323267",
"0.5321562",
"0.53107154",
"0.5280558",
"0.5276514",
"0.52658445",
"0.5261222",
"0.52587694",
"0.52477527",
"0.52404934",
"0.52402747",
"0.52393866",
"0.52208465",
"0.51921606",
"0.51836264",
"0.51771003",
"0.5173624",
"0.5172742",
"0.5166332",
"0.5164843",
"0.5164843",
"0.5155678",
"0.5155678",
"0.5155146",
"0.5151048",
"0.5149816",
"0.51435256",
"0.5142798",
"0.5136923",
"0.5134718",
"0.5134076",
"0.51287246",
"0.51229984",
"0.5117323",
"0.5117323",
"0.51157904",
"0.51157904",
"0.51157904",
"0.51157904"
] | 0.7837615 | 0 |
optional bytes file = 1; | public com.google.protobuf.ByteString getFile() {
return file_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getFile() {\n return file;\n }",
"FileObject getFile();",
"FileObject getFile();",
"public filesMB() {\n }",
"public void OnFileIncoming(int length);",
"public File getFileValue();",
"private void setFile() {\n\t}",
"File getFile() { return user_file; }",
"File getFile();",
"File getFile();",
"public File getFile ();",
"public abstract File mo41088k();",
"public abstract long NewFileNumber();",
"public void setFile(File f) { file = f; }",
"UploadInfo simpleUpload(SimpleFile file);",
"void setFile(String i) {\n file = i;\n }",
"public abstract File mo41087j();",
"public void getFile(byte[] data, String name,String server) throws RemoteException;",
"long getFileSize();",
"public MainframeFile (String name, byte[] buffer)\n // ---------------------------------------------------------------------------------//\n {\n this.name = name;\n this.buffer = buffer;\n }",
"File(String path, String type)\n {\n this.path=path;\n this.type=type;\n }",
"public File getFile();",
"public File getFile();",
"String getFile();",
"String getFile();",
"String getFile();",
"@Override\n\tpublic int getFileStatus() {\n\t\treturn 0;\n\t}",
"public int getFileFlags() { return fileFlags; }",
"public File getFile()\n {\n return file;\n }",
"@Override\n public void setFile(File f) {\n \n }",
"public boolean isFile() { return true; }",
"int getFileCount();",
"public void setFile(byte[] file) {\n this.file = file;\n }",
"public void setFile(File file);",
"public Long getInfile_()\n{\nreturn getInputDataItemId(\"infile_\");\n}",
"public void mo210a(File file) {\n }",
"BucsUserFile(File f,String unm,UserFileType ft)\n{\n this();\n set(f,unm,ft);\n}",
"@Override\n public void addSingleFile(FileInfo file) {\n }",
"public void setFileID(Long fileID)\n/* */ {\n/* 100 */ this.fileID = fileID;\n/* */ }",
"@Test\n\tpublic void testSetFileInfo() {\n\n\t}",
"@Override\n\tpublic boolean setFileType(int binaryFileType) {\n\t\treturn true;\n\n\t}",
"@Override\r\n public Object getBufferedFileInputStream(String name) {\n return null; \r\n }",
"public void setFile(PDFileSpecification f) {\n/* 409 */ this.stream.setItem(COSName.F, (COSObjectable)f);\n/* */ }",
"public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }",
"public Files files();",
"UploadInfo advancedUpload(AdvanceFile file);",
"@Test\n public void testFileSize() {\n System.out.println(\"fileSize\");\n RecordFile instance = new RecordFile();\n \n Assert.assertEquals(76, instance.fileSize());\n \n byte[] bytes = new byte[10];\n instance.insert(bytes, 0);\n Assert.assertEquals(86, instance.fileSize());\n \n bytes = new byte[12];\n instance.write(bytes, 0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.insert(bytes, 0);\n Assert.assertEquals(188, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(76, instance.fileSize());\n }",
"public boolean isFile() { return false; }",
"public void setFileType(FileType typ) {\n fileType = typ;\n }",
"public long getFileSize();",
"public long getFileSize();",
"public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);",
"public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }",
"public FileInfo(File file) {\n this.file = file;\n }",
"public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }",
"public File getFile() { return file; }",
"void bytesToUpload(long bytes);",
"public String getFile() {\n \n // return it\n return theFile;\n }",
"public Integer getFileNo() {\n return fileNo;\n }",
"public long getSize()\n\t{\n\t\treturn file.length() ;\n\t}",
"double getFile(int index);",
"byte[] getFile(String sha) throws Exception;",
"File openFile();",
"public File getDataFile();",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public void setFileSize(long fileSize) {\n this.fileSize = fileSize;\n }",
"public void setFileSize(long fileSize)\r\n {\r\n lFileSize = fileSize;\r\n }",
"long getMaxFileSizeBytes();",
"private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}",
"public void setFile(File file)\n {\n this.file = file;\n }",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\tFile thiz = this;\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this); // todo\r\n\t}",
"public void sendFile(Type type, String file_name) {\n try {\n // Use this for reading the data.\n byte[] buffer = new byte[1000];\n\n FileInputStream inputStream = new FileInputStream(file_name);\n\n // read fills buffer with data and returns\n // the number of bytes read (which of course\n // may be less than the buffer size, but\n // it will never be more).\n int total = 0;\n int nRead = 0;\n while((nRead = inputStream.read(buffer)) != -1) {\n // Convert to String so we can display it.\n // Of course you wouldn't want to do this with\n // a 'real' binary file.\n System.out.println(new String(buffer));\n out.writeByte(nRead);\n total += nRead;\n }\n\n\n // Always close files.\n inputStream.close();\n\n System.out.println(\"Read \" + total + \" bytes\");\n }\n catch(FileNotFoundException ex) {\n System.out.println(\n \"Unable to open file '\" + file_name + \"'\");\n }\n catch(IOException ex) {\n System.out.println(\n \"Error reading file '\" + file_name + \"'\");\n // Or we could just do this:\n // ex.printStackTrace();\n }\n }",
"public FileHandler(byte[] data) {\n this.data = data;\n }",
"String prepareFile();",
"public FileDesc getFileDesc();",
"public void setFileRef() { this.fileRef = fileRef; }",
"public File() {\n }",
"public void readFile();",
"public void fileInfo(String info);",
"private FileUtil() {\n \t\tsuper();\n \t}",
"public byte[] getFileBytes(){\n\t\treturn fileBytes;\n\t}",
"private FileUtil() {}",
"public void salvaPartita(String file) {\n\r\n }",
"void citire(FileReader f);",
"long getSize() throws IOException;",
"void setNewFile(File file);",
"public FileREQ(String name,long time){\r\n\t\tsuper(MDFSPacketType.FILE_REQ, IOUtilities.parseNodeNumber(IOUtilities.getLocalIpAddress()), 255);\r\n\t\tthis.setBroadcast(true);\r\n\t\tthis.setMaxHop(5);\r\n\t\tthis.fileName = name;\r\n\t\tthis.fileCreatedTime = time;\r\n\t}",
"public FileBitReadUtility(InputStream is) {\n\t\tin = is;\n\t\tbufferPos = Constant.BITS_PER_BYTES;// initial remaining space\n\t}",
"@Override\r\n\tpublic InputStream getFile(String filepath) throws FileSystemUtilException {\r\n\t\t\r\n\t\tthrow new FileSystemUtilException(\"000000\",null,Level.ERROR,null);\t\r\n\r\n\t}",
"void uploadSuccessful(long bytes);",
"boolean getBinaryFileAttribute();",
"public File getFile() {\n return file;\n }",
"public File getFile() {\r\n \t\treturn file;\r\n \t}",
"@Override\n\tpublic byte[] fetchFile(String fileName) throws RemoteException {\n return null;\n\n\t}",
"public void setFileSize(String fileSize) {\n this.fileSize = fileSize;\n }",
"long getFileLength(String path) throws IOException;",
"@Override\n public void setContentLength(int arg0) {\n\n }",
"public interface SimpleFile {// extends IFile { \n /**\n * Open the file\n * @param path path to the file\n * @param readOnly if file is readonly\n * @param noFlush whther synchronous flush is needed\n */\n void open(String path, boolean readOnly, boolean noFlush)throws IOException;\n \n /**\n * Delete file\n * @param path path to the file\n */\n void delete(String path);\n \n boolean isOpened();\n String readString()throws IOException;\n void truncate(int nSize)throws IOException;\n InputStream getInputStream()throws IOException;\n OutputStream getOutStream();\n OutputStream getOutStreamEx(long pos)throws IOException; \n long length();\n \n /**\n * \n * @param path\n * @return\n */\n String getDirPath(String path) throws IOException;\n\n /**\n * @param fromClass\n * @param path\n * @return\n */\n public abstract InputStream getResourceAsStream(Class fromClass, String path);\n \n public abstract void renameOverwrite(String oldName, String newName);\n \n public abstract void copyJarFileToMemory(String strFileName, InputStream jarStream)throws IOException;\n \n void write(long pos, byte[] buf)throws IOException;\n\n /**\n * Read data from the file\n * @param pos offset in the file\n * @param buf array to receive readen data (size is always equal to database page size)\n * @return number of bytes actually readen\n */\n int read(long pos, byte[] buf)throws IOException;\n\n /**\n * Flush all fiels changes to the disk\n */\n void sync()throws IOException;\n\n /**\n * Close file\n */\n void close()throws IOException;\n\n /**\n * Length of the file\n */\n //long length();\n \n}",
"public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}",
"public void setFile(String fileName)\n {\n }"
] | [
"0.6652446",
"0.63671875",
"0.63671875",
"0.6340846",
"0.63226926",
"0.631469",
"0.6306992",
"0.6250423",
"0.62402683",
"0.62402683",
"0.6229901",
"0.6219171",
"0.6200702",
"0.61652994",
"0.6158651",
"0.6125088",
"0.611004",
"0.6103519",
"0.6062578",
"0.6048557",
"0.60199654",
"0.6002565",
"0.6002565",
"0.5997744",
"0.5997744",
"0.5997744",
"0.5994276",
"0.5970503",
"0.5968696",
"0.5966",
"0.59607977",
"0.5955663",
"0.59541744",
"0.5950993",
"0.5933115",
"0.5923086",
"0.59148973",
"0.5911776",
"0.5910633",
"0.58990157",
"0.58813864",
"0.58798814",
"0.5859644",
"0.58505225",
"0.5848837",
"0.5838832",
"0.5831984",
"0.58207273",
"0.58147115",
"0.5804648",
"0.5804648",
"0.57975096",
"0.57906234",
"0.5781609",
"0.57799965",
"0.5779243",
"0.5776459",
"0.5770458",
"0.57688725",
"0.5744679",
"0.57299584",
"0.57288086",
"0.57156855",
"0.57094985",
"0.57039005",
"0.57039005",
"0.5689364",
"0.56888217",
"0.56856924",
"0.5681124",
"0.5666867",
"0.5666693",
"0.56612575",
"0.5659952",
"0.5654546",
"0.5647183",
"0.5646325",
"0.5639169",
"0.563695",
"0.5628976",
"0.56213975",
"0.5619971",
"0.56159854",
"0.5614064",
"0.56134033",
"0.56020033",
"0.56013364",
"0.5597816",
"0.5597196",
"0.5587722",
"0.5583632",
"0.55798817",
"0.55761683",
"0.55750227",
"0.55732304",
"0.55725557",
"0.5572284",
"0.5572178",
"0.55694735",
"0.5557261",
"0.5556591"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public java.util.List<MetadataEntry> getMetadataList() {
return metadata_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public java.util.List<? extends MetadataEntryOrBuilder> getMetadataOrBuilderList() {
return metadata_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public int getMetadataCount() {
return metadata_.size();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.55559075 | 92 |
repeated .MetadataEntry metadata = 2; | public MetadataEntry getMetadata(int index) {
return metadata_.get(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {
return metadata_.get(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.59482914 | 18 |
optional .PoP pop = 3; | public boolean hasPop() {
return pop_ != null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.54784906 | 92 |
optional .PoP pop = 3; | public PoP getPop() {
return pop_ == null ? PoP.getDefaultInstance() : pop_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.70140874 | 0 |
optional .PoP pop = 3; | public PoPOrBuilder getPopOrBuilder() {
return getPop();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.6549176 | 4 |
repeated .MetadataEntry auth = 4; | public java.util.List<MetadataEntry> getAuthList() {
return auth_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.57193667 | 6 |
repeated .MetadataEntry auth = 4; | public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {
return auth_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.60226095 | 1 |
repeated .MetadataEntry auth = 4; | public int getAuthCount() {
return auth_.size();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48237404",
"0.48222533"
] | 0.48278797 | 98 |
repeated .MetadataEntry auth = 4; | public MetadataEntry getAuth(int index) {
return auth_.get(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.5396636 | 12 |
repeated .MetadataEntry auth = 4; | public MetadataEntryOrBuilder getAuthOrBuilder(int index) {
return auth_.get(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.62144697 | 0 |
optional bytes file = 1; | public com.google.protobuf.ByteString getFile() {
return file_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getFile() {\n return file;\n }",
"FileObject getFile();",
"FileObject getFile();",
"public filesMB() {\n }",
"public void OnFileIncoming(int length);",
"public File getFileValue();",
"private void setFile() {\n\t}",
"File getFile() { return user_file; }",
"File getFile();",
"File getFile();",
"public File getFile ();",
"public abstract File mo41088k();",
"public abstract long NewFileNumber();",
"public void setFile(File f) { file = f; }",
"UploadInfo simpleUpload(SimpleFile file);",
"void setFile(String i) {\n file = i;\n }",
"public abstract File mo41087j();",
"public void getFile(byte[] data, String name,String server) throws RemoteException;",
"long getFileSize();",
"public MainframeFile (String name, byte[] buffer)\n // ---------------------------------------------------------------------------------//\n {\n this.name = name;\n this.buffer = buffer;\n }",
"File(String path, String type)\n {\n this.path=path;\n this.type=type;\n }",
"public File getFile();",
"public File getFile();",
"String getFile();",
"String getFile();",
"String getFile();",
"@Override\n\tpublic int getFileStatus() {\n\t\treturn 0;\n\t}",
"public int getFileFlags() { return fileFlags; }",
"public File getFile()\n {\n return file;\n }",
"@Override\n public void setFile(File f) {\n \n }",
"public boolean isFile() { return true; }",
"int getFileCount();",
"public void setFile(byte[] file) {\n this.file = file;\n }",
"public void setFile(File file);",
"public Long getInfile_()\n{\nreturn getInputDataItemId(\"infile_\");\n}",
"public void mo210a(File file) {\n }",
"BucsUserFile(File f,String unm,UserFileType ft)\n{\n this();\n set(f,unm,ft);\n}",
"@Override\n public void addSingleFile(FileInfo file) {\n }",
"public void setFileID(Long fileID)\n/* */ {\n/* 100 */ this.fileID = fileID;\n/* */ }",
"@Test\n\tpublic void testSetFileInfo() {\n\n\t}",
"@Override\n\tpublic boolean setFileType(int binaryFileType) {\n\t\treturn true;\n\n\t}",
"@Override\r\n public Object getBufferedFileInputStream(String name) {\n return null; \r\n }",
"public void setFile(PDFileSpecification f) {\n/* 409 */ this.stream.setItem(COSName.F, (COSObjectable)f);\n/* */ }",
"public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }",
"public Files files();",
"UploadInfo advancedUpload(AdvanceFile file);",
"@Test\n public void testFileSize() {\n System.out.println(\"fileSize\");\n RecordFile instance = new RecordFile();\n \n Assert.assertEquals(76, instance.fileSize());\n \n byte[] bytes = new byte[10];\n instance.insert(bytes, 0);\n Assert.assertEquals(86, instance.fileSize());\n \n bytes = new byte[12];\n instance.write(bytes, 0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.insert(bytes, 0);\n Assert.assertEquals(188, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(76, instance.fileSize());\n }",
"public boolean isFile() { return false; }",
"public void setFileType(FileType typ) {\n fileType = typ;\n }",
"public long getFileSize();",
"public long getFileSize();",
"public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);",
"public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }",
"public FileInfo(File file) {\n this.file = file;\n }",
"public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }",
"public File getFile() { return file; }",
"void bytesToUpload(long bytes);",
"public String getFile() {\n \n // return it\n return theFile;\n }",
"public Integer getFileNo() {\n return fileNo;\n }",
"public long getSize()\n\t{\n\t\treturn file.length() ;\n\t}",
"double getFile(int index);",
"byte[] getFile(String sha) throws Exception;",
"File openFile();",
"public File getDataFile();",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public void setFileSize(long fileSize) {\n this.fileSize = fileSize;\n }",
"public void setFileSize(long fileSize)\r\n {\r\n lFileSize = fileSize;\r\n }",
"long getMaxFileSizeBytes();",
"private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}",
"public void setFile(File file)\n {\n this.file = file;\n }",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\tFile thiz = this;\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this); // todo\r\n\t}",
"public void sendFile(Type type, String file_name) {\n try {\n // Use this for reading the data.\n byte[] buffer = new byte[1000];\n\n FileInputStream inputStream = new FileInputStream(file_name);\n\n // read fills buffer with data and returns\n // the number of bytes read (which of course\n // may be less than the buffer size, but\n // it will never be more).\n int total = 0;\n int nRead = 0;\n while((nRead = inputStream.read(buffer)) != -1) {\n // Convert to String so we can display it.\n // Of course you wouldn't want to do this with\n // a 'real' binary file.\n System.out.println(new String(buffer));\n out.writeByte(nRead);\n total += nRead;\n }\n\n\n // Always close files.\n inputStream.close();\n\n System.out.println(\"Read \" + total + \" bytes\");\n }\n catch(FileNotFoundException ex) {\n System.out.println(\n \"Unable to open file '\" + file_name + \"'\");\n }\n catch(IOException ex) {\n System.out.println(\n \"Error reading file '\" + file_name + \"'\");\n // Or we could just do this:\n // ex.printStackTrace();\n }\n }",
"public FileHandler(byte[] data) {\n this.data = data;\n }",
"String prepareFile();",
"public FileDesc getFileDesc();",
"public void setFileRef() { this.fileRef = fileRef; }",
"public File() {\n }",
"public void readFile();",
"public void fileInfo(String info);",
"private FileUtil() {\n \t\tsuper();\n \t}",
"public byte[] getFileBytes(){\n\t\treturn fileBytes;\n\t}",
"private FileUtil() {}",
"public void salvaPartita(String file) {\n\r\n }",
"void citire(FileReader f);",
"long getSize() throws IOException;",
"void setNewFile(File file);",
"public FileREQ(String name,long time){\r\n\t\tsuper(MDFSPacketType.FILE_REQ, IOUtilities.parseNodeNumber(IOUtilities.getLocalIpAddress()), 255);\r\n\t\tthis.setBroadcast(true);\r\n\t\tthis.setMaxHop(5);\r\n\t\tthis.fileName = name;\r\n\t\tthis.fileCreatedTime = time;\r\n\t}",
"public FileBitReadUtility(InputStream is) {\n\t\tin = is;\n\t\tbufferPos = Constant.BITS_PER_BYTES;// initial remaining space\n\t}",
"@Override\r\n\tpublic InputStream getFile(String filepath) throws FileSystemUtilException {\r\n\t\t\r\n\t\tthrow new FileSystemUtilException(\"000000\",null,Level.ERROR,null);\t\r\n\r\n\t}",
"void uploadSuccessful(long bytes);",
"boolean getBinaryFileAttribute();",
"public File getFile() {\n return file;\n }",
"public File getFile() {\r\n \t\treturn file;\r\n \t}",
"@Override\n\tpublic byte[] fetchFile(String fileName) throws RemoteException {\n return null;\n\n\t}",
"public void setFileSize(String fileSize) {\n this.fileSize = fileSize;\n }",
"long getFileLength(String path) throws IOException;",
"@Override\n public void setContentLength(int arg0) {\n\n }",
"public interface SimpleFile {// extends IFile { \n /**\n * Open the file\n * @param path path to the file\n * @param readOnly if file is readonly\n * @param noFlush whther synchronous flush is needed\n */\n void open(String path, boolean readOnly, boolean noFlush)throws IOException;\n \n /**\n * Delete file\n * @param path path to the file\n */\n void delete(String path);\n \n boolean isOpened();\n String readString()throws IOException;\n void truncate(int nSize)throws IOException;\n InputStream getInputStream()throws IOException;\n OutputStream getOutStream();\n OutputStream getOutStreamEx(long pos)throws IOException; \n long length();\n \n /**\n * \n * @param path\n * @return\n */\n String getDirPath(String path) throws IOException;\n\n /**\n * @param fromClass\n * @param path\n * @return\n */\n public abstract InputStream getResourceAsStream(Class fromClass, String path);\n \n public abstract void renameOverwrite(String oldName, String newName);\n \n public abstract void copyJarFileToMemory(String strFileName, InputStream jarStream)throws IOException;\n \n void write(long pos, byte[] buf)throws IOException;\n\n /**\n * Read data from the file\n * @param pos offset in the file\n * @param buf array to receive readen data (size is always equal to database page size)\n * @return number of bytes actually readen\n */\n int read(long pos, byte[] buf)throws IOException;\n\n /**\n * Flush all fiels changes to the disk\n */\n void sync()throws IOException;\n\n /**\n * Close file\n */\n void close()throws IOException;\n\n /**\n * Length of the file\n */\n //long length();\n \n}",
"public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}",
"public void setFile(String fileName)\n {\n }"
] | [
"0.6652446",
"0.63671875",
"0.63671875",
"0.6340846",
"0.63226926",
"0.631469",
"0.6306992",
"0.6250423",
"0.62402683",
"0.62402683",
"0.6229901",
"0.6219171",
"0.6200702",
"0.61652994",
"0.6158651",
"0.6125088",
"0.611004",
"0.6103519",
"0.6062578",
"0.6048557",
"0.60199654",
"0.6002565",
"0.6002565",
"0.5997744",
"0.5997744",
"0.5997744",
"0.5994276",
"0.5970503",
"0.5968696",
"0.5966",
"0.59607977",
"0.5955663",
"0.59541744",
"0.5950993",
"0.5933115",
"0.5923086",
"0.59148973",
"0.5911776",
"0.5910633",
"0.58990157",
"0.58813864",
"0.58798814",
"0.5859644",
"0.58505225",
"0.5848837",
"0.5838832",
"0.5831984",
"0.58207273",
"0.58147115",
"0.5804648",
"0.5804648",
"0.57975096",
"0.57906234",
"0.5781609",
"0.57799965",
"0.5779243",
"0.5776459",
"0.5770458",
"0.57688725",
"0.5744679",
"0.57299584",
"0.57288086",
"0.57156855",
"0.57094985",
"0.57039005",
"0.57039005",
"0.5689364",
"0.56888217",
"0.56856924",
"0.5681124",
"0.5666867",
"0.5666693",
"0.56612575",
"0.5659952",
"0.5654546",
"0.5647183",
"0.5646325",
"0.5639169",
"0.563695",
"0.5628976",
"0.56213975",
"0.5619971",
"0.56159854",
"0.5614064",
"0.56134033",
"0.56020033",
"0.56013364",
"0.5597816",
"0.5597196",
"0.5587722",
"0.5583632",
"0.55798817",
"0.55761683",
"0.55750227",
"0.55732304",
"0.55725557",
"0.5572284",
"0.5572178",
"0.55694735",
"0.5557261",
"0.5556591"
] | 0.0 | -1 |
optional bytes file = 1; | public Builder setFile(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
file_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getFile() {\n return file;\n }",
"FileObject getFile();",
"FileObject getFile();",
"public filesMB() {\n }",
"public void OnFileIncoming(int length);",
"public File getFileValue();",
"private void setFile() {\n\t}",
"File getFile() { return user_file; }",
"File getFile();",
"File getFile();",
"public File getFile ();",
"public abstract File mo41088k();",
"public abstract long NewFileNumber();",
"public void setFile(File f) { file = f; }",
"UploadInfo simpleUpload(SimpleFile file);",
"void setFile(String i) {\n file = i;\n }",
"public abstract File mo41087j();",
"public void getFile(byte[] data, String name,String server) throws RemoteException;",
"long getFileSize();",
"public MainframeFile (String name, byte[] buffer)\n // ---------------------------------------------------------------------------------//\n {\n this.name = name;\n this.buffer = buffer;\n }",
"File(String path, String type)\n {\n this.path=path;\n this.type=type;\n }",
"public File getFile();",
"public File getFile();",
"String getFile();",
"String getFile();",
"String getFile();",
"@Override\n\tpublic int getFileStatus() {\n\t\treturn 0;\n\t}",
"public int getFileFlags() { return fileFlags; }",
"public File getFile()\n {\n return file;\n }",
"@Override\n public void setFile(File f) {\n \n }",
"public boolean isFile() { return true; }",
"int getFileCount();",
"public void setFile(byte[] file) {\n this.file = file;\n }",
"public void setFile(File file);",
"public Long getInfile_()\n{\nreturn getInputDataItemId(\"infile_\");\n}",
"public void mo210a(File file) {\n }",
"BucsUserFile(File f,String unm,UserFileType ft)\n{\n this();\n set(f,unm,ft);\n}",
"@Override\n public void addSingleFile(FileInfo file) {\n }",
"public void setFileID(Long fileID)\n/* */ {\n/* 100 */ this.fileID = fileID;\n/* */ }",
"@Test\n\tpublic void testSetFileInfo() {\n\n\t}",
"@Override\n\tpublic boolean setFileType(int binaryFileType) {\n\t\treturn true;\n\n\t}",
"@Override\r\n public Object getBufferedFileInputStream(String name) {\n return null; \r\n }",
"public void setFile(PDFileSpecification f) {\n/* 409 */ this.stream.setItem(COSName.F, (COSObjectable)f);\n/* */ }",
"public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }",
"public Files files();",
"UploadInfo advancedUpload(AdvanceFile file);",
"@Test\n public void testFileSize() {\n System.out.println(\"fileSize\");\n RecordFile instance = new RecordFile();\n \n Assert.assertEquals(76, instance.fileSize());\n \n byte[] bytes = new byte[10];\n instance.insert(bytes, 0);\n Assert.assertEquals(86, instance.fileSize());\n \n bytes = new byte[12];\n instance.write(bytes, 0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.insert(bytes, 0);\n Assert.assertEquals(188, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(76, instance.fileSize());\n }",
"public boolean isFile() { return false; }",
"public void setFileType(FileType typ) {\n fileType = typ;\n }",
"public long getFileSize();",
"public long getFileSize();",
"public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);",
"public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }",
"public FileInfo(File file) {\n this.file = file;\n }",
"public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }",
"public File getFile() { return file; }",
"void bytesToUpload(long bytes);",
"public String getFile() {\n \n // return it\n return theFile;\n }",
"public Integer getFileNo() {\n return fileNo;\n }",
"public long getSize()\n\t{\n\t\treturn file.length() ;\n\t}",
"double getFile(int index);",
"byte[] getFile(String sha) throws Exception;",
"File openFile();",
"public File getDataFile();",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public void setFileSize(long fileSize) {\n this.fileSize = fileSize;\n }",
"public void setFileSize(long fileSize)\r\n {\r\n lFileSize = fileSize;\r\n }",
"long getMaxFileSizeBytes();",
"private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}",
"public void setFile(File file)\n {\n this.file = file;\n }",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\tFile thiz = this;\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this); // todo\r\n\t}",
"public void sendFile(Type type, String file_name) {\n try {\n // Use this for reading the data.\n byte[] buffer = new byte[1000];\n\n FileInputStream inputStream = new FileInputStream(file_name);\n\n // read fills buffer with data and returns\n // the number of bytes read (which of course\n // may be less than the buffer size, but\n // it will never be more).\n int total = 0;\n int nRead = 0;\n while((nRead = inputStream.read(buffer)) != -1) {\n // Convert to String so we can display it.\n // Of course you wouldn't want to do this with\n // a 'real' binary file.\n System.out.println(new String(buffer));\n out.writeByte(nRead);\n total += nRead;\n }\n\n\n // Always close files.\n inputStream.close();\n\n System.out.println(\"Read \" + total + \" bytes\");\n }\n catch(FileNotFoundException ex) {\n System.out.println(\n \"Unable to open file '\" + file_name + \"'\");\n }\n catch(IOException ex) {\n System.out.println(\n \"Error reading file '\" + file_name + \"'\");\n // Or we could just do this:\n // ex.printStackTrace();\n }\n }",
"public FileHandler(byte[] data) {\n this.data = data;\n }",
"String prepareFile();",
"public FileDesc getFileDesc();",
"public void setFileRef() { this.fileRef = fileRef; }",
"public File() {\n }",
"public void readFile();",
"public void fileInfo(String info);",
"private FileUtil() {\n \t\tsuper();\n \t}",
"public byte[] getFileBytes(){\n\t\treturn fileBytes;\n\t}",
"private FileUtil() {}",
"public void salvaPartita(String file) {\n\r\n }",
"void citire(FileReader f);",
"long getSize() throws IOException;",
"void setNewFile(File file);",
"public FileREQ(String name,long time){\r\n\t\tsuper(MDFSPacketType.FILE_REQ, IOUtilities.parseNodeNumber(IOUtilities.getLocalIpAddress()), 255);\r\n\t\tthis.setBroadcast(true);\r\n\t\tthis.setMaxHop(5);\r\n\t\tthis.fileName = name;\r\n\t\tthis.fileCreatedTime = time;\r\n\t}",
"public FileBitReadUtility(InputStream is) {\n\t\tin = is;\n\t\tbufferPos = Constant.BITS_PER_BYTES;// initial remaining space\n\t}",
"@Override\r\n\tpublic InputStream getFile(String filepath) throws FileSystemUtilException {\r\n\t\t\r\n\t\tthrow new FileSystemUtilException(\"000000\",null,Level.ERROR,null);\t\r\n\r\n\t}",
"void uploadSuccessful(long bytes);",
"boolean getBinaryFileAttribute();",
"public File getFile() {\n return file;\n }",
"public File getFile() {\r\n \t\treturn file;\r\n \t}",
"@Override\n\tpublic byte[] fetchFile(String fileName) throws RemoteException {\n return null;\n\n\t}",
"public void setFileSize(String fileSize) {\n this.fileSize = fileSize;\n }",
"long getFileLength(String path) throws IOException;",
"@Override\n public void setContentLength(int arg0) {\n\n }",
"public interface SimpleFile {// extends IFile { \n /**\n * Open the file\n * @param path path to the file\n * @param readOnly if file is readonly\n * @param noFlush whther synchronous flush is needed\n */\n void open(String path, boolean readOnly, boolean noFlush)throws IOException;\n \n /**\n * Delete file\n * @param path path to the file\n */\n void delete(String path);\n \n boolean isOpened();\n String readString()throws IOException;\n void truncate(int nSize)throws IOException;\n InputStream getInputStream()throws IOException;\n OutputStream getOutStream();\n OutputStream getOutStreamEx(long pos)throws IOException; \n long length();\n \n /**\n * \n * @param path\n * @return\n */\n String getDirPath(String path) throws IOException;\n\n /**\n * @param fromClass\n * @param path\n * @return\n */\n public abstract InputStream getResourceAsStream(Class fromClass, String path);\n \n public abstract void renameOverwrite(String oldName, String newName);\n \n public abstract void copyJarFileToMemory(String strFileName, InputStream jarStream)throws IOException;\n \n void write(long pos, byte[] buf)throws IOException;\n\n /**\n * Read data from the file\n * @param pos offset in the file\n * @param buf array to receive readen data (size is always equal to database page size)\n * @return number of bytes actually readen\n */\n int read(long pos, byte[] buf)throws IOException;\n\n /**\n * Flush all fiels changes to the disk\n */\n void sync()throws IOException;\n\n /**\n * Close file\n */\n void close()throws IOException;\n\n /**\n * Length of the file\n */\n //long length();\n \n}",
"public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}",
"public void setFile(String fileName)\n {\n }"
] | [
"0.6652446",
"0.63671875",
"0.63671875",
"0.6340846",
"0.63226926",
"0.631469",
"0.6306992",
"0.6250423",
"0.62402683",
"0.62402683",
"0.6229901",
"0.6219171",
"0.6200702",
"0.61652994",
"0.6158651",
"0.6125088",
"0.611004",
"0.6103519",
"0.6062578",
"0.6048557",
"0.60199654",
"0.6002565",
"0.6002565",
"0.5997744",
"0.5997744",
"0.5997744",
"0.5994276",
"0.5970503",
"0.5968696",
"0.5966",
"0.59607977",
"0.5955663",
"0.59541744",
"0.5950993",
"0.5933115",
"0.5923086",
"0.59148973",
"0.5911776",
"0.5910633",
"0.58990157",
"0.58813864",
"0.58798814",
"0.5859644",
"0.58505225",
"0.5848837",
"0.5838832",
"0.5831984",
"0.58207273",
"0.58147115",
"0.5804648",
"0.5804648",
"0.57975096",
"0.57906234",
"0.5781609",
"0.57799965",
"0.5779243",
"0.5776459",
"0.5770458",
"0.57688725",
"0.5744679",
"0.57299584",
"0.57288086",
"0.57156855",
"0.57094985",
"0.57039005",
"0.57039005",
"0.5689364",
"0.56888217",
"0.56856924",
"0.5681124",
"0.5666867",
"0.5666693",
"0.56612575",
"0.5659952",
"0.5654546",
"0.5647183",
"0.5646325",
"0.5639169",
"0.563695",
"0.5628976",
"0.56213975",
"0.5619971",
"0.56159854",
"0.5614064",
"0.56134033",
"0.56020033",
"0.56013364",
"0.5597816",
"0.5597196",
"0.5587722",
"0.5583632",
"0.55798817",
"0.55761683",
"0.55750227",
"0.55732304",
"0.55725557",
"0.5572284",
"0.5572178",
"0.55694735",
"0.5557261",
"0.5556591"
] | 0.0 | -1 |
optional bytes file = 1; | public Builder clearFile() {
file_ = getDefaultInstance().getFile();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public int getFile() {\n return file;\n }",
"FileObject getFile();",
"FileObject getFile();",
"public filesMB() {\n }",
"public void OnFileIncoming(int length);",
"public File getFileValue();",
"private void setFile() {\n\t}",
"File getFile() { return user_file; }",
"File getFile();",
"File getFile();",
"public File getFile ();",
"public abstract File mo41088k();",
"public abstract long NewFileNumber();",
"public void setFile(File f) { file = f; }",
"UploadInfo simpleUpload(SimpleFile file);",
"void setFile(String i) {\n file = i;\n }",
"public abstract File mo41087j();",
"public void getFile(byte[] data, String name,String server) throws RemoteException;",
"long getFileSize();",
"public MainframeFile (String name, byte[] buffer)\n // ---------------------------------------------------------------------------------//\n {\n this.name = name;\n this.buffer = buffer;\n }",
"File(String path, String type)\n {\n this.path=path;\n this.type=type;\n }",
"public File getFile();",
"public File getFile();",
"String getFile();",
"String getFile();",
"String getFile();",
"@Override\n\tpublic int getFileStatus() {\n\t\treturn 0;\n\t}",
"public int getFileFlags() { return fileFlags; }",
"public File getFile()\n {\n return file;\n }",
"@Override\n public void setFile(File f) {\n \n }",
"public boolean isFile() { return true; }",
"int getFileCount();",
"public void setFile(byte[] file) {\n this.file = file;\n }",
"public void setFile(File file);",
"public Long getInfile_()\n{\nreturn getInputDataItemId(\"infile_\");\n}",
"public void mo210a(File file) {\n }",
"BucsUserFile(File f,String unm,UserFileType ft)\n{\n this();\n set(f,unm,ft);\n}",
"@Override\n public void addSingleFile(FileInfo file) {\n }",
"public void setFileID(Long fileID)\n/* */ {\n/* 100 */ this.fileID = fileID;\n/* */ }",
"@Test\n\tpublic void testSetFileInfo() {\n\n\t}",
"@Override\n\tpublic boolean setFileType(int binaryFileType) {\n\t\treturn true;\n\n\t}",
"@Override\r\n public Object getBufferedFileInputStream(String name) {\n return null; \r\n }",
"public void setFile(PDFileSpecification f) {\n/* 409 */ this.stream.setItem(COSName.F, (COSObjectable)f);\n/* */ }",
"public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }",
"public Files files();",
"UploadInfo advancedUpload(AdvanceFile file);",
"@Test\n public void testFileSize() {\n System.out.println(\"fileSize\");\n RecordFile instance = new RecordFile();\n \n Assert.assertEquals(76, instance.fileSize());\n \n byte[] bytes = new byte[10];\n instance.insert(bytes, 0);\n Assert.assertEquals(86, instance.fileSize());\n \n bytes = new byte[12];\n instance.write(bytes, 0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.insert(bytes, 0);\n Assert.assertEquals(188, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(88, instance.fileSize());\n \n bytes = new byte[100];\n instance.remove(0);\n Assert.assertEquals(76, instance.fileSize());\n }",
"public boolean isFile() { return false; }",
"public void setFileType(FileType typ) {\n fileType = typ;\n }",
"public long getFileSize();",
"public long getFileSize();",
"public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);",
"public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }",
"public FileInfo(File file) {\n this.file = file;\n }",
"public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }",
"public File getFile() { return file; }",
"void bytesToUpload(long bytes);",
"public String getFile() {\n \n // return it\n return theFile;\n }",
"public Integer getFileNo() {\n return fileNo;\n }",
"public long getSize()\n\t{\n\t\treturn file.length() ;\n\t}",
"double getFile(int index);",
"byte[] getFile(String sha) throws Exception;",
"File openFile();",
"public File getDataFile();",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this);\r\n\t}",
"public void setFileSize(long fileSize) {\n this.fileSize = fileSize;\n }",
"public void setFileSize(long fileSize)\r\n {\r\n lFileSize = fileSize;\r\n }",
"long getMaxFileSizeBytes();",
"private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}",
"public void setFile(File file)\n {\n this.file = file;\n }",
"public short getFileID() \r\n\t //@ requires [?f]valid_id(this);\r\n\t //@ ensures [f]valid_id(this);\r\n\t{\r\n\t\t////@ open [f]valid_id(this); // auto\r\n\t\tFile thiz = this;\r\n\t\treturn fileID;\r\n\t\t//@ close [f]valid_id(this); // todo\r\n\t}",
"public void sendFile(Type type, String file_name) {\n try {\n // Use this for reading the data.\n byte[] buffer = new byte[1000];\n\n FileInputStream inputStream = new FileInputStream(file_name);\n\n // read fills buffer with data and returns\n // the number of bytes read (which of course\n // may be less than the buffer size, but\n // it will never be more).\n int total = 0;\n int nRead = 0;\n while((nRead = inputStream.read(buffer)) != -1) {\n // Convert to String so we can display it.\n // Of course you wouldn't want to do this with\n // a 'real' binary file.\n System.out.println(new String(buffer));\n out.writeByte(nRead);\n total += nRead;\n }\n\n\n // Always close files.\n inputStream.close();\n\n System.out.println(\"Read \" + total + \" bytes\");\n }\n catch(FileNotFoundException ex) {\n System.out.println(\n \"Unable to open file '\" + file_name + \"'\");\n }\n catch(IOException ex) {\n System.out.println(\n \"Error reading file '\" + file_name + \"'\");\n // Or we could just do this:\n // ex.printStackTrace();\n }\n }",
"public FileHandler(byte[] data) {\n this.data = data;\n }",
"String prepareFile();",
"public FileDesc getFileDesc();",
"public void setFileRef() { this.fileRef = fileRef; }",
"public File() {\n }",
"public void readFile();",
"public void fileInfo(String info);",
"private FileUtil() {\n \t\tsuper();\n \t}",
"public byte[] getFileBytes(){\n\t\treturn fileBytes;\n\t}",
"private FileUtil() {}",
"public void salvaPartita(String file) {\n\r\n }",
"void citire(FileReader f);",
"long getSize() throws IOException;",
"void setNewFile(File file);",
"public FileREQ(String name,long time){\r\n\t\tsuper(MDFSPacketType.FILE_REQ, IOUtilities.parseNodeNumber(IOUtilities.getLocalIpAddress()), 255);\r\n\t\tthis.setBroadcast(true);\r\n\t\tthis.setMaxHop(5);\r\n\t\tthis.fileName = name;\r\n\t\tthis.fileCreatedTime = time;\r\n\t}",
"public FileBitReadUtility(InputStream is) {\n\t\tin = is;\n\t\tbufferPos = Constant.BITS_PER_BYTES;// initial remaining space\n\t}",
"@Override\r\n\tpublic InputStream getFile(String filepath) throws FileSystemUtilException {\r\n\t\t\r\n\t\tthrow new FileSystemUtilException(\"000000\",null,Level.ERROR,null);\t\r\n\r\n\t}",
"void uploadSuccessful(long bytes);",
"boolean getBinaryFileAttribute();",
"public File getFile() {\n return file;\n }",
"public File getFile() {\r\n \t\treturn file;\r\n \t}",
"@Override\n\tpublic byte[] fetchFile(String fileName) throws RemoteException {\n return null;\n\n\t}",
"public void setFileSize(String fileSize) {\n this.fileSize = fileSize;\n }",
"long getFileLength(String path) throws IOException;",
"@Override\n public void setContentLength(int arg0) {\n\n }",
"public interface SimpleFile {// extends IFile { \n /**\n * Open the file\n * @param path path to the file\n * @param readOnly if file is readonly\n * @param noFlush whther synchronous flush is needed\n */\n void open(String path, boolean readOnly, boolean noFlush)throws IOException;\n \n /**\n * Delete file\n * @param path path to the file\n */\n void delete(String path);\n \n boolean isOpened();\n String readString()throws IOException;\n void truncate(int nSize)throws IOException;\n InputStream getInputStream()throws IOException;\n OutputStream getOutStream();\n OutputStream getOutStreamEx(long pos)throws IOException; \n long length();\n \n /**\n * \n * @param path\n * @return\n */\n String getDirPath(String path) throws IOException;\n\n /**\n * @param fromClass\n * @param path\n * @return\n */\n public abstract InputStream getResourceAsStream(Class fromClass, String path);\n \n public abstract void renameOverwrite(String oldName, String newName);\n \n public abstract void copyJarFileToMemory(String strFileName, InputStream jarStream)throws IOException;\n \n void write(long pos, byte[] buf)throws IOException;\n\n /**\n * Read data from the file\n * @param pos offset in the file\n * @param buf array to receive readen data (size is always equal to database page size)\n * @return number of bytes actually readen\n */\n int read(long pos, byte[] buf)throws IOException;\n\n /**\n * Flush all fiels changes to the disk\n */\n void sync()throws IOException;\n\n /**\n * Close file\n */\n void close()throws IOException;\n\n /**\n * Length of the file\n */\n //long length();\n \n}",
"public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}",
"public void setFile(String fileName)\n {\n }"
] | [
"0.6652446",
"0.63671875",
"0.63671875",
"0.6340846",
"0.63226926",
"0.631469",
"0.6306992",
"0.6250423",
"0.62402683",
"0.62402683",
"0.6229901",
"0.6219171",
"0.6200702",
"0.61652994",
"0.6158651",
"0.6125088",
"0.611004",
"0.6103519",
"0.6062578",
"0.6048557",
"0.60199654",
"0.6002565",
"0.6002565",
"0.5997744",
"0.5997744",
"0.5997744",
"0.5994276",
"0.5970503",
"0.5968696",
"0.5966",
"0.59607977",
"0.5955663",
"0.59541744",
"0.5950993",
"0.5933115",
"0.5923086",
"0.59148973",
"0.5911776",
"0.5910633",
"0.58990157",
"0.58813864",
"0.58798814",
"0.5859644",
"0.58505225",
"0.5848837",
"0.5838832",
"0.5831984",
"0.58207273",
"0.58147115",
"0.5804648",
"0.5804648",
"0.57975096",
"0.57906234",
"0.5781609",
"0.57799965",
"0.5779243",
"0.5776459",
"0.5770458",
"0.57688725",
"0.5744679",
"0.57299584",
"0.57288086",
"0.57156855",
"0.57094985",
"0.57039005",
"0.57039005",
"0.5689364",
"0.56888217",
"0.56856924",
"0.5681124",
"0.5666867",
"0.5666693",
"0.56612575",
"0.5659952",
"0.5654546",
"0.5647183",
"0.5646325",
"0.5639169",
"0.563695",
"0.5628976",
"0.56213975",
"0.5619971",
"0.56159854",
"0.5614064",
"0.56134033",
"0.56020033",
"0.56013364",
"0.5597816",
"0.5597196",
"0.5587722",
"0.5583632",
"0.55798817",
"0.55761683",
"0.55750227",
"0.55732304",
"0.55725557",
"0.5572284",
"0.5572178",
"0.55694735",
"0.5557261",
"0.5556591"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public java.util.List<MetadataEntry> getMetadataList() {
if (metadataBuilder_ == null) {
return java.util.Collections.unmodifiableList(metadata_);
} else {
return metadataBuilder_.getMessageList();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public int getMetadataCount() {
if (metadataBuilder_ == null) {
return metadata_.size();
} else {
return metadataBuilder_.getCount();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public MetadataEntry getMetadata(int index) {
if (metadataBuilder_ == null) {
return metadata_.get(index);
} else {
return metadataBuilder_.getMessage(index);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder setMetadata(int index, MetadataEntry value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMetadataIsMutable();
metadata_.set(index, value);
onChanged();
} else {
metadataBuilder_.setMessage(index, value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder setMetadata(int index, MetadataEntry.Builder builderForValue) {
if (metadataBuilder_ == null) {
ensureMetadataIsMutable();
metadata_.set(index, builderForValue.build());
onChanged();
} else {
metadataBuilder_.setMessage(index, builderForValue.build());
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder addMetadata(MetadataEntry value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMetadataIsMutable();
metadata_.add(value);
onChanged();
} else {
metadataBuilder_.addMessage(value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder addMetadata(int index, MetadataEntry value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMetadataIsMutable();
metadata_.add(index, value);
onChanged();
} else {
metadataBuilder_.addMessage(index, value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder addMetadata(MetadataEntry.Builder builderForValue) {
if (metadataBuilder_ == null) {
ensureMetadataIsMutable();
metadata_.add(builderForValue.build());
onChanged();
} else {
metadataBuilder_.addMessage(builderForValue.build());
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder addMetadata(int index, MetadataEntry.Builder builderForValue) {
if (metadataBuilder_ == null) {
ensureMetadataIsMutable();
metadata_.add(index, builderForValue.build());
onChanged();
} else {
metadataBuilder_.addMessage(index, builderForValue.build());
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder addAllMetadata(Iterable<? extends MetadataEntry> values) {
if (metadataBuilder_ == null) {
ensureMetadataIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metadata_);
onChanged();
} else {
metadataBuilder_.addAllMessages(values);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder clearMetadata() {
if (metadataBuilder_ == null) {
metadata_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
metadataBuilder_.clear();
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public Builder removeMetadata(int index) {
if (metadataBuilder_ == null) {
ensureMetadataIsMutable();
metadata_.remove(index);
onChanged();
} else {
metadataBuilder_.remove(index);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public MetadataEntry.Builder getMetadataBuilder(int index) {
return getMetadataFieldBuilder().getBuilder(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {
if (metadataBuilder_ == null) {
return metadata_.get(index);
} else {
return metadataBuilder_.getMessageOrBuilder(index);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public java.util.List<? extends MetadataEntryOrBuilder> getMetadataOrBuilderList() {
if (metadataBuilder_ != null) {
return metadataBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(metadata_);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public MetadataEntry.Builder addMetadataBuilder() {
return getMetadataFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public MetadataEntry.Builder addMetadataBuilder(int index) {
return getMetadataFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
repeated .MetadataEntry metadata = 2; | public java.util.List<MetadataEntry.Builder> getMetadataBuilderList() {
return getMetadataFieldBuilder().getBuilderList();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.cmpe275.grpcComm.MetaData getMetaData();",
"Metadata getMetaData();",
"KeyMetadata metadata();",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"int getMetadataCount();",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public EntityMetadata[] getMetadata()\r\n/* 30: */ {\r\n/* 31:30 */ return this.metadata;\r\n/* 32: */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"private void initMetadata() throws IOException {\n \n // start by reading the file header\n in.seek(0);\n byte[] toRead = new byte[4];\n in.read(toRead);\n long order = batoi(toRead); // byte ordering\n little = toRead[2] != 0xff || toRead[3] != 0xff;\n metadata.put(\"Byte Order\", new Boolean(little));\n \n in.skipBytes(4);\n in.read(toRead);\n long version = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Version\", new Long(version));\n \n byte[] er = new byte[2];\n in.read(er);\n short count = DataTools.bytesToShort(er, little);\n metadata.put(\"Count\", new Short(count));\n \n in.skipBytes(2);\n \n in.read(toRead);\n long offset = DataTools.bytesToLong(toRead, little);\n \n // skip to first tag\n in.seek(offset);\n \n // read in each tag and its data\n \n for (int i=0; i<count; i++) {\n in.read(er);\n short tag = DataTools.bytesToShort(er, little);\n in.skipBytes(2);\n \n in.read(toRead);\n offset = DataTools.bytesToLong(toRead, little);\n \n in.read(toRead);\n long fmt = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Format\", new Long(fmt));\n \n in.read(toRead);\n long numBytes = DataTools.bytesToLong(toRead, little);\n metadata.put(\"NumBytes\", new Long(numBytes));\n \n if (tag == 67 || tag == 68) {\n byte[] b = new byte[1];\n in.read(b);\n boolean isOpenlab2;\n if (b[0] == '0') isOpenlab2 = false;\n else isOpenlab2 = true;\n metadata.put(\"isOpenlab2\", new Boolean(isOpenlab2));\n \n in.skipBytes(2);\n in.read(er);\n short layerId = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerID\", new Short(layerId));\n \n in.read(er);\n short layerType = DataTools.bytesToShort(er, little);\n metadata.put(\"LayerType\", new Short(layerType));\n \n in.read(er);\n short bitDepth = DataTools.bytesToShort(er, little);\n metadata.put(\"BitDepth\", new Short(bitDepth));\n \n in.read(er);\n short opacity = DataTools.bytesToShort(er, little);\n metadata.put(\"Opacity\", new Short(opacity));\n \n // not sure how many bytes to skip here\n in.skipBytes(10);\n \n in.read(toRead);\n long type = DataTools.bytesToLong(toRead, little);\n metadata.put(\"ImageType\", new Long(type));\n \n // not sure how many bytes to skip\n in.skipBytes(10);\n \n in.read(toRead);\n long timestamp = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp\", new Long(timestamp));\n \n in.skipBytes(2);\n \n if (isOpenlab2 == true) {\n byte[] layerName = new byte[127];\n in.read(layerName);\n metadata.put(\"LayerName\", new String(layerName));\n \n in.read(toRead);\n long timestampMS = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Timestamp-MS\", new Long(timestampMS));\n \n in.skipBytes(1);\n byte[] notes = new byte[118];\n in.read(notes);\n metadata.put(\"Notes\", new String(notes));\n }\n else in.skipBytes(123);\n }\n else if (tag == 69) {\n in.read(toRead);\n long platform = DataTools.bytesToLong(toRead, little);\n metadata.put(\"Platform\", new Long(platform));\n \n in.read(er);\n short units = DataTools.bytesToShort(er, little);\n metadata.put(\"Units\", new Short(units));\n \n in.read(er);\n short imageId = DataTools.bytesToShort(er, little);\n metadata.put(\"ID\", new Short(imageId));\n in.skipBytes(1);\n \n byte[] toRead2 = new byte[8];\n double xOrigin = DataTools.readDouble(in, little);\n metadata.put(\"XOrigin\", new Double(xOrigin));\n double yOrigin = DataTools.readDouble(in, little);\n metadata.put(\"YOrigin\", new Double(yOrigin));\n double xScale = DataTools.readDouble(in, little);\n metadata.put(\"XScale\", new Double(xScale));\n double yScale = DataTools.readDouble(in, little);\n metadata.put(\"YScale\", new Double(yScale));\n in.skipBytes(1);\n \n byte[] other = new byte[31];\n in.read(other);\n metadata.put(\"Other\", new String(other));\n }\n \n // Initialize OME metadata\n \n if (ome != null) {\n OMETools.setBigEndian(ome, !little);\n if (metadata.get(\"BitDepth\") != null) {\n int bitDepth = ((Integer) metadata.get(\"BitDepth\")).intValue();\n String type;\n \n if (bitDepth <= 8) type = \"int8\";\n else if (bitDepth <= 16) type = \"int16\";\n else type = \"int32\";\n \n OMETools.setPixelType(ome, type);\n }\n if (metadata.get(\"Timestamp\") != null) {\n OMETools.setCreationDate(ome, (String) metadata.get(\"Timestamp\"));\n }\n \n if (metadata.get(\"XOrigin\") != null) {\n Double xOrigin = (Double) metadata.get(\"XOrigin\");\n OMETools.setStageX(ome, xOrigin.floatValue());\n }\n \n if (metadata.get(\"YOrigin\") != null) {\n Double yOrigin = (Double) metadata.get(\"YOrigin\");\n OMETools.setStageY(ome, yOrigin.floatValue());\n }\n \n if (metadata.get(\"XScale\") != null) {\n Double xScale = (Double) metadata.get(\"XScale\");\n OMETools.setPixelSizeX(ome, xScale.floatValue());\n }\n \n if (metadata.get(\"YScale\") != null) {\n Double yScale = (Double) metadata.get(\"YScale\");\n OMETools.setPixelSizeY(ome, yScale.floatValue());\n }\n }\n in.seek(offset);\n }\n }",
"com.google.protobuf.Struct getMetadataFields();",
"public static int numElements_infos_metadata() {\n return 2;\n }",
"public Map getMetadata() {\n return metadata;\n }",
"@Override\n public Iterator<Map.Entry<String, Object>> getMetadata() {\n return new EmptyEntryIterator();\n }",
"public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}",
"public MetadataEntryOrBuilder getMetadataOrBuilder(int index) {\n return metadata_.get(index);\n }",
"public Map<String, Variant<?>> GetMetadata(int position);",
"Map<String, Object> getAllMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"public interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}",
"Object getMetadata(String key);",
"public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}",
"int getMeta();",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public abstract Object getMetadata(String key);",
"public MetaData getMetaData();",
"java.lang.String getMetadata(int index);",
"java.lang.String getMetadata(int index);",
"<E extends CtElement> E putMetadata(String key, Object val);",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"int getMetaInformationCount();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"java.util.Map<java.lang.String, java.lang.String>\n getMetadataMap();",
"com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"protected abstract IItemMetadata newItemMetadata(Map<String, String> metadata);",
"public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}",
"public interface BookMetadata extends DocumentMetadata {\n}",
"protected static LibMetaData createLibMetaData(LibMetaData lmd) {\n MetaData metaData = new MetaData();\r\n metaData.add(\"IsThing\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Number\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(THING, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsItem\", new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Items\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(1), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Name\", \"Thing\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_ITEM), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(ITEM, metaData);\r\n \r\n metaData = new MetaData(lmd.get(\"thing\"));\r\n metaData.add(\"IsBeing\",new Integer(1), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"ImageSource\", \"Creatures\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Image\", new Integer(340), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsMobile\",new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"IsBlocking\", new Integer(1), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"MoveCost\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"DeathDecoration\", \"blood pool\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"NameType\", new Integer(Description.NAMETYPE_NORMAL), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n metaData.add(\"Z\", new Integer(Thing.Z_MOBILE), null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n lmd.add(BEING, metaData);\r\n \r\n lmd = createEffectMetaData(lmd);\r\n lmd = createPoisonMetaData(lmd);\r\n lmd = createFoodMetaData(lmd);\r\n lmd = createScrollMetaData(lmd);\r\n lmd = createMissileMetaData(lmd);\r\n lmd = createRangedWeaponMetaData(lmd);\r\n lmd = createPotionMetaData(lmd);\r\n lmd = createWandMetaData(lmd);\r\n lmd = createRingMetaData(lmd);\r\n lmd = createCoinMetaData(lmd);\r\n lmd = createArmourMetaData(lmd);\r\n lmd = createWeaponMetaData(lmd);\r\n lmd = createSecretMetaData(lmd);\r\n lmd = createSpellBookMetaData(lmd);\r\n lmd = createChestMetaData(lmd);\r\n lmd = createDecorationMetaData(lmd);\r\n lmd = createSceneryMetaData(lmd);\r\n lmd = createPortalMetaData(lmd);\r\n lmd = createTrapMetaData(lmd);\r\n createMonsterMetaData(lmd);\r\n createPersonMetaData(lmd);\r\n return lmd;\r\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}",
"@java.lang.SuppressWarnings({\"ReferenceEquality\"})\n private void mergeMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n if (metadata_ != null &&\n metadata_ != org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance()) {\n metadata_ =\n org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.newBuilder(metadata_).mergeFrom(value).buildPartial();\n } else {\n metadata_ = value;\n }\n bitField0_ |= 0x00000002;\n }",
"private static void initMetadataContext(SessionState state)\n\t{\n\t\t// define MetadataSets map\n\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\t\tif(metadataGroups == null)\n\t\t{\n\t\t\tmetadataGroups = new Vector();\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t// define DublinCore\n\t\tif( !metadataGroups.contains(new MetadataGroup(rb.getString(\"opt_props\"))) )\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup( rb.getString(\"opt_props\") );\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ALTERNATIVE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATOR);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_PUBLISHER);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_SUBJECT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CREATED);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ISSUED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_MODIFIED);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TABLEOFCONTENTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ABSTRACT);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_CONTRIBUTOR);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_TYPE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_FORMAT);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_IDENTIFIER);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_SOURCE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_LANGUAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_COVERAGE);\n\t\t\t// dc.add(ResourcesMetadata.PROPERTY_DC_RIGHTS);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_AUDIENCE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_EDULEVEL);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t/*\n\t\t// define DublinCore\n\t\tif(!metadataGroups.contains(new MetadataGroup(\"Test of Datatypes\")))\n\t\t{\n\t\t\tMetadataGroup dc = new MetadataGroup(\"Test of Datatypes\");\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TITLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DESCRIPTION);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_ANYURI);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DOUBLE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATETIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_TIME);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_DATE);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_BOOLEAN);\n\t\t\tdc.add(ResourcesMetadata.PROPERTY_DC_INTEGER);\n\t\t\tmetadataGroups.add(dc);\n\t\t\tstate.setAttribute(STATE_METADATA_GROUPS, metadataGroups);\n\t\t}\n\t\t*/\n\t}",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"io.dstore.engine.MetaInformation getMetaInformation(int index);",
"com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();",
"public Map<String, Variant<?>> GetMetadata();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"public Object getMetadata() {\n return this.metadata;\n }",
"org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata();",
"@Override\n \t\tpublic void populateImageMetadata() {\n \n \t\t\t// populate core metadata\n \n \t\t\tfinal OMEXMLMetadata omexmlMeta = getOmeMeta().getRoot();\n \n \t\t\tfor (int s = 0; s < getImageCount(); s++) {\n \n \t\t\t\tfinal ImageMetadata m = get(s);\n \t\t\t\ttry {\n \t\t\t\t\tm.setPlanarAxisCount(2);\n \t\t\t\t\tm.setAxisLength(Axes.X, omexmlMeta.getPixelsSizeX(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffWidth = (int) firstIFD.getImageWidth();\n \t\t\t\t\tif (m.getAxisLength(Axes.X) != tiffWidth && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeX mismatch: OME=\" + m.getAxisLength(Axes.X) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffWidth);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Y, omexmlMeta.getPixelsSizeY(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tfinal int tiffHeight = (int) firstIFD.getImageLength();\n \t\t\t\t\tif (m.getAxisLength(Axes.Y) != tiffHeight && s == 0) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"SizeY mismatch: OME=\" + m.getAxisLength(Axes.Y) + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffHeight);\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisLength(Axes.Z, omexmlMeta.getPixelsSizeZ(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.CHANNEL, omexmlMeta.getPixelsSizeC(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setAxisLength(Axes.TIME, omexmlMeta.getPixelsSizeT(s).getValue()\n \t\t\t\t\t\t.intValue());\n \t\t\t\t\tm.setPixelType(FormatTools.pixelTypeFromString(omexmlMeta\n \t\t\t\t\t\t.getPixelsType(s).toString()));\n \t\t\t\t\tfinal int tiffPixelType = firstIFD.getPixelType();\n \t\t\t\t\tif (m.getPixelType() != tiffPixelType &&\n \t\t\t\t\t\t(s == 0 || adjustedSamples.get(s)))\n \t\t\t\t\t{\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"PixelType mismatch: OME=\" + m.getPixelType() + \", TIFF=\" +\n \t\t\t\t\t\t\t\ttiffPixelType);\n \t\t\t\t\t\tm.setPixelType(tiffPixelType);\n \t\t\t\t\t}\n \t\t\t\t\tm.setBitsPerPixel(FormatTools.getBitsPerPixel(m.getPixelType()));\n \t\t\t\t\tString dimensionOrder =\n \t\t\t\t\t\tomexmlMeta.getPixelsDimensionOrder(s).toString();\n \n \t\t\t\t\t// hackish workaround for files exported by OMERO that have an\n \t\t\t\t\t// incorrect dimension order\n \t\t\t\t\tString uuidFileName = \"\";\n \t\t\t\t\ttry {\n \t\t\t\t\t\tif (omexmlMeta.getTiffDataCount(s) > 0) {\n \t\t\t\t\t\t\tuuidFileName = omexmlMeta.getUUIDFileName(s, 0);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch (final NullPointerException e) {}\n \t\t\t\t\tif (omexmlMeta.getChannelCount(s) > 0 &&\n \t\t\t\t\t\tomexmlMeta.getChannelName(s, 0) == null &&\n \t\t\t\t\t\tomexmlMeta.getTiffDataCount(s) > 0 &&\n \t\t\t\t\t\tuuidFileName.indexOf(\"__omero_export\") != -1)\n \t\t\t\t\t{\n \t\t\t\t\t\tdimensionOrder = \"XYZCT\";\n \t\t\t\t\t}\n \t\t\t\t\tm.setAxisTypes(metaService.findDimensionList(dimensionOrder));\n \n \t\t\t\t\tm.setOrderCertain(true);\n \t\t\t\t\tfinal PhotoInterp photo = firstIFD.getPhotometricInterpretation();\n \t\t\t\t\tif (samples.get(s) > 1 || photo == PhotoInterp.RGB) {\n \t\t\t\t\t\tm.setPlanarAxisCount(3);\n \t\t\t\t\t}\n \t\t\t\t\tif ((samples.get(s) != m.getAxisLength(Axes.CHANNEL) &&\n \t\t\t\t\t\t(samples.get(s) % m.getAxisLength(Axes.CHANNEL)) != 0 && (m\n \t\t\t\t\t\t.getAxisLength(Axes.CHANNEL) % samples.get(s)) != 0) ||\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) == 1 || adjustedSamples.get(s))\n \t\t\t\t\t{\n \t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, m.getAxisLength(Axes.CHANNEL) *\n \t\t\t\t\t\t\tsamples.get(s));\n \t\t\t\t\t}\n \n \t\t\t\t\tif (m.getAxisLength(Axes.Z) * m.getAxisLength(Axes.TIME) *\n \t\t\t\t\t\tm.getAxisLength(Axes.CHANNEL) > info[s].length &&\n \t\t\t\t\t\t!m.isMultichannel())\n \t\t\t\t\t{\n \t\t\t\t\t\tif (m.getAxisLength(Axes.Z) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.TIME) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.CHANNEL, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t\telse if (m.getAxisLength(Axes.CHANNEL) == info[s].length) {\n \t\t\t\t\t\t\tm.setAxisLength(Axes.TIME, 1);\n \t\t\t\t\t\t\tm.setAxisLength(Axes.Z, 1);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tif (omexmlMeta.getPixelsBinDataCount(s) > 1) {\n \t\t\t\t\t\tlog().warn(\n \t\t\t\t\t\t\t\"OME-TIFF Pixels element contains BinData elements! \"\n \t\t\t\t\t\t\t\t+ \"Ignoring.\");\n \t\t\t\t\t}\n \t\t\t\t\tm.setLittleEndian(firstIFD.isLittleEndian());\n \t\t\t\t\tm.setIndexed(photo == PhotoInterp.RGB_PALETTE &&\n \t\t\t\t\t\tfirstIFD.getIFDValue(IFD.COLOR_MAP) != null);\n \t\t\t\t\tm.setFalseColor(true);\n \t\t\t\t\tm.setMetadataComplete(true);\n \t\t\t\t}\n \t\t\t\tcatch (final NullPointerException exc) {\n \t\t\t\t\tlog().error(\"Incomplete Pixels metadata\", exc);\n \t\t\t\t}\n \t\t\t\tcatch (final FormatException exc) {\n \t\t\t\t\tlog().error(\"Format exception when creating ImageMetadata\", exc);\n \t\t\t\t}\n \t\t\t}\n \n // if (getImageCount() == 1) {\n // CoreMetadata ms0 = core.get(0);\n // ms0.sizeZ = 1;\n // if (!ms0.rgb) {\n // ms0.sizeC = 1;\n // }\n // ms0.sizeT = 1;\n // }\n // metaService.populatePixels(getOmeMeta().getRoot(), this, false, false);\n \t\t\tgetOmeMeta().setRoot((OMEXMLMetadata) getMetadataStoreForConversion());\n \t\t}",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public int getMetadataCount() {\n return metadata_.size();\n }",
"public ResourceContent getMetadata() throws IOException;",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);",
"public MetaData getMetaData() {\r\n \treturn metaData;\r\n }",
"private Metadata getMetadata(RubyModule type) {\n for (RubyModule current = type; current != null; current = current.getSuperClass()) {\n Metadata metadata = (Metadata) current.getInternalVariable(\"metadata\");\n \n if (metadata != null) return metadata;\n }\n \n return null;\n }"
] | [
"0.6270592",
"0.62558144",
"0.61733663",
"0.6143492",
"0.608782",
"0.6082564",
"0.6082564",
"0.6082564",
"0.6082564",
"0.60721886",
"0.6067743",
"0.60544235",
"0.60476935",
"0.60452133",
"0.6007166",
"0.5966152",
"0.596071",
"0.59601194",
"0.59482914",
"0.59234124",
"0.58983225",
"0.58908254",
"0.5885335",
"0.58820367",
"0.58653224",
"0.58525234",
"0.5841634",
"0.58390653",
"0.5814492",
"0.5801421",
"0.5758877",
"0.5757327",
"0.5757327",
"0.5743799",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.57381094",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5730591",
"0.5714334",
"0.5714334",
"0.5704554",
"0.5704247",
"0.5690077",
"0.56891537",
"0.5683512",
"0.56692296",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.5664158",
"0.56622666",
"0.56470925",
"0.56463003",
"0.56258404",
"0.56205785",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.5603749",
"0.55991924",
"0.55968744",
"0.55910116",
"0.5581716",
"0.55644786",
"0.5562519",
"0.5555921",
"0.55559075",
"0.5524661",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.55184895",
"0.5511898",
"0.55104375"
] | 0.0 | -1 |
optional .PoP pop = 3; | public boolean hasPop() {
return popBuilder_ != null || pop_ != null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.0 | -1 |
optional .PoP pop = 3; | public PoP getPop() {
if (popBuilder_ == null) {
return pop_ == null ? PoP.getDefaultInstance() : pop_;
} else {
return popBuilder_.getMessage();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.63652235 | 7 |
optional .PoP pop = 3; | public Builder setPop(PoP value) {
if (popBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pop_ = value;
onChanged();
} else {
popBuilder_.setMessage(value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.62931377 | 10 |
optional .PoP pop = 3; | public Builder setPop(PoP.Builder builderForValue) {
if (popBuilder_ == null) {
pop_ = builderForValue.build();
onChanged();
} else {
popBuilder_.setMessage(builderForValue.build());
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.0 | -1 |
optional .PoP pop = 3; | public Builder mergePop(PoP value) {
if (popBuilder_ == null) {
if (pop_ != null) {
pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();
} else {
pop_ = value;
}
onChanged();
} else {
popBuilder_.mergeFrom(value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.5703325 | 53 |
optional .PoP pop = 3; | public Builder clearPop() {
if (popBuilder_ == null) {
pop_ = null;
onChanged();
} else {
pop_ = null;
popBuilder_ = null;
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.0 | -1 |
optional .PoP pop = 3; | public PoP.Builder getPopBuilder() {
onChanged();
return getPopFieldBuilder().getBuilder();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.0 | -1 |
optional .PoP pop = 3; | public PoPOrBuilder getPopOrBuilder() {
if (popBuilder_ != null) {
return popBuilder_.getMessageOrBuilder();
} else {
return pop_ == null ? PoP.getDefaultInstance() : pop_;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>\n getPopFieldBuilder() {\n if (popBuilder_ == null) {\n popBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(\n getPop(), getParentForChildren(), isClean());\n pop_ = null;\n }\n return popBuilder_;\n }",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.5668406",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.6104372 | 13 |
optional .PoP pop = 3; | private com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>
getPopFieldBuilder() {
if (popBuilder_ == null) {
popBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<PoP, PoP.Builder, PoPOrBuilder>(
getPop(), getParentForChildren(), isClean());
pop_ = null;
}
return popBuilder_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PoP getPop() {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }",
"public int getPop(){\n return pop;\n }",
"@Override\n public void popuniPodatke() {\n }",
"Popis getPopis();",
"public PoPOrBuilder getPopOrBuilder() {\n return getPop();\n }",
"@Test\n public void testThreePushPop(){\n ms = new MyStack();\n int pn1=3, pn2=4, pn3=5;\n ms.push(pn1);\n ms.push(pn2);\n ms.push(pn3);\n assertEquals(pn3,ms.pop());\n assertEquals(pn2,ms.pop());\n assertEquals(pn1,ms.pop());\n }",
"public void visitPOP(POP o){\n\t\tif (stack().peek().getSize() != 1){\n\t\t\tconstraintViolated(o, \"Stack top size should be 1 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public PoP getPop() {\n if (popBuilder_ == null) {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n } else {\n return popBuilder_.getMessage();\n }\n }",
"public E popTop() {\n // FILL IN\n }",
"public Item pop(Item item){\n\nif(isEmpty()) throw new NoSuchElementException(\"Stack undervflow\"); \n Item item =top.item;\n top = top.next;\n N--;\n return item;\n}",
"public Builder setPop(PoP value) {\n if (popBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n pop_ = value;\n onChanged();\n } else {\n popBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public int pop() { return 0; }",
"static int type_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public PoPOrBuilder getPopOrBuilder() {\n if (popBuilder_ != null) {\n return popBuilder_.getMessageOrBuilder();\n } else {\n return pop_ == null ? PoP.getDefaultInstance() : pop_;\n }\n }",
"public void pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"int pop();",
"@Override\n\tpublic int pop() {\n\t\treturn 0;\n\t}",
"@Override\r\n\tpublic int pop() {\n\t\tif(tos < 0){\r\n\t\t\tSystem.out.println(\"스택이 비어있음.\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\telse return stack[tos--];//하나 꺼내주고 화살표 한칸아래로 이동\r\n\t}",
"@Override\n\tpublic void decrementPop(int x) {\n\t\t\n\t}",
"public int pop();",
"public ExParValue pop() {\r\n\t\tExParValue v = null;\r\n\t\tif (value.next != null) {\r\n\t\t\tv = value;\r\n\t\t\tvalue = value.next;\r\n\t\t\t// System.out.println(\"ExPar.pop() Popping \" + v.toString() +\r\n\t\t\t// \" now on top: \" + value.toString());\r\n\t\t} else {\r\n\t\t\tnew ParameterValueError(\"ExPar.pop() without preceding push()\");\r\n\t\t}\r\n\t\t/*\r\n\t\t * if (value == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack empty.\"); } else if\r\n\t\t * (value.next == null) {\r\n\t\t * System.out.println(\"ExPar.pop(): A single value is on the stack: \" +\r\n\t\t * value.toString()); } else {\r\n\t\t * System.out.println(\"ExPar.pop(): Value stack: \" + value.toString() +\r\n\t\t * \", \" + value.next.toString()); }\r\n\t\t */\r\n\t\treturn (v);\r\n\t}",
"@Override\n\tpublic void incrementPop(int x) {\n\t\t\n\t}",
"@Override\r\n\tpublic void pop() {\n\t\tSystem.out.println(\"Pop logic for Fixed Stack\");\r\n\t}",
"private void pop() {\r\n pop( false );\r\n }",
"public void pop(){\n \n if(top==null) System.out.println(\"stack is empty\");\n else top=top.next;\n \t\n }",
"public TYPE pop();",
"void pop() {\n // -\n top = top.getNextNode();\n }",
"@Test\r\n\tpublic void testPop()\r\n\t{\n\t\tassertEquals(null,myStack.pop());\r\n\t\r\n\t\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\t\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\t\tassertEquals(27,myStack.top().getId());\r\n\t\tassertEquals(\"Chur\",myStack.pop().getName());\r\n\t\tassertEquals(4,myStack.pop().getId());\r\n\t\tassertEquals(2,myStack.pop().getId());\r\n\t\t\r\n\t\t// leerer Stack\r\n\t\tassertEquals(null,myStack.pop());\r\n\t\tassertEquals(null,myStack.top());\r\n\t}",
"public T pop() {\r\n\t\t\r\n\t\tT numPila = this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\tfor (StackObserver<T> o : observers )\r\n\t\t\to.onPop(numPila);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\treturn numPila;\r\n\t\t\r\n\t\t//return this.num.remove(this.num.size()-1);\r\n\t\t\r\n\t\t\r\n\t}",
"public RatPoly pop() {\n //TODO: Fill in this method, then remove the RuntimeException\n throw new RuntimeException(\"RatPolyStack->pop() unimplemented!\\n\");\n }",
"public String pop();",
"static void perform_pop(String passed){\n\t\tint type = type_of_pop(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tpop_from_stack(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public double pop()\n {\n if (empty()) {\n \tthrow new IllegalArgumentException(\"too many operators!\");\n \t\n }\n else\n {\n return s[top--];\n }\n }",
"public void pop() throws StackUnderflowException;",
"public void visitPOP2(POP2 o){\n\t\tif (stack().peek().getSize() != 2){\n\t\t\tconstraintViolated(o, \"Stack top size should be 2 but stack top is '\"+stack().peek()+\"' of size '\"+stack().peek().getSize()+\"'.\");\n\t\t}\n\t}",
"public AnyType pop() throws StackException;",
"static int size_of_pop(String passed){\n\t\treturn 1;\n\t}",
"public abstract Object pop();",
"@Test\n public void testRememberNumberPushPop(){\n ms = new MyStack();\n int pushNum=4, popNum;\n ms.push(pushNum);\n popNum=ms.pop();\n assertEquals(pushNum,popNum);\n }",
"public Object pop();",
"Object pop();",
"private int pop() {\n\n\t\treturn memory[sp++];\n\t}",
"public Object pop() {\n if (top != null) {\n Object item = top.getOperand();\n\n top = top.next;\n return item;\n }\n\n System.out.println(\"Stack is empty\");\n return null;\n\n }",
"abstract void pop();",
"E pop();",
"E pop();",
"E pop();",
"public static void main(String[] args) {\n \n \n \n Stack st = new Stack();\n st.push(40);\n st.push(30);\n \n int poppedElement = (int) st.pop();\n System.out.println(poppedElement);\n \n \n \n }",
"@Test\r\n public void testPopShouldReturnObjectWhenStackNotEmpty() {\r\n stackInstance=new StackUsingLinkedList<Integer>();\r\n stackInstance.push(49);\r\n stackInstance.push(57);\r\n stackInstance.push(2);\r\n Integer actualOutput=stackInstance.pop();\r\n Integer expectedOutput=2;\r\n assertEquals(expectedOutput,actualOutput);\r\n }",
"public Builder mergePop(PoP value) {\n if (popBuilder_ == null) {\n if (pop_ != null) {\n pop_ = PoP.newBuilder(pop_).mergeFrom(value).buildPartial();\n } else {\n pop_ = value;\n }\n onChanged();\n } else {\n popBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"static void stack_pop(Stack<Integer> stack)\r\n\t{\r\n\t\t\r\n\t\tSystem.out.print(\"Pop : \");\r\n\t\tfor(int i=0;i<5;i++)\r\n\t\t{\r\n\t\t\tInteger dataElement=(Integer)stack.pop();\r\n\t\t\tSystem.out.print(\" \"+ dataElement);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}",
"public void printEval()\r\n {\r\n eval = ((int)numbers.pop());\r\n System.out.println(\"Postfix Evaluation: \" + eval);\r\n pw.println(\"Postfix Evaluation: \" + eval);\r\n}",
"@Test\n public void testPop() {\n System.out.println(\"pop\");\n Stack2 instance = new Stack2();\n int expResult = 3;\n instance.push(1);\n instance.push(2);\n instance.push(expResult);\n int result = instance.pop();\n assertEquals(expResult, result);\n }",
"int pop() \r\n {\n if(top < 0)\r\n {\r\n System.out.println(\"Stack Underflow Occurred!\");\r\n return -1;\r\n }\r\n //Write your code here\r\n int p = a[top];\r\n top--;\r\n return p; \r\n }",
"E pop() throws EmptyStackException;",
"static void stack_peek(Stack<Integer> stack)\r\n\t{\r\n\t\tInteger element=stack.peek();\r\n\t\tSystem.out.println(\"Element on stack top :\" + element);\r\n\t}",
"public ValueType pop() {\r\n // TODO\r\n return null;\r\n }",
"public int pop(){\n if (top==null) throw new EmptyStackException();\n int data = top.data;\n top=top.next;\n return data;\n }",
"private static int pop(Stack<Integer> top_ref) {\n /*If stack is empty then error */\n if (top_ref.isEmpty()) {\n System.out.println(\"Stack Underflow\");\n System.exit(0);\n }\n //pop the data from the stack\n return top_ref.pop();\n }",
"@Test\n public void pop() {\n SimpleStack stack = new DefaultSimpleStack();\n Item item = new Item();\n Item item1 = new Item();\n stack.push(item);\n stack.push(item1);\n\n // When we pop the stack\n Item topItem = stack.pop();\n\n // Then…\n assertEquals(\"The stack constains 1 item\", 1, stack.getSize());\n assertSame(\"The first item is on top of the stack\", item, stack.peek());\n assertSame(item1, topItem);\n }",
"public void growPop(){\n pop += (int) Math.floor(1 + Math.random()*(0.01*pop));\n if(pop < 0){\n pop = 0;\n }\n }",
"public int pop(){\n \tint data=0;\n \tif(isEmpty())\n \tSystem.out.println(\"Stack is underflow\");\n \telse\n \tdata=elements[top--];\n \treturn data;\n\t}",
"public void puke(){\r\n top = null;\r\n size = 0;\r\n \r\n }",
"public void pop()\n {\n this.top = this.top.getNext();\n }",
"public int pop() {\n ListNode front=root;\n while (front.next!=null&&front.next.next!=null)\n front=front.next;\n int num=p.val;\n p=front;\n p.next=null;\n return num;\n }",
"int pop()\n\t{\n // Your code here\n if(top == -1){\n return -1;\n }\n int x = arr[top];\n top--;\n return x;\n\t}",
"int pop2(TwoStack sq)\n {\n if(sq.top2<sq.size)\n {\n int yo2=sq.arr[sq.top2];\n sq.top2++;\n return yo2;\n }\n else\n {\n return -1;\n }\n \n }",
"public Integer pop() \n\t{ \n\t\tint x = super.pop(); \n\t\tmin.pop(); \n\t\treturn x; \n\t}",
"public Item pop(){\n\t\tif(isEmpty()){\r\n\t\t\tSystem.out.println(\"Stack is empty\");\r\n\t\t}\r\n\t\t\r\n\t\tItem item=first.item;\r\n\t\tfirst=first.next;\r\n\t\tN--;\r\n\t\treturn item;\r\n\t\r\n\r\n\t}",
"T pop();",
"T pop();",
"T pop();",
"public int size()\r\n/* 41: */ {\r\n/* 42:69 */ return this.pop.size();\r\n/* 43: */ }",
"public E pop() {\n\t\tE answer;\n\t\tif (this.top == null) {\n\t\t\tthrow new EmptyStackException( );\n\t\t}\n\t\tanswer = this.top.data;\n\t\tthis.top = this.top.link;\n\t\treturn answer;\t\n\t}",
"@Test\r\npublic void testTop()\r\n{\n\tassertEquals(null,myStack.top());\r\n\r\n\tassertEquals(true, myStack.push(new Element(2,\"Basel\")));\t\r\n\tassertEquals(true, myStack.push(new Element(4,\"Wil\")));\t\r\n\tassertEquals(true, myStack.push(new Element(27,\"Chur\")));\r\n\tassertEquals(27,myStack.top().getId());\r\n\tassertEquals(27,myStack.pop().getId());\r\n\tassertEquals(4,myStack.top().getId());\r\n\tassertEquals(4,myStack.pop().getId());\r\n\tassertEquals(2,myStack.pop().getId());\r\n\t\r\n\t// Stack leer\r\n\tassertEquals(null,myStack.top());\r\n\r\n}",
"public Object pop( )\n {\n Object item = null;\n\n try\n {\n if ( this.top == null)\n {\n throw new Exception( );\n }\n\n item = this.top.data;\n this.top = this.top.next;\n \n this.count--;\n }\n catch (Exception e)\n {\n System.out.println( \" Exception: attempt to pop an empty stack\" );\n }\n\n return item;\n }",
"@Test\n public void testPushCallTop(){\n ms = new MyStack();\n ms.push(1);\n ms.top();\n assertFalse(ms.IsEmpty());\n }",
"public void pop()\n {\n\tsetIndentLevel(indentLevel - 1);\n }",
"public K pop() {\n\t\tK data = null;\r\n\t\tif(top!=null){\r\n\t\t\tdata = top.data;\r\n\t\t\ttop = top.next;\r\n\t\t\tsize--;\r\n\t\t}\r\n\t\treturn data;\r\n\t}",
"public int pop() throws EmptyStackException{\n //To be written by student\n if(top==-1){\n System.out.println(\"Stack is Empty!\");\n throw new EmptyStackException();\n }\n else if(localSize==A.getSize()/2){\n \tint tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n A.halveSize();\n return tp;\n }\n else{ int tp=0;\n \ttry{\n \t\t tp=A.getElement(top);\n \t}catch(Exception e){e.printStackTrace();}\n top--;localSize--;\n \n return tp;\n }\n }",
"private final Object pop() {\r\n\t\treturn eval_stack.remove(eval_stack.size() - 1);\r\n\t}",
"@Override\n\tpublic E pop() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic E pop() {\n\t\treturn null;\r\n\t}",
"public GenericStack popStack(){\n if(isEmpty() == true)return null;\n GenericStack temp = top;\n // makes next item in list the tip\n top = top.next;\n return temp;\n }",
"@Test\n void get_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n String pop = tests.get_1M_pop();\n assertEquals(\"664865\",tests.get_1M_pop());\n }",
"public CalculettePostfixee() {\n\t\tthis.valC = 0;\n\t\tthis.pile = new Stack<Integer>();\n\t}",
"static void drawPop(){\n\t\tif (currentStage[currentSlice-1]>3)\n\t\t{\n\t\t\tfloat x1,y1;\n\t\t\tint N = pop.N;\n\n\t\t\tfor (int i=0;i<N;i++)\n\t\t\t{\n\t\t\t\tBalloon bal;\n\t\t\t\tbal = (Balloon)(pop.BallList.get(i));\n\t\t\t\tint n = bal.XX.length;\n\n\t\t\t\t// filtering (for testing purposes)\n\t\t\t\tboolean isToDraw = true;\n\t\t\t\tBalloon B0 = ((Balloon)(pop.BallList.get(i)));\n\t\t\t\tB0.mass_geometry();\n\t\t\t\tif (pop.contacts != null)\n\t\t\t\t{\n\t\t\t\t\tfor (int k=0;k<B0.n0;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (pop.contacts[i][k] == -1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tisToDraw = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// draw\n\t\t\t\tshape.setWindingRule(0);\n\t\t\t\tif (isToDraw)\n\t\t\t\t{\n\t\t\t\t\tPolygonRoi Proi = B0.Proi;\n\t\t\t\t\tProi.setStrokeColor(Color.red);\n\t\t\t\t Proi.setStrokeWidth(3);\n\t\t\t\t OL.add(Proi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean hasPop() {\n return pop_ != null;\n }",
"public String pop() \r\n\t {\r\n\t if (top<0) \r\n\t {\r\n\t System.out.println(\"There is no letter in the message to delete\");\r\n\t return null;\r\n\t }\r\n\t else \r\n\t {\r\n\t \tString x = msg[top--]; //top-- is the top next next when the type of the first first time type\r\n\t \treturn x;\r\n\t }\r\n\t }",
"Subp getSubp();",
"public int getLenghtPop () {\r\n return long_poblacion;\r\n }",
"static void showPop(Stack<String> stack) {\n\t\tSystem.out.println(\"pop -> \" + stack.pop());\n\t\tSystem.out.println(\"Stack: \" + stack);\n\t}",
"public void setEthnicitypop(Ethnicitypop ethnicitypop) {\n this.ethnicitypop = ethnicitypop;\n }",
"protected void popAction(iNamedObject node)\n\t{\n\t}",
"public PopResult<T> pop() throws RPLEmptyStackException {\n\t\tif (element == null) {\n\t\t\tthrow new RPLEmptyStackException();\n\t\t}\n\t\treturn new PopResult<T>(parent, element);\n\t}",
"public T pop();"
] | [
"0.70140874",
"0.6931022",
"0.6745663",
"0.66699785",
"0.6549176",
"0.63942534",
"0.63936675",
"0.63652235",
"0.6346602",
"0.63329023",
"0.62931377",
"0.6245204",
"0.6241085",
"0.6104372",
"0.6080019",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60628986",
"0.60586256",
"0.6046831",
"0.6030001",
"0.60216343",
"0.59913796",
"0.59836954",
"0.59618914",
"0.5960097",
"0.5959925",
"0.59419394",
"0.59400016",
"0.5939614",
"0.5934617",
"0.58925766",
"0.588158",
"0.5873735",
"0.5859008",
"0.5855595",
"0.58550924",
"0.58508956",
"0.58476907",
"0.58301085",
"0.5773453",
"0.5766903",
"0.57460696",
"0.5731664",
"0.5729077",
"0.57279664",
"0.5712256",
"0.5712256",
"0.5712256",
"0.5709605",
"0.57074803",
"0.5703325",
"0.57031864",
"0.5699791",
"0.56917673",
"0.5675259",
"0.5673391",
"0.565313",
"0.56494105",
"0.5638083",
"0.5627039",
"0.56202054",
"0.5613257",
"0.56071585",
"0.56071466",
"0.56015074",
"0.559937",
"0.5597132",
"0.5592167",
"0.55441666",
"0.55418265",
"0.5534542",
"0.5534542",
"0.5534542",
"0.553403",
"0.55292344",
"0.5523551",
"0.55195934",
"0.5518924",
"0.55164737",
"0.5507669",
"0.5505918",
"0.5504135",
"0.55030817",
"0.55021256",
"0.55021185",
"0.54978913",
"0.5497701",
"0.5487099",
"0.54784906",
"0.54780555",
"0.5476815",
"0.5465549",
"0.546238",
"0.5457121",
"0.5453745",
"0.54427457",
"0.5441505"
] | 0.5668406 | 59 |
repeated .MetadataEntry auth = 4; | public java.util.List<MetadataEntry> getAuthList() {
if (authBuilder_ == null) {
return java.util.Collections.unmodifiableList(auth_);
} else {
return authBuilder_.getMessageList();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.4829942 | 97 |
repeated .MetadataEntry auth = 4; | public int getAuthCount() {
if (authBuilder_ == null) {
return auth_.size();
} else {
return authBuilder_.getCount();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.0 | -1 |
repeated .MetadataEntry auth = 4; | public MetadataEntry getAuth(int index) {
if (authBuilder_ == null) {
return auth_.get(index);
} else {
return authBuilder_.getMessage(index);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.5133844 | 36 |
repeated .MetadataEntry auth = 4; | public Builder setAuth(int index, MetadataEntry value) {
if (authBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuthIsMutable();
auth_.set(index, value);
onChanged();
} else {
authBuilder_.setMessage(index, value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.5078457 | 41 |
repeated .MetadataEntry auth = 4; | public Builder setAuth(int index, MetadataEntry.Builder builderForValue) {
if (authBuilder_ == null) {
ensureAuthIsMutable();
auth_.set(index, builderForValue.build());
onChanged();
} else {
authBuilder_.setMessage(index, builderForValue.build());
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.0 | -1 |
repeated .MetadataEntry auth = 4; | public Builder addAuth(MetadataEntry value) {
if (authBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuthIsMutable();
auth_.add(value);
onChanged();
} else {
authBuilder_.addMessage(value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.54421633 | 9 |
repeated .MetadataEntry auth = 4; | public Builder addAuth(int index, MetadataEntry value) {
if (authBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuthIsMutable();
auth_.add(index, value);
onChanged();
} else {
authBuilder_.addMessage(index, value);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.52272564 | 25 |
repeated .MetadataEntry auth = 4; | public Builder addAuth(MetadataEntry.Builder builderForValue) {
if (authBuilder_ == null) {
ensureAuthIsMutable();
auth_.add(builderForValue.build());
onChanged();
} else {
authBuilder_.addMessage(builderForValue.build());
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.0 | -1 |
repeated .MetadataEntry auth = 4; | public Builder addAuth(int index, MetadataEntry.Builder builderForValue) {
if (authBuilder_ == null) {
ensureAuthIsMutable();
auth_.add(index, builderForValue.build());
onChanged();
} else {
authBuilder_.addMessage(index, builderForValue.build());
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.0 | -1 |
repeated .MetadataEntry auth = 4; | public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {
if (authBuilder_ == null) {
ensureAuthIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);
onChanged();
} else {
authBuilder_.addAllMessages(values);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.5297906 | 18 |
repeated .MetadataEntry auth = 4; | public Builder clearAuth() {
if (authBuilder_ == null) {
auth_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
authBuilder_.clear();
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.0 | -1 |
repeated .MetadataEntry auth = 4; | public Builder removeAuth(int index) {
if (authBuilder_ == null) {
ensureAuthIsMutable();
auth_.remove(index);
onChanged();
} else {
authBuilder_.remove(index);
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.0 | -1 |
repeated .MetadataEntry auth = 4; | public MetadataEntry.Builder getAuthBuilder(int index) {
return getAuthFieldBuilder().getBuilder(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.4908097 | 78 |
repeated .MetadataEntry auth = 4; | public MetadataEntryOrBuilder getAuthOrBuilder(int index) {
if (authBuilder_ == null) {
return auth_.get(index);
} else {
return authBuilder_.getMessageOrBuilder(index);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.5584721 | 7 |
repeated .MetadataEntry auth = 4; | public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {
if (authBuilder_ != null) {
return authBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(auth_);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.52459353 | 22 |
repeated .MetadataEntry auth = 4; | public MetadataEntry.Builder addAuthBuilder() {
return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.5808603 | 2 |
repeated .MetadataEntry auth = 4; | public MetadataEntry.Builder addAuthBuilder(int index) {
return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.5350541 | 16 |
repeated .MetadataEntry auth = 4; | public java.util.List<MetadataEntry.Builder> getAuthBuilderList() {
return getAuthFieldBuilder().getBuilderList();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n return auth_.get(index);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n return auth_;\n }",
"public MetadataEntry.Builder addAuthBuilder() {\n return getAuthFieldBuilder().addBuilder(MetadataEntry.getDefaultInstance());\n }",
"Pokemon.RequestEnvelop.AuthInfo getAuth();",
"Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder();",
"public void addAuthInfo(AuthInfo info);",
"public java.util.List<MetadataEntry> getAuthList() {\n return auth_;\n }",
"public MetadataEntryOrBuilder getAuthOrBuilder(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessageOrBuilder(index);\n }\n }",
"Object getAuthInfoKey();",
"public Builder addAuth(MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(value);\n onChanged();\n } else {\n authBuilder_.addMessage(value);\n }\n return this;\n }",
"public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }",
"private AppAuth() {\n }",
"public MetadataEntry getAuth(int index) {\n return auth_.get(index);\n }",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"java.lang.String getAuth();",
"public MetadataEntry.Builder addAuthBuilder(int index) {\n return getAuthFieldBuilder().addBuilder(index, MetadataEntry.getDefaultInstance());\n }",
"@Test\r\n\tpublic void authImplicit() {\n\t\t Storage storage = StorageOptions.getDefaultInstance().getService();\r\n\r\n\t\t logger.info(\"Buckets loading...\");\r\n\t\t Page<Bucket> buckets = storage.list();\r\n\t\t logger.info(String.format(\"Buckets found:'%s'\", buckets.getValues().toString()));\r\n\t\t assertNotNull(storage.getServiceAccount(\"bulorosinterview\"));\r\n\t\t}",
"public Builder addAllAuth(Iterable<? extends MetadataEntry> values) {\n if (authBuilder_ == null) {\n ensureAuthIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auth_);\n onChanged();\n } else {\n authBuilder_.addAllMessages(values);\n }\n return this;\n }",
"KeyMetadata metadata();",
"public void setAuth(int pAuth){\n this.auth = pAuth;\n }",
"private AuthPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public java.util.List<? extends MetadataEntryOrBuilder> getAuthOrBuilderList() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(auth_);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWTOrBuilder getTokenOrBuilder();",
"@Override\n\tpublic void authInfoRequested(LinphoneCore lc, String realm, String username) {\n\t\t\n\t}",
"public Builder addAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.add(index, value);\n onChanged();\n } else {\n authBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"boolean authNeeded();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"com.google.protobuf.ByteString\n getAuthBytes();",
"public AuthRecord() {\n super(Auth.AUTH);\n }",
"public Integer getAuthCnt() {\r\n return authCnt;\r\n }",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"public Pokemon.RequestEnvelop.AuthInfo getAuth() {\n return auth_;\n }",
"public MetadataEntry getAuth(int index) {\n if (authBuilder_ == null) {\n return auth_.get(index);\n } else {\n return authBuilder_.getMessage(index);\n }\n }",
"Pokemon.RequestEnvelop.AuthInfo.JWT getToken();",
"private AuthInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n return auth_;\n }",
"@Override\n\tpublic void setAuthInfoMap(Map<InetSocketAddress, AuthInfo> arg0) {\n\n\t}",
"public Builder setAuth(int index, MetadataEntry value) {\n if (authBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAuthIsMutable();\n auth_.set(index, value);\n onChanged();\n } else {\n authBuilder_.setMessage(index, value);\n }\n return this;\n }",
"void setAuthInfoKey(Object key);",
"@ParametersAreNonnullByDefault\npublic interface GsaAuthn extends SAMLObject {\n public static final QName DEFAULT_ELEMENT_NAME\n = new QName(OpenSamlUtil.GOOGLE_NS_URI, \"GsaAuthn\", OpenSamlUtil.GOOGLE_NS_PREFIX);\n public static final QName VERSION_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"version\", XMLConstants.DEFAULT_NS_PREFIX);\n public static final QName SESSION_ID_ATTRIB_NAME\n = new QName(XMLConstants.NULL_NS_URI, \"sessionId\", XMLConstants.DEFAULT_NS_PREFIX);\n\n public static final int MIN_VERSION = 1;\n public static final int CURRENT_VERSION = 1;\n public static final int MAX_VERSION = CURRENT_VERSION;\n\n public int getVersion();\n\n public void setVersion(int version);\n\n @Nonnull\n public String getSessionId();\n\n public void setSessionId(String sessionId);\n}",
"@Override\n protected void afterAuthenticating() {\n }",
"Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;",
"public interface BearerAuthCredentials {\r\n\r\n /**\r\n * String value for accessToken.\r\n * @return accessToken\r\n */\r\n String getAccessToken();\r\n\r\n /**\r\n * Checks if provided credentials matched with existing ones.\r\n * @param accessToken String value for credentials.\r\n * @return true if credentials matched.\r\n */\r\n boolean equals(String accessToken);\r\n}",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuthBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n auth_ = value;\n onChanged();\n return this;\n }",
"protected String getAuthInfo ()\n\t{\n\t\treturn authInfo;\n\t}",
"@Override\n\tpublic void credite() {\n\t\t\n\t}",
"private McAuth(Builder builder) {\n super(builder);\n }",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n\tpublic void setAuth(final String authType, final String extUID, final String extData, final long extDataExpire) {\n\t\t\n\t}",
"public String getMetaDigest ()\n {\n return _metaDigest;\n }",
"MeshAuthChain getAuthChain();",
"public void setAuthInfo(String str, String str2) {\n if (!StringUtil.isEmptyOrNull(str)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthCode(str);\n }\n if (!StringUtil.isEmptyOrNull(str2)) {\n GoogleDriveMgr.getInstance().getGoogleDrive(this).setAuthErrorMsg(str2);\n }\n }",
"private AuthenticationData() {\n\n }",
"private void authorize() {\r\n\r\n\t}",
"public interface ICredentials extends RequestPolicyFactory {\n\n}",
"public AuthorizationInfo() {\n }",
"public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String realm, String domain);",
"AuthenticInfo doAuthentic(AuthorToken token) throws KeeperException;",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public interface NexmoAuthListener extends AuthListeners {\n int AUTH_CODE_LENGTH = 4;\n\n void onAuthCompleted(String phoneNumber);\n}",
"public interface AuthManager\n{\n void checkAuthAnnounce(Id<Node> nodeId, DynamicAnnouncement announcement, HttpServletRequest request);\n\n void checkAuthDelete(Id<Node> nodeId, HttpServletRequest request);\n\n void checkAuthReplicate(HttpServletRequest request);\n}",
"public interface EcAuthService {\n\n /**\n * 接口信息鉴权\n * @param appKey appKey\n * @param appSecrect appSecrect\n * @param url 路径\n * @return 鉴权类信息\n */\n AuthResp auth(String appKey, String appSecrect, String url);\n}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public RaiderFundAuth(TTUAuth auth) {\n\t\tthis.auth = auth;\n\t}",
"public boolean hasAuth() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"UserPermissions authenticate (Request request);",
"public Pokemon.RequestEnvelop.AuthInfoOrBuilder getAuthOrBuilder() {\n if (authBuilder_ != null) {\n return authBuilder_.getMessageOrBuilder();\n } else {\n return auth_;\n }\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public Builder setAuth(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n auth_ = value;\n onChanged();\n return this;\n }",
"public interface TAGS\n{\n String TAG_LOGGED = \"LogStatus\",\n TAG_USER_ID_TASK = \"UserID\",\n TAG_ID=\"ID\",\n TAG_LON=\"Lon\",\n TAG_LAT=\"Lat\",\n TAG_NAME = \"Name\",\n TAG_PWORD = \"Password\",\n TAG_START = \"Start\",\n TAG_STOP = \"Stop\",\n TAG_EXPLANATION = \"Explanation\",\n TAG_DESCRIPTION = \"Description\",\n TAG_PLACE = \"Place\",\n REQUESTING_LOCATION_UPDATES_KEY = \"requesting-location-updates\",\n LOCATION_KEY =\"location-key\",\n LAST_UPDATED_TIME_STRING_KEY = \"last-updated-time-string-key\";\n int MY_PERMISSIONS_REQUEST_LOCATION = 99;\n int MY_PERMISSIONS_REQUEST_VIBRATION = 100;\n\n}",
"public Pokemon.RequestEnvelop.AuthInfo.Builder getAuthBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getAuthFieldBuilder().getBuilder();\n }",
"public MetadataEntry.Builder getAuthBuilder(int index) {\n return getAuthFieldBuilder().getBuilder(index);\n }",
"public interface HttpAdapter\n{\n /**\n * <P>Specify the realm that this authenticator is authenticating for. \n * \n * <P>This value should be well-known, very stable, and preferably\n * expressed in some \"canonical\" form.\n * \n * <P>As this value is a factor in authentication cryptography, any change\n * to it may invalidate passwords in the realm stored as part of digests.\n * \n */\n void setRealm(String realm);\n \n /**\n * Read authorization info from the client\n * \n * @param request The HttpServletRequest to read\n * @return An array of Credentials read from the client\n * @throws IOException\n * @throws ServletException\n */\n Credential<?>[] readAuthorization(HttpServletRequest request)\n throws IOException,ServletException;\n \n /**\n * Challenge the client to provide authorization info\n * \n * @param response The HttpServletResponse to write\n * @throws IOException\n * @throws ServletException\n */\n void writeChallenge(HttpServletResponse response)\n throws IOException,ServletException;\n}",
"@Override\n public void onAuthSuccess() {\n fetchLinkedInPersonalInfo();\n }",
"public interface Authentication extends Component {\n /**\n * Given an incoming HTTP request, determine who the user is and create a UserPermissions object with that\n * information. If the user cannot be identified and/or authenticated, don't set those attributes and throw an\n * exception. Otherwise return a UserPermissions object.\n */\n UserPermissions authenticate (Request request);\n}",
"public interface OauthAccessToken {\n byte[] getAuthentication();\n\n String getTokenId();\n\n String getAuthenticationId();\n\n byte[] getToken();\n\n void setTokenId(String tokenId);\n\n void setToken(byte[] token);\n\n void setAuthenticationId(String authenticationId);\n\n void setUsername(String username);\n\n void setAuthentication(byte[] authentication);\n\n void setRefreshToken(String refreshToken);\n\n void setClientId(String clientId);\n}",
"public java.lang.String getAuthInfo() {\r\n return authInfo;\r\n }",
"public boolean auth() throws IOException {\r\n \treturn auth(false);\r\n }",
"public void setAuthor(String author) {\n\t\tauth = author;\n\t}",
"public interface OJwtHeader {\n\n public String getAlgorithm();\n\n public void setAlgorithm(String alg);\n\n public String getType();\n\n public void setType(String typ);\n\n public String getKeyId();\n\n public void setKeyId(String kid);\n\n}",
"GoogleAuthenticatorKey createCredentials();",
"@Test\n public void ownerArgumentNotAddedForNonOwnerBasedAuth() throws AmplifyException {\n final AuthorizationType mode = AuthorizationType.AMAZON_COGNITO_USER_POOLS;\n\n // Public class opens up every operation to the public\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Public> originalRequest = createRequest(Public.class, subscriptionType);\n GraphQLRequest<Public> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Private class only allows the correct IAM user\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Private> originalRequest = createRequest(Private.class, subscriptionType);\n GraphQLRequest<Private> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Group class only has group-based auth enabled\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<Group> originalRequest = createRequest(Group.class, subscriptionType);\n GraphQLRequest<Group> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n\n // Custom auth with function provider does not add owner field.\n for (SubscriptionType subscriptionType : SubscriptionType.values()) {\n GraphQLRequest<CustomFunction> originalRequest = createRequest(CustomFunction.class, subscriptionType);\n GraphQLRequest<CustomFunction> modifiedRequest = decorator.decorate(originalRequest, mode);\n assertNull(getOwnerField(modifiedRequest));\n }\n }",
"public String getAuthStat()\n\t{\n\t\treturn authStat;\n\t}",
"public void setAuthInfo(java.lang.String authInfo) {\r\n this.authInfo = authInfo;\r\n }",
"@Override\n\tpublic Map<InetSocketAddress, AuthInfo> getAuthInfoMap() {\n\t\treturn null;\n\t}",
"AuthenticationData getInitiatorAuthData();",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"public java.lang.String getAuth() {\n java.lang.Object ref = auth_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n auth_ = s;\n return s;\n }\n }",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public java.util.List<MetadataEntry> getAuthList() {\n if (authBuilder_ == null) {\n return java.util.Collections.unmodifiableList(auth_);\n } else {\n return authBuilder_.getMessageList();\n }\n }",
"public int getAuthCount() {\n return auth_.size();\n }",
"@Override\n public Response intercept(Chain chain) throws IOException {\n Request authorisedRequest = chain.request().newBuilder()\n .header(\"Authorization:\", \"Token \" + sharedPrefsWrapper.getString(KEY))\n .build();\n\n\n return chain.proceed(authorisedRequest);\n }",
"public AuthInfo[] getAuthInfoList();"
] | [
"0.62144697",
"0.60226095",
"0.5808603",
"0.5800479",
"0.5772337",
"0.57368857",
"0.57193667",
"0.5584721",
"0.5496392",
"0.54421633",
"0.54296315",
"0.54196393",
"0.5396636",
"0.5363335",
"0.5363335",
"0.5363335",
"0.5350541",
"0.53200793",
"0.5297906",
"0.52843815",
"0.52612793",
"0.52599293",
"0.52459353",
"0.5242282",
"0.5238498",
"0.52272564",
"0.5216029",
"0.52006537",
"0.51728785",
"0.51622665",
"0.51622665",
"0.51622665",
"0.515625",
"0.5149508",
"0.5148386",
"0.5146579",
"0.5133844",
"0.5125635",
"0.51064646",
"0.5103766",
"0.50805306",
"0.5078457",
"0.50686175",
"0.5059583",
"0.50541264",
"0.50531286",
"0.50443536",
"0.5022838",
"0.5022838",
"0.5022838",
"0.50162077",
"0.5012929",
"0.4995323",
"0.49933484",
"0.49886397",
"0.49866247",
"0.49847028",
"0.4984203",
"0.49838373",
"0.4981716",
"0.49789795",
"0.49720153",
"0.496366",
"0.49614128",
"0.49558246",
"0.49546364",
"0.4953448",
"0.49451357",
"0.49345616",
"0.49332157",
"0.4923433",
"0.4922121",
"0.49139878",
"0.49102923",
"0.49102923",
"0.49102923",
"0.4909299",
"0.4908549",
"0.4908097",
"0.49011475",
"0.48961362",
"0.4894949",
"0.4893911",
"0.48832807",
"0.48817366",
"0.48816743",
"0.4875397",
"0.48735633",
"0.48599172",
"0.4859422",
"0.48568785",
"0.485533",
"0.48426193",
"0.4842474",
"0.4842474",
"0.4842474",
"0.4841901",
"0.4829942",
"0.48278797",
"0.48237404",
"0.48222533"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public int compareTo(ComparisonHolder arg0) {
if(percent > arg0.percent) {
return -1;
}else if(percent < arg0.percent) {
return 1;
}
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) throws IOException{
System.out.println("1. 조건문과 반복문의 종류를 괄호 속에 넣어보세요.");
System.out.println("답 :조건문 (if) (switch)\n 반복문 (for) (while) (do while)");
// 1. 조건문 (if) (switch)
// 반복문 (for) (while) (do while)
// 2. 10~ 150까지 5의 배수 총합!
System.out.println("\n** 엔터키를 입력하시면 다음문제가 출력됩니다.");
System.in.read();
System.in.read();
System.out.println("\n2. for문을 이용하여 10~150까지 정수 중에 5의 배수의 총합을 구하는 코드를 작성하세요.");
int sumNum = 0;
for(int idx=10;idx<=150;idx++){
if(idx%5==0){
sumNum += idx;
}
}
System.out.println("답 : 10~150중 5배수 총합: "+sumNum);
// 2.2나혼자 문제.
int startNum = 10;
int endNum = 150;
/* 1글자만 받아져서 다른방법 모색
System.out.println("\n2.2 10~ 150 대신에 입력창으로 받겠습니다.");
System.out.println("첫번째 숫자를 입력해 주세요");
startNum = (int)System.in.read();
System.out.println("첫번째 입력한 숫자는 : "+startNum);
System.out.println("두번째 숫자를 입력해 주세요");
endNum = (int)System.in.read();
System.out.println("두번째 입력한 숫자는 : "+endNum);
*/
/* scaner?를 해봤지만 오류 해결하기에 시간이 너무 걸려서 다음에 해결하기로함.
Console console = System.console();
String s = console.readLine();
int i = Integer.parseInt(console.readLine());
System.out.println("첫번째 숫자를 입력해 주세요");
startNum = (int)System.in.read();
System.out.println("첫번째 입력한 숫자는 : "+startNum);
System.out.println("두번째 숫자를 입력해 주세요");
endNum = (int)System.in.read();
System.out.println("두번째 입력한 숫자는 : "+endNum);
*/
sumNum = 0;
for(int idx=startNum;idx<=endNum;idx++){
if(idx%5==0){
sumNum += idx;
}
}
System.out.println("답 : 10~150중 5배수 총합: "+sumNum);
System.out.println("\n** 엔터키를 입력하시면 다음문제가 출력됩니다.");
System.in.read();
System.in.read();
// 3. while문으로 주사위 두개값이 5가 나오기 전까지 계속 굴리기
System.out.println("\n3. while문으로 주사위 두개값이 5가 나오기 전까지 계속 굴리기");
System.out.println(" 위 조건 대신에, 주사위 두개 값이 같을경우로 설정함(5,5)가 너무 안나와서...");
System.out.println("☞ [엔터키]: 주사위 굴리기 [0입력]: 종료 ");
String dice00 [] ={
"┏ ━ ━ ━ ┓\n┃ ┃\n┃ ★ ┃\n┃ ┃\n┗ ━ ━ ━ ┛ ",
"┏ ━ ━ ━ ┓\n┃ ★ ┃\n┃ ┃\n┃ ★ ┃\n┗ ━ ━ ━ ┛ ",
"┏ ━ ━ ━ ┓\n┃ ★ ┃\n┃ ★ ┃\n┃ ★ ┃\n┗ ━ ━ ━ ┛ ",
"┏ ━ ━ ━ ┓\n┃ ★ ★ ┃\n┃ ┃\n┃ ★ ★ ┃\n┗ ━ ━ ━ ┛ ",
"┏ ━ ━ ━ ┓\n┃ ★ ★ ┃\n┃ ★ ┃\n┃ ★ ★ ┃\n┗ ━ ━ ━ ┛ ",
"┏ ━ ━ ━ ┓\n┃ ★ ★ ┃\n┃ ★ ★ ┃\n┃ ★ ★ ┃\n┗ ━ ━ ━ ┛ "
};
int keyCode;
while(true){
keyCode=(int)System.in.read();
System.in.read();
if(keyCode==13){
/* 콘솔창에서는 굴러가는 모양 구현못함.;;
* int noR1 = (int)(Math.random()*6);
* int noR2 = (int)(Math.random()*6);
* System.out.println(dice00[noR1]);
* System.out.println(dice00[noR2]);
*/
int no1 = (int)(Math.random()*6);
int no2 = (int)(Math.random()*6);
System.out.println(dice00[no1]);
System.out.println(dice00[no2]);
if(no1 == no2){ // 5,5가 너무 안나와서 조건 변경
System.out.println("****** CONGRATULATIONS ******");
System.out.println("같은 숫자["+(no1+1)+"]가 나와서 게임을 종료합니다.");
System.out.println("****** CONGRATULATIONS ******");
break;
}else{
System.out.println("주사위1:["+(no1+1)+"], 주사위2:["+(no2+1)+"], 합:["+(no1+no2+2)+"]입니다");
}
}else if(keyCode==48){
System.out.println("[0]이 입력되어 게임을 종료합니다!");
break;
}
}
System.out.println("\n** 엔터키를 입력하시면 다음문제가 출력됩니다.");
System.in.read();
System.in.read();
System.out.println("\n4. 이중 for문으로 방정식 4x+5y =60인 모든해를 구하라.\nx,y는 10이하 정수.");
int intX=0;
int intY=0;
/* 혼자 실험해봄
intX=10;
intY=15;
for(int idx=0;idx<= (intX>=intY ? intX : intY);idx++){
System.out.println(idx);
}
System.out.println("\n** 엔터키를 입력하시면 다음문제가 출력됩니다.");
System.in.read();
System.in.read();
*/
int cntFunction = 0;
for(intX=0;intX<=10;intX++){
for(intY=0;intY<=10;intY++){
if((4*intX)+(5*intY)==60){
cntFunction++;
System.out.println("- "+cntFunction+"번째 해 [ x:"+intX+", y:"+intY+" ]");
}
}
}
System.out.println("총 "+cntFunction+"개의 해가 나왔습니다.\n\n모든 해를 구하였으므로, 프로그램을 종료합니다.");
System.out.println("\n** 엔터키를 입력하시면 다음문제가 출력됩니다.");
System.in.read();
System.in.read();
System.out.println("\n** 모든 문제가 끝났습니다. 감사합니다. **");
//
/* 스캐너를 쓰거나, 받아들인 각 키코드 값을 다시 케이스문을 통해 설정해줘야됨.
될지 안될지 모르지만 해보겟음.
*/
/* int cnslInput = 0;
// 함수 소환이 안되서 일단 접어둠.
void ChangeVal(){
for (int idx=0;idx<=9;idx++){
cnslInput = x;
}
}
System.out.println("**** 내맘대로 다시 문제 변경 ****");
System.out.println("4.2 Ax^2+Bx+C=y 와 Ax=Cy의 해를 구하라. A,B,C은 0~9의 숫자로 입력받는다.");
int A = 0;
int B = 0;
int C = 0;
cntFunction=0;
*/
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.