content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
local Agent = {}
function Agent.agent_instance(agent_id)
return PyAgent.PyAgent(agent_id)
end
function Agent.GetIdFromAgent(agent_instance)
return agent_instance.id
end
function Agent.GetAgentByID(agent_id)
return Agent.agent_instance(agent_id)
end
function Agent.GetAttributes(agent_id)
local agent_... | __label__POS | 0.999981 |
local Item = {}
function Item.item_instance(item_id)
return PyItem.PyItem(item_id)
end
function Item.GetAgentID(item_id)
return Item.item_instance(item_id).agent_id
end
function Item.GetAgentItemID(item_id)
return Item.item_instance(item_id).agent_item_id
end
function Item.GetItemIdFromModelID(model_id)... | __label__POS | 0.999999 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.app.observer;
import com.apollocurrency.aplwallet.apl.util.cdi.config.Property;
import javax.inject.Inject;
import javax.inject.Singleton;
@Singleton
public class TrimConfig {
public static final int DEFAULT_TRIM_D... | __label__POS | 0.965067 |
local SkillBar = {}
function SkillBar.LoadSkillTemplate(skill_template)
PySkillbar.Skillbar():LoadSkillTemplate(skill_template)
end
function SkillBar.LoadHeroSkillTemplate(hero_index, skill_template)
PySkillbar.Skillbar():LoadHeroSkillTemplate(hero_index, skill_template)
end
function SkillBar.GetSkillbar()
... | __label__POS | 0.999987 |
local CoreLib = Py4GW.CoreLib
local pingHandler = Py4GW.PingHandler()
-- Name-related functions
function GetCharName()
return CoreLib.Player.GetName()
end
function DisplayAllies(aDisplay)
local allies = {}
for _, agent in pairs(CoreLib.Agent.GetAgents()) do
if agent.isAlly then
table.i... | __label__POS | 0.995809 |
local Party = {}
function Party.party_instance()
return PyParty.PyParty()
end
function Party.GetPartyID()
return Party.party_instance().party_id
end
function Party.GetPartyLeaderID()
local players = Party.GetPlayers()
local leader = players[1]
return Party.Players.GetAgentIDByLoginNumber(leader.l... | __label__POS | 0.999981 |
local AgentArray = {}
function AgentArray.GetAgentArray()
return Player.player_instance():GetAgentArray()
end
function AgentArray.GetAllyArray()
return Player.player_instance():GetAllyArray()
end
function AgentArray.GetNeutralArray()
return Player.player_instance():GetNeutralArray()
end
function AgentAr... | __label__POS | 0.999757 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.hero_details;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
imp... | __label__POS | 0.973806 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state;
import com.apollocurrency.aplwallet.apl.core.model.Block;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.LedgerEvent;
impor... | __label__POS | 0.99289 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state;
import com.apollocurrency.aplwallet.apl.core.entity.state.order.AskOrder;
import com.apollocurrency.aplwallet.apl.core.entity.state.order.BidOrder;
import com.apollocurrency.aplwallet.apl.core.entity.state.T... | __label__POS | 0.980148 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.unique_type_name;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;... | __label__POS | 0.952576 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state;
import com.apollocurrency.aplwallet.apl.core.model.Block;
import com.apollocurrency.aplwallet.apl.core.converter.rest.IteratorToStreamConverter;
import com.apollocurrency.aplwallet.apl.core.dao.state.TradeT... | __label__POS | 0.62566 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.unique_type_name.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalar... | __label__POS | 0.814104 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.unique_type_name.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import java.lang.Str... | __label__POS | 0.990501 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.entity.prunable.DataTag;
import com.apollocurrency.aplwallet.apl.core.entity.prunable.TaggedData;
... | __label__POS | 0.753417 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.unique_type_name.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Suppress... | __label__POS | 0.778304 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state;
import com.apollocurrency.aplwallet.apl.core.model.Block;
import com.apollocurrency.aplwallet.apl.core.service.blockchain.Blockchain;
import com.apollocurrency.aplwallet.apl.core.service.blockchain.Blockcha... | __label__POS | 0.71559 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state;
import com.apollocurrency.aplwallet.apl.core.app.VoteWeighting;
import com.apollocurrency.aplwallet.apl.core.dao.state.poll.PollResultTable;
import com.apollocurrency.aplwallet.apl.core.dao.state.poll.PollT... | __label__POS | 0.764542 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.unique_type_name.fragment
import com.example.unique_type_name.type.Character
import kotlin.Int
import kotlin.String
import kotlin.collections.List
public data class HeroD... | __label__POS | 0.754031 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.fulltext;
import static com.apollocurrency.aplwallet.apl.core.service.fulltext.FullTextSearchServiceImpl.FTL_INDEXES_TABLE;
import com.apollocurrency.aplwallet.apl.util.StringValidator;
import org.slf4j.Logger;
i... | __label__POS | 0.920653 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.fulltext;
import java.util.List;
import java.util.Objects;
/**
* Holds table specific data
*/
public class TableData {
private final int dbIdColumnPosition;
private final String table;
private final... | __label__POS | 0.897209 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.fulltext;
/**
* Table update
*
* @deprecated
*/
@Deprecated
public class TableUpdate {
/**
* Transaction thread
*/
private final Thread thread;
/**
* Old table row
*/
priv... | __label__POS | 0.998812 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.fulltext;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* Add fulltext search support for database data, also simplify work with fulltext sea... | __label__POS | 0.607986 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.typename_always_first;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdap... | __label__POS | 0.930475 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.blockchain;
import com.apollocurrency.aplwallet.apl.core.chainid.BlockchainConfig;
import com.apollocurrency.aplwallet.apl.core.converter.db.TransactionEntityToModelConverter;
import com.apollocurrency.aplwallet.a... | __label__POS | 0.93855 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.service.blockchain;
import com.apollocurrency.aplwallet.api.v2.model.TxReceipt;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.model.UnconfirmedTransaction... | __label__POS | 0.968087 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.service.blockchain;
import com.apollocurrency.aplwallet.api.v2.model.TxReceipt;
import com.apollocurrency.aplwallet.apl.core.entity.appdata.ChatInfo;
import com.apollocurrency.aplwallet.apl.core.model.Sort;
import com... | __label__POS | 0.918436 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.821174 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.inline_fragment_simple;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.956258 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.985265 |
/**
* Exchange Rates Historical REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Represents an item in the exchange rate timeseries.
*/
export i... | __label__POS | 0.896339 |
/**
* Exchange Rates Historical REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ChainNetworkAddress } from './v1ChainNetworkAddress';
/**
*... | __label__POS | 0.909468 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.blockchain;
import lombok.ToString;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.Objects;
import java.util.Queue;
import java.util.Set;
import java.util.... | __label__POS | 0.869578 |
// tslint:disable
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://... | __label__POS | 0.663679 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_without_implementation;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.... | __label__POS | 0.924991 |
// tslint:disable
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://... | __label__POS | 0.644879 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.blockchain;
import com.apollocurrency.aplwallet.apl.core.model.UnconfirmedTransaction;
import java.util.Comparator;
public class UnconfirmedTransactionComparator implements Comparator<UnconfirmedTransaction> {
... | __label__POS | 0.999431 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_without_implementation.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Double;
import java.lang.Object;
import java.lang.Override;
... | __label__POS | 0.94895 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_without_implementation.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
... | __label__POS | 0.978846 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.blockchain;
import com.apollocurrency.aplwallet.apl.util.cdi.config.Property;
import lombok.Getter;
import javax.inject.Inject;
import javax.inject.Singleton;
@Singleton
@Getter
public class MemPoolConfig {
... | __label__POS | 0.703676 |
package com.apollocurrency.aplwallet.apl.core.service.appdata;
import java.math.BigInteger;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import com.apollocurrency.aplwallet.apl.core.entity.appdata.GeneratorMemoryEntity;
import com.apollocurrency.aplwallet.apl.core.model.Block;
import com.... | __label__POS | 0.817287 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.prunable;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.entity.prunable.PrunableMessage;
import com.apollocurrency.aplwallet.apl.core.transaction.mess... | __label__POS | 0.762349 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.currency;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.entity.state.currency.CurrencyTransfer;
import com.apollocurrency.aplwallet.apl.core.tra... | __label__POS | 0.987123 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.service.state.currency;
import com.apollocurrency.aplwallet.apl.core.entity.state.currency.Currency;
import com.apollocurrency.aplwallet.apl.core.transaction.messages.MonetarySystemCurrencyMinting;
import com.apollocu... | __label__POS | 0.636907 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.variable_default_value;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.93864 |
package com.apollocurrency.aplwallet.apl.core.service.state.currency;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.LedgerEvent;
import com.apollocurrency.aplwa... | __label__POS | 0.91361 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.AccountLease;
import java.util.List;
/**
* @author and... | __label__POS | 0.975924 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.AccountAsset;
import com.apollocurrency.aplwallet.apl.cor... | __label__POS | 0.995031 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.variable_default_value.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Su... | __label__POS | 0.775331 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.AccountCurrency;
import com.apollocurrency.aplwallet.apl.... | __label__POS | 0.997803 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.PublicKey;
import com.apollocurrency.aplwallet.apl.crypto... | __label__POS | 0.984582 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.operation_id_generator;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.950807 |
/*
* Copyright (c) 2020-2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.service.state.smc;
import com.apollocurrency.aplwallet.api.v2.model.ContractDetails;
import com.apollocurrency.aplwallet.apl.smc.model.AplContractSpec;
import com.apollocurrency.smc.contract.ContractStatus;
import com.... | __label__POS | 0.916609 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.currency.impl;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.converter.rest.IteratorToStreamConverter;
import com.apollocurrency.aplwallet.apl.c... | __label__POS | 0.800853 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.field_with_include_directive;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSca... | __label__POS | 0.950773 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.currency.impl;
import com.apollocurrency.aplwallet.apl.core.converter.rest.IteratorToStreamConverter;
import com.apollocurrency.aplwallet.apl.core.dao.state.currency.CurrencyBuyOfferTable;
import com.apolloc... | __label__POS | 0.800797 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.currency.impl;
import com.apollocurrency.aplwallet.apl.core.converter.rest.IteratorToStreamConverter;
import com.apollocurrency.aplwallet.apl.core.dao.state.currency.CurrencyTransferTable;
import com.apolloc... | __label__POS | 0.669726 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.service.state.currency.impl;
import com.apollocurrency.aplwallet.apl.core.entity.state.currency.Currency;
import com.apollocurrency.aplwallet.apl.core.service.state.currency.CurrencyService;
import com.apollocurrency.... | __label__POS | 0.871651 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_guava_optionals;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapt... | __label__POS | 0.806558 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account.impl;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.PublicKey;
import com.apollocurrency.aplwallet.apl.c... | __label__POS | 0.797416 |
/*
* Copyright © 2018-2019 Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account.impl;
import com.apollocurrency.aplwallet.apl.core.app.observer.events.AccountLedgerEventBinding;
import com.apollocurrency.aplwallet.apl.core.app.observer.events.AccountLedgerEventType;
import com.a... | __label__POS | 0.613758 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account.impl;
import com.apollocurrency.aplwallet.apl.core.app.observer.events.AccountEventType;
import com.apollocurrency.aplwallet.apl.core.app.observer.events.AccountLedgerEventBinding;
import com.apolloc... | __label__POS | 0.866014 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_guava_optionals.type;
import com.google.common.base.Optional;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
i... | __label__POS | 0.882319 |
note
description:"[
Exchange Rates Historical REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
NOTE: This class is auto generated by OpenAPI Generator (https://ope... | __label__POS | 0.756566 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_guava_optionals.type;
import com.apollographql.apollo.api.CompiledArgumentDefinition;
import com.apollographql.apollo.api.ObjectType;
public class Query {
public s... | __label__POS | 0.999994 |
note
description:"[
Exchange Rates Historical REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
NOTE: This class is auto generated by OpenAPI Generator (https://ope... | __label__POS | 0.614387 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.account.impl;
import com.apollocurrency.aplwallet.apl.core.app.observer.events.AccountEventType;
import com.apollocurrency.aplwallet.apl.core.app.observer.events.AccountLedgerEventBinding;
import com.apolloc... | __label__POS | 0.664588 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_guava_optionals.type.adapter;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CustomScalarAdapters;
import com.apollographql.apollo.a... | __label__POS | 0.736216 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.asset.impl;
import com.apollocurrency.aplwallet.apl.core.converter.rest.IteratorToStreamConverter;
import com.apollocurrency.aplwallet.apl.core.dao.state.asset.AssetTransferTable;
import com.apollocurrency.ap... | __label__POS | 0.820993 |
note
description: "Summary description for {JSON_BASIC_REFLECTOR_DESERIALIZER}."
date: "$Date$"
revision: "$Revision$"
class
JSON_BASIC_REFLECTOR_DESERIALIZER
inherit
JSON_DESERIALIZER
redefine
reset
end
JSON_TYPE_UTILITIES_EXT
feature -- Conversion
from_json (a_json: detachable JSON_VALUE; ctx: JSON... | __label__POS | 0.625568 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.... | __label__POS | 0.656827 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographq... | __label__POS | 0.815847 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.Stri... | __label__POS | 0.980951 |
/*
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://git... | __label__POS | 0.727817 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographq... | __label__POS | 0.817021 |
@isTest
private class OASExchangeRatesApiTest {
/**
* Get specific rate
*
* Retrieves the exchange rate for a specific base and quote asset at a given time or the current rate.\n \n:::info\nIf you are using an exchange rate for mission-critical operations, then for best reliability, you sh... | __label__POS | 0.606185 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.Stri... | __label__POS | 0.947567 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.Stri... | __label__POS | 0.939129 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographq... | __label__POS | 0.807689 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.exchange.impl;
import com.apollocurrency.aplwallet.apl.core.converter.rest.IteratorToStreamConverter;
import com.apollocurrency.aplwallet.apl.core.dao.state.exchange.ExchangeRequestTable;
import com.apollocu... | __label__POS | 0.709128 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.state.exchange.impl;
import com.apollocurrency.aplwallet.apl.core.converter.rest.IteratorToStreamConverter;
import com.apollocurrency.aplwallet.apl.core.dao.state.exchange.ExchangeTable;
import com.apollocurrency.... | __label__POS | 0.826387 |
/*
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://git... | __label__POS | 0.839464 |
/*
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://git... | __label__POS | 0.816879 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.appdata.impl;
import com.apollocurrency.aplwallet.apl.core.service.appdata.TimeService;
import com.apollocurrency.aplwallet.apl.util.Convert2;
import com.apollocurrency.aplwallet.apl.util.NtpTime;
import lombok.extern.sl... | __label__POS | 0.961607 |
/*
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://git... | __label__POS | 0.90688 |
/*
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://git... | __label__POS | 0.733679 |
/*
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://git... | __label__POS | 0.822066 |
/*
* Copyright © 2019-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.service.appdata.funding;
import com.apollocurrency.aplwallet.apl.core.entity.appdata.funding.FundingMonitorInstance;
import com.apollocurrency.aplwallet.apl.core.entity.appdata.funding.MonitoredAccount;
import com.apollocu... | __label__POS | 0.945554 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment_with_nested_fragments.fragment
import com.example.root_query_fragment_with_nested_fragments.type.Query
import kotlin.String
public data class QueryFra... | __label__POS | 0.710646 |
/*
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by the OAS code generator program.
* https://git... | __label__POS | 0.721396 |
public class OAS {
private static final String HEADER_CONTENT_TYPE = 'Content-Type';
private static final String HEADER_ACCEPT = 'Accept';
private static final String HEADER_ACCEPT_DELIMITER = ',';
private static final Map<String, String> DELIMITERS = new Map<String, String> {
'csv' => ',',
... | __label__POS | 0.807744 |
/*
* Copyright © 2020-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.entity.blockchain;
import com.apollocurrency.aplwallet.apl.core.entity.state.derived.DerivedEntity;
import lombok.Builder;
import lombok.Getter;
import java.util.Arrays;
import java.util.Objects;
import java.util.StringJo... | __label__POS | 0.744453 |
package com.apollocurrency.aplwallet.apl.core.entity.blockchain;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import lombok.Getter;
import java.util.Arrays;
import java.util.Objects;
@Getter
public class MandatoryTransactionEntity {
private final long dbId;
private final long id;
private final... | __label__POS | 0.898322 |
/*
* Copyright © 2019-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.entity.appdata;
import lombok.Getter;
import lombok.Setter;
import java.math.BigInteger;
@Getter
@Setter
public class GeneratorMemoryEntity implements Comparable<GeneratorMemoryEntity> {
private final long accountId... | __label__POS | 0.945808 |
/*
* Copyright © 2019-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.entity.appdata;
/**
* Active generator
*/
public class ActiveGenerator implements Comparable<ActiveGenerator> {
private final long accountId;
private long hitTime;
private long effectiveBalanceAPL;
priv... | __label__POS | 0.684469 |
package com.apollocurrency.aplwallet.apl.core.entity.appdata;
import java.util.Arrays;
import java.util.Objects;
/**
* Transaction global secondary index entity.
*/
public class TransactionIndex {
private Long transactionId;
private byte[] partialTransactionHash;
private Integer height;
private Shor... | __label__POS | 0.640363 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.test_inline;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
impo... | __label__POS | 0.962141 |
--[[
Exchange Rates Historical REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
]]
--package openapiclient
local http_reques... | __label__POS | 0.795896 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.entity.state.tagged;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.DbKey;
import com.apollocurrency.aplwallet.apl.core.entity.state.derived.VersionedDerivedEntity;
import java.sql.ResultSet;
import jav... | __label__POS | 0.708176 |
--[[
Exchange Rates Historical REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
]]
--package openapiclient
local http_reques... | __label__POS | 0.787107 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.