text
stringlengths
7
995k
package org.vcell.client.logicalwindow; import java.awt.BorderLayout; import java.awt.HeadlessException; import javax.swing.JFrame; import javax.swing.JMenuBar; import javax.swing.SwingUtilities; @SuppressWarnings("serial") public class TopLevel extends LWTopFrame implements ProofOfConceptContainer { private static...
/* * Copyright 2019 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 app...
/* * 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 hell.models.items; import hell.interfaces.Item; public abstract class AbstractItem implements Item{ private String name; private int strengthBonus; private int agilityBonus; private int intelligenceBonus; private int hitPointsBonus; private int damageBonus; AbstractItem(String na...
package com.github.aureliano.achmed.client.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import com.github.aureliano.achmed.client.validation.NotNullValidator; @Retention(RetentionPolicy.RUN...
package Method.Client.clickgui.component.components.sub; import Method.Client.clickgui.component.Component; import Method.Client.clickgui.component.components.Button; import Method.Client.managers.Setting; import Method.Client.module.misc.GuiModule; import net.minecraft.client.gui.Gui; import net.minecraft.client.rend...
package edu.mit.csail.sdg.alloy4viz; import edu.mit.csail.sdg.alloy4.Err; import edu.mit.csail.sdg.alloy4.ErrorFatal; import edu.mit.csail.sdg.alloy4.XMLNode; import edu.mit.csail.sdg.ast.Expr; import edu.mit.csail.sdg.ast.Sig; import edu.mit.csail.sdg.translator.*; import java.io.File; import java.io.IOException; im...
package org.semanticweb.yars.stats; import java.util.Iterator; import org.semanticweb.yars.nx.BNode; import org.semanticweb.yars.nx.Literal; import org.semanticweb.yars.nx.Node; import org.semanticweb.yars.nx.Resource; import org.semanticweb.yars.nx.filter.NodeFilter; public class CountNodeTypeHashAnalyser extends D...
/* * 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 com.cz.SarvodayaHBandroid.ui.activity; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Notification; import android.content.Intent; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.annotation.NonNull; import...
package fr.brandon.tp3.part3.service.dto.kanban; import java.util.ArrayList; import java.util.List; import lombok.Data; @Data public class KanbanDTO { private long id; private List<SectionDTO> sections; private String name; public KanbanDTO() { this.sections = new ArrayList<>(); } }
package io.minh.iText.image; import java.io.FileOutputStream; import java.io.IOException; import com.itextpdf.text.pdf.parser.ImageRenderInfo; import com.itextpdf.text.pdf.parser.PdfImageObject; import com.itextpdf.text.pdf.parser.RenderListener; import com.itextpdf.text.pdf.parser.TextRenderInfo; import java.util.lo...
package org.openstack4j.model.network.builder; import org.openstack4j.common.Buildable.Builder; import org.openstack4j.model.identity.v3.Tenant; import org.openstack4j.model.network.*; /** * A Builder which creates a Subnet * * @author Jeremy Unruh */ public interface SubnetBuilder extends Builder<SubnetBuilder, ...
// https://leetcode.com/explore/learn/card/recursion-i/250/principle-of-recursion/1681/ /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ListNode(int val) { this.val = val; } * ListNode(int val, ListNode next) { this.val = val; ...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 * * http://www.apache.org/licenses/LICENSE-2.0 ...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.tensor; import java.util.Arrays; /** * The sizes of a set of dimensions. * * @author bratseth */ public final class DimensionSizes { private final long[] sizes; private DimensionSiz...
/* * Copyright The OpenTelemetry 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 a...
package com.zkh.util; /** * * @Description:模拟生成数据 * @author wangxueqiang * @date 2018年9月25日 下午2:31:45 * 内蒙,新疆,河北和内蒙交界的地方(张家口附近),风力发电机一般的启动风速在3-4m/s,切出风速(大风停机风速)为19-25m/s, * 我们一般看的不是风速多少,而是看的是一年有多少标准小时,所谓的标准小时就是指风力发电机满发的风速, * 一般在11-15m/s,一年能达到2000个标准小时,就是风资源很丰富的地区了,至于风向,常年变动不大最好,变化大了也没关系,因为风机是可以自动对风的 * 3-30m...
package com.example.plantsapp; import android.app.ActivityManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import androidx.core.app.NotificationCompat; import androidx.core.app.NotificationManagerCompat; import com.example.plantsapp.ui.main.MainActivit...
package <%= appPackage %>.environment; import <%= appPackage %>.R; import java.util.Collections; import java.util.Map; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; import timber.log.Timber; import static com.atomicleopard.expressive.Expressive.map; @Module public class EnvironmentM...
/* * Copyright (c) 2019 envimate GmbH - https://envimate.com/. * * 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 yo...
/* * Copyright (c) 2018 Oracle and/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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__long_rand_multiply_81_goodG2B.java Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-81_goodG2B.tmpl.java */ /* * @description * CWE: 190 Integer Overflow * BadSource: rand Set data to result of rand() * GoodS...
package com.jakubvanko.experiment; import tech.tablesaw.api.Table; import tech.tablesaw.io.csv.CsvReadOptions; import java.io.File; import java.io.IOException; import java.time.format.DateTimeFormatter; public class CsvTableLoadingStrategy implements TableLoadingStrategy { @Override public Table loadTable(Fi...
/* org.deviceconnect.android.localoauth.exception Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ /** * LocalOAuth例外処理. */ package org.deviceconnect.android.localoauth.exception;
/* * Copyright 2013 Martin Kouba * * 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 ...
/* * (C) Copyright IBM Corp. 2018, 2020. * * 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 t...
package com.mountain.filter; import com.mountain.exception.AuthException; import org.springframework.web.bind.annotation.ExceptionHandler; import javax.servlet.*; import java.io.IOException; public class AuthFilter extends Throwable implements Filter { @Override public void init(FilterConfig filterConfig) t...
/* * generated by Xtext 2.14.0 */ package org.xtext.example.mydsl.validation; import java.util.ArrayList; import java.util.List; import org.eclipse.emf.ecore.EPackage; import org.eclipse.xtext.validation.AbstractDeclarativeValidator; public abstract class AbstractMyDslValidator extends AbstractDeclarativeValidator ...
package com.example.hai_da_shi_tang2019; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; public class zhang_zhong_bao_fen extends AppCompatActivity { private String[]data={"掌中宝是鸡的脆骨。\n" + "\n" + ...
/* * Copyright 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 "license" ...
package br.com.verdinhas.gafanhoto.url; import java.util.HashSet; import java.util.List; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class NewUrlFilter { @Autowired private UrlRepository urlRepository; pu...
/* * 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 2019 Mirko Raner // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
package com.java.concurrency.example.concurrent; import com.java.concurrency.annotations.ThreadSafe; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.*; /** * @Author: HB * @Description: ConcurrentSkipListMap 不具有并发安全性 * @CreateDate: 10:37 2020/10/15 */ @Slf4j @ThreadSafe public class ConcurrentSkipL...
/* * 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 n...
package rainbow.core.platform; public interface PlatformManagerMBean { public void shutdown(); }
/** # Copyright Rakesh Shrestha (rakesh.shrestha@gmail.com) # 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 must retain the above copyright notice. */ package com.catgen; i...
package io.cucumber.core.runner; import io.cucumber.core.eventbus.EventBus; import io.cucumber.core.feature.TestFeatureParser; import io.cucumber.core.gherkin.Feature; import org.junit.jupiter.api.Test; import java.io.File; import java.util.Collections; import java.util.UUID; import static org.hamcrest.MatcherAssert...
package com.example.yuedong.library.widget.bottombar; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.support.annotation.DrawableRes; import android.support.v4.app.Fragment; import android.support.v4.content...
package org.beiwe.app; import android.util.Log; import org.beiwe.app.storage.PersistentData; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; public class JSONUtils { publi...
/* * 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...
/* * Copyright (c) 2017, hiwepy (https://github.com/hiwepy). * * 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 Listeners.SaveListeners; import SwingElements.Base; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class TogglePauseIntervalActionListener implements ActionListener { private Base ref; public TogglePauseIntervalActionListener(Base in) { ref = in; }//end c...
package SampleCode; /** * This program demonstrates the calculation of a fibonacci series using a recursive approach. */ public class RecursiveFibonacci { /** * Main Method. This is where the program begins. */ public static void main(String[] args) { for(int i = 0; i < 10; i++) { ...
package Jan2021Leetcode; import java.util.Stack; public class _0085MaximalRectangle { public static void main(String[] args) { System.out.println(maximalRectangle( new char[][] { new char[] { '1', '0', '1', '0', '0' }, new char[] { '1', '0', '1', '1', '1' }, new char[] { '1', '1', '1', '1', '1' }, new c...
package gov.cms.bfd.pipeline.ccw.rif.load; import gov.cms.bfd.pipeline.sharedutils.IdHasher; import java.nio.charset.StandardCharsets; /** * Contains utilities that are useful when running the {@link RifLoader}. * * <p>This is being left in <code>src/main</code> so that it can be used from other modules' tests, *...
package com.sky.bluesky.druid; import com.alibaba.druid.pool.DruidDataSource; import com.alibaba.druid.support.http.StatViewServlet; import com.alibaba.druid.support.http.WebStatFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnM...
package com.bookappointment; import com.bookappointment.generated.BasePackageList; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.horcrux.svg.SvgPackage; import io.invertase.firebase.firestore.ReactNativeFire...
package io.bot.email.handlers; import io.bot.email.model.Preferences; import io.bot.email.model.SetupState; import org.telegram.telegrambots.api.methods.BotApiMethod; import org.telegram.telegrambots.api.methods.updatingmessages.EditMessageText; import org.telegram.telegrambots.api.objects.Message; import org.telegram...
/* * This file is part of the L2JServer project. * * 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 pr...
/* * Copyright 2015 OpenCB * * 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 org.int4.dirk.plugins; import java.lang.reflect.AnnotatedElement; import java.net.URL; import java.util.Arrays; import java.util.function.Predicate; import java.util.regex.Pattern; import java.util.stream.Collectors; import org.reflections.Configuration; import org.reflections.Reflections; import org.reflecti...
package demo; import java.lang.annotation.Annotation; public class Demo21 { public static void main(String[] args) { // System.out.println("anno"); Class useClass = Use21.class; System.out.println("classname: " + useClass.getName()); Annotation[] annos = useClass.getAnnotations(); System.out....
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 口碑广告系统创建口令红包模型 * * @author auto create * @since 1.0, 2017-01-17 10:33:46 */ public class KbAdvertContentPasswordModify extends AlipayObject { private static final long serialVersionUID = 78...
/* * 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 info.tiefenauer.m101j; import org.mongodb.morphia.annotations.Entity; /** * Created by Daniel on 01.04.2016. */ public class Score { private String type; private double score; }
/* * Copyright (C) 2014-2020 Arpit Khurana <arpitkh96@gmail.com>, Vishal Nehra <vishalmeham2@gmail.com>, * Emmanuel Messulam<emmanuelbendavid@gmail.com>, Raymond Lai <airwave209gt at gmail.com> and Contributors. * * This file is part of Amaze File Manager. * * Amaze File Manager is free software: you can redistri...
/** * @file FunctionList.java * @author https://github.com/deuersprechkompilierer * @date 14.12.2019 * Verwaltet Liste mit Funktions-Definitionen */ package de.deuersprech.compiler; import java.util.ArrayList; import java.util.Collection; /**@brief * Die Klasse FunctionList beinhaltet eine Liste von Function...
/************************************************************************** // Class : MPMMaterialsPanel // Purpose : Create a panel that contains widgets to take inputs for // MPM materials // Author : Biswajit Banerjee // Date : 05/04/2006 // Mods : //***********************************************...
package controllers; import models.Assessment; import models.User; import play.Logger; import play.mvc.Controller; import java.util.Collections; import java.util.Date; import static controllers.Members.getLoggedInUser; public class AssessmentDetails extends Controller { public static void index() { ...
/* * 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 util.converter; import java.util.Map; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; impor...
package net.querz.mcaselector.version.anvil115; import net.querz.mcaselector.point.Point2i; import net.querz.mcaselector.range.Range; import net.querz.mcaselector.version.ChunkMerger; import net.querz.mcaselector.version.Helper; import net.querz.nbt.tag.CompoundTag; import net.querz.nbt.tag.IntArrayTag; import net.que...
/* * Copyright 2020 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.github.doocs.im.model.response; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; /** * 删除好友-结果 * * @author hyh * @since 2021/07/30 16:28 */ public class FriendDeleteResult extends GenericResult { /** * 详细的客户端展示信息 */ @JsonProperty("ErrorDisplay") priva...
/* * 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 com.configs; import java.util.Properties; import javax.sql.DataSource; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframewor...
/* * 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...
package me.devsaki.hentoid.parsers.images; import android.util.Pair; import android.webkit.URLUtil; import androidx.annotation.NonNull; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONTokener; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Eleme...
/* * * Copyright (c) 2015 SameBits UG. 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
// Copyright 2000-2019 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 org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.enumConstant; import com.intellij.lang.ASTNode; import com.intellij.psi.*; import com.intellij.util.Incorrec...
/* **The MIT License (MIT) **Copyright (c) <2014> <CIn-UFPE> ** **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, m...
package scc.imcode; /** * Vmesna koda. * * @author sliva */ public abstract class ImcCode { /** * Izpise drevo vmesne kode na datoteko vmesnih rezultatov. * * @param indent Zamik. */ public abstract void dump(int indent); }
package io.github.jhipster.config.metric; import io.micrometer.core.annotation.Timed; import io.micrometer.core.instrument.MeterRegistry; import org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnEnabledEndpoint; import org.springframework.boot.actuate.autoconfigure.metrics.MetricsEndpointA...
package per.hp.gulimall.product.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 品牌 * * @author hpeng * @email 207667803@qq.com * @date 2021-11-25 15:27:20 */ @Data @T...
package com.orientechnologies.orient.distributed.impl.structural; import com.orientechnologies.orient.core.db.config.ONodeIdentity; import com.orientechnologies.orient.distributed.impl.coordinator.transaction.OSessionOperationId; import com.orientechnologies.orient.distributed.impl.structural.submit.OStructuralSubmitR...
/* * $Id: LegalDocumentComparator.java,v 1.2 2009/04/03 09:37:20 jp-gomes Exp $ * * Copyright (c) Critical Software S.A., All Rights Reserved. * (www.criticalsoftware.com) * * This software is the proprietary information of Critical Software S.A. * Use is subject to license terms. * * Last changed on : $Date: ...
/* * 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 ebsystem; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence....
package com.cerner.common.kafka.testing; import kafka.utils.ZkUtils; import org.I0Itec.zkclient.ZkClient; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.rules.Timeout; import java.io.IOException; import java.util.Properties; /** * An abstract class for coordi...
package org.powerhigh.multiplayer.channel.impl; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.nio.ByteBuffer; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.nio.channels.SocketChannel; import java.n...
/* * Copyright 2000-2015 JetBrains s.r.o. * * 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 cn.neural.common; import lombok.Getter; import java.util.concurrent.*; /** * A specialized <em>semaphore</em> implementation that provides a number of permits in a given time frame. * <p> * TimedSemaphore sem = new TimedSemaphore(1, TimeUnit.SECOND, 10); * * @author lry */ @Getter public class TimedSem...
package me.neznamy.tab.api.protocol; import java.util.HashMap; import java.util.Map; import me.neznamy.tab.api.ProtocolVersion; import me.neznamy.tab.api.chat.EnumChatFormat; import me.neznamy.tab.api.chat.IChatBaseComponent; import me.neznamy.tab.api.chat.rgb.RGBUtils; import me.neznamy.tab.api.util.BiFunctionWithEx...
/* * Copyright 2000-2016 JetBrains s.r.o. * * 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 org.libsdl.api.rwops; import com.sun.jna.Pointer; import org.intellij.lang.annotations.MagicConstant; import org.libsdl.api.error.SdlError; import org.libsdl.jna.NativeLoader; import org.libsdl.jna.SizeT; public final class SdlRWops { static { NativeLoader.registerNativeMethods(SdlRWops.class); ...
package br.com.vini.orderapi.api.service.fiscalcategory.protocol; import java.math.BigDecimal; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import br.com.vini.orderapi.api.service.BaseProtocol; import io.swagger.annotations.ApiModel; import io.swagger.an...
package com.eury.crashfreeapp.javaexample.books; import android.content.res.Resources; import android.graphics.drawable.Drawable; import androidx.core.content.res.ResourcesCompat; import com.eury.crashfreeapp.R; public class DramaBook extends AbstBook { private String summary; @Override Drawable getIc...
package uk.gov.hmcts.reform.professionalapi.repository; import static org.junit.Assert.assertNotNull; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.mock; import org.junit.Before; import org.junit.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockit...
package com.ithar.malik.hibernate.domain; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Getter @Setter @Entity public class Instructor { @Id @GeneratedValue(strategy= GenerationType.IDENTITY) @Column(name="id") private in...
/* * Copyright 2015-2016 USEF Foundation * * 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...
/* * 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 2021. Explore in HMS. 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package com.forezp.banya.viewinterface.music; import com.forezp.banya.base.IBaseView; import com.forezp.banya.bean.music.Musics; /** * Created by forezp on 16/10/1. */ public interface IGetMusicById extends IBaseView{ void getMusicSucess(Musics music); }
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; imp...
package io.geewit.core.utils.reflection; import org.apache.commons.lang3.Validate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.*; import java.nio.file.*; import java.nio.file.attribute.Basic...
/** * */ package src.main.gov.va.vha09.grecc.raptat.gg.textanalysis.preprocessors.parsers.wrapping; import src.main.gov.va.vha09.grecc.raptat.gg.helpers.FSInput; import src.main.gov.va.vha09.grecc.raptat.gg.helpers.FSM; /** * Class to use finite state machines in parsing documents to identify allergy lists that ar...
package com.conveyal.r5.streets; import com.conveyal.r5.api.util.LegMode; import com.conveyal.r5.common.SphericalDistanceLibrary; import com.conveyal.r5.point_to_point.builder.PointToPointQuery; import com.conveyal.r5.profile.StreetMode; import com.conveyal.r5.profile.ProfileRequest; import com.conveyal.r5.transit.Tra...
import java.io.*; public class sod { static void SumofDigits(int x) { int b,sum=0; while(x!=0) { b=x%10; sum+=b; x/=10; } if(sum/10==0) System.out.println("Sum of digits is " +sum+ ""); else SumofDigits(sum); } public static void main(String[] args) { int n; n=Integer.par...
package org.sysethereum.agents.core; import com.google.gson.Gson; import lombok.extern.slf4j.Slf4j; import org.bitcoinj.core.Sha256Hash; import org.sysethereum.agents.constants.AgentConstants; import org.sysethereum.agents.constants.AgentRole; import org.sysethereum.agents.constants.EthAddresses; import org.sysethereu...
package com.popush.triela.manager.product; import lombok.Data; @Data public class ProductSearchConditionForm { private String name; }