text
stringlengths
7
995k
/** * Copyright (c) 2015-2018 <a href="">wqwy</a> All rights reserved. */ package com.wqwy.zhnm.delivery.controller; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print; import static org.springfr...
/** * 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"); yo...
/* * Copyright 2000-2018 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...
package no.nav.testnav.apps.organisasjontilgangservice.service; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.time.LocalDateTime; import no.nav.testnav.apps.organisasjontilgangservice.client.al...
/* * Copyright (c) 2021 Evgenii Plugatar * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of t...
/** * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required...
package org.hl7.fhir.convertors.conv10_40.resources10_40; import org.hl7.fhir.convertors.conv10_40.VersionConvertor_10_40; import org.hl7.fhir.convertors.conv10_40.datatypes10_40.Element10_40; import org.hl7.fhir.convertors.conv10_40.datatypes10_40.Type10_40; import org.hl7.fhir.convertors.conv10_40.datatypes10_40.com...
package mcjty.deepresonance.fluid; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.fluids.FluidStack; /** * Created by Elec332 on 9-8-2015. */ public final class LiquidCrystalFluidTagData { public static LiquidCrystalFluidTagData fromNBT(NBTTagCompound tag, int amount){ return fromSt...
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
package io.cucumber.core.options; import io.cucumber.core.exception.CucumberException; import io.cucumber.core.feature.FeatureWithLines; import io.cucumber.core.feature.GluePath; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Collection; import java.util.Collections; import java.util.List; im...
package com.jianglibo.tojsonapi.reflect; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; @Retention(RUNTIME) public @interface JsonapiFieldIgnore { }
package bnb; /*DATA: * Class structures and input BnBUtil are defined * BnBUtil: Scenario Tree (in Node notation AND Scenario notation) with respective problem-specific parameters * classes: Node in Scenario, Path in Scenario, Solution for Scenario, Solution for Original Problem, BnB node, Fathoming result * conne...
package com.alipay.api.domain; import java.util.Date; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 医院报告明细 * * @author auto create * @since 1.0, 2016-10-26 17:43:39 */ public class MedicalHospitalReportList extends AlipayObject { private static final long serialVer...
/* * 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.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * BQFinancialInstrumentUpdateOutputModel */ public class BQFi...
/** * Copyright 2010-2019 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 * * Unle...
package net.lemonsoft.lemonkit.model; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.RectF; import android.graphics.Region; import android.view.View; import net.lemonsoft.lemonkit.enums.LKUIDelegateOnDrawState; import...
/* * 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 com.transcendensoft.hedbanz.domain.entity; /** * Copyright 2017. Andrii Chernysh * <p> * 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 * <p> * http://www.apache.org/licenses/LICE...
/** * Copyright 2017 Pivotal Software, Inc. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicab...
package com.loserico.codec; import org.junit.Test; public class RsaTest { @Test public void testPublicEncryptPrivateDecrypt() { Rsa rsa = Rsa.instance(); String data = "你好,这是RSA非对称加密测试"; // String data = "hello world"; String encrypted = rsa.publicEncrypt(data); System.out.println(encrypted); //Sy...
/******************************************************************************* * Copyright 2013-2019 Qaprosoft (http://www.qaprosoft.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 ...
package com.learn.netty.dubborpc.provider; import com.learn.netty.dubborpc.publicinterface.HelloService; public class HelloServiceImpl implements HelloService{ private static int count = 0; //当有消费方调用该方法时, 就返回一个结果 @Override public String hello(String mes) { System.out.println("收到客户端消息=" + mes)...
package java_learn_code.no_05_java_data_type_conversion; /** * 数据类型转换 * 强制转换:取值范围大的数据值,转换成取值范围小的值。 * 数据类型强制转换公式:被转后的数据类型 变量名 = (被转换后数据类型)要被转的数据 * 注意:强制类型转换,没有要求的时候,不做。不然会丢失精度 ,除非要求转换才做转换。 * 2019/10/07 */ public class DataTypeConversion2{ public static void main(String[] args){ //double浮点,转成int double d = 3.14; ...
package kdu_jni; public class Kdu_push_ifc { static { System.loadLibrary("kdu_jni"); Native_init_class(); } private static native void Native_init_class(); protected long _native_ptr = 0; protected Kdu_push_ifc(long ptr) { _native_ptr = ptr; } private native void Native_destroy(); public vo...
/* * Copyright (C) 2008 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package com.hframework.datacenter.hamster.workes.bean; import java.util.ArrayList; import java.util.Date; import java.util.List; public class BatchDataSet { private Long batchId; private Date createTime; private Long binlogStartTs; //binlog start时间 private Long binlogEndTs; ...
/* * --------------------------------------------------------------------------------------------------> * Licença : MIT - Copyright 2019 Jhonathan, Gustavo e Miguel * Criado em : 03/11/2020 15:44:59 * Instituição: FACULDADE SENAI FATESG * Curso : Análise e Desenvolvimento de sistemas - Módulo 3 - ...
/* * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package goodman.com.sun.org.apache.bcel.internal.generic; /* ==================================================================== * The Apache Software License, V...
package xdean.stackoverflow.rx; import java.util.ArrayList; import java.util.List; import rx.Observable; import xdean.jex.extra.Pair; public class Q43736186 { public static void main(String[] args) { List<Parent> parents = new ArrayList<>(); parents.add(new Parent(1, "Parent1")); parents.add(new Parent...
package io.github.elifoster.oredicttips; import net.minecraft.client.settings.KeyBinding; import net.minecraft.item.ItemStack; import net.minecraft.util.text.TextFormatting; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.event.entity.pl...
/** * 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...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
package dev.bohush.economy.advancement.criterion; import com.google.gson.JsonObject; import dev.bohush.economy.Economy; import dev.bohush.economy.item.CoinPileItem; import dev.bohush.economy.predicate.LongRange; import net.minecraft.advancement.criterion.AbstractCriterion; import net.minecraft.advancement.criterion.Ab...
package com.hwangjr.rxbus.entity; import com.hwangjr.rxbus.thread.EventThread; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import io.reactivex.BackpressureStrategy; import io.reactivex.Flowable; import io.reactivex.FlowableEmitter; import io.reactivex.FlowableOnSubscribe; imp...
/* * Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. */ package com.sap.retail.oaa.commerce.services.strategies.impl; import static de.hybris.platform.servicelayer.util.ServicesUtil.validateParameterNotNull; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; im...
package block_party.registry.resources; import block_party.BlockParty; import block_party.npc.BlockPartyNPC; import block_party.registry.CustomSounds; import block_party.utils.JsonUtils; import com.google.common.collect.ImmutableMap; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gs...
package kore.botssdk.view.tableview; import android.content.Context; import android.content.res.Resources; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView; import android.widget.ArrayAdapter; import android.widg...
package org.schema.api.model.thing.organization.performingGroup; import org.schema.api.model.thing.Person; import org.schema.api.model.thing.creativeWork.review.Review; import org.schema.api.model.thing.event.Event; import org.schema.api.model.thing.intangible.Brand; import org.schema.api.model.thing.intangible.Demand...
package src.item.armor; import src.item.Armor; import javafx.scene.image.Image; public class Necklace extends Armor { // Names from https://torchlight.fandom.com/wiki/Necklaces_(T2) private final String[] names = { "The Amulet of Ledo", "The Guardian's Gaze", "Coldheart", "The Emerald Eye", "The G...
package org.hisp.dhis.coldchain.model.action; import static org.apache.commons.lang.StringUtils.isNotBlank; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.hisp.dhis.coldchain.model.ModelType; import org.hisp.dhis.coldchain.model.ModelTypeService; import org.hisp.dhis.comm...
// Template Source: IBaseEntityRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------------...
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE package org.bytedeco.arrow; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.arrow.global.arrow.*; @Namespace("arrow::csv") @Prope...
package com.seleniumsoftware.examples; import java.net.ServerSocket; import java.util.logging.Logger; public class CallbackReceiver implements CallbackReceivable { private static Logger logger = Logger.getLogger("com.seleniumsoftware.examples"); public void sent(byte[] pdu) { hexDump("SMPPSim sent to ESME:", p...
package bomberone.model.timer; /** * An implementation of Time. * */ public final class TimeImpl implements Time { private static final int SECONDS_IN_A_MINUTE = 60; private int totalSec; private int minutes; private int seconds; public TimeImpl(final int tot) { this.totalSec = tot; ...
/* * Copyright 2020 Advanced Software Technologies Lab at ETH Zurich, Switzerland * * 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 * ...
package org.holoeverywhere.drawable; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.drawable.Drawable; import android.util.Attri...
package com.dcits.dcwlt.pay.api.domain.dcep.eventBatch; import com.alibaba.fastjson.annotation.JSONField; /** * 应用间参数传第对象格式 * @author */ public class EventBatchTotalParam { /** * 对账日期 */ private String batchDate; /** * 对账批次号 */ private String batchId; @JSONField(name = "Ba...
/** * personium.io * Copyright 2014 FUJITSU LIMITED * * 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...
package edu.uwpr.protinfer.infer.graph; import java.util.ArrayList; import java.util.List; import edu.uwpr.protinfer.infer.Protein; public class ProteinVertex extends Vertex<ProteinVertex> { private List<Protein> proteins; public ProteinVertex(Protein protein) { super(String.valueOf(protein.get...
package kylm.model.ngram; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Vector; public final class BranchNode extends NgramNode { private class SkipIt...
// $ANTLR : "Expr.g" -> "ExprLexer.java"$ /** * Copyright (c) 2006 - present Innovative Systems SRL * Copyright (c) 2006 - present Ovidiu Podisor ovidiu.podisor@innodocs.com * * Authors: Ovidiu Podisor and members of the * IML lab at West University Timisoara (www.uvt.ro) * * This file is part of the...
package spacesurvival.model.gui.pause; import spacesurvival.utilities.LinkActionGUI; /** * LinksPause contains pause links with buttons. */ public enum LinksPause { /** * Link to GUI game. */ RESUME_BUTTON("Resume", LinkActionGUI.LINK_BACK), /** * Link to GUI sound. */ SOUND_BUT...
package c1_4_thread.cn.enjoyedu.ch1.pool; import c1_4_thread.cn.enjoyedu.tools.SleepTools; import java.sql.*; import java.util.Map; import java.util.Properties; import java.util.concurrent.Executor; /** *类说明: */ public class SqlConnectImpl implements Connection{ /*拿一个数据库连接*/ public static final Connection ...
// // Depot library - a Java relational persistence library // https://github.com/threerings/depot/blob/master/LICENSE package com.samskivert.depot; import java.util.Set; import org.junit.Test; import static org.junit.Assert.*; /** * Tests the handling of our various supported field types. */ public class AllType...
/* * 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.common.operator.resource; import io.fabric8.kubernetes.api.model.extensions.Ingress; import io.fabric8.kubernetes.api.model.extensions.IngressList; impo...
package frc.robot.maps; import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.SpeedController; import edu.wpi.first.wpilibj.controller.PIDController; import edu.wpi.first.wpilibj.controller.ProfiledPIDController; import edu.wpi.first.wpilibj.traj...
/* * 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 mage.cards.e; import java.util.UUID; import mage.abilities.effects.common.search.SearchLibraryPutOnLibraryEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.filter.FilterCard; import mage.filter.predicate.Predicates; import mage.filter.predicate.mageo...
/** * 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 util; /** * A data class containing info about the program command lines arguments after parsing * * @author Adam Lechovsky * */ public class ProgramArguments { public int videoCapture = 0; public boolean captureTrainImages = false; public int captureTrainImagesFileNumber = 0; publi...
package com.example.demo.service; import com.example.demo.pojo.send.AddAccountMessage; import com.example.demo.pojo.send.FindAccountMessage; import com.example.demo.pojo.send.GetAllAccountsMessage; import com.example.demo.pojo.send.TransitMessage; public interface BankAccountService { TransitMessage doTransit(Str...
/* * Copyright 2015-2020 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 pdu_data; public class TypeNotFoundException extends Throwable{ public TypeNotFoundException(){ super(); } public TypeNotFoundException(String s){ super(s); } }
/* * Workspace API * Agent API * * OpenAPI spec version: 9.0.000.97.4639 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package com.genesys.internal.workspace.model; import java.util....
/* * #%L * ELK OWL API Binding * * $Id$ * $HeadURL$ * %% * Copyright (C) 2011 Department of Computer Science, University of Oxford * %% * 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 ...
package io.swagger.client.auth; import io.swagger.client.Pair; import java.util.Map; import java.util.List; @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-27T22:29:17.225Z") public class OAuth implements Authentication { private String accessToken; pu...
package uk.ac.ebi.ddi.service.db.service.biostudies; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.data.mongodb.repository.config.EnableMongoRepositories; import or...
/* * Copyright 2012 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 applica...
/* * Kodkod -- Copyright (c) 2005-2008, Emina Torlak * * 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, modi...
package slimeknights.tconstruct.tools.common.tileentity; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Container; import net.minecraft.item.ItemStack; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; ...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
/** * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
package com.sqa.chn.modules.access.entity; import cn.icesun.util.entityutil.annotation.FieldSync; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; import com.sqa.chn.modules.tas...
/** * 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 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.refactoring.rename; import com.intellij.psi.PsiElement; import com.intellij.psi.util.PsiTreeUtil; import com.intellij.refactoring.rename.naming.Autom...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
/* */ /* Copyright 2021 IBM Corp. */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file exc...
import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map.Entry; public class SortHashMap { private List<Entry<String,Float>> list = new LinkedList<Entry<String,Float>>(); /** * inverted order * @param map * @re...
package Songify.domain.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name = "users") public class User extends BaseEntity{ private String email; private String password; private String firstName; private String lastName; ...
package panda.gems.pages.action; import java.util.Map; import panda.app.action.crud.GenericBulkAction; import panda.gems.pages.entity.Page; import panda.mvc.annotation.At; import panda.mvc.annotation.To; import panda.mvc.annotation.TokenProtect; import panda.mvc.annotation.param.Param; import panda.mvc.view.Views; imp...
/* * Copyright 2016 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package ru.push.caudioplayer.core.lastfm.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import java.io.Serializable; import jav...
package me.cthorne.kioku.test.stacks.matchstack; import android.content.Context; import android.util.Log; import android.view.View; import com.j256.ormlite.dao.Dao; import com.j256.ormlite.stmt.QueryBuilder; import com.j256.ormlite.stmt.Where; import java.io.Serializable; import java.sql.SQLException; import java.ut...
/** * 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 ActionListener.XDataListener; import javax.swing.event.EventListenerList; import java.util.EventListener; public class EventListenerData implements EventListener { private EventListenerList listenerList = new EventListenerList(); public void addListener(IXDataListener listener) { listenerLis...
/* * 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 ...
/* * 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.rockey.wechat.mp.sdk.vo.media; import org.rockey.wechat.mp.sdk.vo.AbstractToStringBuilder; import com.alibaba.fastjson.annotation.JSONField; /** * * @author RockeyHoo */ public class NewsMediaDetail extends AbstractToStringBuilder { @JSONField(name = "thumb_media_id") private String thumbMedia...
package io.alastria.id.serviceprovider.api; import java.io.IOException; import java.util.Date; import java.util.concurrent.TimeUnit; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterx...
/* * This file is part of lanterna (http://code.google.com/p/lanterna/). * * lanterna is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
import java.util.ArrayList; import java.util.List; import org.sql2o.*; public class Stylist { private String firstname; private String lastname; private String email; private String description; private int id; public Stylist(String firstname, String lastname, String email, String description) { this....
/******************************************************************************* * ============LICENSE_START==================================================== * * org.onap.aaf * * =========================================================================== * * Copyright © 2017 AT&T Intellectual Property. All right...
package com.robotzero.engine; import com.robotzero.dataStructure.AssetPool; import java.util.ArrayList; import java.util.List; public class Spritesheet { public List<Sprite> sprites; public int tileWidth; public int tileHeight; public int spacing; public int overallWidth; public int overallH...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "Licen...
package org.insightech.er.db.impl.mysql; import org.insightech.er.db.sqltype.SqlType; import org.insightech.er.db.sqltype.SqlTypeManagerBase; public class MySQLSqlTypeManager extends SqlTypeManagerBase { public int getByteLength(SqlType type, Integer length, Integer decimal) { return 0; } }
package com.anysoftkeyboard.utils; import android.os.Build; import android.util.Log; /** * Logger messages to Android's LogCat. Should be used only in DEBUG builds. */ public class LogCatLogProvider implements LogProvider { @Override public void v(String TAG, String text) { Log.v(TAG, text); } ...
/* * Copyright 2014 NAVER Corp. * * 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 org.firstinspires.ftc.teamcode.OldOpModes; import android.os.Build; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.CRServo; import com.qualcomm.robotco...