text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.util;
/**
* Private implementation class for EnumSet, for "jumbo" enum types
* (i.e., t... |
import java.io.PrintWriter;
import org.prevayler.Prevayler;
/**
* A command that displays the task list.
*/
class ShowCommand extends OutputCommand {
static final String COMMAND = "show";
private Prevayler prevayler;
ShowCommand(Prevayler prevayler, PrintWriter out) {
super(out);
this.prevayler = p... |
package daksh.userevents.storage.common.util;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.util.Random;
/**
* Created by daksh on 25-May-16.
*/
public class Functions {
public static String getRandomString() {
Random random = new SecureRandom();
return new BigInte... |
package org.cee.store;
/*
* #%L
* Content Extraction Engine - News Store API
* %%
* Copyright (C) 2013 Andreas Behnke
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
/*
* Copyright (c) 2018 CA. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package com.ca.apim.gateway.cagatewayconfig.beans;
import com.ca.apim.gateway.cagatewayconfig.bundle.builder.Metadata;
import com.ca.apim.gat... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos.Rpc.proto
package POGOProtos.Rpc;
/**
* Protobuf enum {@code POGOProtos.Rpc.UpdateType}
*/
public enum UpdateType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UPDATE_TYPE_ADD = 0;</code>
*/
UPDATE_TYP... |
package com.chwangteng.www.param;
public class AdminUpdatePasswordRequestParam {
private int type;
private String username;
private String password;
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public String getUsername() {... |
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.TableLayout;
import android.widget.TextView;
import jav... |
/**
* Copyright 2016 Yahoo Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package projects;
import de.embl.cba.mobie.ui.viewer.MoBIEViewer;
import mpicbg.spim.data.XmlIoSpimData;
import net.imagej.ImageJ;
public class OpenLocalAutophagosomesEM
{
public static void main( String[] args )
{
new ImageJ().ui().showUI();
final MoBIEViewer moBIEViewer = new MoBIEViewer("/g/kreshuk/pape/wor... |
package com.bohdloss.fuckunclejack.guicomponents;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import org.joml.Matrix4f;
import com.bohdloss.fuckunclejack.main.Assets;
import... |
package edu.pdx.cs410J.whitlock;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.tags.Tag;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
imp... |
package org.broadinstitute.hellbender.tools.examples;
import htsjdk.variant.variantcontext.VariantContext;
import org.broadinstitute.barclay.argparser.Argument;
import org.broadinstitute.barclay.argparser.CommandLineProgramProperties;
import org.broadinstitute.hellbender.cmdline.StandardArgumentDefinitions;
import org... |
package stacksandqueues;
public class Queue {
Node front;
Node rear;
public Queue() {
front = null;
rear = null;
}
public void enqueue(int newValue){
Node newNode = new Node(newValue);
if (front != null) {
rear.next = newNode;
rear = newNod... |
package com.example.hades.calculator3;
public class Calculator3 {
public int sum(int a, int b) {
return a + b;
}
} |
package fi.riista.feature.account.area.union;
import javax.validation.constraints.NotBlank;
import org.hibernate.validator.constraints.SafeHtml;
public class PersonalAreaUnionModifyRequestDTO {
@NotBlank
@SafeHtml(whitelistType = SafeHtml.WhiteListType.NONE)
private String name;
public PersonalAreaU... |
/*
LinphoneCore.java
Copyright (C) 2010 Belledonne Communications, Grenoble, France
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later ver... |
package step1;
/**
*
* @author abby
*/
import java.util.*;
import javafx.application.*;
import javafx.stage.*;
import javafx.geometry.*;
import javafx.scene.paint.*;
import javafx.scene.shape.*;
import javafx.scene.text.*;
import javafx.scene.*;
public class Step1 extends Application {
private Group group;
@Over... |
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. */
package unittest;
import org.junit.jupiter.api.Test;
import p.runtime.exceptions.AssertStmtError;
public class AssertTest {
@Test
void test() {
try {
Instrumented i = new Instrumented();
i.event1();
... |
/*------------------------------------------------------------------------------
Copyright (c) CovertJaguar, 2011-2019
http://railcraft.info
This code is the property of CovertJaguar
and may only be used with explicit written
permission unless otherwise specified on the
license page at http://railcraft.info/wiki... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package be.ugent.maf.cellmissy.analysis.impl;
import be.ugent.maf.cellmissy.analysis.MultipleComparisonsCorrector;
import be.ugent.maf.cellmissy.entity.result.area.AreaAnalysisGroup;
import be.ugent.maf.cellmissy.entity... |
/*
* Copyright (c) 2016 Ha Duy Trung
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* Copyright 2021 Shulie Technology, Co.Ltd
* Email: shulie@shulie.io
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... |
package com.google.common.collect;
import com.google.common.base.Preconditions;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.Set;
public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements ... |
package com.yao2san.core;
import com.alibaba.fastjson.JSONObject;
import com.foundationdb.sql.StandardException;
import com.foundationdb.sql.parser.SQLParser;
import com.foundationdb.sql.parser.StatementNode;
import com.yao2san.sim.framework.utils.CacheUtil;
import com.yao2san.sim.framework.utils.CommonUtil;
import lo... |
package com.billow.promotion.common.cache;
public interface RStore {
/**
* 库存操作策列
*/
enum Mode {
DECRBY(-1, "扣减库存"),
SET(0, "设置库存"),
INCRBY(1, "增加库存"),
;
private int flag;
private String desc;
Mode(int flag, String desc) {
this.flag... |
package net.swordie.ms.world.gach.result;
public enum GachaponResult {
SUCCESS(0),
EXIT(1),
ERROR(3);
private final int result;
private GachaponResult(final int result) {
this.result = result;
}
public int getValue() {
return result;
}
public static GachaponResult... |
/**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by a... |
package com.dgut.common.web.cos;
import java.io.File;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.servlet.ServletInputStream;
/**
* A <code>FilePart</code> is an upload part which represents a ... |
/*
Derby - Class org.apache.derby.impl.store.access.heap.HeapRowLocation
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this fil... |
package id.droidlink;
import java.io.IOException;
import java.io.InputStream;
import android.content.Context;
public class EntitiesClassLoader extends ClassLoader {
private Context context;
public EntitiesClassLoader(Context context, ClassLoader parentLoader) {
super(parentLoader);
this.con... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
// Copyright 2018-2022 Polyaxon, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
package com.iluwatar;
public enum Weekday {
MONDAY("Monday"), TUESDAY("Tuesday"), WEDNESDAY("Wednesday"), THURSDAY("Thursday"), FRIDAY("Friday"), SATURDAY("Saturday"), SUNDAY("Sunday");
private String description;
Weekday(String description) {
this.description = description;
}
public String toString() {
... |
package dev.vaccinelocator.constants;
public class RequestConstants {
//TODO change user agent value
// Fake Browser User Agent
public static final String USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36";
public static final... |
package io.sisu.nng.internal;
import com.sun.jna.Pointer;
import com.sun.jna.PointerType;
public class NativeStringPointer extends PointerType {
@Override
public String toString() {
if (getPointer() != Pointer.NULL) {
return getPointer().getString(0);
}
return null;
}
... |
package edu.idat.eventosvirtuales.viewmodel;
import android.app.Application;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import java.util.ArrayList;
import edu.idat.eventosvirtuales.api.GenericResponse;
import edu.idat.eventosvirtuales.dto.Even... |
/* SPDX-License-Identifier: Apache-2.0 */
package io.openlineage.spark.agent.lifecycle.plan;
import io.openlineage.client.OpenLineage;
import io.openlineage.spark.agent.util.PathUtils;
import io.openlineage.spark.api.OpenLineageContext;
import io.openlineage.spark.api.QueryPlanVisitor;
import java.util.Collections;
i... |
package com.tinkerpop.blueprints.util.io.graphml;
import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.blueprints.Graph;
import com.tinkerpop.blueprints.Vertex;
import com.tinkerpop.blueprints.util.wrappers.batch.BatchGraph;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
im... |
/**
*
* This file is part of the https://github.com/BITPlan/can4eve open source project
*
* Copyright 2017 BITPlan GmbH https://github.com/BITPlan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of... |
/*
* MIT License
*
* Copyright (c) 2021 Imanity
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package org.point85.domain.proficy;
import java.time.LocalDateTime;
import com.google.gson.annotations.SerializedName;
/**
* Serialized Oauth bearer token
*
*/
public class OauthBearerToken {
@SerializedName(value = "access_token")
private String accessToken;
@SerializedName(value = "token_type")
private Str... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2002-2016 jamod & j2mod development teams
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Lynket
*
* Copyright (C) 2019 Arunkumar
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progra... |
package com.laoyu.gulimall.gulimallware.dao;
import com.laoyu.gulimall.gulimallware.entity.PurchaseEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 采购信息
*
* @author laoyu
* @email 953596700@qq.com
* @date 2021-12-18 20:04:09
*/
@Mapper
public in... |
package skin.support.animator.SingleAnimator;
/**
* Created by erfli on 2/27/17.
*/
public class AnimatorManager {
private static AnimatorConfig config = new AnimatorConfig.Builder().build();
public static AnimatorConfig getConfig() {
return config;
}
public static void setConfig(AnimatorC... |
package ch.qarts.tattool.controller;
import ch.qarts.tattool.core.domain.dataset.Dataset;
import ch.qarts.tattool.core.port.in.DatasetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import java.util.Li... |
/**
* Copyright 2019 Association for the promotion of open-source insurance software and for the establishment of open interface standards in the insurance industry (Verein zur Förderung quelloffener Versicherungssoftware und Etablierung offener Schnittstellenstandards in der Versicherungsbranche)
*
* Licensed under... |
package com.example.amf.front.thymeleaf;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class AmfFrontThymeleafApplication {
public static void main(String[] args) {
SpringApplication.run(AmfFrontThymeleafApplic... |
package quickcarpet.commands;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.StringArgumentType;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import net.minecraft.SharedConstants;
import net.minecraft.command.CommandException;
import net.minecraft.command.CommandSou... |
/**
* CallConversionType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201601.cm;
/**
* Conversion type for a call extension.
*/
public class CallConversionType implements java.io.Serializabl... |
package com.hubspot.singularity;
import com.hubspot.singularity.SingularityTaskCleanup.TaskCleanupType;
public enum DeployState {
SUCCEEDED(TaskCleanupType.NEW_DEPLOY_SUCCEEDED), FAILED_INTERNAL_STATE(TaskCleanupType.DEPLOY_FAILED), CANCELING(null), WAITING(null), OVERDUE(TaskCleanupType.DEPLOY_FAILED), FAILED(Task... |
package com.example.vjobanputra.girdimagesearch;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public Application... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
/*
* Copyright 2017 github.com/kaaz
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
/*
* Copyright (c) 2009-2016, United States Government, as represented by the Secretary of Health and Human Services.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions ... |
package com.weiziplus.muteki.common.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
/**
* 设置全局静态常量
*
* @author wanglongwei
* @date 2019/5/6 15:50
*/
@Component
public class GlobalConfig {
/**
* 身份验证,请求头,token
*/
public static ... |
package com.dailymotion.android.player.sdk.events;
import com.dailymotion.android.player.sdk.PlayerWebView;
public class AdTimeUpdateEvent extends PlayerEvent {
private String time;
AdTimeUpdateEvent(String payload, String time) {
super(PlayerWebView.EVENT_AD_TIME_UPDATE, payload);
this.time... |
/**
*
*/
package cn.way.wandroid.applation;
import java.io.File;
import uk.co.senab.photoview.PhotoView;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Fragment;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.ne... |
package org.springframework.social.botframework.api;
import java.util.List;
import org.springframework.social.ApiBinding;
import org.springframework.social.botframework.api.data.Activity;
import org.springframework.social.botframework.api.data.AttachmentInfo;
import org.springframework.social.botframework.api.data.Ch... |
package duelistmod.cards.other.tempCards;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.localization.CardStrings;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import ... |
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.replicators;
import io.deephaven.replication.ReplicatePrimitiveCode;
import java.io.IOException;
public class ReplicateRingChunkSources {
public static void main(String[] args) throws IOException {
ReplicatePri... |
package com.volmit.react.api;
public enum GraphMode
{
NORMAL,
ITEMFRAME,
EOD;
} |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.governanceservers.openlineage.server.spring;
import org.odpi.openmetadata.governanceservers.openlineage.converters.ScopeEnumConverter;
import org.odpi.openmetadata.governanceservers.openlin... |
package com.example.coolweather;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wi... |
package top.ljming.javaindepth.designpatterns.geeklesson.templatemethod;
/**
* 描述类的功能.
*
* @author ljming
*/
public class ConcreateClass2 extends TemplateMethodAbstractClass {
@Override
protected void method1() {
System.out.println("concreateClass2 实现method1");
}
@Override
protected vo... |
/*
* Copyright 2014 Alexey Andreev.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
package com.api.dto.inpatient;
import com.api.dto.parentDto.ParentDto;
import com.api.selfannotation.ToMapAnno;
/**
* 住院预交金缴纳参数对象
*/
public class InpatientPrePaymentHisDto extends ParentDto {
//账单号
@ToMapAnno(name = "interid")
private String interid;
//病人姓名
@ToMapAnno(name = "patientName")
... |
package io.dropwizard.metrics;
import java.util.concurrent.TimeUnit;
import static java.lang.Math.exp;
/**
* An exponentially-weighted moving average.
*
* @see <a href="http://www.teamquest.com/pdfs/whitepaper/ldavg1.pdf">UNIX Load Average Part 1: How
* It Works</a>
* @see <a href="http://www.teamquest.com... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package io.github.thesixonenine.common.utils;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.io.Serializable;
import java.util.List;
/**
* 分页工具类
*
* @author Mark sunlightcs@gmail.com
*/
pu... |
package com.knight.wanandroid.module_hierachy.module_entity;
import com.knight.wanandroid.library_base.entity.BaseEntity;
import java.util.List;
/**
* @author created by knight
* @organize wanandroid
* @Date 2021/4/30 14:25
* @descript:
*/
public final class NavigateChildrenEntity extends BaseEntity {
/**
... |
package graphql.language;
import java.util.ArrayList;
import java.util.List;
public class TypeName extends AbstractNode implements Type {
private String name;
public TypeName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setName(St... |
package com.onesignal;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.json.JSONException;
import org.json.JSONObject;
public class OSInAppMessageAction {
/** UUID assigned by OneSignal for internal use.
* Package-private to track which element was tapped to... |
package motherboard;
import controllers.XrayController;
/**
* The "Motherboard section" class of the app. Contains motherboard data.
*
* @author PilzHere
*
*/
public class Motherboard {
private String mbBrand, mbManufacturer, mbModel, mbSerialNumber, mbVersion;
/**
* Sets all motherboard data.
*/
publi... |
package com.example.android.arrival;
import android.net.Uri;
import com.example.android.arrival.Model.Driver;
import com.example.android.arrival.Model.Rider;
import com.example.android.arrival.Util.AccountCallbackListener;
import com.example.android.arrival.Util.AccountManager;
import org.junit.jupiter.api.AfterAll;... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: IGDBProtoFile.proto
package proto;
public interface ProductFamilyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ProductFamily)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional uint64 id = 1;</code>
... |
package io.searchbox.core;
import com.google.gson.Gson;
import io.searchbox.action.AbstractAction;
import io.searchbox.action.AbstractMultiTypeActionBuilder;
import io.searchbox.core.search.sort.Sort;
import io.searchbox.params.Parameters;
import io.searchbox.params.SearchType;
import org.apache.commons.lang3.builder.... |
package org.enodeframework.common.extensions;
import com.google.common.base.Strings;
import org.enodeframework.common.exception.IdGenerateException;
import java.lang.management.ManagementFactory;
import java.net.InetAddress;
import java.net.NetworkInterface;
public class SnowFlake {
/**
* 起始的时间戳
*/
... |
package ru.anhot.mqtt.mqtt_elastic.generators;
import java.util.UUID;
public class UuidGenerator implements Generator {
public static final String GENERATOR_ID = "@@uuid";
@Override
public boolean matches(String s) {
return GENERATOR_ID.equals(s);
}
@Override
public Object getValue(S... |
/*
* Copyright (c) 2019 ASERVO Software GmbH
* contact@aservo.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.datastax.driver.core.querybuilder;
import java.net.InetAddress;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Maps;
import org.testng.annotations.Test;
import static org.a... |
package com.github.mrglassdanny.mocalanguageserver.moca.trace;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Stack;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.github.mrglassdanny.mocalanguageserver.moca... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: gogoproto/gogo.proto
package com.google.protobuf;
public final class GoGoProtos {
private GoGoProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(com.google.protobu... |
package examples.example6;
public class ClassA {
private ClassB cb = new ClassB();
private Interface i;
public void methodA() {
cb.methodB();
i.methodInterface();
}
} |
// Copyright 2006-2019, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.
// Any commercial use must be negotiated with the Office of Technology Transfer
// at the California Institute of Technology.
//
// This software is subject to U. S. export contr... |
package org.janelia.jacs2.rest.sync.v2.dataresources.search;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import org.apache.solr.client.solrj.SolrQuery;
impor... |
package com.manywho.services.saml.managers;
import org.apache.commons.lang3.StringUtils;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import java.util.ArrayList;
import com.fasterxml.jackson.databind.ObjectMapper;
import javax.inject.Inject;
public class CacheManager {
private final s... |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package io.rapidpro.surveyor.engine;
import com.nyaruka.goflow.mobile.AssetsSource;
import com.nyaruka.goflow.mobile.Environment;
import com.nyaruka.goflow.mobile.FlowReference;
import com.nyaruka.goflow.mobile.Mobile;
import com.nyaruka.goflow.mobile.MsgIn;
import com.nyaruka.goflow.mobile.Resume;
import com.nyaruka.... |
/*
******************************************************************************
* The contents of this file are subject to the Compiere License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* You may obtain a copy of the License at http://www.compiere.org/license.ht... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: mybank.payment.trade.business.operate.query response.
*
* @author auto create
* @since 1.0, 2022-02-09 11:03:02
*/
public class MybankPaymentTradeBusinessOperateQueryRespons... |
/**
* Provides generic data classes.
*/
package com.linecorp.linesdk; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.