text stringlengths 7 1.01M |
|---|
package com.compomics.coss.controller.matching;
import com.compomics.ms2io.model.Peak;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import static org.testng.Assert.*;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
/*... |
package io.freefair.gradle.plugins.android.quality;
import com.android.build.gradle.api.BaseVariant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Collection;
/**
* Copy of {@link org.gradle.api.plugins.quality.CodeQualityExtension} which uses {@link BaseVariant variants}
*
* @author Lars ... |
class Exercicio09 {
public static void main(String[] args) {
int n = 3;
int[][] myArray = new int[n][n];
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
myArray[i][j] = myFunc.randInt(0, n * n);
System.out.print(myArray[i][j] + " ");
if ((j + 1) % 3 == 0) {
System.out.print(... |
package com.sequenceiq.cloudbreak.core.flow2.stack.upscale;
import com.sequenceiq.flow.core.FlowState;
import com.sequenceiq.flow.core.RestartAction;
import com.sequenceiq.cloudbreak.core.flow2.restart.DisableOnGCPRestartAction;
import com.sequenceiq.cloudbreak.core.flow2.restart.FillInMemoryStateStoreRestartAction;
... |
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package dll.library;
import com.sun.jna.Native;
import com.sun.jna.NativeLibrary;
import com.sun.jna.win32.StdCallLibrary;
import java.io.File;
/**
* @描述: SDK对外开放的实现各种业务的同步接口
* 包含 sdk_func.h、sdk_tollgate_func.h
* 他们的实现都在imos_sdk.dll中
* @作者: REN
* @时间: 2019/1/3 15:32
*/
public interface IMOSLibrar... |
package com.xiaochen.progressroundbutton;
/**
* Created by tanfujun on 10/26/16.
*/
public interface ButtonController {
int getPressedColor(int color);
int getLighterColor(int color);
int getDarkerColor(int color);
boolean enablePress();
boolean enableGradient();
}
|
package utils;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
public class DateUtils {
public static LocalDateTime toLocalDateTime(Timestamp date) {
return LocalDateTime.ofEpochSecond(date.getTime(), 0, ZoneOffset.UTC);
}
}
|
package org.jboss.resteasy.test.client;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.HttpClientBuilder;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.cont... |
package com.microsoft.azure.mobile.cordova;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.json.JSONArray;
import org.json.JSONException;
import com.microsoft.appcenter.AppCenter;
imp... |
/*
* Copyright 2003-2007 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.macro.mall.dao;
import com.macro.mall.dto.ProductAttrInfo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 自定义商品属性Dao
* Created by macro on 2018/5/23.
*/
public interface PmsProductAttributeDao {
/**
* 获取商品属性信息
*/
List<ProductAttrInfo> getProdu... |
package com.burhanrashid52.photoediting;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView... |
//
// MIT License
//
// Copyright (c) 2021 Alexander Söderberg & Contributors
//
// 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 right... |
/*
* Copyright 2020 ConsenSys AG.
*
* 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 wr... |
package top.ningg.design;
/**
* 单例模式: 懒汉模式.(延迟加载对象)
*
* 参考: https://www.cnblogs.com/garryfu/p/7976546.html
*/
public class Singleton {
// 构造方法: 私有
private Singleton() {
}
// 对象实例: 不创建
private static Singleton singleton = null;
// 对外方法: 加锁
public static synchronized Singleton getInst... |
/**
* Copyright 2016-2017 Seznam.cz, a.s.
*
* 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 ... |
/*
* Copyright (C) 2020 - Amir Hossein Aghajari
*
* 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 l... |
package com.github.hwywl.model;
import lombok.*;
/**
* @author: YI
* @description: SQL的连接条件
* @date: create in 2021/3/8 17:08
*/
@Data
@RequiredArgsConstructor
@AllArgsConstructor
@Builder
public class Condition {
/**
* 属性名称
*/
String field;
/**
* 与上一条语句的连接符
*/
String aboveCon... |
package com.example.android.xpensemanager;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
... |
package com.novoda.downloadmanager.lib;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import com.novoda.notils.logger.simple.Log;
class ConcurrentDownloadsLimitProvider {
private static final int DEFAULT_MAX_CONCURR... |
/*
* Copyright 2021 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... |
/*
* 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 ... |
/***************************************************************************
* Copyright (c) 2013-2014 VMware, Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
package Ass7;
public class Song {
private String songName;
private int trackNumber;
public Song(String songName, int trackNumber )
{
this.songName = songName;
this.trackNumber = trackNumber;
}
public String getSongName()
{
return songName;
... |
package android.support.v4.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.database.DataSetObserver;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build.VERSION;
import android.os.Bundle;
import and... |
/*
* Copyright 2008-2013 Exigen Insurance Solutions, Inc. All Rights Reserved.
*
*/
package com.exigeninsurance.x4j.analytic.xlsx.transform.pdf.header.rule;
import org.apache.poi.xssf.usermodel.XSSFSheet;
public class OddFooterRule extends HeaderFooterApplicabilityRule {
@Override
public boolean... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.tensor;
import com.google.common.collect.ImmutableList;
import com.yahoo.tensor.evaluation.MapEvaluationContext;
import com.yahoo.tensor.evaluation.Name;
import com.yahoo.tensor.eval... |
package com.eure.demo.domain.metrics.techcontribution;
import com.eure.demo.domain.metrics.*;
/**
* CodeReview指标
* @author xueliang.sxl, alisa.hsh, xiangning.lxn
*/
public class CodeReviewMetric extends SubMetric {
public CodeReviewMetric(){
this.subMetricType = SubMetricType.CodeReview;
}
pu... |
/*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
/*
* Copyright 2000-2020 Vaadin Ltd.
*
* 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... |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... |
/*
* Copyright 2020, Verizon Media.
* Licensed under the terms of the Apache 2.0 license.
* Please see LICENSE file in the project root for terms.
*/
package com.yahoo.oak;
import java.nio.ByteBuffer;
/**
* This interface allows high performance access to the underlying data of Oak.
* To achieve that, it sacri... |
/*
* Copyright 2016 Red Hat, Inc. and/or 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 a... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import j... |
package com.morningtech.eth.server.dao.impl;
import com.morningtech.eth.server.dao.SysWalletAccountMapperDao;
import com.morningtech.eth.server.entity.SysWalletAccount;
import org.springframework.stereotype.Service;
@Service
public class SysWalletAccountMapper extends BaseMapper<SysWalletAccount> implements... |
package com.github.fashionbrot.value.util;
import com.alibaba.fastjson.JSONObject;
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.StringUtils;
@Slf4j
public class JsonUtil {
private static final String CHARSET="UTF-8";
public static <T> T parseObject(String json,Class<T> clazz){
... |
package ticket.domain;
public enum Status {
NEW,
OPEN,
IN_PROGRESS,
RESOLVED,
CLOSED,
ARCHIVED;
}
|
package com.puppies.store.apis;
import java.io.InputStream;
import apimodels.ModelApiResponse;
import apimodels.Pet;
import play.mvc.Controller;
import play.mvc.Result;
import play.mvc.Http;
import java.util.List;
import java.util.Map;
import java.util.ArrayList;
import com.fasterxml.jackson.databind.ObjectMapper;
im... |
/*
* Copyright 2014 http://Bither.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* Cache.java
*
* Copyright (c) 2012 Mike Strobel
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0.
* A copy of the license can be found in the License.html file at the root of this distribution.
* By using this source code in any fashion, you are agreeing to be... |
/*
* Copyright 2020 赖柄沣 bingfengdev@aliyun.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 by applicable law ... |
package uk.co.quidos.dal.common.sequence;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import uk.co.quidos.common.component.threadpool.ThreadPool;
import uk.co.quidos.dal.common.sequence.dao.DalSequenceDO;
import uk.co.quidos.dal.common.seque... |
/*
* 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 ... |
/*
* 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 ... |
package org.mlflow.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.File;
import java.io.IOException;
import java.util.Map;
import java.util.Optional;
import org.mlflow.Flavor;
import org.mlflow.utils.FileUtils;
import org.mlflow.utils.Ser... |
package com.adaptris.core.cassandra.params;
import com.datastax.driver.core.PreparedStatement;
import com.datastax.driver.core.Session;
public interface StatementPrimer {
public PreparedStatement prepareStatement(Session session, String statement) throws Exception;
}
|
/*
* Copyright (C) 2020 Luke Klinker
*
* 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... |
package com.example.navigationdrawerpractica.Entidades;
import android.os.Parcel;
import android.os.Parcelable;
public class Encuestas implements Parcelable {
private String Nombre,Detalle;
public Encuestas() {
}
public Encuestas(String nombre, String detalle) {
Nombre = nombre;
Deta... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09... |
package com.wisdomguo.xifeng.modules.dice.skillcoc.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wisdomguo.xifeng.modules.dice.skillcoc.entity.SkillCoC;
/**
* SkillCocMapper
*
* @author wisdom-guo
* @since 2021/4/3
*/
public interface SkillCocMapper extends BaseMapper<SkillCoC> {
}
|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.org.gdt.enums;
/**
*
* @author Juliano
*/
public enum NomeBanco {
BancoBrasil,
Bradesco,
Itaú,... |
/*
* 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 ... |
/**
*
*/
package moyenneException;
/**
* @author Thomas LINTANF, Gabriel RIBIER
*
*/
public class moyenneException {
public static void main(String[] argv) {
if (argv.length <= 0) {
System.out.println("Il n'y a pas d'arguments");
System.exit(1);
}
try {
System.out.println("... |
package com.jd.blockchain.crypto.impl.def.hash;
import static com.jd.blockchain.crypto.CryptoAlgorithm.RIPEMD160;
import static com.jd.blockchain.crypto.CryptoBytes.ALGORYTHM_BYTES;
import java.util.Arrays;
import com.jd.blockchain.crypto.CryptoAlgorithm;
import com.jd.blockchain.crypto.hash.HashDigest;
import com.j... |
package water.rapids.ast.prims.mungers;
import water.*;
import water.fvec.*;
import water.rapids.Env;
import water.rapids.Merge;
import water.rapids.Val;
import water.rapids.ast.AstPrimitive;
import water.rapids.ast.AstRoot;
import water.rapids.ast.params.AstNum;
import water.rapids.ast.params.AstNumList;
import water... |
/*
* 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 m... |
/*
* Copyright 2004-2010 the Seasar Foundation and the Others.
*
* 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 ... |
package com.cattong.weibo.impl.netease;
import org.json.JSONException;
import org.json.JSONObject;
import com.cattong.commons.LibResultCode;
import com.cattong.commons.LibRuntimeException;
import com.cattong.commons.ServiceProvider;
import com.cattong.commons.util.StringUtil;
class NetEaseErrorAdaptor {
... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
package app.eeui.framework.ui.module;
import android.app.Activity;
import com.alibaba.fastjson.JSONObject;
import com.taobao.weex.annotation.JSMethod;
import com.taobao.weex.bridge.JSCallback;
import com.taobao.weex.common.WXModule;
import app.eeui.framework.extend.module.eeuiJson;
import app.eeui.framewor... |
package fr.brouillard.oss.cssfx.impl.events;
/*
* #%L
* CSSFX
* %%
* Copyright (C) 2014 CSSFX by Matthieu Brouillard
* %%
* 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
*
* ht... |
/**
* projectName: autobots
* fileName: FakerUtils.java
* packageName: com.autobots.utils.faker
* date: 2019-11-27 下午4:17
*/
package com.ceshiren.hogwarts.service.wechat.utils;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
/**
* @version: V1.0
* @author: kuohai
... |
/*
* Copyright (c) 2021, 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.or... |
package com.portalmedia.embarc.gui.model;
import java.util.HashMap;
import java.util.List;
import com.portalmedia.embarc.parser.ColumnDef;
import com.portalmedia.embarc.validation.IValidationRule;
import com.portalmedia.embarc.validation.ValidationRuleSetEnum;
import javafx.beans.property.IntegerProperty;
import jav... |
package com.hsuforum.easjavatemplate.web.jsf.converter;
import java.util.Calendar;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import javax.faces.convert.FacesConverter;
import com.hs... |
/**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.compat;
public final class R {
public static final class attr {
public static final int font = 0x7f... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/bigtable/v2/bigtable.proto
package com.google.bigtable.v2;
public interface CheckAndMutateRowRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowRequest)
com.google.protobuf.Mes... |
/**
* Exception hierarchy enabling sophisticated error handling independent of the data access approach
* in use. For example, when DAOs and data access frameworks use the exceptions in this package (and
* custom subclasses), calling code can detect and handle common problems such as deadlocks without
* being tied ... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
package net.rim99.demo.account.support.repository;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import org.apache.ibatis.datasource.unpooled.UnpooledDataSourceFactory;
public class HikariCPDataSourceFactory extends UnpooledDataSourceFactory {
public HikariCPDataSourceFactory(... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.goyazbarber;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
import com.f... |
package org.oza.ego.portal;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.oza.ego.base.utils.HttpClientUtils;
import org.oza.ego.portal.service.ContentService;
import org.oza.ego.portal.service.impl.ContentServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
package js.lang.external.highcharts;
import com.github.fluorumlabs.disconnect.core.annotations.Import;
import com.github.fluorumlabs.disconnect.core.annotations.NpmPackage;
import java.lang.String;
import javax.annotation.Nullable;
import js.lang.Any;
import org.teavm.jso.JSProperty;
/**
* (Highcharts, Highstock) Op... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.operator.cluster.model;
import io.fabric8.kubernetes.api.model.Affinity;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.bohutskyi.logloader.ui;
/**
*
* @author Serhii_Bohutskyi
*/
public class LoaderFrame extends javax.swing.JFrame {
... |
package game.geography.geography;
public class Map implements LandChangeListener {
private final LandRepository landRepository;
public Map(LandRepository landRepository) {
// in first version we have two lands
// later, add its own class of LandGenerator or Seed
this.landRepository = ... |
package com.historiasclinicas.log;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Calendar;
public class Log {
public static String path = System.getProperty("user.home");
public static File folder = new File(path+"\\.HistoriasClinicas");
public static void CreaLog(Str... |
import java.util.*;
/**
* Given two words (start and end), and a dictionary, find all shortest
* transformation sequence(s) from start to end, such that:
*
* Only one letter can be changed at a time
* Each intermediate word must exist in the dictionary
* For example,
*
* Given:
* start = "hit"
* end = "cog"
... |
package de.fraunhofer.iais.eis;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import de.fraunhofer.iais.eis.util.*;
/**
* A location identified by geo coordinates.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAM... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* 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 a... |
package com.yhcdhp.cai;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.Toolbar... |
package class0325lecture9;
import java.io.FileWriter;
import java.io.IOException;
public class FWriter {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
FileWriter fw = new FileWriter ("C:\\Users\\kopo39\\Desktop\\new.txt", true);
for (int i = 11; i < 16; i++) {
... |
package com.hortonworks.streamline.streams.catalog.topology.component;
import com.hortonworks.streamline.common.QueryParam;
import com.hortonworks.streamline.registries.model.client.MLModelRegistryClient;
import com.hortonworks.streamline.streams.catalog.Topology;
import com.hortonworks.streamline.streams.catalog.Top... |
package org.hl7.davinci.endpoint;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import io.jsonwebtoken.Jwts;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
... |
package sguest.villagelife.item;
import java.util.function.Supplier;
import net.minecraft.inventory.EquipmentSlotType;
import net.minecraft.item.IArmorMaterial;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.util.LazyValue;
import net.minecraft.util.SoundEvent;
import net.minecraft.util.SoundEven... |
package cn.omsfuk.blog.controller;
import cn.omsfuk.blog.dao.RoleDao;
import cn.omsfuk.blog.domain.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework... |
package com.opensymphony.workflow.loader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.w3c.dom.Element;
/**
* @author Andrea Capitani (a.capitani@leonardomultimedia.it)
*/
public class ConfigValidatorDescripto... |
/*
* 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 ... |
package org.akhq.controllers;
import io.micronaut.http.annotation.Controller;
import io.micronaut.http.annotation.Get;
import io.micronaut.http.annotation.Post;
import io.micronaut.security.annotation.Secured;
import io.swagger.v3.oas.annotations.Operation;
import org.akhq.configs.Role;
import org.akhq.models.Cluster;... |
/*
* 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 de.ma_vin.ape.users.controller.it.steps;
import com.fasterxml.jackson.core.JsonProcessingException;
import de.ma_vin.ape.users.enums.Role;
import de.ma_vin.ape.users.model.gen.dto.group.UserIdRoleDto;
import de.ma_vin.ape.users.model.gen.dto.user.UserDto;
import de.ma_vin.ape.utils.TestUtil;
import de.ma_vin.a... |
/*
* onprom-umleditor
*
* RelationForm.java
*
* Copyright (C) 2016-2018 Free University of Bozen-Bolzano
*
* This product includes software developed under
* KAOS: Knowledge-Aware Operational Support project
* (https://kaos.inf.unibz.it).
*
* Please visit https://onprom.inf.unibz.it for more information.
*
... |
import java.awt.*;
/**
* Class Name: Weapon Cache <br>
* Class Purpose: WeaponCache class implementing IUsable and IInventory<br>
*
* <hr>
* Date created: 11-30-2020
* Date last modified: 12-02-2020
* @author Flavio Sanguinetti
*/
public class WeaponCache extends Container implements IUsable, IInventory {
... |
/*
* Copyright 2013-2018 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... |
package com.alibaba.excel.metadata.csv;
import java.io.Closeable;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.alibaba.excel.constant.BuiltinFormats;
import com.alibaba.excel.enums.NumericCellTy... |
/*
* Copyright (C) 2018-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICEN... |
/* 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... |
package com.addusername.pmddmm_eval2.interfaces;
public interface ModelOps {
void getLastComic();
void getComic(int num);
void getHistory();
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.